summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/gettext_i18n_rails')
-rw-r--r--dev-ruby/gettext_i18n_rails/Manifest1
-rw-r--r--dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest
index 0d67e873d1fd..7cd96552697e 100644
--- a/dev-ruby/gettext_i18n_rails/Manifest
+++ b/dev-ruby/gettext_i18n_rails/Manifest
@@ -2,3 +2,4 @@ DIST gettext_i18n_rails-1.4.0.tar.gz 21787 SHA256 456f80d679437347cd2a9c516b4423
DIST gettext_i18n_rails-1.5.0.tar.gz 21841 SHA256 7797598d06b2cee4dc12db4ca0f7c11f966d58b8bdd4337caff0a6ddc5813317 SHA512 ce962315b912c0978d4637aa451644186c5159aa529a4e12e7906e3d7cf1d5e9ff81bda33effd2947a22eff53d1bc51560ca682b95b98782f8d6d180d8d633c9 WHIRLPOOL 77e501274e0aceb1b2ee219623b17cd1868c9099c30760c840df04b492c3adc335042a1a717ed34e2ec44d418d928bb3574a7c508d2d940f6e148ccf82ad7f56
DIST gettext_i18n_rails-1.7.0.tar.gz 22110 SHA256 2892d9095d43a1921cfefa46d3fdb67da80ef8aab7f81ca0bbd0fd7789db3a2b SHA512 a9e5d12c95eef69cf8637c52f9100ff05f97c18a01657e0000069b804dee269ebd48ebf433443045d1f2705d399a4a50412ea501a21c0d2d1cbd1550c7602ce1 WHIRLPOOL 5e30fef6e011406a22d01c54245c1cfe48f1475deb57c32dd492b49d0301e66079fdc354bc7f55242019ba306755130c3a3e8a8979141504b025418b753e4292
DIST gettext_i18n_rails-1.7.1.tar.gz 22120 SHA256 bd62eaecf046a6a62397757973fc5ac4186e579ae0cfa4a0bb9055794e1caa7a SHA512 da485aef1da8758e004e9f8a7409f82e13a46a4a6737d5c6cdd20f38a084173523dda26fd1480aebdc9a014420eb06b3a25800a35a3e5ecbbee485f67aad073e WHIRLPOOL 10268d4a33062648140dd31dbafa9a3ae733cff65747c0faf1022361ce16c8be6ba603f09c9a1c4b91b1c00d3bd026fe77a67f9616a2bf92d6eca817c9f9a90b
+DIST gettext_i18n_rails-1.7.2.tar.gz 22133 SHA256 ba29437c92946191db695d8cb64ccc23834252aea17758e6e6277e083d55eead SHA512 5c9dc7932810bd96be0da2282d72ea87d9fcdfab1f33fce7736dddc04784586d79d64dd9e9d828c5fd07b8eb3d466e29bdee08ad02d64973bef1e69599c9325b WHIRLPOOL 255a1eae16b9cc7b3b59077d9407251286cce369ece1435a97f98fd173780b057e1dc4429e51dae1f5676565103310e84e0a2834a6ddeae5923a960d7a3153cb
diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.2.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.2.ebuild
new file mode 100644
index 000000000000..f1c8887545ce
--- /dev/null
+++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rails:4.2 dev-ruby/activerecord:4.2[sqlite] 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.2.0
+ sed -e '1igem "rails", "~>4.2.0"' -i spec/spec_helper.rb || die
+}