|
|
|
@ -2,21 +2,17 @@
|
|
|
|
|
|
|
|
|
|
Summary: Simple testing API built on Rack
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.6.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://gitrdoc.com/brynary/rack-test/tree/master
|
|
|
|
|
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
|
Requires: rubygem(rack) >= 1.0.0
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: rubygem(rack) >= 1.0.0
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
BuildRequires: rubygem(rspec) < 3
|
|
|
|
|
BuildRequires: rubygem(sinatra)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Rack::Test is a small, simple testing API for Rack apps. It can be used on its
|
|
|
|
@ -49,8 +45,11 @@ cp -pa .%{gem_dir}/* \
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
# We don't care about code coverage.
|
|
|
|
|
sed -i '/[cC]ode[cC]/ s/^/#/' spec/spec_helper.rb
|
|
|
|
|
|
|
|
|
|
sed -i '/require "bundler\/setup"/d' spec/spec_helper.rb
|
|
|
|
|
rspec spec
|
|
|
|
|
rspec2 spec
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -76,6 +75,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 20 2015 Vít Ondruch <vondruch@redhat.com> - 0.6.3-1
|
|
|
|
|
- Update to rack-test 0.6.3.
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -100,7 +102,7 @@ popd
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 07 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-2
|
|
|
|
|
* Thu Jul 07 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-2
|
|
|
|
|
- Fixed broken RSpec tests by temporary removing bundler
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-1
|
|
|
|
|