summaryrefslogtreecommitdiff
path: root/dev-ruby/github_api
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/github_api
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/github_api')
-rw-r--r--dev-ruby/github_api/Manifest7
-rw-r--r--dev-ruby/github_api/github_api-0.14.5.ebuild42
-rw-r--r--dev-ruby/github_api/github_api-0.17.0.ebuild31
-rw-r--r--dev-ruby/github_api/metadata.xml11
4 files changed, 91 insertions, 0 deletions
diff --git a/dev-ruby/github_api/Manifest b/dev-ruby/github_api/Manifest
new file mode 100644
index 000000000000..de14523ed987
--- /dev/null
+++ b/dev-ruby/github_api/Manifest
@@ -0,0 +1,7 @@
+DIST github_api-0.14.5.tar.gz 2047231 SHA256 f85da640b8ee5daa6c412f73cb87a55bfe71af86533d8cd2a3853f664b3e5b8b SHA512 c19b8364e627427ae0447810b7d56b5bf50f89030a02af9b19116abc906ac780149b47d54ae3a93d4e1a3f52461fd1b8fe969501fa5ec6e535db22749b8ecd89 WHIRLPOOL db44f29ed0b57a15a1f2479cd0cad13aa199b989ebfdd15fdfca1e69d17729d52a22f2fff367d96d473e76d65551222eb09938f528e4145bb0a794cd50cb7a6d
+DIST github_api-0.17.0.tar.gz 2122803 SHA256 ca83937cc6c8129df970655d6dce42a255a1bf35ffdb7d6f5ccb98ab16601841 SHA512 0b85b299fb85e8f5e48d5c0a18fbab1d6d43fc2a35bd3dc7d6517b06267c9daed6bd60fd1572b64d61c034be30729e7aeda38aad15f7749b40935761d3db7a98 WHIRLPOOL bf1df1bddf943f54e5d365d4ff6fd855b70ee3ced2fc111c7b6d3b379472fab90934cb2d58a79e85c1f550895c3fe09e62196143f5f62af746a8253e7c56cd8c
+EBUILD github_api-0.14.5.ebuild 1543 SHA256 b00a731f750a1e1b6e4dacae4b9ca6bc37288597c89923026ecb5e48d60529bd SHA512 fdfefba7bbd00ba78e66396b26d37ef2141f6c0a05b748ebdad3406287e5c4dc3127401a6974b18014f4d68ae7d43722b5776b4bced82e55402e0ab3eb00f724 WHIRLPOOL dcd5a6c7cbed72dc8d3870f62c8b8168e6b9b92e22ac94ffdcd0bdaca7e71d74d3ab81b7390ee77815b100372e272b09accb43944a3293ca3c8a702335419fdc
+EBUILD github_api-0.17.0.ebuild 914 SHA256 6c66d82044acedefa4fdcd4c931ce93e75434ad294b487ec55d5ce0bf5a36f76 SHA512 afeebf35d73ec2df3d15aa33fc2484949632af983e5b63619c29758f76a44d568d18f0d29b6d1319e412d022eda6f75e2e503065f469488e4d1d95e705a42ccc WHIRLPOOL 93e8811c462936d035841c98cc552381109f6b7b12789c7e90b15d581b0603de710e7909768d9cec1060436c921cc83b86501139d2ddc88c8db9058205ea0e55
+MISC ChangeLog 3413 SHA256 1f6ac421c590bb83bf3534e5b78f8288808719a2c3c78544aa1ce496fe1d4e49 SHA512 e657651d66d067931b56c482b2069d0afb6d56e473d8039c3b22f53a0ab980459025de9a905dc5e25f0f9bc45243ff7d38f7f5eca3069f3791ce3df3419f593b WHIRLPOOL 3e06be2fc1432118fd68a82d738c198833187f199b9a37ec7cc484f35450c56a7821b580c0260172949bfe79b2f9351641969e572c7bb96663d81d321be8166d
+MISC ChangeLog-2015 1410 SHA256 7cc893c37e5961810c40a536276aeb99755ce48797187f8cc72397dd17fa9bd5 SHA512 43b0c09d697893691ffc646ba46d39b6fb8ab04ea35fb09d5a0e85d1cbe9ff6294b00b68ab453485e7233eac5d85a4d4426ac2d793936b2b9f00aa26207aecb9 WHIRLPOOL 597a14f8cfbb3e17b307bf56ea6f05dd60d4f4f473f9a5c880c30cfa06c44a90c54da7a7379a9fc2ff0e5d958434abd7ca653ad93460f5c18f03edff612df5b9
+MISC metadata.xml 345 SHA256 6c75f7500d28d76c7d21e434a867e2e115c397256042bb388ef726c0ec4781ca SHA512 13a9b76087f805e0ef3cb5a1a115dc72d681d15899f0fec4e003583f29811e3b7cd690c4e6fa8f138c4d992c39551a6b40e71a25484017e0d647ebcc9c0602e6 WHIRLPOOL 3fc66eb236b1e62f612a0503f8edafedd58919bc026e39ed8507f95d20c93d99de60c6276a078dac821eec68c622b151f5ae43a6b2ca65aed5b0f9a19189b2be
diff --git a/dev-ruby/github_api/github_api-0.14.5.ebuild b/dev-ruby/github_api/github_api-0.14.5.ebuild
new file mode 100644
index 000000000000..51ebdfb245b4
--- /dev/null
+++ b/dev-ruby/github_api/github_api-0.14.5.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="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby wrapper for the GitHub REST API v3"
+HOMEPAGE="https://github.com/peter-murach/github"
+SRC_URI="https://github.com/peter-murach/github/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="github-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.4 =dev-ruby/addressable-2.4*
+ >=dev-ruby/descendants_tracker-0.0.4 =dev-ruby/descendants_tracker-0.0*
+ >=dev-ruby/faraday-0.8 <dev-ruby/faraday-0.10
+ >=dev-ruby/hashie-3.4
+ =dev-ruby/oauth2-1*"
+
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.14 dev-ruby/webmock:0 )"
+
+all_ruby_prepare() {
+ # Work around or avoid webmock incompatibilities
+ sed -i -e '1igem "webmock", "~>1.17"' spec/spec_helper.rb || die
+ files=$(grep -R -l "with(inputs)" spec)
+ sed -i -e 's/\.with(inputs)//' \
+ -e 's/\.with(inputs.except(.*))//' ${files} || die
+ sed -i -e 's/.with(hub_inputs.*)//' spec/github/client/repos/pub_sub_hubbub/*subscribe* || die
+ sed -i -e 's/.with({})//i' spec/github/client/repos/{list,contributors}_spec.rb || die
+ sed -i -e 's/.with({.*})//' spec/unit/client/orgs/memberships/edit_spec.rb || die
+ rm -f spec/unit/error/service_error_spec.rb ./spec/unit/error/unprocessable_entity_spec.rb spec/github/client/authorizations/two_factor_spec.rb || die
+}
diff --git a/dev-ruby/github_api/github_api-0.17.0.ebuild b/dev-ruby/github_api/github_api-0.17.0.ebuild
new file mode 100644
index 000000000000..3f81c5eddb54
--- /dev/null
+++ b/dev-ruby/github_api/github_api-0.17.0.ebuild
@@ -0,0 +1,31 @@
+# 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_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby wrapper for the GitHub REST API v3"
+HOMEPAGE="https://github.com/peter-murach/github"
+SRC_URI="https://github.com/peter-murach/github/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="github-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.4 =dev-ruby/addressable-2.4*
+ >=dev-ruby/descendants_tracker-0.0.4 =dev-ruby/descendants_tracker-0.0*
+ >=dev-ruby/faraday-0.8 <dev-ruby/faraday-0.10
+ >=dev-ruby/hashie-3.4
+ >=dev-ruby/mime-types-1.16:* <dev-ruby/mime-types-3:*
+ =dev-ruby/oauth2-1*"
+
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.14 dev-ruby/webmock:2 dev-ruby/vcr:3 )"
diff --git a/dev-ruby/github_api/metadata.xml b/dev-ruby/github_api/metadata.xml
new file mode 100644
index 000000000000..3bbebd84add3
--- /dev/null
+++ b/dev-ruby/github_api/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">peter-murach/github</remote-id>
+ </upstream>
+</pkgmetadata>