Update to Rack 1.6.2.

epel9
Vít Ondruch 10 years ago
parent 4bb2f8ab2d
commit 51f781433e

1
.gitignore vendored

@ -7,3 +7,4 @@ rack-1.1.0.gem
/rack-1.5.2.gem
/rack-1.6.0.gem
/rack-1.6.1.gem
/rack-1.6.2.gem

@ -15,14 +15,14 @@ Name: rubygem-%{gem_name}
Summary: Common API for connecting web frameworks, web servers and layers of software
# Introduce Epoch (related to bug 552972)
Epoch: 1
Version: 1.6.1
Version: 1.6.2
Release: 1%{?dist}
Group: Development/Languages
# lib/rack/backports/uri/* are taken from Ruby which is (Ruby or BSD)
# lib/rack/show{status,exceptions}.rb contains snippets from Django under BSD license.
License: MIT and (Ruby or BSD) and BSD
URL: http://rubyforge.org/projects/%{gem_name}/
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
URL: http://rack.github.io/
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
Requires: ruby(rubygems)
Requires: ruby(release)
@ -44,11 +44,14 @@ BuildArch: noarch
%if 0%{?fc20} || 0%{?el6} || 0%{?el7}
Provides: rubygem(%{gem_name}) = %{version}
%endif
Provides: bundled(okjson) = 20130206
Provides: bundled(okjson) = 20150104
%description
Rack provides a common API for connecting web frameworks,
web servers and layers of software in between
Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby. By wrapping HTTP requests and responses in
the simplest way possible, it unifies and distills the API for web
servers, web frameworks, and software in between (the so-called
middleware) into a single method call.
%package doc
@ -96,8 +99,6 @@ pushd .%{gem_instdir}
PID=%(mktemp)
memcached -d -P "$PID"
# Rack version protocol is already at 1.3 for rack 1.6
sed -i 's|response\[\"rack\.version\"\]\.should\.equal \[1,2\]|response\[\"rack\.version\"\]\.should\.equal \[1,3\]|' test/spec_webrick.rb
bacon -Ilib --automatic --quiet
# Kill memcached daemon.
@ -108,7 +109,7 @@ popd
%files
%dir %{gem_instdir}
%doc %{gem_instdir}/COPYING
%license %{gem_instdir}/COPYING
%{gem_libdir}
%{gem_instdir}/bin
%{_bindir}/rackup
@ -128,6 +129,9 @@ popd
%doc %{gem_instdir}/contrib
%changelog
* Wed Jun 17 2015 Vít Ondruch <vondruch@redhat.com> - 1:1.6.2-1
- Update to Rack 1.6.2.
* Tue Jun 2 2015 Steve Traylen <jstribny@redhat.com> - 1:1.6.1-1
- Update to 1.6.1

@ -1 +1 @@
3cdbc6ac7c8a0c33c4c30656f11c5f57 rack-1.6.1.gem
6efe19e34f6bc50e7347714c99999fd4 rack-1.6.2.gem

Loading…
Cancel
Save