debian/0000755000000000000000000000000012157375367007206 5ustar debian/gbp.conf0000644000000000000000000000003612157375367010624 0ustar [DEFAULT] pristine-tar = True debian/rules0000755000000000000000000000007512157375367010270 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=ruby --with ruby debian/control0000644000000000000000000000267012157375367010616 0ustar Source: ruby-haml-magic-translations Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Jérémy Bobbio Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec, ruby-haml (>= 4.0), ruby-maruku, ruby-fast-gettext, ruby-gettext (>= 2.3), ruby-i18n, ruby-json, ruby-actionpack, rake Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-haml-magic-translations.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-haml-magic-translations.git;a=summary Homepage: http://github.com/potager/haml-magic-translations XS-Ruby-Versions: all Package: ruby-haml-magic-translations Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-haml (>= 4.0), ruby-fast-gettext | ruby-gettext | ruby-i18n Suggests: rake Description: internationalization library for Haml templates Haml::MagicTranslations provides "magical translations" for the Haml templating system. Texts in templates can be automatically internationalized using either the GetText, FastGettext or I18n libraries. It support translations of 'raw' text, Markdown and even strings in JavaScript. . Haml::MagicTranslations can also extract translatable strings from templates and merge them with existing translations, either manually or by the provided Rake task. debian/ruby-haml-magic-translations.docs0000644000000000000000000000001412157375367015550 0ustar README.rdoc debian/ruby-tests.rake0000644000000000000000000000023712157375367012175 0ustar # Tests must be run in a UTF-8 environment ENV['LC_ALL'] = 'C.UTF-8' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec debian/compat0000644000000000000000000000000212157375367010404 0ustar 7 debian/copyright0000644000000000000000000000312112157375367011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: haml-magic-translations Source: https://github.com/potager/haml-magic-translations Files: * Copyright: 2010 Kriss Kowalik 2012 potager.org License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2013 Jerémy Bobbio License: permissive Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/changelog0000644000000000000000000000132012157375367011054 0ustar ruby-haml-magic-translations (4.0.0-1) unstable; urgency=low [ Jérémy Bobbio ] * New upstream version: * Adjust Depends and Build-Depends. * Add a patch to use the markdown filter in the test suite until haml-contrib is packaged. [ Cédric Boutillier ] * use canonical URI in Vcs-* fields -- Jérémy Bobbio Sun, 16 Jun 2013 19:41:06 +0200 ruby-haml-magic-translations (0.5.1-2) unstable; urgency=low * Upload to unstable. -- Jérémy Bobbio Tue, 07 May 2013 11:58:44 +0000 ruby-haml-magic-translations (0.5.1-1) experimental; urgency=low * Initial release (Closes: #704583) -- Jérémy Bobbio Wed, 03 Apr 2013 11:06:44 +0200 debian/source/0000755000000000000000000000000012157375367010506 5ustar debian/source/format0000644000000000000000000000001412157375367011714 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020312157375367010232 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/haml-magic-translations .*/haml-magic-translations-(.*).tar.gz debian/patches/0000755000000000000000000000000012157375367010635 5ustar debian/patches/0001-Switch-specs-to-use-the-generic-markdown-filter-inst.patch0000644000000000000000000000162412157375367024273 0ustar From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= Date: Sun, 16 Jun 2013 19:48:33 +0200 Subject: Switch specs to use the generic markdown filter instead of maruku This patch should be kept until #710166 gets closed. --- spec/haml/magic_translations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/haml/magic_translations_spec.rb b/spec/haml/magic_translations_spec.rb index 936648c..a23a2a2 100644 --- a/spec/haml/magic_translations_spec.rb +++ b/spec/haml/magic_translations_spec.rb @@ -186,7 +186,7 @@ module Haml context 'when translating strings in Markdown' do it "should translate strings inside _('')" do render(<<-'HAML'.strip_heredoc).should == <<-'HTML'.strip_heredoc - :maruku + :markdown Now we will check multiline strings, which should be also translated. HAML debian/patches/series0000644000000000000000000000010012157375367012041 0ustar 0001-Switch-specs-to-use-the-generic-markdown-filter-inst.patch