diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
commit | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch) | |
tree | 8ac67e26b45f34d71c5aab3621813b100a0d5f00 /dev-ruby/oauth/oauth-0.5.4.ebuild | |
parent | f516638b7fe9592837389826a6152a7e1b251c54 (diff) |
gentoo resync : 13.06.2020
Diffstat (limited to 'dev-ruby/oauth/oauth-0.5.4.ebuild')
-rw-r--r-- | dev-ruby/oauth/oauth-0.5.4.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-ruby/oauth/oauth-0.5.4.ebuild b/dev-ruby/oauth/oauth-0.5.4.ebuild index d674b5571b49..59a71726716a 100644 --- a/dev-ruby/oauth/oauth-0.5.4.ebuild +++ b/dev-ruby/oauth/oauth-0.5.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,16 +21,19 @@ KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos" IUSE="" ruby_add_bdepend "test? ( + dev-ruby/bundler dev-ruby/test-unit:2 dev-ruby/mocha:1.0 dev-ruby/webmock dev-ruby/rack dev-ruby/actionpack:5.2 + dev-ruby/railties:5.2 )" all_ruby_prepare() { # Require a compatible version of mocha - sed -i -e '1igem "mocha", "~> 1.0"; gem "actionpack", "~>5.2.0"' \ + sed -i -e '1igem "mocha", "~> 1.0"; gem "railties", "~>5.2.0" ; gem "actionpack", "~>5.2.0"' \ -e '2i gem "test-unit"; require "test/unit"' \ + -e '/mocha/ s/mini_test/minitest/' \ -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die } |