summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-04 04:13:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-04 04:13:38 +0000
commit2c08aa54e072a95b9448200aef823e6a601f9adc (patch)
tree3634e2878bde28ac94b69cb1d9be1d4de45c3f11 /dev-ruby/webmock
parentBump to ruby-fakegem; jruby support requires jruby-openssl. Tests are known t... (diff)
downloadhistorical-2c08aa54e072a95b9448200aef823e6a601f9adc.tar.gz
historical-2c08aa54e072a95b9448200aef823e6a601f9adc.tar.bz2
historical-2c08aa54e072a95b9448200aef823e6a601f9adc.zip
Initial import of webmock, needed for 0.3 series of dev-ruby/gemcutter.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/webmock')
-rw-r--r--dev-ruby/webmock/ChangeLog10
-rw-r--r--dev-ruby/webmock/Manifest14
-rw-r--r--dev-ruby/webmock/metadata.xml5
-rw-r--r--dev-ruby/webmock/webmock-0.8.0.ebuild37
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-ruby/webmock/ChangeLog b/dev-ruby/webmock/ChangeLog
new file mode 100644
index 000000000000..a46c9491e5d0
--- /dev/null
+++ b/dev-ruby/webmock/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/webmock
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/ChangeLog,v 1.1 2010/01/04 04:13:38 flameeyes Exp $
+
+*webmock-0.8.0 (04 Jan 2010)
+
+ 04 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +webmock-0.8.0.ebuild, +metadata.xml:
+ Initial import of webmock, needed for 0.3 series of dev-ruby/gemcutter.
+
diff --git a/dev-ruby/webmock/Manifest b/dev-ruby/webmock/Manifest
new file mode 100644
index 000000000000..bea80334ac31
--- /dev/null
+++ b/dev-ruby/webmock/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST webmock-0.8.0.gem 56320 RMD160 57c85bd12105902ced2ef7cd676e12a524f249ae SHA1 a2901da0e1f6dc1eac39d1f82d22223747cc319b SHA256 b09378cf6ffba52278d520c102e320c2960e19a358e1ee29e0378f51ad4dfb73
+EBUILD webmock-0.8.0.ebuild 1097 RMD160 1a8952eb87c9244a63b1c35689ce45667611caa7 SHA1 323863b127ae041d1520c52520f9fd2c41006c48 SHA256 9855c8a2db5524ce7fa438845048b977ae68b00b69309b3c848efc96a361af1a
+MISC ChangeLog 409 RMD160 35f8e09a1958d6ae9483d9a4e09e2a6d74ffa299 SHA1 c6b2372c5570dd58304a42c5d6d53e4db3ec32b3 SHA256 99bb446da9b468e90cbe0b19f366d49dbf75ce79c468534cbde2a05313ef5076
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktBavQACgkQAiZjviIA2XgJMwCgkCtMfMThR+9xprU+Fq9o62RG
+xtEAn2A7eCC7P8YBpHzaa2+Cr172i6Pp
+=CzBB
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/webmock/metadata.xml b/dev-ruby/webmock/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/webmock/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/webmock/webmock-0.8.0.ebuild b/dev-ruby/webmock/webmock-0.8.0.ebuild
new file mode 100644
index 000000000000..b3ba6e4d6164
--- /dev/null
+++ b/dev-ruby/webmock/webmock-0.8.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/webmock-0.8.0.ebuild,v 1.1 2010/01/04 04:13:38 flameeyes Exp $
+
+EAPI=2
+
+# ruby19 → tests fail with a trivial difference, reported upstream
+# http://github.com/bblimke/webmock/issues/#issue/7
+# jruby → tests fail badly, reported upstream
+# http://github.com/bblimke/webmock/issues/#issue/8
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_TEST="test spec"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RAKE_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests"
+HOMEPAGE="http://github.com/bblimke/webmock"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend dev-ruby/addressable
+
+ruby_add_bdepend test 'virtual/ruby-test-unit >=dev-ruby/rspec-1.2.9 >=dev-ruby/httpclient-2.1.5.2'
+
+all_ruby_prepare() {
+ # Don't require check_dependencies (using Jeweler)
+ sed -i \
+ -e '/=> :check_dependencies/s:^:#:' \
+ Rakefile || die "Rakefile fix failed"
+}