summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-01-17 07:14:25 +0000
committerHans de Graaff <graaff@gentoo.org>2015-01-17 07:14:25 +0000
commit2743e671a17d7c8567aeba82985e4cbc30817dbd (patch)
treeb14d686898fddf2b0fd54d2ca3c5615745b58397 /dev-ruby/gettext_i18n_rails
parentamd64 stable wrt bug #531602 (diff)
downloadgentoo-2-2743e671a17d7c8567aeba82985e4cbc30817dbd.tar.gz
gentoo-2-2743e671a17d7c8567aeba82985e4cbc30817dbd.tar.bz2
gentoo-2-2743e671a17d7c8567aeba82985e4cbc30817dbd.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/gettext_i18n_rails')
-rw-r--r--dev-ruby/gettext_i18n_rails/ChangeLog10
-rw-r--r--dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.2.0.ebuild37
2 files changed, 45 insertions, 2 deletions
diff --git a/dev-ruby/gettext_i18n_rails/ChangeLog b/dev-ruby/gettext_i18n_rails/ChangeLog
index 6cb4b3be3fea..1c3880edabb9 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/ChangeLog,v 1.29 2014/08/30 04:55:34 graaff Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/ChangeLog,v 1.30 2015/01/17 07:14:25 graaff Exp $
+
+*gettext_i18n_rails-1.2.0 (17 Jan 2015)
+
+ 17 Jan 2015; Hans de Graaff <graaff@gentoo.org>
+ +gettext_i18n_rails-1.2.0.ebuild:
+ Version bump.
*gettext_i18n_rails-1.1.0 (30 Aug 2014)
diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.2.0.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.2.0.ebuild
new file mode 100644
index 000000000000..a878d5ca7a30
--- /dev/null
+++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 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-1.2.0.ebuild,v 1.1 2015/01/17 07:14:25 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="Readme.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="FastGettext / Rails integration"
+HOMEPAGE="https://github.com/grosser/gettext_i18n_rails"
+SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/activerecord:4.0[sqlite3] dev-ruby/temple )"
+ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0"
+
+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/haml_parser_spec.rb || die
+
+ # Test against Rails 4.0 (newer versions don't work and we don't use
+ # appraisals for now).
+ sed -e '1igem "rails", "~>4.0.0"' -i spec/spec_helper.rb || die
+}