summaryrefslogtreecommitdiff
path: root/dev-ruby/gh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-ruby/gh
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-ruby/gh')
-rw-r--r--dev-ruby/gh/Manifest2
-rw-r--r--dev-ruby/gh/gh-0.16.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/gh/Manifest b/dev-ruby/gh/Manifest
index 86ca88d7872e..06e011165637 100644
--- a/dev-ruby/gh/Manifest
+++ b/dev-ruby/gh/Manifest
@@ -1,3 +1,5 @@
DIST gh-0.15.1.tar.gz 64076 BLAKE2B 3611d83d9414349284bbaa7618aee2c9b5cb4c6db98e506891f70cf0f21dd7f25ae87e9f8094a90ec4ed4f62ba1e05bd598722a743e32abe54e7eb2a002d9d72 SHA512 6b8a43360253275408ff3d0f6e8cabe3afe399b4ed362f9b4ded72a9d650d18483cf5e3d10877a97c9112b7ccd5add5f2c9999ab1cd5f8102af3a9e49ef39037
+DIST gh-0.16.0.tar.gz 129499 BLAKE2B 6dea86bcaa8191b2eb19daed487d80e5b55adadccb1c063320b44e742895cad1956e06a917ff35659834b4cf541892d3cd0b432f03783b4b860cf4c7136c7c49 SHA512 141a432b8d5f43feea6cc86be504e35b5133590466f1a28c5ba60a208cde9d3cc1a6f19702757e132e4255220e1161f6dc9621ec18a789d963738b9801e52da1
EBUILD gh-0.15.1-r2.ebuild 908 BLAKE2B 90bec46a308dea780e6fe0e8052dcfbc47702549b1da7e6f6ce7c9d74e8e07458879c22a4c10907bc34a63ac0c63593431d5818f39b3d6790907f69b5bba28a5 SHA512 92550711dfa167eaec96493b4953e1b6c7c8aaab0328713a581d777a96b06ee86e651cf8ab04dd53a0144889673f4471be0998c3036971eda45c3241b47b18f0
+EBUILD gh-0.16.0.ebuild 916 BLAKE2B 41b978b733212b8e2584d05f02f8ce93d0deae4af7525ea58765680edb632bdefacbb8d25fadddc9e97bf7fcfd7359a178ac920fa6f71a9f039dacbffe82755d SHA512 0007c0203a5b439e20e78d6b98e778f57d1f44e884a20c453ffe635e602c7f86daf82f193ebf61ef0f7a92bc9268d4d9b82ce130eb1634dae2168042c16941f5
MISC metadata.xml 328 BLAKE2B ffcac2532a59009124144d5a974ab68f58c35954d76523766184eadaa5ba9602d891c433f40e830cac3d5acc8ea80fe516b5ce69df6e2240454e5ec1d9f198a2 SHA512 827f41487bb4442546ace9b648b2153e910f4e38a9d3edb1d2c231add2ea537c6318da7c5f0b4ee48f016c7c0bc62fba36cf4745fb96f9ad90890b97049d9d29
diff --git a/dev-ruby/gh/gh-0.16.0.ebuild b/dev-ruby/gh/gh-0.16.0.ebuild
new file mode 100644
index 000000000000..21bd4bf82044
--- /dev/null
+++ b/dev-ruby/gh/gh-0.16.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="gh.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="multi-layer client for the github api v3"
+HOMEPAGE="https://github.com/travis-ci/gh"
+SRC_URI="https://github.com/travis-ci/gh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "
+ dev-ruby/webmock
+"
+
+ruby_add_rdepend "
+ dev-ruby/activesupport:5.2
+ >=dev-ruby/addressable-2.4.0:0
+ >dev-ruby/faraday-0.8
+ >=dev-ruby/faraday_middleware-0.14:0
+ >dev-ruby/multi_json-1.0
+ dev-ruby/net-http-pipeline
+ dev-ruby/net-http-persistent:*
+"
+
+all_ruby_prepare() {
+ sed -i \
+ -e '/addressable/ s/2.4.0/2.4/' \
+ -e '/net-http-persistent/ s/~> 2.9/>= 2.9/' \
+ -e 's/git ls-files/find/' \
+ "${RUBY_FAKEGEM_GEMSPEC}" || die
+}