From f63baf025e2b76cb1ae7aa84acaa8d66aef367a0 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 19 Jan 2024 07:28:43 +0000 Subject: Adding metadata --- dev-ruby/gh/Manifest | 1 - dev-ruby/gh/files/gh-0.18.0-ruby30.patch | 20 -------------- dev-ruby/gh/gh-0.18.0-r1.ebuild | 46 -------------------------------- dev-ruby/gh/metadata.xml | 10 ------- 4 files changed, 77 deletions(-) delete mode 100644 dev-ruby/gh/Manifest delete mode 100644 dev-ruby/gh/files/gh-0.18.0-ruby30.patch delete mode 100644 dev-ruby/gh/gh-0.18.0-r1.ebuild delete mode 100644 dev-ruby/gh/metadata.xml (limited to 'dev-ruby/gh') diff --git a/dev-ruby/gh/Manifest b/dev-ruby/gh/Manifest deleted file mode 100644 index 4d4d97594d08..000000000000 --- a/dev-ruby/gh/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gh-0.18.0.tar.gz 129730 BLAKE2B e4e9a3b158daf83f8a0f0a809eff87e169c7a0a23120b9ae002d0fee4be166d3e6a09ef85ed61b35148d4285dc358a8d616e09c71403b85293574f3bfbbf922c SHA512 a265d25984d4c40340d4e80ce615f2f291f5636725e7dcdc181e3351d00fe8c3355148f206807180041f20db7f09bf94f5d279ceb25ea12ec19215640fff7839 diff --git a/dev-ruby/gh/files/gh-0.18.0-ruby30.patch b/dev-ruby/gh/files/gh-0.18.0-ruby30.patch deleted file mode 100644 index cdd4aba84d59..000000000000 --- a/dev-ruby/gh/files/gh-0.18.0-ruby30.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/spec/token_check_spec.rb 2020-06-25 16:44:11.000000000 +0200 -+++ b/spec/token_check_spec.rb 2023-03-27 16:20:56.781510771 +0200 -@@ -8,7 +8,7 @@ - end - - it 'adds client_id and client_secret to a request' do -- expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==") do -+ expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", { :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==" }) do - error = GH::Error.new - error.info[:response_status] = 404 - raise error -@@ -17,7 +17,7 @@ - end - - it 'does not swallow other status codes' do -- expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==") do -+ expect(subject.backend).to receive(:http).with(:post, "/applications/foo/token", { :body => "{\"access_token\": \"baz\"}", "Authorization" => "Basic Zm9vOmJhcg==" }) do - error = GH::Error.new - error.info[:response_status] = 500 - raise error diff --git a/dev-ruby/gh/gh-0.18.0-r1.ebuild b/dev-ruby/gh/gh-0.18.0-r1.ebuild deleted file mode 100644 index b0fb14016be7..000000000000 --- a/dev-ruby/gh/gh-0.18.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31" -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="" - -PATCHES=( "${FILESDIR}/${P}-ruby30.patch" ) - -ruby_add_bdepend " - dev-ruby/webmock -" - -ruby_add_rdepend " - dev-ruby/activesupport:6.1 - >=dev-ruby/addressable-2.4.0:0 - dev-ruby/faraday:1 - dev-ruby/faraday_middleware:1 - >dev-ruby/multi_json-1.0 - dev-ruby/net-http-pipeline - >=dev-ruby/net-http-persistent-2.9:* -" - -all_ruby_prepare() { - sed -i \ - -e '/net-http-persistent/ s/~> 2.9/>= 2.9/' \ - -e "/activesupport/ s/'~> 5.0'/'>= 5', '< 6.2'/" \ - -e 's/git ls-files/find/' \ - "${RUBY_FAKEGEM_GEMSPEC}" || die - - sed -i -e '1igem "faraday", "~> 1.0"' spec/spec_helper.rb || die -} diff --git a/dev-ruby/gh/metadata.xml b/dev-ruby/gh/metadata.xml deleted file mode 100644 index 246d194b7ec0..000000000000 --- a/dev-ruby/gh/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - ruby@gentoo.org - Gentoo Ruby Project - - - gentoo-staging - \ No newline at end of file -- cgit v1.3