Mailinglist Archive: opensuse-commit (1906 mails)

< Previous Next >
commit rubygem-actionview-5_1 for openSUSE:Factory
Hello community,

here is the log from the commit of package rubygem-actionview-5_1 for
openSUSE:Factory checked in at 2019-04-01 12:35:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionview-5_1 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionview-5_1.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionview-5_1"

Mon Apr 1 12:35:56 2019 rev:7 rq:689680 version:5.1.7

Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionview-5_1/rubygem-actionview-5_1.changes
2019-03-27 16:18:09.715570294 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-actionview-5_1.new.25356/rubygem-actionview-5_1.changes
2019-04-01 12:36:01.965846593 +0200
@@ -1,0 +2,19 @@
+Fri Mar 29 05:51:01 UTC 2019 - Stephan Kulow <coolo@xxxxxxxx>
+
+- updated to version 5.1.7
+ see installed CHANGELOG.md
+
+ ## Rails 5.1.7 (March 27, 2019) ##
+
+ * Fix issue with `button_to`'s `to_form_params`
+
+ `button_to` was throwing exception when invoked with `params` hash that
+ contains symbol and string keys. The reason for the exception was that
+ `to_form_params` was comparing the given symbol and string keys.
+
+ The issue is fixed by turning all keys to strings inside
+ `to_form_params` before comparing them.
+
+ *Georgi Georgiev*
+
+-------------------------------------------------------------------

Old:
----
actionview-5.1.6.2.gem

New:
----
actionview-5.1.7.gem

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

Other differences:
------------------
++++++ rubygem-actionview-5_1.spec ++++++
--- /var/tmp/diff_new_pack.GA4uld/_old 2019-04-01 12:36:02.641846924 +0200
+++ /var/tmp/diff_new_pack.GA4uld/_new 2019-04-01 12:36:02.645846926 +0200
@@ -24,7 +24,7 @@
#

Name: rubygem-actionview-5_1
-Version: 5.1.6.2
+Version: 5.1.7
Release: 0
%define mod_name actionview
%define mod_full_name %{mod_name}-%{version}

++++++ actionview-5.1.6.2.gem -> actionview-5.1.7.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2019-03-13 17:45:33.000000000 +0100
+++ new/CHANGELOG.md 2019-03-28 03:46:08.000000000 +0100
@@ -1,3 +1,16 @@
+## Rails 5.1.7 (March 27, 2019) ##
+
+* Fix issue with `button_to`'s `to_form_params`
+
+ `button_to` was throwing exception when invoked with `params` hash that
+ contains symbol and string keys. The reason for the exception was that
+ `to_form_params` was comparing the given symbol and string keys.
+
+ The issue is fixed by turning all keys to strings inside
+ `to_form_params` before comparing them.
+
+ *Georgi Georgiev*
+
## Rails 5.1.6.2 (March 11, 2019) ##

* No changes.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/digestor.rb
new/lib/action_view/digestor.rb
--- old/lib/action_view/digestor.rb 2019-03-13 17:45:33.000000000 +0100
+++ new/lib/action_view/digestor.rb 2019-03-28 03:46:08.000000000 +0100
@@ -43,9 +43,8 @@
# Create a dependency tree for template named +name+.
def tree(name, finder, partial = false, seen = {})
logical_name = name.gsub(%r|/_|, "/")
- finder.formats = [finder.rendered_format] if finder.rendered_format

- if template = finder.disable_cache { finder.find_all(logical_name, [],
partial, []).first }
+ if template = find_template(finder, logical_name, [], partial, [])
finder.rendered_format ||= template.formats.first

if node = seen[template.identifier] # handle cycles in the tree
@@ -67,6 +66,17 @@
seen[name] ||= Missing.new(name, logical_name, nil)
end
end
+
+ private
+ def find_template(finder, *args)
+ finder.disable_cache do
+ if format = finder.rendered_format
+ finder.find_all(*args, formats: [format]).first ||
finder.find_all(*args).first
+ else
+ finder.find_all(*args).first
+ end
+ end
+ end
end

class Node
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/gem_version.rb
new/lib/action_view/gem_version.rb
--- old/lib/action_view/gem_version.rb 2019-03-13 17:45:33.000000000 +0100
+++ new/lib/action_view/gem_version.rb 2019-03-28 03:46:08.000000000 +0100
@@ -7,8 +7,8 @@
module VERSION
MAJOR = 5
MINOR = 1
- TINY = 6
- PRE = "2"
+ TINY = 7
+ PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/helpers/rendering_helper.rb
new/lib/action_view/helpers/rendering_helper.rb
--- old/lib/action_view/helpers/rendering_helper.rb 2019-03-13
17:45:33.000000000 +0100
+++ new/lib/action_view/helpers/rendering_helper.rb 2019-03-28
03:46:08.000000000 +0100
@@ -11,7 +11,6 @@
# * <tt>:partial</tt> - See <tt>ActionView::PartialRenderer</tt>.
# * <tt>:file</tt> - Renders an explicit template file (this used to be
the old default), add :locals to pass in those.
# * <tt>:inline</tt> - Renders an inline template similar to how it's
done in the controller.
- # * <tt>:text</tt> - Renders the text passed in out.
# * <tt>:plain</tt> - Renders the text passed in out. Setting the content
# type as <tt>text/plain</tt>.
# * <tt>:html</tt> - Renders the HTML safe string passed in out,
otherwise
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/helpers/url_helper.rb
new/lib/action_view/helpers/url_helper.rb
--- old/lib/action_view/helpers/url_helper.rb 2019-03-13 17:45:33.000000000
+0100
+++ new/lib/action_view/helpers/url_helper.rb 2019-03-28 03:46:08.000000000
+0100
@@ -610,7 +610,7 @@
# suitable for use as the names and values of form input fields:
#
# to_form_params(name: 'David', nationality: 'Danish')
- # # => [{name: :name, value: 'David'}, {name: 'nationality', value:
'Danish'}]
+ # # => [{name: 'name', value: 'David'}, {name: 'nationality', value:
'Danish'}]
#
# to_form_params(country: {name: 'Denmark'})
# # => [{name: 'country[name]', value: 'Denmark'}]
@@ -642,7 +642,7 @@
params.push(*to_form_params(value, array_prefix))
end
else
- params << { name: namespace, value: attribute.to_param }
+ params << { name: namespace.to_s, value: attribute.to_param }
end

params.sort_by { |pair| pair[:name] }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-03-13 17:45:33.000000000 +0100
+++ new/metadata 2019-03-28 03:46:08.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionview
version: !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2019-03-13 00:00:00.000000000 Z
+date: 2019-03-28 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
- !ruby/object:Gem::Dependency
name: builder
requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.6.2
+ version: 5.1.7
description: Simple, battle-tested conventions and helpers for building web
pages.
email: david@xxxxxxxxxxxxxxxx
executables: []
@@ -231,8 +231,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.1.6.2/actionview
- changelog_uri:
https://github.com/rails/rails/blob/v5.1.6.2/actionview/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.1.7/actionview
+ changelog_uri:
https://github.com/rails/rails/blob/v5.1.7/actionview/CHANGELOG.md
post_install_message:
rdoc_options: []
require_paths:


< Previous Next >
This Thread
  • No further messages