diff --git a/.gitignore b/.gitignore index 226683a..1979a69 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ actionpack-2.3.5.gem +/actionpack-2.3.5.gem diff --git a/rubygem-actionpack-2.3.5-rack-compat.patch b/rubygem-actionpack-2.3.5-rack-compat.patch index 5e6451f..720cbdf 100644 --- a/rubygem-actionpack-2.3.5-rack-compat.patch +++ b/rubygem-actionpack-2.3.5-rack-compat.patch @@ -171,4 +171,15 @@ + assert headers['Set-Cookie'].empty? end end - + +--- lib/action_controller/session/abstract_store.rb.orig 2010-07-24 00:08:46.000000000 -0400 ++++ lib/action_controller/session/abstract_store.rb 2010-07-24 00:09:01.000000000 -0400 +@@ -145,7 +145,7 @@ module ActionController + + headers = response[1] + unless headers[SET_COOKIE].blank? +- headers[SET_COOKIE] << "\n#{cookie}" ++ headers[SET_COOKIE] << "#{cookie}" + else + headers[SET_COOKIE] = cookie + end diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec index 851cc49..a5167da 100644 --- a/rubygem-actionpack.spec +++ b/rubygem-actionpack.spec @@ -10,7 +10,7 @@ Summary: Web-flow and rendering framework putting the VC in MVC Name: rubygem-%{gemname} Epoch: 1 Version: 2.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org @@ -124,6 +124,10 @@ rake test --trace %changelog +* Wed Sep 15 2010 Mohammed Morsi - 1:2.3.5-3 +- additional rack compat fix (in patch2) +- https://bugzilla.redhat.com/show_bug.cgi?id=617803 + * Mon May 17 2010 Mamoru Tasaka - 1:2.3.5-2 - Set TMPDIR environment at %%check to make it sure all files created during rpmbuild are cleaned up