summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2021-07-14 07:44:27 +0200
committerHans de Graaff <hans@degraaff.org>2021-07-14 07:44:27 +0200
commit148399a5306c7c78d4003a183926e8f085b2c1e1 (patch)
tree401b54e6fd7ea358ce119d39c7d826eefdee484d /dev-ruby/zendesk_api
parentdev-ruby/zendesk_api: cleanup (diff)
downloadgraaff-148399a5306c7c78d4003a183926e8f085b2c1e1.tar.gz
graaff-148399a5306c7c78d4003a183926e8f085b2c1e1.tar.bz2
graaff-148399a5306c7c78d4003a183926e8f085b2c1e1.zip
dev-ruby/zendesk_api: add 1.31.0
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-ruby/zendesk_api')
-rw-r--r--dev-ruby/zendesk_api/Manifest1
-rw-r--r--dev-ruby/zendesk_api/zendesk_api-1.31.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/zendesk_api/Manifest b/dev-ruby/zendesk_api/Manifest
index 59461fd6..ad8aef24 100644
--- a/dev-ruby/zendesk_api/Manifest
+++ b/dev-ruby/zendesk_api/Manifest
@@ -1,2 +1,3 @@
DIST zendesk_api-1.29.0.tar.gz 81957 BLAKE2B 6fc173056573f3f24a1f2d5c09303dd85a2e7b0205b469d124908cab2f40d04ed29ecd43705677f53527ae00f2ed639faa4fb43fbdc000fda14c37532ff65d8f SHA512 69f76ca130fd50bf710b1da5495d8c0d1353e139291148e408029b76b08daae054bcde3acb11a236c5561d6fcf12d2eeaa1b06bba67e2e469a7ad6e22ce026bb
DIST zendesk_api-1.30.0.tar.gz 82171 BLAKE2B 934d7df1f33f5a52f05a01194e3333fc40ae722ebc8b4975c16c924ff87a393f9a531dfc7e8a7fd974243a0d7c9cdf89708cd27c1faa098ece763b83162eb199 SHA512 ad00aa10190ccecad61d8c513911eea6d4fc82c726607266724a2b163889bb55e51cc2634d1f121b6117eaef086ff70d538c66118d9707fe8dd44bbe22aa9a00
+DIST zendesk_api-1.31.0.tar.gz 82177 BLAKE2B 1f57a7f6f5b127f5881468e251ba2781f0607de1d684194ac014de6ad1fdc8c842399f942888f7f1a520e1bce30796ca111c3556f051da74891bfd0e9cd3044a SHA512 5d5d67d757fc81599759e63d7e1888bf5748952060da52debb0e7cce8eb509250f600b76c2c28c156afba28023ebc58d1cbf957638b17952519175de99690999
diff --git a/dev-ruby/zendesk_api/zendesk_api-1.31.0.ebuild b/dev-ruby/zendesk_api/zendesk_api-1.31.0.ebuild
new file mode 100644
index 00000000..d74d7b18
--- /dev/null
+++ b/dev-ruby/zendesk_api/zendesk_api-1.31.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend "
+ || ( dev-ruby/faraday:1 >=dev-ruby/faraday-0.9:0 )
+ || ( dev-ruby/hashie:4 >=dev-ruby/hashie-3.5.3:3 )
+ dev-ruby/inflection
+ dev-ruby/mini_mime
+ =dev-ruby/multipart-post-2*
+"
+
+ruby_add_bdepend "test? ( dev-ruby/webmock )"
+
+all_ruby_prepare() {
+ # Avoid live specs that require a network and credentials
+ rm -rf spec/live || die
+}