[rubygem-actionpack/f13/master] additional rack compat fix (in patch2) https://bugzilla.redhat.com/show_bug.cgi?id=617803
Mohammed Morsi
mmorsi at fedoraproject.org
Thu Sep 16 02:53:10 UTC 2010
commit 15538be799bf74818fa8462dad51c5cc90753ad8
Author: Mohammed Morsi <mmorsi at redhat.com>
Date: Wed Sep 15 22:56:25 2010 -0400
additional rack compat fix (in patch2)
https://bugzilla.redhat.com/show_bug.cgi?id=617803
.gitignore | 1 +
rubygem-actionpack-2.3.5-rack-compat.patch | 13 ++++++++++++-
rubygem-actionpack.spec | 6 +++++-
3 files changed, 18 insertions(+), 2 deletions(-)
---
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 <mmorsi at redhat.com> - 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 <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:2.3.5-2
- Set TMPDIR environment at %%check to make it sure all files created
during rpmbuild are cleaned up
More information about the scm-commits
mailing list