diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-05-23 17:26:31 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-05-23 17:26:31 +0000 |
commit | 82a7623bd2d1fb969c0baeb0df1c042d66bd1037 (patch) | |
tree | a4e576ca0cf1b80e11984bee5314137eeb57426a /dev-ruby/rspec-mocks | |
parent | x86 stable per bug 364863 (diff) | |
download | historical-82a7623bd2d1fb969c0baeb0df1c042d66bd1037.tar.gz historical-82a7623bd2d1fb969c0baeb0df1c042d66bd1037.tar.bz2 historical-82a7623bd2d1fb969c0baeb0df1c042d66bd1037.zip |
Add jruby support.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rspec-mocks')
-rw-r--r-- | dev-ruby/rspec-mocks/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/dev-ruby/rspec-mocks/ChangeLog b/dev-ruby/rspec-mocks/ChangeLog index d7a3b91bc7da..c01e78d03050 100644 --- a/dev-ruby/rspec-mocks/ChangeLog +++ b/dev-ruby/rspec-mocks/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/rspec-mocks # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v 1.10 2011/05/13 10:25:20 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v 1.11 2011/05/23 17:26:00 graaff Exp $ + + 23 May 2011; Hans de Graaff <graaff@gentoo.org> rspec-mocks-2.6.0.ebuild: + Add jruby support. 13 May 2011; Hans de Graaff <graaff@gentoo.org> -rspec-mocks-2.0.0_beta22.ebuild, -rspec-mocks-2.4.0.ebuild: diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild index 23ff9f444077..db52cd6c8cd1 100644 --- a/dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild +++ b/dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild,v 1.1 2011/05/13 06:45:16 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.6.0.ebuild,v 1.2 2011/05/23 17:26:00 graaff Exp $ EAPI=2 -USE_RUBY="ruby18 ree18 ruby19" +USE_RUBY="ruby18 ree18 ruby19 jruby" RUBY_FAKEGEM_TASK_TEST="none" @@ -47,7 +47,15 @@ all_ruby_compile() { } each_ruby_test() { - PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die + case ${RUBY} in + *jruby) + # This particular failure is reported to be fixed in jruby 1.6. + ewarn "Tests disabled because they crash jruby." + ;; + *) + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die + ;; + esac # There are features but they require aruba which we don't have yet. } |