debian/0000755000000000000000000000000011773635760007205 5ustar debian/compat0000644000000000000000000000000211627032515010366 0ustar 7 debian/changelog0000644000000000000000000000233111773635760011056 0ustar ruby-gettext-activerecord (2.1.0-5) unstable; urgency=low * Team upload. * Bump Standards-Version to 3.9.3; no changes needed. * set Priority: extra on all transitional packages * Team upload. * Bump build dependency on gem2deb to >= 0.3.0~. -- Antonio Terceiro Sat, 30 Jun 2012 14:46:30 -0300 ruby-gettext-activerecord (2.1.0-4) unstable; urgency=low * Repackaged with the gem2deb infrastructure; merged all the binary packages into one (plus dummy transition packages) -- Gunnar Wolf Sat, 20 Aug 2011 07:15:58 -0500 libgettext-activerecord-ruby (2.1.0-3) unstable; urgency=low * Added a -common binary package holding the common files for the 1.8 and 1.9.1 packages (Closes: #585836) -- Gunnar Wolf Fri, 18 Jun 2010 10:59:26 -0500 libgettext-activerecord-ruby (2.1.0-2) unstable; urgency=low * Added explicit mention to the GPL2, which is mentioned as part of the Ruby license (and I missed :-/ ) -- Gunnar Wolf Sun, 06 Jun 2010 13:20:54 -0500 libgettext-activerecord-ruby (2.1.0-1) unstable; urgency=low * Initial upload (Closes: #580701) -- Gunnar Wolf Sat, 05 Jun 2010 08:25:04 -0500 debian/copyright0000644000000000000000000001361311632310546011126 0ustar Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=135 Upstream-Name: gettext_activerecord Upstream-Maintainer: Masao Mutoh Upstream-Source: http://www.yotabanana.com/hiki/ruby-gettext.html Files: * Copyright: Copyright (c) 2001-2009 Masao Mutoh License: Ruby+GPL2+LGPL3 Files: po/bg/gettext_activerecord.po Copyright: Copyright (c) Georgi Stoimenov , 2008 License: Ruby+GPL2+LGPL3 Files: po/ca/gettext_activerecord.po Copyright: Copyright (c) Ramon Salvadó , 2006-2008. License: Ruby+GPL2+LGPL3 Files: po/bs/gettext_activerecord.po Copyright: Copyright (c) Sanjin Sehic , 2007. License: Ruby+GPL2+LGPL3 Files: po/cs/gettext_activerecord.po Copyright: Copyright (c) Karel Miarka , 2005,2006. License: Ruby+GPL2+LGPL3 Files: po/el/gettext_activerecord.po Copyright: Copyright (c) damphyr , 2006-2008. License: Ruby+GPL2+LGPL3 Files: po/eo/gettext_activerecord.po Copyright: Copyright (c) Malte Milatz , 2006-2008. License: Ruby+GPL2+LGPL3 Files: po/es/gettext_activerecord.po Copyright: Copyright (c) David Espada , 2005-2008. License: Ruby+GPL2+LGPL3 Files: po/fr/gettext_activerecord.po Copyright: Copyright (c) Laurent Sansonetti , 2005,2006 License: Ruby+GPL2+LGPL3 Files: po/hr/gettext_activerecord.po Copyright: Copyright (c) Sanjin Sehic , 2007. License: Ruby+GPL2+LGPL3 Files: po/hu/gettext_activerecord.po Copyright: Copyright (c) Tamás Tompa , 2008. License: Ruby+GPL2+LGPL3 Files: po/it/gettext_activerecord.po Copyright: Copyright (c) Marco Lazzeri , 2006. License: Ruby+GPL2+LGPL3 Files: po/ko/gettext_activerecord.po Copyright: Copyright (c) Gyoung-Yoon Noh , 2006. License: Ruby+GPL2+LGPL3 Files: po/nl/gettext_activerecord.po Copyright: Copyright (c) Menno Jonkers , 2005-2007. License: Ruby+GPL2+LGPL3 Files: po/ru/gettext_activerecord.po Copyright: Copyright (c) Yuri Kozlov , 2006-2008. License: Ruby+GPL2+LGPL3 Files: po/sr/gettext_activerecord.po Copyright: Copyright (c) Slobodan Paunović , 2008 License: Ruby+GPL2+LGPL3 Files: po/vi/gettext_activerecord.po Copyright: Copyright (c) Ngoc DAO Thanh , 2007,2008. License: Ruby+GPL2+LGPL3 Files: po/zh/gettext_activerecord.po Copyright: Copyright (c) Yingfeng , 2006. License: Ruby+GPL2+LGPL3 Files: po/pt_BR/gettext_activerecord.po Copyright: Copyright (c) Joao Pedrosa , 2005-2007. License: Ruby+GPL2+LGPL3 Files: po/zh_TW/gettext_activerecord.po Copyright: Copyright (c) LIN CHUNG-YI , 2006. License: Ruby+GPL2+LGPL3 Files: debian/* Copyright: Copyright (c) 2010, Gunnar Wolf License: GPL2 License: GPL2 This program is licensed under the GPL (General Public License: http://www.gnu.org/licenses/gpl-2.0.txt). A copy of the GPL 2.0 can be found at /usr/share/common-licenses/GPL-2 on any Debian system. License: LGPL3 This program is licensed under the LGPL (Lesser General Public License: http://www.gnu.org/licenses/lgpl-3.0.txt . A copy of the LGPL 3.0 can be found at /usr/share/common-licenses/LGPL-3 on any Debian system. License: Ruby Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the GPL version 2 (see the file GPL), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: . a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. . For the list of those files and their copying conditions, see the file LEGAL. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. debian/ruby-gettext-activerecord.examples0000644000000000000000000000001111627032515016033 0ustar sample/* debian/control0000644000000000000000000000604111773635757010617 0ustar Source: ruby-gettext-activerecord Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Gunnar Wolf DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-gettext-activerecord.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-gettext-activerecord.git;a=summary Homepage: http://www.yotabanana.com/hiki/ruby-gettext.html XS-Ruby-Versions: all Package: ruby-gettext-activerecord Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-gettext (>= 2.1.0) | libgettext-ruby1.8 (>= 2.1.0) | libgettext-ruby1.9.1 (>= 2.1.0), ruby-activerecord (>= 2.3.2) | libactiverecord-ruby1.8 (>= 2.3.2) | libactiverecord-ruby1.9.1 (>= 2.3.2) Replaces: libgettext-activerecord-ruby (<< 2.1.0-4~), libgettext-activerecord-ruby1.8 (<< 2.1.0-4~), libgettext-activerecord-ruby1.9.1 (<< 2.1.0-4~), libgettext-activerecord-ruby-common (<< 2.1.0-4~) Breaks: libgettext-activerecord-ruby (<< 2.1.0-4~), libgettext-activerecord-ruby1.8 (<< 2.1.0-4~), libgettext-activerecord-ruby1.9.1 (<< 2.1.0-4~), libgettext-activerecord-ruby-common (<< 2.1.0-4~) Provides: libgettext-activerecord-ruby, libgettext-activerecord-ruby1.8, libgettext-activerecord-ruby1.9.1, libgettext-activerecord-ruby-common Description: GetText localization for Ruby programs using ActiveRecord This package provides the localization for ActiveRecord-2.2 or later using Ruby-GetText-Package. This support consists in: . * Validation messages translation * Model translation * extract messages from models with the rake task. # Transitional packages Package: libgettext-activerecord-ruby Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-gettext-activerecord Description: Transitional package for ruby-gettext-activerecord This is a transitional package to ease upgrades to the ruby-gettext-activerecord package. It can safely be removed. Package: libgettext-activerecord-ruby1.8 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-gettext-activerecord Description: Transitional package for ruby-gettext-activerecord This is a transitional package to ease upgrades to the ruby-gettext-activerecord package. It can safely be removed. Package: libgettext-activerecord-ruby1.9.1 Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-gettext-activerecord Description: Transitional package for ruby-gettext-activerecord This is a transitional package to ease upgrades to the ruby-gettext-activerecord package. It can safely be removed. Package: libgettext-activerecord-ruby-common Section: oldlibs Priority: extra Architecture: all Depends: ${misc:Depends}, ruby-gettext-activerecord Description: Transitional package for ruby-gettext-activerecord This is a transitional package to ease upgrades to the ruby-gettext-activerecord package. It can safely be removed. debian/rules0000755000000000000000000000146611627032515010257 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec LOCALEDIR=debian/ruby-gettext-activerecord/usr/share/locale/ %: dh $@ --buildsystem=ruby --with ruby override_dh_install: dh_install # Ukrainan language code is mistakenly shipped as ua instead # of uk - Bug report at # http://rubyforge.org/tracker/index.php?func=detail&aid=28277&group_id=855&atid=3377 # *** CHECK: is the /po directory used? [ -d $(LOCALEDIR)/uk ] || mv $(LOCALEDIR)/ua $(LOCALEDIR)/uk debian/ruby-tests.rb0000644000000000000000000000073511627032515011643 0ustar # FIXME # there's a spec/ or a test/ directory in the upstream source, but # no test suite was defined in the Gem specification. It would be # a good idea to define it here so the package gets tested at build time. # Examples: # $: << 'lib' << '.' # Dir['{spec,test}/**/*.rb'].each { |f| require f } # # require 'test/ts_foo.rb' # # require 'rbconfig' # ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) # exec("#{ruby} -I. test/runtests.rb") debian/source/0000755000000000000000000000000011627032515010470 5ustar debian/source/format0000644000000000000000000000001411627032515011676 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017511641707203010223 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gettext_activerecord .*/gettext_activerecord-(.*).tar.gz debian/patches/0000755000000000000000000000000011627032515010617 5ustar debian/patches/validations_format_string0000644000000000000000000000305111627032515016014 0ustar From: Gunnar Wolf @base.class.human_attribute_name(attr)} elsif append_field - full_message = @base.class.human_attribute_name(attr) + " " + msgstr + full_message = attrname + " " + msgstr else full_message = msgstr end - full_message % {:count => count, :value => value} + full_message % {:count => count, :value => value, :attribute => attrname} end def localize_error_messages(append_field = true) # :nodoc: debian/patches/series0000644000000000000000000000003211627032515012027 0ustar validations_format_string debian/ruby-gettext-activerecord.docs0000644000000000000000000000001411627032515015150 0ustar README.rdoc debian/ruby-gettext-activerecord.install0000644000000000000000000000004011627032515015665 0ustar data/locale/* /usr/share/locale debian/require-rubygems.overrides0000644000000000000000000000013111627032515014416 0ustar debian/ruby-gettext-activerecord/usr/lib/ruby/vendor_ruby/gettext_activerecord/parser.rb