graaff 14/10/18 07:53:29 Modified: rails-observers-0.1.2.ebuild ChangeLog Log: Fix tests. (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Revision Changes Path 1.3 dev-ruby/rails-observers/rails-observers-0.1.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails-observers/rails-observers-0.1.2.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails-observers/rails-observers-0.1.2.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails-observers/rails-observers-0.1.2.ebuild?r1=1.2&r2=1.3 Index: rails-observers-0.1.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails-observers/rails-observers-0.1.2.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- rails-observers-0.1.2.ebuild 4 Sep 2014 14:07:48 -0000 1.2 +++ rails-observers-0.1.2.ebuild 18 Oct 2014 07:53:29 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-observers/rails-observers-0.1.2.ebuild,v 1.2 2014/09/04 14:07:48 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-observers/rails-observers-0.1.2.ebuild,v 1.3 2014/10/18 07:53:29 graaff Exp $ EAPI=5 @@ -23,6 +23,8 @@ KEYWORDS="~amd64" IUSE="" +RUBY_PATCHES=( "${P}-fix-tests.patch" ) + ruby_add_rdepend "=dev-ruby/activemodel-4*" ruby_add_bdepend " @@ -35,3 +37,8 @@ =dev-ruby/actionpack-4* >=dev-ruby/sqlite3-1.3 )" + +all_ruby_prepare() { + # Avoid rake test since it will run with the wrong ruby interpreter. + rm test/rake_test.rb || die +} 1.3 dev-ruby/rails-observers/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails-observers/ChangeLog?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails-observers/ChangeLog?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails-observers/ChangeLog?r1=1.2&r2=1.3 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails-observers/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ChangeLog 4 Sep 2014 14:07:48 -0000 1.2 +++ ChangeLog 18 Oct 2014 07:53:29 -0000 1.3 @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/rails-observers # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-observers/ChangeLog,v 1.2 2014/09/04 14:07:48 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails-observers/ChangeLog,v 1.3 2014/10/18 07:53:29 graaff Exp $ + + 18 Oct 2014; Hans de Graaff <gra...@gentoo.org> rails-observers-0.1.2.ebuild, + +files/rails-observers-0.1.2-fix-tests.patch: + Fix tests. 04 Sep 2014; Hans de Graaff <gra...@gentoo.org> rails-observers-0.1.2.ebuild: Add ruby20, ruby21.