summaryrefslogtreecommitdiff
path: root/dev-ruby/oauth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/oauth
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/oauth')
-rw-r--r--dev-ruby/oauth/Manifest7
-rw-r--r--dev-ruby/oauth/metadata.xml11
-rw-r--r--dev-ruby/oauth/oauth-0.5.1.ebuild44
-rw-r--r--dev-ruby/oauth/oauth-0.5.3.ebuild36
4 files changed, 98 insertions, 0 deletions
diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest
new file mode 100644
index 000000000000..03b8f900148d
--- /dev/null
+++ b/dev-ruby/oauth/Manifest
@@ -0,0 +1,7 @@
+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
+EBUILD oauth-0.5.1.ebuild 1186 SHA256 aea97a192925428f42ee55c318c7ef9470cb9c825fcf8d2499f479545250c0e8 SHA512 48fa1a015715331d5b3d21745d0d3608d58dc10ef88db3d46c18b466cbb7e0b34d586d01e8db9d102930b21a582230a58cc9f0fddd9d26875addf0af82bd6903 WHIRLPOOL 18d8f193f8fe8426729abeaebbf5512095f542b2f59097a66ece21bb5f0cc65f11696b9de77d2c414092ed5f01cef4b3e34b9c35ee572a9545fe9f3231f0d8f7
+EBUILD oauth-0.5.3.ebuild 943 SHA256 6123cb433ef867fec1d6b6f224e725e8a74e6ddc8eeb6ab2cb858fa7bf790ab2 SHA512 473fd0a953460bc1d36330a75800b1732e61ecbdc092757440f8ebfba68473f0d93757b70a7c41a7da8c8af38612c0b7568d94314183a3277f30b020027c9a00 WHIRLPOOL 05945e3b16177c45e661132d21e8909740d4f1728e408b3274e598ceb874a112a71e683597909227c2b7afc3887b816a4579fa5959803632b6f0a3fea618452e
+MISC ChangeLog 3446 SHA256 5fedec0bffdb25023daa22638af5aa6c712cbce2daeb861ffc7113c091345508 SHA512 c9c2026172990acf6e717b0a5d211077d5190bad15aed5bee32d914eb44cd6b57e54218ba179dab80bc0fb075aeba23b2a08c9ad6f775dac6ecd2292e9694d1a WHIRLPOOL 908d4ebf79b88566dc0df2d64c28ef5a9ec5f65561c8dbd955ded3937c8ceaf7d167da18c029b35b7de0fe9997534946faf3d7e61438eeeee694a6468ae6a201
+MISC ChangeLog-2015 4320 SHA256 33fc9bc02080aaab9281b0dbdf7e72251286b6e097b3be237fc103c903d727b1 SHA512 7190d29b8be352a142a5b40e80dfeb67a5397ce4935424b7403c92f777ae8aafcad93bd66a4a16d1cfd8fdc32e68df181bab227d7f18919287b4fe4ba6ef2c57 WHIRLPOOL f79784b717c99359163676428bff6ca6fde90f31e146a8824a5d172f02083d80dc7b29f42dd672250c24f8e30cbfc9cf03e74896e4b95bbb6960e01ee9089eee
+MISC metadata.xml 335 SHA256 a63520ada058928778ea0e8c486624d84c53ef1ca4de83eccf360e8e39b5b2ca SHA512 a740b8de21545f432e6e1d4b72a588bd1332bca643f017d8cffa84ae76f6a3d4514e3734f24f80954b7691034411b46463581291ae405a1026b90d93d991cb96 WHIRLPOOL a5f2fabd71a0d38f871a5ac773735a77021b39a464e6c791eb3bef1b2bf0346416baa29741171971ca6ccbb45bf064b5c8deff9169c1a5f8efcaaf5ef82c4e12
diff --git a/dev-ruby/oauth/metadata.xml b/dev-ruby/oauth/metadata.xml
new file mode 100644
index 000000000000..f20a3a8fdaf9
--- /dev/null
+++ b/dev-ruby/oauth/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">oauth-xx/oauth-ruby</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/oauth/oauth-0.5.1.ebuild b/dev-ruby/oauth/oauth-0.5.1.ebuild
new file mode 100644
index 000000000000..1b866d8157f6
--- /dev/null
+++ b/dev-ruby/oauth/oauth-0.5.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+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 )"
+
+all_ruby_prepare() {
+ # Require a compatible version of mocha
+ sed -i -e '1igem "mocha", "~> 1.0"' \
+ -e '2i gem "test-unit"; require "test/unit"' \
+ -e '/byebug/ s:^:#:' test/test_helper.rb || die
+
+ # Remove tests that require Rails 2.3 since that is ruby18-only.
+ rm -f test/test_action_controller_request_proxy.rb || die
+
+ # Remove typhoeus tests since they require an old version.
+ rm -f test/test_typhoeus_request_proxy.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I.:lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}
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
+}