summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-08 06:59:19 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-08 06:59:19 +0000
commit0491e17db1612e2576ec09c22ae7a429eb5839c3 (patch)
treeefcf491f36dd7cb58ea9ef61b793679ff54381b6 /dev-ruby/gettext_i18n_rails
parentVersion bump. Add ruby19. (diff)
downloadgentoo-2-0491e17db1612e2576ec09c22ae7a429eb5839c3.tar.gz
gentoo-2-0491e17db1612e2576ec09c22ae7a429eb5839c3.tar.bz2
gentoo-2-0491e17db1612e2576ec09c22ae7a429eb5839c3.zip
Version bump.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/gettext_i18n_rails')
-rw-r--r--dev-ruby/gettext_i18n_rails/ChangeLog8
-rw-r--r--dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.4.6.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/gettext_i18n_rails/ChangeLog b/dev-ruby/gettext_i18n_rails/ChangeLog
index ac854ba211d5..c569c87b4f96 100644
--- a/dev-ruby/gettext_i18n_rails/ChangeLog
+++ b/dev-ruby/gettext_i18n_rails/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/gettext_i18n_rails
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/ChangeLog,v 1.10 2012/04/02 06:24:47 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/ChangeLog,v 1.11 2012/04/08 06:59:19 graaff Exp $
+
+*gettext_i18n_rails-0.4.6 (08 Apr 2012)
+
+ 08 Apr 2012; Hans de Graaff <graaff@gentoo.org>
+ +gettext_i18n_rails-0.4.6.ebuild:
+ Version bump.
*gettext_i18n_rails-0.4.5 (02 Apr 2012)
diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.4.6.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.4.6.ebuild
new file mode 100644
index 000000000000..7c9ca4b7cae5
--- /dev/null
+++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.4.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.4.6.ebuild,v 1.1 2012/04/08 06:59:19 graaff Exp $
+
+EAPI="4"
+
+# jruby support requires sqlite3 support for jruby.
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Readme.md"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="init.rb VERSION"
+
+inherit ruby-fakegem
+
+DESCRIPTION="FastGettext / Rails integration."
+HOMEPAGE="https://github.com/grosser/gettext_i18n_rails"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/activerecord )"
+ruby_add_rdepend "dev-ruby/fast_gettext"
+
+all_ruby_prepare() {
+ rm Gemfile Gemfile.lock || die
+
+ # Remove specs for slim and hamlet, template engines we don't package.
+ rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/hamlet_parser_spec.rb || die
+}
+
+each_ruby_test() {
+ # Call specs directly because the Rakefile will use the wrong interpreter
+ ${RUBY} -S rspec spec || die
+}