diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-19 07:28:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-19 07:28:43 +0000 |
| commit | f63baf025e2b76cb1ae7aa84acaa8d66aef367a0 (patch) | |
| tree | 47ad3ee96a64becd266d03687de600a9ca4960df /dev-ruby/gh | |
| parent | 3ee91b49159bb1569a20aa4596e51616147cbdb7 (diff) | |
| download | srcux-f63baf025e2b76cb1ae7aa84acaa8d66aef367a0.tar.gz srcux-f63baf025e2b76cb1ae7aa84acaa8d66aef367a0.tar.xz srcux-f63baf025e2b76cb1ae7aa84acaa8d66aef367a0.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/gh')
| -rw-r--r-- | dev-ruby/gh/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/gh/files/gh-0.18.0-ruby30.patch | 20 | ||||
| -rw-r--r-- | dev-ruby/gh/gh-0.18.0-r1.ebuild | 46 | ||||
| -rw-r--r-- | dev-ruby/gh/metadata.xml | 10 |
4 files changed, 0 insertions, 77 deletions
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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file |
