summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-06-11 07:29:29 +0200
committerHans de Graaff <graaff@gentoo.org>2017-06-11 07:39:56 +0200
commit939dce9ae6c8f2503c9ab73b94cad2999574634a (patch)
tree6af1f0356b3c314c1daeb5993e1148c8e0a544f9 /dev-ruby/faraday_middleware
parentdev-ruby/multipart-post: add ruby24 (diff)
downloadgentoo-939dce9ae6c8f2503c9ab73b94cad2999574634a.tar.gz
gentoo-939dce9ae6c8f2503c9ab73b94cad2999574634a.tar.bz2
gentoo-939dce9ae6c8f2503c9ab73b94cad2999574634a.zip
dev-ruby/faraday_middleware: add 0.11.0.1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/faraday_middleware')
-rw-r--r--dev-ruby/faraday_middleware/Manifest1
-rw-r--r--dev-ruby/faraday_middleware/faraday_middleware-0.11.0.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-ruby/faraday_middleware/Manifest b/dev-ruby/faraday_middleware/Manifest
index ffed95820814..6cc4cd9c1f5a 100644
--- a/dev-ruby/faraday_middleware/Manifest
+++ b/dev-ruby/faraday_middleware/Manifest
@@ -1,3 +1,4 @@
DIST faraday_middleware-0.10.0.tar.gz 22646 SHA256 210e69fc76e2f5c2b76771452e1b859129869961749262e16bee7b50ff98ddc3 SHA512 f516f040a7be7b14635e8685d6d63647fd49ef595f31c655b6cd8e6b9443a80e1d4c68a516cd4088c129a73e411748d15d97b24cbcf321fd15953292ca3c7964 WHIRLPOOL 5c1b3d64358a71b35bd7b721ffff1e76da248e59b3eff6404ef0d46c8c149d1c5045422b05a10bef5205d2bf65c19edff6ad7f96c7ff863ee4a3bd05def2035b
+DIST faraday_middleware-0.11.0.1.tar.gz 24349 SHA256 5c823e30a0d4ba4cc83103752947c1380344974cf4dffa9de08055edc6bacf91 SHA512 0bda75432ffa406485e60e9f71dc850a13dc1dd89a8262c9a4101d982fec44b63c72452458d29c49b529ca3483b577ea760400b465bf4b30ae1623a42cb96051 WHIRLPOOL 0034d1054809d47f10a18227d0ab444e36ac0b7b5af95d9f84ce3f748e82a43750819ee7be61b0964d0effd6f2383b2c409838701ee8e42a9fd05a0392a104c8
DIST faraday_middleware-0.11.0.tar.gz 24345 SHA256 254413e5e63b8b5879a75090fd796181fb54fba7536a56e4bcc2bc2e0fe4c645 SHA512 555407c2daa220fe050a33a6572626bdd47b800f75a87cc0b4da7a311aa3a89c24873434fdb8c14ae92e34c253179697471c25a42d18034b8a1e1e8c332f0e13 WHIRLPOOL 00ce78b1b6f9b7ff093da0e13f7f7619a53e627191ef977f2894e7dc3827bb8321def94184d588b0124369a55f5a50edabc08481d746ee35631e96a0947568da
DIST faraday_middleware-0.9.2.tar.gz 21926 SHA256 014cfce128eb50a696168eb012e830c349c52c9e6ae25a5bbaea30f2c59de17d SHA512 74d0a63eac16f119ca2c2c6da16fe3b7a1c9e6949044ec312ed5828544bb83e3bdfd65a1991cfb1fdeb29543f1ee978781bed76299361683b69ed362feb4f18d WHIRLPOOL 3c4ebb2c690fb9624d7f908cc2b31e87264b7746d48873494e23de642067b2149e5fd115e27d00c332d652ad7f2321396a52ee8d09242169c952863859c43bad
diff --git a/dev-ruby/faraday_middleware/faraday_middleware-0.11.0.1.ebuild b/dev-ruby/faraday_middleware/faraday_middleware-0.11.0.1.ebuild
new file mode 100644
index 000000000000..3a20443b5747
--- /dev/null
+++ b/dev-ruby/faraday_middleware/faraday_middleware-0.11.0.1.ebuild
@@ -0,0 +1,58 @@
+# 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_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Various middleware for Faraday"
+HOMEPAGE="https://github.com/lostisland/faraday_middleware"
+SRC_URI="https://github.com/lostisland/faraday_middleware/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+parsexml +oauth +mashify +rashify"
+
+ruby_add_rdepend "
+ >=dev-ruby/faraday-0.7.4 <dev-ruby/faraday-1
+ parsexml? ( >=dev-ruby/multi_xml-0.5.3 )
+ oauth? ( >=dev-ruby/simple_oauth-0.1 )
+ mashify? ( >=dev-ruby/hashie-1.2:* )
+ rashify? ( >=dev-ruby/rash-0.3 )"
+
+# Bundler must be used because the optional dependencies have different
+# version requirements that must be resolved.
+ruby_add_bdepend "test? (
+ dev-ruby/bundler
+ dev-ruby/addressable
+ dev-ruby/rake
+ dev-ruby/webmock:0
+ dev-ruby/json:0
+ >=dev-ruby/multi_xml-0.5.3
+ >=dev-ruby/rack-cache-1.1
+ >=dev-ruby/simple_oauth-0.1
+ >=dev-ruby/hashie-1.2
+ >=dev-ruby/rash-0.3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(cane\|parallel\|simplecov\)/ s:^:#:' \
+ -e '/rspec/ s/>=/~>/' \
+ -e "/addressable/ s/, '< 2.4'//" \
+ -e "/rake/ s/, '< 11'//" \
+ -e "/rack-cache/ s/, '< 1.3'//" \
+ -e "/simple_oauth/ s/, '< 0.3'//" Gemfile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rspec-3 spec || die
+}