diff options
-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 |