Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-actionview-8.0 for 
openSUSE:Factory checked in at 2026-07-07 21:04:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionview-8.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actionview-8.0.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionview-8.0"

Tue Jul  7 21:04:56 2026 rev:6 rq:1364221 version:8.0.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actionview-8.0/rubygem-actionview-8.0.changes
    2025-10-10 17:13:49.012523632 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actionview-8.0.new.1982/rubygem-actionview-8.0.changes
  2026-07-07 21:07:45.699756996 +0200
@@ -1,0 +2,6 @@
+Tue Jul  7 09:01:32 UTC 2026 - Aleksei Burlakov <[email protected]>
+
+- Update to version 8.0.5:
+  
https://rubyonrails.org/2026/3/24/Rails-Versions-8-0-5-and-8-1-3-have-been-released
 
+
+-------------------------------------------------------------------

Old:
----
  actionview-8.0.3.gem

New:
----
  actionview-8.0.5.gem

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

Other differences:
------------------
++++++ rubygem-actionview-8.0.spec ++++++
--- /var/tmp/diff_new_pack.YmS0gl/_old  2026-07-07 21:07:46.359779755 +0200
+++ /var/tmp/diff_new_pack.YmS0gl/_new  2026-07-07 21:07:46.359779755 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-actionview-8.0
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-actionview-8.0
-Version:        8.0.3
+Version:        8.0.5
 Release:        0
 %define mod_name actionview
 %define mod_full_name %{mod_name}-%{version}

++++++ actionview-8.0.3.gem -> actionview-8.0.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    1980-01-02 01:00:00.000000000 +0100
+++ new/CHANGELOG.md    1980-01-02 01:00:00.000000000 +0100
@@ -1,3 +1,48 @@
+## Rails 8.0.5 (March 24, 2026) ##
+
+*   Fix encoding errors for string locals containing non-ASCII characters.
+
+    *Kataoka Katsuki*
+
+*   Fix collection caching to only forward `expires_in` argument if explicitly 
set.
+
+    *Pieter Visser*
+
+*   Fix `file_field` to join mime types with a comma when provided as Array
+
+    ```ruby
+    file_field(:article, :image, accept: ['image/png', 'image/gif', 
'image/jpeg'])
+    ```
+
+    Now behaves likes:
+
+    ```
+    file_field(:article, :image, accept: 'image/png,image/gif,image/jpeg')
+    ```
+
+    *Bogdan Gusiev*
+
+*   Fix strict locals parsing to handle multiline definitions.
+
+    *Said Kaldybaev*
+
+
+## Rails 8.0.4.1 (March 23, 2026) ##
+
+*   Skip blank attribute names in tag helpers to avoid generating invalid HTML.
+
+    [CVE-2026-33168]
+
+    *Mike Dalessio*
+
+
+## Rails 8.0.4 (October 28, 2025) ##
+
+*   Restore `add_default_name_and_id` method.
+
+    *Hartley McGuire*
+
+
 ## Rails 8.0.3 (September 22, 2025) ##
 
 *   Fix label with `for` option not getting prefixed by form `namespace` value
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  1980-01-02 01:00:00.000000000 +0100
+++ new/lib/action_view/gem_version.rb  1980-01-02 01:00:00.000000000 +0100
@@ -9,7 +9,7 @@
   module VERSION
     MAJOR = 8
     MINOR = 0
-    TINY  = 3
+    TINY  = 5
     PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/asset_tag_helper.rb 
new/lib/action_view/helpers/asset_tag_helper.rb
--- old/lib/action_view/helpers/asset_tag_helper.rb     1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_view/helpers/asset_tag_helper.rb     1980-01-02 
01:00:00.000000000 +0100
@@ -115,7 +115,7 @@
         path_options = options.extract!("protocol", "extname", "host", 
"skip_pipeline").symbolize_keys
         preload_links = []
         use_preload_links_header = options["preload_links_header"].nil? ? 
preload_links_header : options.delete("preload_links_header")
-        nopush = options["nopush"].nil? ? true : options.delete("nopush")
+        nopush = options["nopush"].nil? || options.delete("nopush")
         crossorigin = options.delete("crossorigin")
         crossorigin = "anonymous" if crossorigin == true
         integrity = options["integrity"]
@@ -206,7 +206,7 @@
         preload_links = []
         crossorigin = options.delete("crossorigin")
         crossorigin = "anonymous" if crossorigin == true
-        nopush = options["nopush"].nil? ? true : options.delete("nopush")
+        nopush = options["nopush"].nil? || options.delete("nopush")
         integrity = options["integrity"]
 
         sources_tags = sources.uniq.map { |source|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/tag_helper.rb 
new/lib/action_view/helpers/tag_helper.rb
--- old/lib/action_view/helpers/tag_helper.rb   1980-01-02 01:00:00.000000000 
+0100
+++ new/lib/action_view/helpers/tag_helper.rb   1980-01-02 01:00:00.000000000 
+0100
@@ -250,16 +250,19 @@
           output = +""
           sep    = " "
           options.each_pair do |key, value|
+            next if key.blank?
+
             type = TAG_TYPES[key]
             if type == :data && value.is_a?(Hash)
               value.each_pair do |k, v|
-                next if v.nil?
+                next if k.blank? || v.nil?
+
                 output << sep
                 output << prefix_tag_option(key, k, v, escape)
               end
             elsif type == :aria && value.is_a?(Hash)
               value.each_pair do |k, v|
-                next if v.nil?
+                next if k.blank? || v.nil?
 
                 case v
                 when Array, Hash
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    1980-01-02 01:00:00.000000000 
+0100
+++ new/lib/action_view/helpers/tags/base.rb    1980-01-02 01:00:00.000000000 
+0100
@@ -92,6 +92,7 @@
               end
             end
           end
+          alias_method :add_default_name_and_id_for_value, 
:add_default_name_and_field_for_value
 
           def add_default_name_and_field(options, field = "id")
             index = name_and_id_index(options)
@@ -104,6 +105,7 @@
               end
             end
           end
+          alias_method :add_default_name_and_id, :add_default_name_and_field
 
           def tag_name(multiple = false, index = nil)
             @template_object.field_name(@object_name, sanitized_method_name, 
multiple: multiple, index: index)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/tags/file_field.rb 
new/lib/action_view/helpers/tags/file_field.rb
--- old/lib/action_view/helpers/tags/file_field.rb      1980-01-02 
01:00:00.000000000 +0100
+++ new/lib/action_view/helpers/tags/file_field.rb      1980-01-02 
01:00:00.000000000 +0100
@@ -6,6 +6,9 @@
       class FileField < TextField # :nodoc:
         def render
           include_hidden = @options.delete(:include_hidden)
+          if @options[:accept].is_a?(Array)
+            @options[:accept] = @options[:accept].join(",")
+          end
           options = @options.stringify_keys
           add_default_name_and_field(options)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/action_view/renderer/partial_renderer/collection_caching.rb 
new/lib/action_view/renderer/partial_renderer/collection_caching.rb
--- old/lib/action_view/renderer/partial_renderer/collection_caching.rb 
1980-01-02 01:00:00.000000000 +0100
+++ new/lib/action_view/renderer/partial_renderer/collection_caching.rb 
1980-01-02 01:00:00.000000000 +0100
@@ -111,7 +111,11 @@
         end
 
         unless entries_to_write.empty?
-          collection_cache.write_multi(entries_to_write)
+          if @options[:cached].is_a?(Hash) && 
@options[:cached].key?(:expires_in)
+            collection_cache.write_multi(entries_to_write, expires_in: 
@options[:cached][:expires_in])
+          else
+            collection_cache.write_multi(entries_to_write)
+          end
         end
 
         keyed_partials
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/template.rb 
new/lib/action_view/template.rb
--- old/lib/action_view/template.rb     1980-01-02 01:00:00.000000000 +0100
+++ new/lib/action_view/template.rb     1980-01-02 01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
   class Template
     extend ActiveSupport::Autoload
 
-    STRICT_LOCALS_REGEX = /\#\s+locals:\s+\((.*)\)/
+    STRICT_LOCALS_REGEX = /\#\s+locals:\s+\((.*?)\)(?=\s*-?%>|\s*$)/m
 
     # === Encodings in ActionView::Template
     #
@@ -366,10 +366,16 @@
     def strict_locals!
       if @strict_locals == NONE
         self.source.sub!(STRICT_LOCALS_REGEX, "")
-        @strict_locals = $1
+        @strict_locals = $1&.rstrip
 
         return if @strict_locals.nil? # Magic comment not found
 
+        # Tag with the assumed encoding before encode! runs, same as
+        # encode! does for the source itself (see above).
+        if @strict_locals.encoding == Encoding::BINARY
+          @strict_locals.force_encoding(Encoding.default_external)
+        end
+
         @strict_locals = "**nil" if @strict_locals.blank?
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        1980-01-02 01:00:00.000000000 +0100
+++ new/metadata        1980-01-02 01:00:00.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: actionview
 version: !ruby/object:Gem::Version
-  version: 8.0.3
+  version: 8.0.5
 platform: ruby
 authors:
 - David Heinemeier Hansson
@@ -15,14 +15,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.3
+        version: 8.0.5
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.3
+        version: 8.0.5
 - !ruby/object:Gem::Dependency
   name: builder
   requirement: !ruby/object:Gem::Requirement
@@ -85,28 +85,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.3
+        version: 8.0.5
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.3
+        version: 8.0.5
 - !ruby/object:Gem::Dependency
   name: activemodel
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.3
+        version: 8.0.5
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.3
+        version: 8.0.5
 description: Simple, battle-tested conventions and helpers for building web 
pages.
 email: [email protected]
 executables: []
@@ -246,10 +246,10 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.3/actionview/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v8.0.3/
+  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.5/actionview/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v8.0.5/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v8.0.3/actionview
+  source_code_uri: https://github.com/rails/rails/tree/v8.0.5/actionview
   rubygems_mfa_required: 'true'
 rdoc_options: []
 require_paths:
@@ -266,7 +266,7 @@
       version: '0'
 requirements:
 - none
-rubygems_version: 3.6.9
+rubygems_version: 4.0.6
 specification_version: 4
 summary: Rendering framework putting the V in MVC (part of Rails).
 test_files: []

Reply via email to