1 |
commit: 778d0bfbe504315c1f21eec83e46c2bdfc81f2fc |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 28 05:54:38 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 28 06:05:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778d0bfb |
7 |
|
8 |
dev-ruby/rest-client: add ruby22 revision |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/rest-client/rest-client-1.8.0-r2.ebuild | 35 ++++++++++++++++++++++++ |
13 |
1 file changed, 35 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/rest-client/rest-client-1.8.0-r2.ebuild b/dev-ruby/rest-client/rest-client-1.8.0-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..1e6ecfd |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/rest-client/rest-client-1.8.0-r2.ebuild |
20 |
@@ -0,0 +1,35 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+USE_RUBY="ruby20 ruby21 ruby22" |
27 |
+ |
28 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
29 |
+ |
30 |
+RUBY_FAKEGEM_EXTRADOC="history.md README.rdoc" |
31 |
+ |
32 |
+inherit ruby-fakegem |
33 |
+ |
34 |
+DESCRIPTION="Simple Simple HTTP and REST client for Ruby" |
35 |
+HOMEPAGE="https://github.com/archiloque/rest-client" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64" |
40 |
+IUSE="" |
41 |
+ |
42 |
+ruby_add_bdepend "test? ( dev-ruby/webmock )" |
43 |
+ |
44 |
+ruby_add_rdepend " |
45 |
+ >=dev-ruby/http-cookie-1.0.2:0 |
46 |
+ >=dev-ruby/mime-types-1.16 |
47 |
+ >=dev-ruby/netrc-0.7:0" |
48 |
+ |
49 |
+all_ruby_prepare() { |
50 |
+ sed -e '/bundler/I s:^:#:' \ |
51 |
+ -e '/namespace :windows/,/^end/ s:^:#:' -i Rakefile || die |
52 |
+ |
53 |
+ # Remove spec that requires network access. |
54 |
+ rm spec/integration/request_spec.rb || die |
55 |
+} |