diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-04-27 07:00:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-04-27 09:15:49 +0200 |
commit | 03eb2c72ae6374346299c78deb391d0ef72a6ae5 (patch) | |
tree | e3630076eaba7e1b3f5c8c7b578d4a203ec4272a /dev-ruby/actionpack | |
parent | dev-lang/rust-bin: quote variable (diff) | |
download | gentoo-03eb2c72ae6374346299c78deb391d0ef72a6ae5.tar.gz gentoo-03eb2c72ae6374346299c78deb391d0ef72a6ae5.tar.bz2 gentoo-03eb2c72ae6374346299c78deb391d0ef72a6ae5.zip |
dev-ruby/actionpack: add fix timezone tests
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/actionpack')
-rw-r--r-- | dev-ruby/actionpack/actionpack-5.2.4.2.ebuild | 3 | ||||
-rw-r--r-- | dev-ruby/actionpack/actionpack-6.0.2.2.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild b/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild index 7a0a34f9e5bd..92a68b49adb7 100644 --- a/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild +++ b/dev-ruby/actionpack/actionpack-5.2.4.2.ebuild @@ -57,4 +57,7 @@ all_ruby_prepare() { -e '1i gem "actionview", "~> 5.2.0"' \ -e '1i gem "railties", "~> 5.2.0"' \ -i test/abstract_unit.rb || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die } diff --git a/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild b/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild index f22c41d0d073..4de989d426cc 100644 --- a/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild +++ b/dev-ruby/actionpack/actionpack-6.0.2.2.ebuild @@ -52,4 +52,7 @@ all_ruby_prepare() { -e '/:job/,/end/ s:^:#:' \ -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die rm ../Gemfile.lock || die + + # Use different timezone notation, this changed at some point due to an external dependency changing. + sed -i -e 's/-0000/GMT/' test/dispatch/response_test.rb test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die } |