Hello community, here is the log from the commit of package rubygem-mocha for openSUSE:Factory checked in at Sat Jan 15 02:39:26 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ rubygem-mocha/rubygem-mocha.changes 2010-06-11 19:50:08.000000000 +0200 @@ -0,0 +1,65 @@ +------------------------------------------------------------------- +Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de + +- use rubygems_requires macro + +------------------------------------------------------------------- +Mon Nov 16 10:30:51 UTC 2009 - dmacvicar@suse.de + +- update to 0.9.8 + * Fixed bug "NameError raised when using Mocha as a Rails plug-in" + - http://floehopper.lighthouseapp.com/projects/22289/tickets/53. + Since 0.9.6 the Rails plugin has been broken. See bug report for + details. You will need to explicitly load Mocha *after* the test + framework has been loaded, e.g. by adding "require 'mocha'" at the + bottom of test/test_helper.rb. + * Make Mocha::ParameterMatchers#regexp_matches, #includes, + #has_value, #has_key more robust. Thanks to Sander Hartlage. + * Allow passing a block to Mocha::Configuration methods to only + change configuration for the duration of the block. Thanks to Dan + Manges. + * Fixed bug "doc generation fails in 0.9.7 gem" - + http://floehopper.lighthouseapp.com/projects/22289/tickets/51. + * Remove rdoc template incorporating google analytics from source + control. The file just needs to exist locally and be ignored by + source control. This should stop the warning showing up on + e.g. RunCodeRun build results. + +------------------------------------------------------------------- +Wed Sep 2 06:52:25 UTC 2009 - mvidner@novell.com + +- update to 0.9.7 +- major changes: (more at http://mocha.rubyforge.org/files/RELEASE.html) + * Added support for ‘test-unit’ gem (version >= 2.0). + * Stop requiring rubygems + * Renamed Mocha::Standalone to Mocha::API to better reflect its purpose. + * Fix exception raised by HasEntry#matches? + * Fixes for MiniTest and Ruby 1.9.1 + +------------------------------------------------------------------- +Mon May 4 23:31:18 CEST 2009 - dmacvicar@suse.de + +- update to 0.9.5 +- Changelog: + * Fixed Lighthouse bug 32 - stub_everything should mean mock + responds to anything. + * Added Expectation#twice to improve readability. Tthanks + to pull request from Celestino Gomes. + * In Ruby 1.9, requiring ‘test/unit’ loads a thin wrapper around + MiniTest and Test::Unit::TestCase ends up inheriting from + MiniTest::Unit::TestCase. So we need to avoid including the + Mocha modules more than once to avoid nasty consequences. + Thanks to Matthias Hennemeyer for help with this. + * Ruby 1.9 includes rake, but not rake/contrib. For the moment + I‘ve moved the sshpublisher require into the only rake task + that needs it, so that I can at least run the tests in + Ruby 1.9. It looks like I will need to build a rake/contrib + gem or similar to get this working properly + intertwingly.net/blog/2008/01/07/Rake-Contrib-for-1-9 + +------------------------------------------------------------------- +Fri Jan 16 15:29:28 CET 2009 - mrueckert@suse.de + +- initial package of version 0.9.4 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- mocha-0.9.8.gem rubygem-mocha.changes rubygem-mocha.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-mocha.spec ++++++ # # spec file for package rubygem-mocha # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-mocha Version: 0.9.8 Release: 1 %define mod_name mocha # License: Other uncritical OpenSource License Group: Development/Languages/Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch BuildRequires: rubygem-rake %rubygems_requires Requires: rubygem-rake # Url: http://mocha.rubyforge.org/ # http://rubyforge.org/projects/mocha/ Source: http://rubyforge.org/frs/download.php/63927/mocha-0.9.8.gem # Summary: A library for mocking and stubbing using a syntax like that of JMock %description Mocha is a library for mocking and stubbing using a syntax like that of JMock. It can be used with many testing frameworks e.g. Test::Unit, RSpec, test/spec, expectations, Dust, MiniTest and even JtestR. Mocha provides a unified, simple and readable syntax for both traditional mocking and partial mocking. Authors: -------- James Mead Paul Battley Chris Roos Ben Griffiths %prep %build %install %gem_install %{S:0} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org