summaryrefslogtreecommitdiff
path: root/dev-ruby/right_http_connection
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/right_http_connection
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/right_http_connection')
-rw-r--r--dev-ruby/right_http_connection/Manifest7
-rw-r--r--dev-ruby/right_http_connection/metadata.xml11
-rw-r--r--dev-ruby/right_http_connection/right_http_connection-1.3.0-r1.ebuild41
-rw-r--r--dev-ruby/right_http_connection/right_http_connection-1.5.0.ebuild50
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-ruby/right_http_connection/Manifest b/dev-ruby/right_http_connection/Manifest
new file mode 100644
index 000000000000..dbe1b97424ed
--- /dev/null
+++ b/dev-ruby/right_http_connection/Manifest
@@ -0,0 +1,7 @@
+DIST right_http_connection-1.3.0.tgz 113955 SHA256 d84c9de72761f532aeb803a2e9ba854f3ddadfb4f47e57d05c671f1dc41362f0 SHA512 f119c23d815514ad1724581d150271128fdb603962961bcb637c3d16d157c9ecd588e1b1dfb51adb58108f72164dbefa2f59a408e5800654aa79cb30ebb868c4 WHIRLPOOL d92355564bb544065cf2af8759ed51e4639354ec546edeb38e71b9df290f4a3aefbdd9f05151b874a566192d02d2806425848de8b7b5ef299fc0101706829d0e
+DIST right_http_connection-1.5.0.tgz 120451 SHA256 e644a0f7464753d6e3d6c52e0364a5fef6ea4cd6d166272c3928a1492478fc72 SHA512 7db0e85ba8140343ef06bbfce2d9ee5f6ce6823fdcfee71875c74a609e77de043a0e5d6fced18ee2bd111ea6a8a592d3855e1547dc2bfec0e963e446c366aef7 WHIRLPOOL 302e1c61d4316293b1ceb6f9c9599220a355df3eb542ede13980b1af854f136bde34a6dcf35b5aaf34aef80366a5f0e474e0f5df8721d53b05f9fcf44d6007df
+EBUILD right_http_connection-1.3.0-r1.ebuild 892 SHA256 49b14f7bc326c0535583ea79d19ccc20417624e27ef81cda0a2fe9f140c81c55 SHA512 0e6aeaacef2adb09810d97b7cdae9b7bf4988cacb73d8c26209ed1df83072eedb95581cac3f3cb153229a4e319e5b94693814f43ee88b051f99e0607add195c4 WHIRLPOOL dd3730cb1050102c430fe8034a093425db05a6964a9f5a7c25dd199ad84653106d22e93c27726f286b567b8e6c855c2c360a92308e03891bfea22c0341d598ef
+EBUILD right_http_connection-1.5.0.ebuild 1206 SHA256 838f9b1ba604e88b197b52aeda1ddb75816d30a132e1b0a8ee1977c96adbd849 SHA512 e6bf6588f53fe61dc8ef22bb49706e5f53053d23535950ee2e0028fb75a0802fc821869ec4840d2c455a4b920d18e818a0a22991a09797d187048257107a607a WHIRLPOOL be8c0917264115f52d44f281d72bf1102436a2f6a3e96e666b775f1e27ceca65ca13c96a3ec657e9d471630985769e9ce096df8bfe1accfa4208626cf8fdd291
+MISC ChangeLog 4225 SHA256 eb8e645b6af6aac7d22bd7d0e64e4aa565679d7572c28d8e90f403f9fbb7ee75 SHA512 708bcc514d224b4685df1d136b4653f1e2fe8639cdf309db97776aa2391545e4fba07b95e52f96f7ce19dec64affe242ee22bafa4190c6dcf1c9e58a8e2c4e10 WHIRLPOOL b603779e0b6b8a50d953a1a65ac0bcd61e1574d2a8285b49868320c77340d409c5a81c602eba27d0ac871c471305544a9049d0992d0fd5f4f6bb8ae1a86809b4
+MISC ChangeLog-2015 4172 SHA256 f68eaeb5daf5fcdf701cb8685b4872af1a3ce344bf39a6df9c70e6f58d63bd5b SHA512 bc53088c85e3ef2f34c9d0a83ac2e89153e126c9b0a428f48060e42c3380a5f9616ca71e2fb9ca4aecfd9a0e8cce107eff7448f18edf4b777318250f9ede47de WHIRLPOOL 3884027a3138bcd2b0950bc91ffa81442fc6e3eab3ae6f664f89094c17f7f4bc83117c3487fb82f5530eb0242ffe420ee3b47e6d20b8e3e616a5e1e582076372
+MISC metadata.xml 358 SHA256 079df430f00a7842e24b7c032fbb34618e23ff9887d8da0b493275706450e5a9 SHA512 eb21d48f5932674ee17f589e29644b8c87cfc530244bd8423fc71261c45b5b85b44f481812929d03e99b4d5bc99e37c30f052dec7eae954e5fe93520d83ea35a WHIRLPOOL e678362ba0eb217ea64a78a56ea87cc6b398072b9a12ce41ecc295ba231a4df7e82e1fda5c2fb533548b3b315c1868669be3cd7ded0cc5a713012c3a3ae2bc41
diff --git a/dev-ruby/right_http_connection/metadata.xml b/dev-ruby/right_http_connection/metadata.xml
new file mode 100644
index 000000000000..b317a7489014
--- /dev/null
+++ b/dev-ruby/right_http_connection/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rightscale/right_http_connection</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/right_http_connection/right_http_connection-1.3.0-r1.ebuild b/dev-ruby/right_http_connection/right_http_connection-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..3d374267127a
--- /dev/null
+++ b/dev-ruby/right_http_connection/right_http_connection-1.3.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
+
+RUBY_FAKEGEM_TASK_TEST="cucumber"
+
+inherit ruby-fakegem
+
+DESCRIPTION="RightScale's robust HTTP/S connection module"
+HOMEPAGE="http://rightscale.rubyforge.org/"
+SRC_URI="https://github.com/rightscale/right_http_connection/tarball/v${PV} -> ${P}.tgz"
+RUBY_S="rightscale-${PN}-*"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RESTRICT="test"
+#USE_RUBY="ruby19" ruby_add_bdepend "test? ( dev-util/cucumber )"
+
+all_ruby_prepare() {
+ rm Gemfile Gemfile.lock || die
+ sed -i -e '/bundler/ s:^:#:' features/support/env.rb || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby19)
+ ;;
+ *)
+ ${RUBY} -S cucumber features || die
+ ;;
+ esac
+}
diff --git a/dev-ruby/right_http_connection/right_http_connection-1.5.0.ebuild b/dev-ruby/right_http_connection/right_http_connection-1.5.0.ebuild
new file mode 100644
index 000000000000..663d90839760
--- /dev/null
+++ b/dev-ruby/right_http_connection/right_http_connection-1.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
+
+RUBY_FAKEGEM_TASK_TEST="cucumber"
+
+inherit ruby-fakegem
+
+DESCRIPTION="RightScale's robust HTTP/S connection module"
+HOMEPAGE="https://github.com/rightscale/right_http_connection"
+SRC_URI="https://github.com/rightscale/right_http_connection/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+USE_RUBY="${USE_RUBY/ruby22/}" ruby_add_bdepend "test? (
+ dev-util/cucumber
+ dev-ruby/rspec:2
+ dev-ruby/trollop:0
+ dev-ruby/flexmock
+)"
+
+all_ruby_prepare() {
+ rm Gemfile Gemfile.lock || die
+ sed -i -e '/bundler/ s:^:#:' \
+ -e 'arequire "rspec"' features/support/env.rb || die
+
+ # Avoid features that require manual input (PEM pass phrase) or have
+ # certificate issues due to unknown CA.
+ rm -f features/{proxy_ssl,ssl}.feature || die
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby22)
+ einfo "cucumber is not yet available for ruby22"
+ ;;
+ *)
+ ${RUBY} -S cucumber --format progress features || die
+ ;;
+ esac
+}