summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/http/Manifest1
-rw-r--r--dev-ruby/http/http-0.9.3.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest
index 1bdac9be3099..fbea505f8dd7 100644
--- a/dev-ruby/http/Manifest
+++ b/dev-ruby/http/Manifest
@@ -2,3 +2,4 @@ DIST http-0.6.3.gem 67072 SHA256 bbefb6ab1255f2967437b0ea9b29058066c89b1e30448e3
DIST http-0.8.12.gem 71168 SHA256 12a8a0f88f7edc70efe9c773dd6025ca70d9e1be24d18d37b2990be893d02713 SHA512 6e25b185092dec0f59f3bb6ee47817a3f53df4090fcb07cf163a39389732f3a13fde63c6eca93a3b0f3423640ea791585903a24a7339fe594a268c66aec3c51e WHIRLPOOL 83ca8abeb1f276832da544f3d15869576c2b14687e1db6b9026c3180a671f0598d1836e7f94f56e332f786dc36657344b63902663bcb85e98d534bbfdf7fd9a8
DIST http-0.9.0.gem 64000 SHA256 1c24039281a60d6f072748e733a0540be6764e5a31d1d29fb6f8db3e9b67fe1d SHA512 344cf1d1940f5b24d83f6d0e832584d3a3e1cbe89ba0bc8dabfc1262a5b1924e1ff225c72dd699abfd351f8ca16209048d77702d4e5f603bbd6ca5682c810a47 WHIRLPOOL 5980b7ef5e196784aa6bd87e26e66c0eb453e4100ba2b742f4792a6d5a73e0b15200f0b559c15eb344db76c11135eb1a0c6e84eedf28d8080e8ac20f7caba6b0
DIST http-0.9.1.gem 64512 SHA256 549e27dcf9fece445ba785dfa108898b46f5d89b3db21afacc08e0ab193b04c2 SHA512 1f2ae51ad561b73e154379a5f941e64d166ad231a9da58d45218eb22c20396bf606ff70abdd11d3ebe5e95bfc5505ec304439f8cde286059eef6c9fe23a274b0 WHIRLPOOL ea197c6542871f45ea370f8ae5524947893fd90178c98ad8731603180c673c33ba8d072956a61d7802165960a9342a831b4f18e07abc9dc215bd2446538c7605
+DIST http-0.9.3.gem 65024 SHA256 cb7c64d09c0d42255b3b881704bd1e3d282dd2170d7666ab0447c640fc046a2e SHA512 498ee87e97aed59e2a757c23e0013f3f5eaaf1fe4f51dc5caf91049124142eda43224e930a766c7c9104cc968ec8b2a4eb676f563d0adfd0249711f48e96bbd8 WHIRLPOOL 2283a2d2c3e6c5e99200949f85eeda0ef4cae5e864c0cf403c379b4332a7c9244f71be834100ffe25bea5f202fea3112d65ad41d0ccc4c2ef2c376d851984fda
diff --git a/dev-ruby/http/http-0.9.3.ebuild b/dev-ruby/http/http-0.9.3.ebuild
new file mode 100644
index 000000000000..eae6e4e84734
--- /dev/null
+++ b/dev-ruby/http/http-0.9.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+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="0.8"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.3
+ >=dev-ruby/http-cookie-1.0
+ >=dev-ruby/http-form_data-1.0.1:1.0
+ >=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
+
+ # Already fixed upstream, for compatibility with ruby 1.9.3
+ sed -i -e '1i # coding: utf-8' spec/lib/http/request_spec.rb || die
+}