[rubygem-rack-cache] Updated to rack-cache 1.1.

Vít Ondruch vondruch at fedoraproject.org
Tue Nov 29 13:11:41 UTC 2011


commit 55c00bce3ef9f1aae426ae2dce9246f45eeef35b
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Nov 29 14:11:24 2011 +0100

    Updated to rack-cache 1.1.

 .gitignore              |    1 +
 rubygem-rack-cache.spec |   18 ++++++++++--------
 sources                 |    2 +-
 3 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4f8f009 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rack-cache-1.1.gem
diff --git a/rubygem-rack-cache.spec b/rubygem-rack-cache.spec
index 76a717e..105a5ee 100644
--- a/rubygem-rack-cache.spec
+++ b/rubygem-rack-cache.spec
@@ -7,7 +7,7 @@
 
 Summary: HTTP Caching for Rack
 Name: rubygem-%{gemname}
-Version: 1.0.2
+Version: 1.1
 Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
@@ -26,8 +26,9 @@ BuildArch: noarch
 Provides: rubygem(%{gemname}) = %{version}
 
 %description
-HTTP Caching for Rack
-
+Rack::Cache is suitable as a quick drop-in component to enable HTTP caching for
+Rack-based applications that produce freshness (Expires, Cache-Control) and/or
+validation (Last-Modified, ETag) information
 
 %package doc
 Summary: Documentation for %{name}
@@ -54,10 +55,7 @@ cp -a .%{gemdir}/* \
 
 %check
 pushd ./%{geminstdir}
-# Two testcases fail. I am not sure why though.
-# https://github.com/rtomayko/rack-cache/issues/34
-bacon -q -I.:lib:test test/*_test.rb | \
-        grep "245 tests, 863 assertions, 2 failures, 0 errors"
+bacon -q test/*_test.rb
 popd
 
 %files
@@ -70,15 +68,19 @@ popd
 
 %files doc
 %doc %{gemdir}/doc/%{gemname}-%{version}
+%{geminstdir}/Gemfile*
 %{geminstdir}/Rakefile
 %doc %{geminstdir}/README
 %doc %{geminstdir}/TODO
 %doc %{geminstdir}/CHANGES
 %doc %{geminstdir}/doc
 %doc %{geminstdir}/example
-%doc %{geminstdir}/test
+%{geminstdir}/test
 
 
 %changelog
+* Mon Nov 28 2011 Vít Ondruch <vondruch at redhat.com> - 1.1-1
+- Updated to rack-cache 1.1.
+
 * Fri Jul 08 2011 Vít Ondruch <vondruch at redhat.com> - 1.0.2-1
 - Initial package
diff --git a/sources b/sources
index bca0c68..247d9c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ee29a2c9ec69c524fa2b00b1c131aa14  rack-cache-1.0.2.gem
+0606345ecceeb3388c52a5a99d95d258  rack-cache-1.1.gem


More information about the scm-commits mailing list