Hello community,
here is the log from the commit of package rubygem-actionview-5_1 for
openSUSE:Factory checked in at 2017-09-13 22:34:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionview-5_1 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionview-5_1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionview-5_1"
Wed Sep 13 22:34:20 2017 rev:2 rq:523492 version:5.1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionview-5_1/rubygem-actionview-5_1.changes
2017-09-04 12:38:19.718577194 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-actionview-5_1.new/rubygem-actionview-5_1.changes
2017-09-13 22:35:27.960268378 +0200
@@ -1,0 +2,5 @@
+Mon Sep 11 08:54:49 UTC 2017 - [email protected]
+
+- Update to version 5.1.4
+
+-------------------------------------------------------------------
Old:
----
actionview-5.1.3.gem
New:
----
actionview-5.1.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionview-5_1.spec ++++++
--- /var/tmp/diff_new_pack.cLTFVi/_old 2017-09-13 22:35:28.616176027 +0200
+++ /var/tmp/diff_new_pack.cLTFVi/_new 2017-09-13 22:35:28.620175464 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-actionview-5_1
-Version: 5.1.3
+Version: 5.1.4
Release: 0
%define mod_name actionview
%define mod_full_name %{mod_name}-%{version}
++++++ actionview-5.1.3.gem -> actionview-5.1.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-08-03 21:13:03.000000000 +0200
+++ new/CHANGELOG.md 2017-09-08 02:49:00.000000000 +0200
@@ -1,3 +1,13 @@
+## Rails 5.1.4 (September 07, 2017) ##
+
+* No changes.
+
+
+## Rails 5.1.4.rc1 (August 24, 2017) ##
+
+* No changes.
+
+
## Rails 5.1.3 (August 03, 2017) ##
* 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/gem_version.rb
new/lib/action_view/gem_version.rb
--- old/lib/action_view/gem_version.rb 2017-08-03 21:13:03.000000000 +0200
+++ new/lib/action_view/gem_version.rb 2017-09-08 02:49:00.000000000 +0200
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 5
MINOR = 1
- TINY = 3
+ TINY = 4
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/helpers/controller_helper.rb
new/lib/action_view/helpers/controller_helper.rb
--- old/lib/action_view/helpers/controller_helper.rb 2017-08-03
21:13:03.000000000 +0200
+++ new/lib/action_view/helpers/controller_helper.rb 2017-09-08
02:49:00.000000000 +0200
@@ -7,8 +7,11 @@
module ControllerHelper #:nodoc:
attr_internal :controller, :request
- delegate :request_forgery_protection_token, :params, :session, :cookies,
:response, :headers,
- :flash, :action_name, :controller_name, :controller_path, to:
:controller
+ CONTROLLER_DELEGATES = [:request_forgery_protection_token, :params,
+ :session, :cookies, :response, :headers, :flash, :action_name,
+ :controller_name, :controller_path]
+
+ delegate(*CONTROLLER_DELEGATES, to: :controller)
def assign_controller(controller)
if @_controller = controller
@@ -21,6 +24,11 @@
def logger
controller.logger if controller.respond_to?(:logger)
end
+
+ def respond_to?(method_name, include_private = false)
+ return controller.respond_to?(method_name) if
CONTROLLER_DELEGATES.include?(method_name.to_sym)
+ super
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/helpers/form_helper.rb
new/lib/action_view/helpers/form_helper.rb
--- old/lib/action_view/helpers/form_helper.rb 2017-08-03 21:13:03.000000000
+0200
+++ new/lib/action_view/helpers/form_helper.rb 2017-09-08 02:49:00.000000000
+0200
@@ -541,6 +541,36 @@
# and adds an authenticity token needed for cross site request forgery
# protection.
#
+ # === Resource-oriented style
+ #
+ # In many of the examples just shown, the +:model+ passed to +form_with+
+ # is a _resource_. It corresponds to a set of RESTful routes, most likely
+ # defined via +resources+ in <tt>config/routes.rb</tt>.
+ #
+ # So when passing such a model record, Rails infers the URL and method.
+ #
+ # <%= form_with model: @post do |form| %>
+ # ...
+ # <% end %>
+ #
+ # is then equivalent to something like:
+ #
+ # <%= form_with scope: :post, url: post_path(@post), method: :patch do
|form| %>
+ # ...
+ # <% end %>
+ #
+ # And for a new record
+ #
+ # <%= form_with model: Post.new do |form| %>
+ # ...
+ # <% end %>
+ #
+ # is equivalent to something like:
+ #
+ # <%= form_with scope: :post, url: posts_path do |form| %>
+ # ...
+ # <% end %>
+ #
# ==== +form_with+ options
#
# * <tt>:url</tt> - The URL the form submits to. Akin to values passed to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/helpers/record_tag_helper.rb
new/lib/action_view/helpers/record_tag_helper.rb
--- old/lib/action_view/helpers/record_tag_helper.rb 2017-08-03
21:13:03.000000000 +0200
+++ new/lib/action_view/helpers/record_tag_helper.rb 2017-09-08
02:49:00.000000000 +0200
@@ -1,7 +1,7 @@
module ActionView
module Helpers
module RecordTagHelper
- def div_for(*)
+ def div_for(*) # :nodoc:
raise NoMethodError, "The `div_for` method has been removed from " \
"Rails. To continue using it, add the `record_tag_helper` gem to " \
"your Gemfile:\n" \
@@ -9,7 +9,7 @@
"Consult the Rails upgrade guide for details."
end
- def content_tag_for(*)
+ def content_tag_for(*) # :nodoc:
raise NoMethodError, "The `content_tag_for` method has been removed
from " \
"Rails. To continue using it, add the `record_tag_helper` gem to " \
"your Gemfile:\n" \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_view/helpers/tags/base.rb
new/lib/action_view/helpers/tags/base.rb
--- old/lib/action_view/helpers/tags/base.rb 2017-08-03 21:13:03.000000000
+0200
+++ new/lib/action_view/helpers/tags/base.rb 2017-09-08 02:49:00.000000000
+0200
@@ -136,7 +136,7 @@
end
def sanitized_value(value)
- value.to_s.gsub(/\s/, "_").gsub(/[^-\w]/, "").downcase
+ value.to_s.gsub(/\s/, "_").gsub(/[^-[[:word:]]]/,
"").mb_chars.downcase.to_s
end
def select_content_tag(option_tags, options, html_options)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/assets/compiled/rails-ujs.js
new/lib/assets/compiled/rails-ujs.js
--- old/lib/assets/compiled/rails-ujs.js 2017-08-03 21:13:03.000000000
+0200
+++ new/lib/assets/compiled/rails-ujs.js 2017-09-08 02:49:00.000000000
+0200
@@ -4,9 +4,9 @@
Released under the MIT license
*/
-;
-
(function() {
+ var context = this;
+
(function() {
(function() {
this.Rails = {
@@ -26,9 +26,9 @@
};
}).call(this);
- }).call(this);
+ }).call(context);
- var Rails = this.Rails;
+ var Rails = context.Rails;
(function() {
(function() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-08-03 21:13:03.000000000 +0200
+++ new/metadata 2017-09-08 02:49:00.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionview
version: !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2017-08-03 00:00:00.000000000 Z
+date: 2017-09-08 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
- !ruby/object:Gem::Dependency
name: builder
requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
description: Simple, battle-tested conventions and helpers for building web
pages.
email: [email protected]
executables: []
@@ -248,7 +248,7 @@
requirements:
- none
rubyforge_project:
-rubygems_version: 2.6.12
+rubygems_version: 2.6.13
signing_key:
specification_version: 4
summary: Rendering framework putting the V in MVC (part of Rails).