summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-4.4.1.ebuild4
-rw-r--r--dev-ruby/octokit/octokit-4.6.2.ebuild4
-rw-r--r--dev-ruby/octokit/octokit-4.7.0.ebuild33
4 files changed, 38 insertions, 4 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index e5f7f0c3ebf0..a82cb90f237c 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1,2 +1,3 @@
DIST octokit-4.4.1.tar.gz 2823271 SHA256 9222747466c94f3976f3efb7f818e1a24134fb1fec33eaf395fd8097bfa68473 SHA512 cb6ceb4bbeeba9131176e425cafb40e5cbf0e38958a473ec44dcc702f0a087e5ff19ba34815f1a7a65d095b68c52824b161bf37e6b0fdc626770904bd830f5cb WHIRLPOOL 61e210e7fdc8679be50537ef5425c04710eebad54886fad865b46acd6f4e9758f66a0cb935e2238986c099765b313e6c0a3278e0f6dd2b377d5c049d4981715b
DIST octokit-4.6.2.tar.gz 2859064 SHA256 f568e5e8488d5ed994591fc1b539cbfd8d2a00225f9be642727937f970a598ae SHA512 ff95dc22eca73eee60a1cbe9c8ae0a8c66957f5d50ac906ae73cc36adae49d52cc971e24a807860eac323d24023540a74926dfa1a38c9547359bd5f58cfa10f2 WHIRLPOOL 2fc558196d2879e0f88681f6138a25ed6b3a054594c127c06c902ba7d781f919e2f82f606464e26b5dad2f1e48f33272caec94d9f8f3b29a725ca940737539b5
+DIST octokit-4.7.0.tar.gz 2926712 SHA256 9ce503a8ed4e42022aa01f0a12d0afbec8dd52bde71c12164c5ff815c0278110 SHA512 7a760f909e4756401ce7ecfb3dc8682ec2c630b7ca1639135e61912f8dac2a18974ced1fd5b2d75ee14d1fcc567a370781c159303d7789a9a3f4b756186e72c1 WHIRLPOOL 7a0bbfd7d9009f44b2f8ba41212ac9f1633bfe6b946d855628836578703ab19db81a3214f6f059f840168c5d2c08f8276235a44436ab8593fb246851485d789c
diff --git a/dev-ruby/octokit/octokit-4.4.1.ebuild b/dev-ruby/octokit/octokit-4.4.1.ebuild
index 516c51e9df42..8fcd322c6f61 100644
--- a/dev-ruby/octokit/octokit-4.4.1.ebuild
+++ b/dev-ruby/octokit/octokit-4.4.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="yard"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
diff --git a/dev-ruby/octokit/octokit-4.6.2.ebuild b/dev-ruby/octokit/octokit-4.6.2.ebuild
index 7c65c98c3955..186778dccf10 100644
--- a/dev-ruby/octokit/octokit-4.6.2.ebuild
+++ b/dev-ruby/octokit/octokit-4.6.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="yard"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
diff --git a/dev-ruby/octokit/octokit-4.7.0.ebuild b/dev-ruby/octokit/octokit-4.7.0.ebuild
new file mode 100644
index 000000000000..6510b8100b28
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.7.0.ebuild
@@ -0,0 +1,33 @@
+# 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="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit multilib 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"
+IUSE=""
+
+RUBY_S=octokit.rb-${PV}
+
+ruby_add_rdepend ">=dev-ruby/sawyer-0.8.0"
+ruby_add_bdepend "test? ( dev-ruby/mime-types
+ >=dev-ruby/netrc-0.7.7
+ dev-ruby/vcr:2
+ >=dev-ruby/webmock-1.9:0 )"
+
+all_ruby_prepare() {
+ sed -i -e "1,10d" -e "/require 'vcr'/i\gem 'vcr', '~> 2.9.2'" spec/helper.rb || die
+}