diff options
-rw-r--r-- | dev-ruby/gettext_i18n_rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/gettext_i18n_rails/Manifest b/dev-ruby/gettext_i18n_rails/Manifest index 9cde7b90039d..0d67e873d1fd 100644 --- a/dev-ruby/gettext_i18n_rails/Manifest +++ b/dev-ruby/gettext_i18n_rails/Manifest @@ -1,3 +1,4 @@ DIST gettext_i18n_rails-1.4.0.tar.gz 21787 SHA256 456f80d679437347cd2a9c516b442302dc93d8776d6503512dff03bdbceda54e SHA512 c6455acafbc498ba33703b028b54c30c15ee8454274677eb5dbe402354e178a880d53840d7c7b8f0e1a5a3212184f93043f7df2ab743955c8a869c79a16d4679 WHIRLPOOL ffa186594756a51dadd834e83788e630090bd1a9563e27accf86e5c187908a999d77188963b2b5b2cf9874c2fecf8add7a21b97b453023329d99b3acc529f973 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 diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.1.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.1.ebuild new file mode 100644 index 000000000000..f1c8887545ce --- /dev/null +++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.7.1.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 +} |