summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-31 09:13:59 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-31 09:28:30 +0100
commitbf449e1f5b424393a04bed3c139600d3fe9d9936 (patch)
treef53c4d2c5fe3871a60b24ab28e53c70aa93b6901 /dev-ruby/gettext_i18n_rails
parentdev-ruby/gettext_i18n_rails: cleanup (diff)
downloadgentoo-bf449e1f5b424393a04bed3c139600d3fe9d9936.tar.gz
gentoo-bf449e1f5b424393a04bed3c139600d3fe9d9936.tar.bz2
gentoo-bf449e1f5b424393a04bed3c139600d3fe9d9936.zip
dev-ruby/gettext_i18n_rails: test against rails 4.1
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/gettext_i18n_rails')
-rw-r--r--dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.1.ebuild7
-rw-r--r--dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.2.ebuild7
2 files changed, 6 insertions, 8 deletions
diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.1.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.1.ebuild
index 459fe13b2dd7..cab02f969c47 100644
--- a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.1.ebuild
+++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.1.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-ruby_add_bdepend "test? ( dev-ruby/rails:4.0 dev-ruby/activerecord:4.0[sqlite] dev-ruby/temple )"
+ruby_add_bdepend "test? ( dev-ruby/rails:4.1 dev-ruby/activerecord:4.1[sqlite] dev-ruby/temple )"
ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0"
all_ruby_prepare() {
@@ -31,7 +31,6 @@ all_ruby_prepare() {
# 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.2.0"' -i spec/spec_helper.rb || die
+ # Test against Rails 4.1.0
+ sed -e '1igem "rails", "~>4.1.0"' -i spec/spec_helper.rb || die
}
diff --git a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.2.ebuild b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.2.ebuild
index 459fe13b2dd7..e3d8b25e037f 100644
--- a/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.2.ebuild
+++ b/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-1.3.2.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-ruby_add_bdepend "test? ( dev-ruby/rails:4.0 dev-ruby/activerecord:4.0[sqlite] dev-ruby/temple )"
+ruby_add_bdepend "test? ( dev-ruby/rails:4.1 dev-ruby/activerecord:4.1[sqlite] dev-ruby/temple )"
ruby_add_rdepend ">=dev-ruby/fast_gettext-0.9.0"
all_ruby_prepare() {
@@ -31,7 +31,6 @@ all_ruby_prepare() {
# 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.2.0"' -i spec/spec_helper.rb || die
+ # Test against Rails 4.1.0 to match keywords.
+ sed -e '1igem "rails", "~>4.1.0"' -i spec/spec_helper.rb || die
}