Mailinglist Archive: opensuse-commit (1093 mails)

< Previous Next >
commit rubygem-actionpack-2_3 for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 08 Mar 2010 18:22:02 +0100
  • Message-id: <20100308172202.616DE202A7@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package rubygem-actionpack-2_3 for
openSUSE:Factory
checked in at Mon Mar 8 18:22:02 CET 2010.



--------
--- rubygem-actionpack-2_3/rubygem-actionpack-2_3.changes 2010-01-15
15:19:47.000000000 +0100
+++
/mounts/work_src_done/STABLE/rubygem-actionpack-2_3/rubygem-actionpack-2_3.changes
2010-02-22 16:12:36.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 18 14:09:24 UTC 2010 - aduffeck@xxxxxxxxxx
+
+- add a patch to fix (bnc#581792):
+
https://rails.lighthouseapp.com/projects/8994/tickets/3448-button_to-does-not-return-an-html-safe-string
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
actionpack-2.3.5_button_to.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-actionpack-2_3.spec ++++++
--- /var/tmp/diff_new_pack.0ReDZl/_old 2010-03-08 18:21:58.000000000 +0100
+++ /var/tmp/diff_new_pack.0ReDZl/_new 2010-03-08 18:21:58.000000000 +0100
@@ -20,7 +20,7 @@

Name: rubygem-actionpack-2_3
Version: 2.3.5
-Release: 2
+Release: 3
%define mod_name actionpack
#
Group: Development/Languages/Ruby
@@ -40,6 +40,7 @@
#
Url: http://rubyforge.org/projects/actionpack
Source: %{mod_name}-%{version}.gem
+Source1: actionpack-2.3.5_button_to.patch
#
Summary: Web-flow and rendering framework putting the VC in MVC

@@ -54,6 +55,9 @@

%install
%gem_install %{S:0}
+pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
+ patch -p0 < %{S:1}
+popd
find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
-name \*\~ -print0 | xargs -r0 rm -v

%clean


++++++ actionpack-2.3.5_button_to.patch ++++++
--- lib/action_view/helpers/url_helper.rb.orig 2010-02-18 15:01:40.501616703
+0100
+++ lib/action_view/helpers/url_helper.rb 2010-02-18 15:01:58.747607160
+0100
@@ -308,8 +308,8 @@

html_options.merge!("type" => "submit", "value" => name)

- "<form method=\"#{form_method}\" action=\"#{escape_once url}\"
class=\"button-to\"><div>" +
- method_tag + tag("input", html_options) + request_token_tag +
"</div></form>".html_safe!
+ ("<form method=\"#{form_method}\" action=\"#{escape_once url}\"
class=\"button-to\"><div>" +
+ method_tag + tag("input", html_options) + request_token_tag +
"</div></form>").html_safe!
end


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages