summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-07-06 07:27:13 +0200
committerHans de Graaff <graaff@gentoo.org>2022-07-06 07:28:20 +0200
commitf67cb8088294a2bc89e6c430144adc87b69c5344 (patch)
treefb9c3c62c38e14e83377f72de365ecdd26e9778f /dev-ruby/octokit
parentdev-ruby/msgpack: add 1.5.3 (diff)
downloadgentoo-f67cb8088294a2bc89e6c430144adc87b69c5344.tar.gz
gentoo-f67cb8088294a2bc89e6c430144adc87b69c5344.tar.bz2
gentoo-f67cb8088294a2bc89e6c430144adc87b69c5344.zip
dev-ruby/octokit: add 4.25.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-4.25.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index 0bf49ef33a4d..2f541a34afa3 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -2,3 +2,4 @@ DIST octokit-4.22.0.tar.gz 3141531 BLAKE2B c852f34dc99b10fb06194bda9f15bffb4242a
DIST octokit-4.23.0.tar.gz 3149606 BLAKE2B a948f8ad114dd892ee98f18f00104008fb2877eaecd250da834a59fbc24560e1eea5df0aaaf0a25cf2fb980a3c72fc12955d75c7c4348ea60a392abb78e92c92 SHA512 0cd039a8137d3153ca8dbbed9ea1e6eadb9fde8c447b8f5457c05a88b2dfcd6d4b3bcd4c4a828850809146fec588fdacf96e025d0e82ee61ea77773abfffdc61
DIST octokit-4.24.0.tar.gz 3151075 BLAKE2B df9a20854358722bb92e894413b4b8d50e911aba23d610da4d00e6ff8e03df2c442a83a781c836f5f780a2079992a28c77ae59ae89d49386a009af8f29d8a9d5 SHA512 e2cabc820732b6d9e71b37807007e17fba23199faa127c3480c37b5c8fca1a0ddcaffe5815ffe7a9efe3ef3b617b9099dca8b01e58b4210cbf68566897a93ce7
DIST octokit-4.25.0.tar.gz 3154678 BLAKE2B 97e73f2847db78f2e1ced7d1a7fa7e9ef68d5f12b2bace78e6439656bd9525731422830f1d9a082204bc07331c1268be8bfa32c1375cb451b18e2b0f5294b589 SHA512 229b2c93190ca3e2ae49232e1173dfc2ccbebb68af7cb79d0168462a8f6bc5ffcff814004163986134605b6ae3882238cf246f33844c510f54f98170d46cb915
+DIST octokit-4.25.1.tar.gz 3154185 BLAKE2B b1698de8694cd2e147542eb6e7e9784428daa035a6e123c05c135558a669c0d222ef4629cc89de815a51b7b3660a8dd2cb80e8d11b90ac43f661e3e2e078b0c0 SHA512 780393e6765e82f0fbfada3b8800ccb981df4383ebfda0b218c24bac224b39f836c3d9cb94cf2564676000862dec7ab94cd2dbdaff51c37142d1f45140121bf1
diff --git a/dev-ruby/octokit/octokit-4.25.1.ebuild b/dev-ruby/octokit/octokit-4.25.1.ebuild
new file mode 100644
index 000000000000..1f905e4ae5f5
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.25.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby toolkit for the Github API"
+HOMEPAGE="https://github.com/octokit/octokit.rb"
+SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S=octokit.rb-${PV}
+
+ruby_add_rdepend "
+ || ( dev-ruby/faraday:2 dev-ruby/faraday:1 )
+ >=dev-ruby/sawyer-0.9:0
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/jwt
+ dev-ruby/mime-types
+ >=dev-ruby/netrc-0.7.7
+ >=dev-ruby/rbnacl-7.1.1:6
+ dev-ruby/vcr[json]
+ dev-ruby/webmock:3 )"
+
+all_ruby_prepare() {
+ sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \
+ -e '/pry/ s:^:#:' \
+ -i spec/helper.rb || die
+}