diff options
-rw-r--r-- | dev-ruby/rack-test/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/rack-test/rack-test-0.5.7.ebuild | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/rack-test/ChangeLog b/dev-ruby/rack-test/ChangeLog index e57853cae472..6aad3df365d6 100644 --- a/dev-ruby/rack-test/ChangeLog +++ b/dev-ruby/rack-test/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/rack-test # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.15 2011/08/07 14:48:04 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.16 2011/08/14 09:40:48 graaff Exp $ + + 14 Aug 2011; Hans de Graaff <graaff@gentoo.org> rack-test-0.5.7.ebuild: + Fix specs with newer versions of Sinatra, fixing bug 376179. 07 Aug 2011; Raúl Porcel <armin76@gentoo.org> rack-test-0.5.7.ebuild: Add ~ia64/~sparc wrt #351835 diff --git a/dev-ruby/rack-test/rack-test-0.5.7.ebuild b/dev-ruby/rack-test/rack-test-0.5.7.ebuild index e8cc319b5b17..64a33ff3793d 100644 --- a/dev-ruby/rack-test/rack-test-0.5.7.ebuild +++ b/dev-ruby/rack-test/rack-test-0.5.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/rack-test-0.5.7.ebuild,v 1.5 2011/08/07 14:48:04 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/rack-test-0.5.7.ebuild,v 1.6 2011/08/14 09:40:48 graaff Exp $ EAPI=2 USE_RUBY="ruby18 ree18" @@ -23,9 +23,11 @@ KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris" IUSE="" ruby_add_rdepend '>=dev-ruby/rack-1.0' -ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/sinatra )" +ruby_add_bdepend "test? ( dev-ruby/rspec:2 >=dev-ruby/sinatra-1.2.0 )" all_ruby_prepare() { # Remove Bundler related code. rm Gemfile Gemfile.lock || die "Unable to clean unneeded Bundler items." + + sed -i -e 's:== "text/html":=~ /^text\\\/html/:' spec/rack/test_spec.rb || die } |