diff options
author | 2024-07-02 07:18:40 +0200 | |
---|---|---|
committer | 2024-07-02 07:18:40 +0200 | |
commit | d179f6021fefc88ef7d5bad1ddf1187324d02d37 (patch) | |
tree | 43ed5f1a65c1a64eb55dd5d367918bff425de2a2 | |
parent | dev-ruby/rubocop-rails: drop 2.22.0, 2.23.1, 2.24.0 (diff) | |
download | graaff-d179f6021fefc88ef7d5bad1ddf1187324d02d37.tar.gz graaff-d179f6021fefc88ef7d5bad1ddf1187324d02d37.tar.bz2 graaff-d179f6021fefc88ef7d5bad1ddf1187324d02d37.zip |
dev-ruby/zendesk_api: add 3.1.0
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | dev-ruby/zendesk_api/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zendesk_api/zendesk_api-3.1.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/zendesk_api/Manifest b/dev-ruby/zendesk_api/Manifest index f30dacd6..acd19695 100644 --- a/dev-ruby/zendesk_api/Manifest +++ b/dev-ruby/zendesk_api/Manifest @@ -1,3 +1,4 @@ DIST zendesk_api-2.0.1.tar.gz 85673 BLAKE2B 1053c374bdb4023b22c1efd1fe17f3c4ebc22e9b426055c201b69f8f956aeef700b067acf1f29c4e22f01d3e03945a1c9bd6aa217312a93b8bd95b69bbffded0 SHA512 c9eca0e8489d108eb6f5eabaa39a8530d68d6d1c2420653030dcb45c925b0c5415ae8a44719de2bfc587c9525a0dbd03c4031fef84939d3da7380dae612a1b55 DIST zendesk_api-3.0.4.tar.gz 91478 BLAKE2B aa8e5a8cde2fd243593e57f05d8349285b17287afa46f89d46bd2eb2beb7c1711df8e711370f292d043aed80ecea9264d4008c0ad34ae9e6884bf4cd1a94abd9 SHA512 62b5e64b0e81d63790b948d12ce5d5b49048f0efca0080553e782e824167d32d417aea9d1d7c6f081222a478085be8f57278a8d10ac71037b9fefda595f220c8 DIST zendesk_api-3.0.5.tar.gz 91741 BLAKE2B 7d196eaa013cd53ae6773557433d3185fd771ddb27723eec8e28f63ba9b3a317dab2bc4aac75f86c5c20733e9a6cdfaf2678b20b511e579d9c539d782346ea00 SHA512 e15ff1a90df34e2d9463babf73767df614402c22608ac7f0388fb0d5115372c4a497ab91122498fd9b5d8f2a128b8df4805122729162e7f87a541b862f9aaaab +DIST zendesk_api-3.1.0.tar.gz 92822 BLAKE2B 0c08e902355caba1f2f7ffdfbeb490f23fd393943c641597bae3fd95369081192f61919f5821fa9050e375176c36fa6db5cf11f970c35b272db87896f9065cb9 SHA512 57ebce9c2fb9b499d7834561e2d84dfefed90fbb9fc25bf971b9ed72500a5ee6f4009bdfd4ed2083eb0321e97e11f13a71715b687af1b5be16a9b930b06b33ca diff --git a/dev-ruby/zendesk_api/zendesk_api-3.1.0.ebuild b/dev-ruby/zendesk_api/zendesk_api-3.1.0.ebuild new file mode 100644 index 00000000..814007a6 --- /dev/null +++ b/dev-ruby/zendesk_api/zendesk_api-3.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="zendesk_api.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Wrapper for the REST API at https://www.zendesk.com" +HOMEPAGE="https://github.com/zendesk/zendesk_api_client_rb/" +SRC_URI="https://github.com/zendesk/zendesk_api_client_rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="zendesk_api_client_rb-${PV}" + +LICENSE="Apache-2.0" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/faraday:2 + dev-ruby/faraday-multipart + dev-ruby/hashie:5 + dev-ruby/inflection + dev-ruby/mini_mime + =dev-ruby/multipart-post-2* +" + +ruby_add_bdepend "test? ( dev-ruby/vcr:6 dev-ruby/webmock )" + +all_ruby_prepare() { + # Avoid live specs that require a network and credentials + rm -rf spec/live || die + + sed -i -e '/byebug/ s:^:#:' spec/core/spec_helper.rb || di + + # Avoid spec failing on exact match on passed argument + sed -e '/should pass to new, since this is how attachment handles it/ s/it/xit/' \ + -i spec/core/collection_spec.rb || die +} |