From 7c6929b715d01e7a4d0a71712f5946df5f37faeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 19 Apr 2012 13:59:47 +0200 Subject: [PATCH] Updated to the Mocha 0.11.0. --- .gitignore | 1 + rubygem-mocha.spec | 17 ++++++++++------- sources | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index a843e33..8099a8a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ mocha-0.9.7.gem /mocha-0.9.8.gem /mocha-0.10.0.gem +/mocha-0.11.0.gem diff --git a/rubygem-mocha.spec b/rubygem-mocha.spec index 6c27e34..ec7166f 100644 --- a/rubygem-mocha.spec +++ b/rubygem-mocha.spec @@ -3,8 +3,8 @@ Summary: Mocking and stubbing library Name: rubygem-%{gem_name} -Version: 0.10.0 -Release: 3%{?dist} +Version: 0.11.0 +Release: 1%{?dist} Group: Development/Languages License: MIT and Ruby URL: http://mocha.rubyforge.org @@ -48,9 +48,7 @@ gem install --local --install-dir %{buildroot}%{gem_dir} \ %check pushd %{buildroot}%{gem_instdir} -# TODO: 6 tests fail, reported upstream: https://github.com/floehopper/mocha/issues/41 -ruby -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}" | \ - grep "660 tests, 826 assertions, 6 failures, 0 errors, 0 skips" +ruby -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}" popd %files @@ -70,11 +68,16 @@ popd %{gem_instdir}/Gemfile* %{gem_docdir} %{gem_instdir}/Rakefile -%{gem_instdir}/examples -%{gem_instdir}/test +%doc %{gem_instdir}/doc/ +%{gem_instdir}/examples/ +%{gem_instdir}/gemfiles/ +%{gem_instdir}/test/ %changelog +* Thu Apr 19 2012 Vít Ondruch - 0.11.0-1 +- Updated to the Mocha 0.11.0. + * Thu Jan 19 2012 Vít Ondruch - 0.10.0-3 - Rebuild for Ruby 1.9.3. diff --git a/sources b/sources index 7552e78..724422f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cc6a60e0cac74e3f9138eb3c50440292 mocha-0.10.0.gem +61050067d2cbbb741afadebdfbd997b9 mocha-0.11.0.gem