summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-14 23:51:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-14 23:51:42 +0000
commit28c6b8fa8cfc8b1d3c2c3abcc388ecda581e4b2a (patch)
tree0fd293463d777cbb90d627b84cd75faf70376bc1 /dev-ruby/webmock
parentVersion bump. Bug fixes and translation updates. (diff)
downloadhistorical-28c6b8fa8cfc8b1d3c2c3abcc388ecda581e4b2a.tar.gz
historical-28c6b8fa8cfc8b1d3c2c3abcc388ecda581e4b2a.tar.bz2
historical-28c6b8fa8cfc8b1d3c2c3abcc388ecda581e4b2a.zip
Version bump, add JRuby support, tests pass on all three implementations.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/webmock')
-rw-r--r--dev-ruby/webmock/ChangeLog8
-rw-r--r--dev-ruby/webmock/webmock-0.8.1.ebuild33
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-ruby/webmock/ChangeLog b/dev-ruby/webmock/ChangeLog
index a46c9491e5d0..0b5955504712 100644
--- a/dev-ruby/webmock/ChangeLog
+++ b/dev-ruby/webmock/ChangeLog
@@ -1,6 +1,12 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webmock/ChangeLog,v 1.2 2010/01/14 23:51:42 flameeyes Exp $
+
+*webmock-0.8.1 (14 Jan 2010)
+
+ 14 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +webmock-0.8.1.ebuild:
+ Version bump, add JRuby support, tests pass on all three implementations.
*webmock-0.8.0 (04 Jan 2010)
diff --git a/dev-ruby/webmock/webmock-0.8.1.ebuild b/dev-ruby/webmock/webmock-0.8.1.ebuild
new file mode 100644
index 000000000000..f1dcb5ecab11
--- /dev/null
+++ b/dev-ruby/webmock/webmock-0.8.1.ebuild
@@ -0,0 +1,33 @@
+# 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.1.ebuild,v 1.1 2010/01/14 23:51:42 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby"
+
+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"
+}