From 51f781433edd2cd513721a378a645aaf4fe2c7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Wed, 17 Jun 2015 12:22:17 +0200 Subject: [PATCH] Update to Rack 1.6.2. --- .gitignore | 1 + rubygem-rack.spec | 22 +++++++++++++--------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 29e37f2..82e666c 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/rubygem-rack.spec b/rubygem-rack.spec index 6332da3..c1549ec 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -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 - 1:1.6.2-1 +- Update to Rack 1.6.2. + * Tue Jun 2 2015 Steve Traylen - 1:1.6.1-1 - Update to 1.6.1 diff --git a/sources b/sources index 58f48cc..a64fb6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3cdbc6ac7c8a0c33c4c30656f11c5f57 rack-1.6.1.gem +6efe19e34f6bc50e7347714c99999fd4 rack-1.6.2.gem