diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-12 06:20:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-12 06:20:26 +0200 |
commit | 59fa022978d9433f72cc1d7a265ceaab1bb7f671 (patch) | |
tree | bd7fb9c1b2b8b55d10baa5f85f11764cb4c3dc43 /dev-ruby/oauth | |
parent | app-emulation/spice: Apply patches for CVE-2017-7506 (diff) | |
download | gentoo-59fa022978d9433f72cc1d7a265ceaab1bb7f671.tar.gz gentoo-59fa022978d9433f72cc1d7a265ceaab1bb7f671.tar.bz2 gentoo-59fa022978d9433f72cc1d7a265ceaab1bb7f671.zip |
dev-ruby/oauth: add 0.5.3
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/oauth')
-rw-r--r-- | dev-ruby/oauth/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/oauth/oauth-0.5.3.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest index bf150f77ae72..245562d315be 100644 --- a/dev-ruby/oauth/Manifest +++ b/dev-ruby/oauth/Manifest @@ -1,2 +1,3 @@ DIST oauth-0.4.7.gem 50688 SHA256 bca47d77c946af466872269e37e470837858b1305d5143e5a56c50356e02b2cc SHA512 7d8df61574aaf53ffcb206c6a210546c36b67b2c545d6b31afef2961ee135050923f427dc4720379b7689eef9d921015c26fedd8b11bbd13761dd498155fc550 WHIRLPOOL 5a9dd0eeb2137db2b9810482dca116bf38c06ed75dff2df434118c147ed907d4fdad55dfd2e9c0751b42a110cd240c2ff70bfca75bcffc7f08dd454f65ca7591 DIST oauth-0.5.1.tar.gz 46675 SHA256 462839c6a685b72d619e050869d15abb889f98b010ee97a19ea5a2bc4e39ad91 SHA512 fe00e4455ab72edb38051e0c203f27b299b624cdc3ba031de9aea33c1429a54a364f066297dae86c22b723859ab8bd8854b02d344ec49a535c28b256e96593a6 WHIRLPOOL b9813500cc920a74ac7b48414bcb80f266cad4f8407fc9a62ac1c0da69c92dcd83f1b837de2b7caf8e2a89727c794bc3b0652f1091981e70d82122e7fd6470a9 +DIST oauth-0.5.3.tar.gz 59355 SHA256 0a8225316dfcaf83fc05c2f96ccef912ccfd41a2f57b45ea78ccf44bca975c5c SHA512 658a0b2c8b2eaa51981fd274c5058996309aa0a7098fad8221ca4074f51d996c17c5bdd8373da5e13b6cdc782b9d59769b705f2aa6ad724a2ebd14034ff92e9e WHIRLPOOL 0700f2ccb7e4b3e24c9e6651d7a2ad9fdba21dcf9d37a85b4e0e008e89bed795dc8877877fced792f48996f9ecbe7f0fd89ca4831fdebbc9eddeec287ab6b8df diff --git a/dev-ruby/oauth/oauth-0.5.3.ebuild b/dev-ruby/oauth/oauth-0.5.3.ebuild new file mode 100644 index 000000000000..59fae1c6f0a9 --- /dev/null +++ b/dev-ruby/oauth/oauth-0.5.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="HISTORY README.rdoc TODO" + +inherit ruby-fakegem + +DESCRIPTION="A RubyGem for implementing both OAuth clients and servers" +HOMEPAGE="https://github.com/oauth-xx/oauth-ruby" +SRC_URI="https://github.com/oauth-xx/oauth-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/mocha:1.0 + dev-ruby/webmock + dev-ruby/rack + dev-ruby/actionpack:4.2 +)" + +all_ruby_prepare() { + # Require a compatible version of mocha + sed -i -e '1igem "mocha", "~> 1.0"; gem "actionpack", "~>4.2.0"' \ + -e '2i gem "test-unit"; require "test/unit"' \ + -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die +} |