diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-12-13 12:47:40 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-12-13 12:48:07 +0100 |
commit | 059fd3de4a4be2451e30611d466f2bf9d4424b4c (patch) | |
tree | f44bab055eead8f577cec6885285493284193fd7 /dev-ruby/activemodel-serializers-xml | |
parent | dev-ruby/irb: add 1.14.2 (diff) | |
download | gentoo-059fd3de4a4be2451e30611d466f2bf9d4424b4c.tar.gz gentoo-059fd3de4a4be2451e30611d466f2bf9d4424b4c.tar.bz2 gentoo-059fd3de4a4be2451e30611d466f2bf9d4424b4c.zip |
dev-ruby/activemodel-serializers-xml: enable ruby33
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/activemodel-serializers-xml')
-rw-r--r-- | dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild index 94eddb728770..581cfa3f923f 100644 --- a/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild +++ b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true" @@ -29,7 +29,7 @@ ruby_add_rdepend " " ruby_add_bdepend "test? ( - || ( dev-ruby/activerecord:7.0 dev-ruby/activerecord:6.1 ) + || ( dev-ruby/activerecord:7.1 dev-ruby/activerecord:7.0 ) dev-ruby/sqlite3 dev-ruby/rexml )" @@ -37,7 +37,10 @@ ruby_add_bdepend "test? ( all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/datetime.*created_at/ s:^:#:' -e '2igem "activerecord", "<7.1"' test/helper.rb || die + sed -e '/datetime.*created_at/ s:^:#:' \ + -e '2igem "activerecord", "<7.2"' \ + -e 's/ActiveRecord::Base.default_timezone/ActiveRecord.default_timezone/' \ + -i test/helper.rb || die sed -i -e '/bundler/ s:^:#:' Rakefile || die } |