summaryrefslogtreecommitdiff
path: root/dev-ruby/http
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /dev-ruby/http
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-ruby/http')
-rw-r--r--dev-ruby/http/Manifest2
-rw-r--r--dev-ruby/http/http-4.1.1.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest
index 0e1d9d248bff..16128dc017a2 100644
--- a/dev-ruby/http/Manifest
+++ b/dev-ruby/http/Manifest
@@ -2,8 +2,10 @@ DIST http-0.9.8.gem 66560 BLAKE2B 15b6cc066d2b04c3c6df604787f69b5079dacd277dc95a
DIST http-3.3.0.gem 70656 BLAKE2B 5c52864168663640389a0f107e1bf8a202654a8b479c92bf5126354d360adcae45a9b4596da7cff2e412fee88ed3622870c4e2bb18eca97466b4ede28baa2a08 SHA512 fcb2549c22974712e129306b472c1a32466c50add85eee9a558582697c7ece26cb7a1db6da6aaceedb8bfd134d1213090c158db510fe53ddbe201bba6bd22c68
DIST http-4.0.5.gem 73728 BLAKE2B 467f812ebe2cde5cad513ae18ad290c6a4dab5e8d1b0d54955efe40988297afd6fcdf438172827bbe4d4434706741084936174af4b2d176de3aadc99f6cfa606 SHA512 e591ea761643d7a5a8e4c7b836a38389cbf09b4e16388997f4052213521bb0f47240e8511f9fefc5186bd33c1617c1048e0254f2d6c412b381f2cf2a4247a0c6
DIST http-4.1.0.gem 74240 BLAKE2B edf9a84f4c097fc27dfc477ccf75601be77ca924c98afe62b82d94db43af34ea28437e15221c83314139e67ff7d8236242bad7274ed0bc226b4ae1701977b9b0 SHA512 cedc2944d45033e2750e34a401e93ae820f07317a4cd934eb512915f177ea29050f5a0ab1ee1733e13eaaefd2396e75f4067b54269d4b0615f9a745208ec4dae
+DIST http-4.1.1.gem 74240 BLAKE2B 350d4a2eb966f8dae05a206e20a92d8ce0601df36673cae8c969b8849d6715c5d0ab0e24c4b6cc4f117e4788e535296f86d5193198df4a8229572817c9cd3f75 SHA512 89e088521212293db692b66a7058327c215bba119b3f01d4120fd32f0754294d4cbada88ed9cffb6f182f6d712a0923dadfc645c1618e25a802fcc3d467356de
EBUILD http-0.9.8-r2.ebuild 1079 BLAKE2B 0a6e4c30901542b3ca659b19a7308eab8b7dc6aa63dddaa111fe922b14c0db408d1c9c4d22c821038376100b329a3ac2c298e5ed6a036481464bbd49e8d6a715 SHA512 bf9e8e66f026a7fe1a82536fd21d3607d070e58c9d657bee9a3f58ce30b0e3f0aca3ad6445eac61128deafa3eae5a1a2452646cd3d66631769dd64f336172267
EBUILD http-3.3.0.ebuild 1218 BLAKE2B a32f6249049741bee06b42d8c9d044b9fef9c9922141a9413dfc115b55eae9f57b4ec23be0471d272ad6e7316198e485238aaa9464bf9e070bef7fcd9be32334 SHA512 52656d11af2569625bffd37e012412d465564662ae0986ceb5b2e8f375050937a0078e617df210dc615b9a7e0de3059ea6b8a1cb7c7883b9f1083145b07ff81c
EBUILD http-4.0.5.ebuild 1337 BLAKE2B 88e2f66f6b411538a25baf402e685227a770d4977f6c26f2ac73d5d7fd890fa1e10502f7701ff13584f264109990e7a51c0c8379e49d6074baea686120c3693d SHA512 a43462b4429a8fcdc4459e50e1d0f614c712f40bda910871daa32f7078df3cb4ffc66a715a6e960e64b2063a0fa3a00628d3be40af90cf05823aef811fbfe38f
EBUILD http-4.1.0.ebuild 1337 BLAKE2B 88e2f66f6b411538a25baf402e685227a770d4977f6c26f2ac73d5d7fd890fa1e10502f7701ff13584f264109990e7a51c0c8379e49d6074baea686120c3693d SHA512 a43462b4429a8fcdc4459e50e1d0f614c712f40bda910871daa32f7078df3cb4ffc66a715a6e960e64b2063a0fa3a00628d3be40af90cf05823aef811fbfe38f
+EBUILD http-4.1.1.ebuild 1330 BLAKE2B 2370915bdf62a4f19b93d2f58d18d1769a63b96fa7ff786daaef016fb038f483ebad9f2990b73e2bbc9a5b63322435af177fa28ded4bdcebbee10165f7255ce1 SHA512 1867010f014914821efbec4fccb8adbff8885a555713573f7613a9a7134c3b249805600f9d48fede5e219441d3c25fd548bf383035a4949720b501a03d203731
MISC metadata.xml 339 BLAKE2B 2508769568914caafa01e9e8e6517a7cf9c1733c772b3c605c8dbb056efb8dca3be9525e1ba2ac610bd6d5b5dc02b7625f3569dce0597444240bc2ed8d8449c2 SHA512 9b43a2f61eea32941c251429694bcfe432f284527c332efdaf4187c9ad8c6f53cd924421ca9d56cefce75cbaff104d4f7579790fe09b45a4cced06bedc44d1c1
diff --git a/dev-ruby/http/http-4.1.1.ebuild b/dev-ruby/http/http-4.1.1.ebuild
new file mode 100644
index 000000000000..a1271de0d68c
--- /dev/null
+++ b/dev-ruby/http/http-4.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An easy-to-use client library for making requests from Ruby"
+HOMEPAGE="https://github.com/tarcieri/http"
+
+LICENSE="MIT"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.3:0
+ >=dev-ruby/http-cookie-1.0:0
+ dev-ruby/http-form_data:2
+ >=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*"
+
+ruby_add_bdepend "
+ test? ( dev-ruby/certificate_authority dev-ruby/rspec-its )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/end/ s:^:#:' \
+ -e '1irequire "cgi"' spec/spec_helper.rb || die
+
+ # Avoid specs that require network access
+ sed -i -e '/.persistent/,/^ end/ s:^:#:' \
+ spec/lib/http_spec.rb || die
+ sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \
+ spec/lib/http/client_spec.rb || die
+
+ # Avoid spec that may fail with a running web server
+ sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die
+
+ # Fix spec for production release
+ sed -i -e '/User-Agent:/ s/.dev//' spec/lib/http/features/logging_spec.rb || die
+}