* [gentoo-commits] gentoo-x86 commit in dev-ruby/activesupport/files: activesupport-2.3.5-mocha-0.9.5.patch
@ 2010-02-01 16:40 Diego Petteno (flameeyes)
0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-02-01 16:40 UTC (permalink / raw
To: gentoo-commits
flameeyes 10/02/01 16:40:29
Added: activesupport-2.3.5-mocha-0.9.5.patch
Log:
Add patch to force support for mocha 0.9.5 or later, and adds support for JRuby.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch?rev=1.1&content-type=text/plain
Index: activesupport-2.3.5-mocha-0.9.5.patch
===================================================================
Index: activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb
===================================================================
--- activesupport-2.3.5.orig/lib/active_support/testing/setup_and_teardown.rb
+++ activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb
@@ -45,12 +45,7 @@ module ActiveSupport
return if @method_name.to_s == "default_test"
if using_mocha = respond_to?(:mocha_verify)
- assertion_counter_klass = if defined?(Mocha::TestCaseAdapter::AssertionCounter)
- Mocha::TestCaseAdapter::AssertionCounter
- else
- Mocha::Integration::TestUnit::AssertionCounter
- end
- assertion_counter = assertion_counter_klass.new(result)
+ assertion_counter = Mocha::Integration::TestUnit::AssertionCounter.new(result)
end
yield(Test::Unit::TestCase::STARTED, name)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-ruby/activesupport/files: activesupport-2.3.5-mocha-0.9.5.patch
@ 2013-01-09 13:03 Hans de Graaff (graaff)
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2013-01-09 13:03 UTC (permalink / raw
To: gentoo-commits
graaff 13/01/09 13:03:27
Added: activesupport-2.3.5-mocha-0.9.5.patch
Log:
Re-add patch still in use, bug 451034.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Revision Changes Path
1.3 dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch?r1=1.2&r2=1.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-09 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01 16:40 [gentoo-commits] gentoo-x86 commit in dev-ruby/activesupport/files: activesupport-2.3.5-mocha-0.9.5.patch Diego Petteno (flameeyes)
-- strict thread matches above, loose matches on Subject: below --
2013-01-09 13:03 Hans de Graaff (graaff)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox