|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Mocking and stubbing library
|
|
|
|
Summary: Mocking and stubbing library
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.10.0
|
|
|
|
Version: 0.11.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT and Ruby
|
|
|
|
License: MIT and Ruby
|
|
|
|
URL: http://mocha.rubyforge.org
|
|
|
|
URL: http://mocha.rubyforge.org
|
|
|
@ -48,9 +48,7 @@ gem install --local --install-dir %{buildroot}%{gem_dir} \
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd %{buildroot}%{gem_instdir}
|
|
|
|
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}"
|
|
|
|
ruby -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}" | \
|
|
|
|
|
|
|
|
grep "660 tests, 826 assertions, 6 failures, 0 errors, 0 skips"
|
|
|
|
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -70,11 +68,16 @@ popd
|
|
|
|
%{gem_instdir}/Gemfile*
|
|
|
|
%{gem_instdir}/Gemfile*
|
|
|
|
%{gem_docdir}
|
|
|
|
%{gem_docdir}
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/examples
|
|
|
|
%doc %{gem_instdir}/doc/
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%{gem_instdir}/examples/
|
|
|
|
|
|
|
|
%{gem_instdir}/gemfiles/
|
|
|
|
|
|
|
|
%{gem_instdir}/test/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Apr 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.11.0-1
|
|
|
|
|
|
|
|
- Updated to the Mocha 0.11.0.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.10.0-3
|
|
|
|
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.10.0-3
|
|
|
|
- Rebuild for Ruby 1.9.3.
|
|
|
|
- Rebuild for Ruby 1.9.3.
|
|
|
|
|
|
|
|
|
|
|
|