diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-08-01 17:06:18 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-08-01 17:06:18 +0000 |
commit | 3210010904ed3d966aa81a86ba671c7368b3a25e (patch) | |
tree | 011882729dfb6ee97493f062be2ab48d62a3b589 /dev-ruby/treetop | |
parent | Mask dev-ruby/spruz for removal. (diff) | |
download | gentoo-2-3210010904ed3d966aa81a86ba671c7368b3a25e.tar.gz gentoo-2-3210010904ed3d966aa81a86ba671c7368b3a25e.tar.bz2 gentoo-2-3210010904ed3d966aa81a86ba671c7368b3a25e.zip |
Fix specs broken with newer rspec, fixing bug 429352.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/treetop')
-rw-r--r-- | dev-ruby/treetop/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/treetop/treetop-1.4.10-r1.ebuild | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-ruby/treetop/ChangeLog b/dev-ruby/treetop/ChangeLog index 7403abb88c50..0e917b0bbd2b 100644 --- a/dev-ruby/treetop/ChangeLog +++ b/dev-ruby/treetop/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/treetop # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/ChangeLog,v 1.37 2012/08/01 14:46:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/ChangeLog,v 1.38 2012/08/01 17:06:18 graaff Exp $ + + 01 Aug 2012; Hans de Graaff <graaff@gentoo.org> treetop-1.4.10-r1.ebuild: + Fix specs broken with newer rspec, fixing bug 429352. 01 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> -files/treetop-1.4.7-fix-tmpdir.patch, treetop-1.4.10-r1.ebuild: diff --git a/dev-ruby/treetop/treetop-1.4.10-r1.ebuild b/dev-ruby/treetop/treetop-1.4.10-r1.ebuild index ef91c2df969e..957f9c547d15 100644 --- a/dev-ruby/treetop/treetop-1.4.10-r1.ebuild +++ b/dev-ruby/treetop/treetop-1.4.10-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.10-r1.ebuild,v 1.4 2012/08/01 14:46:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.10-r1.ebuild,v 1.5 2012/08/01 17:06:18 graaff Exp $ EAPI=4 @@ -25,6 +25,10 @@ IUSE="" ruby_add_bdepend "test? ( >=dev-ruby/rr-0.10.2 dev-ruby/rspec:2 dev-ruby/activesupport )" ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1" +all_ruby_prepare() { + sed -i -e '4i require "rspec/core/shared_context"' spec/spec_helper.rb || die +} + all_ruby_install() { all_fakegem_install |