summaryrefslogtreecommitdiff
path: root/dev-ruby/oauth2
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/oauth2
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/oauth2')
-rw-r--r--dev-ruby/oauth2/Manifest7
-rw-r--r--dev-ruby/oauth2/metadata.xml11
-rw-r--r--dev-ruby/oauth2/oauth2-1.3.1.ebuild41
-rw-r--r--dev-ruby/oauth2/oauth2-1.4.0.ebuild42
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest
new file mode 100644
index 000000000000..5688dffc5bb9
--- /dev/null
+++ b/dev-ruby/oauth2/Manifest
@@ -0,0 +1,7 @@
+DIST oauth2-1.3.1.tar.gz 21371 SHA256 aee3e9ea7f577650cb0c892fdf9a5318130f7802c9997ff186957fe69b6d7bc1 SHA512 6ea4ce6c711c101f8cfe1450624e5bfe501114dd7888d663e0f5171de9f0efa0957483f1350dfc5bcf5d3a63240b194373df733395fac3fea2fcd55d22e4262a WHIRLPOOL d8dc46a3bfea90937828771a22c216462bd1e38cf8af3152d075359b07a1c60b87d57c57052cb3706c4ef1b03203b16a7a0b0db21e3bfc0a7b138428e4b7b949
+DIST oauth2-1.4.0.tar.gz 21299 SHA256 9f1a4612de8ecb4e17a59a38cd11b12194bd5f73adb86cbc413c763c43936ac5 SHA512 2db67cba2403be8ea5d6f88f9818f295c29c08201f8ea5876c55cffe2fa926be465a11061654adffd77d13da9c7e56353ece7e4595cd9501acdcfeb58573b300 WHIRLPOOL 205460523bc5ccf3798e394b929b1b9fb2f3b5a1c124bd0de9065d4fba651cc8626ac0bb7d14e7fe7e731ff5d5b1dc4df0069fd933711ed7b2a4f619b2bc268b
+EBUILD oauth2-1.3.1.ebuild 1066 SHA256 7fcdc8b588fc0babd24456f05ff72088220c83f9beab04064ad6725858c9be6c SHA512 df2e119e89dc0367ea55b087f3697772a888011f6c3d86722bf3885f102531ecc96441bc328c9866c66eb3ed5e8882f730dd44c649df0998e059dcbf03b69ae1 WHIRLPOOL 9a0014a410f1dfbcbcf053cc5443e2ced7b8507cf6279ca606c67b8887a97d5109198ab9a56089779de89b02148649af82580d70b19b2e8e65ed9ce9b0717658
+EBUILD oauth2-1.4.0.ebuild 1108 SHA256 67d10fd2ac9ee078ba51a37071e25a4d54b205bf62a1264ef2edeba7fe0e1877 SHA512 b0035469f82298d0c82f98293c900c5b1d4f3dfdd7bac9101f580065d0a0361967e9a3d3b3675f8dea75a9609ab792fee5851c87e86e2f0e570d875fcaf8ace1 WHIRLPOOL 52a7cbeff72cadfc31ba14306124b454729ecb5dc6a7b8728ede43df23f9bd0f05de15abd5293670ba9ddf406c8e6da7fc616abeab4dde034132bfed63fecdc4
+MISC ChangeLog 3208 SHA256 a94b633eaabc3801cb66995e7919ad437b36c221417c0d80648c6c392b99bbb5 SHA512 762515f93be648ad1f4ac224add5317b2198936d3c4591d0820444fd8d1e3bf4cb084099475a5ed6c7ca2fca49abd832495f3bb1348799069c498ae7293bb782 WHIRLPOOL fdcda75ecb7c3890b3d3f54aa98be681883cef9f373e645f5c382bb840cbe0b93fde01ce5bc02edbd044cba7220b6b2cfd4eeb61b72382e1eb538e142dd3bc5a
+MISC ChangeLog-2015 3910 SHA256 627ce08f59e13564dfbbe29349c5f7d299389fc9cc1049a1da6def94d1602ace SHA512 ccbace5d7cfbe2e5a96f26d6960621abdd3914f465ac244e9c40a309d5c609676cc8ae12a2036cc36585b2f3771e492928afcc83e036b21fc1366237f1293521 WHIRLPOOL c32af609cdc1cdcdd6dee794783dd5a3648eae6f40b07f17308ed62883d08b79a55ebb3b9fce596309958c47b02eb83ee04ee4dbd370408ca909031afa82fb89
+MISC metadata.xml 341 SHA256 d85e0736f2ff1f3b5d81308bf7ae2be598b377c4ea4556a1ea434ed191e6d675 SHA512 33c5be74161557ae3e5888730256536cd02baac6c26913add84d8ce90854c4a3bb57c31fec1287bf560268c681ea3acf2119f2fea3162dd07e3962ee34d74f9e WHIRLPOOL 0d6e65c01ad6e0c215bcecee8ca78bc099c46e96f26945ba89b8f94368997b3615a16e0abf6787564781b8ea175e513c7ba074b28f9a6763fa9f14b7e6534c3a
diff --git a/dev-ruby/oauth2/metadata.xml b/dev-ruby/oauth2/metadata.xml
new file mode 100644
index 000000000000..6a31450fb065
--- /dev/null
+++ b/dev-ruby/oauth2/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">intridea/oauth2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/oauth2/oauth2-1.3.1.ebuild b/dev-ruby/oauth2/oauth2-1.3.1.ebuild
new file mode 100644
index 000000000000..94f9427c18bd
--- /dev/null
+++ b/dev-ruby/oauth2/oauth2-1.3.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem"
+HOMEPAGE="https://github.com/intridea/oauth2"
+SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/faraday-0.8
+ >=dev-ruby/jwt-1.0 =dev-ruby/jwt-1*
+ >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1*
+ >=dev-ruby/multi_xml-0.5:0
+ >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*"
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.5.0:2 )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^ end/ s:^:#:' spec/helper.rb || die
+
+ sed -i -e '/yardstick/,/^end/ s:^:#:' \
+ -e '/bundler/I s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ CI=true ${RUBY} -S rspec spec || die
+}
diff --git a/dev-ruby/oauth2/oauth2-1.4.0.ebuild b/dev-ruby/oauth2/oauth2-1.4.0.ebuild
new file mode 100644
index 000000000000..924251c57e2d
--- /dev/null
+++ b/dev-ruby/oauth2/oauth2-1.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem"
+HOMEPAGE="https://github.com/intridea/oauth2"
+SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-0.13
+ >=dev-ruby/jwt-1.0 =dev-ruby/jwt-1*
+ >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1*
+ >=dev-ruby/multi_xml-0.5:0
+ >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*"
+ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^ end/ s:^:#:' \
+ -e '1irequire "uri"' spec/helper.rb || die
+
+ sed -i -e '/yardstick/,/^end/ s:^:#:' \
+ -e '/bundler/I s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ CI=true ${RUBY} -S rspec-3 spec || die
+}