Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-actionview-7.0 for 
openSUSE:Factory checked in at 2023-07-03 17:43:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionview-7.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actionview-7.0.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionview-7.0"

Mon Jul  3 17:43:09 2023 rev:9 rq:1096440 version:7.0.5.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actionview-7.0/rubygem-actionview-7.0.changes
    2023-04-21 18:47:47.700176137 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actionview-7.0.new.13546/rubygem-actionview-7.0.changes
 2023-07-03 17:43:13.704875064 +0200
@@ -1,0 +2,12 @@
+Tue Jun 27 19:31:06 UTC 2023 - Mykola Krachkovsky <[email protected]>
+
+- updated to version 7.0.5.1
+  * 
https://rubyonrails.org/2023/6/26/Rails-Versions-7-0-5-1-6-1-7-4-have-been-released
+
+-------------------------------------------------------------------
+Mon Jun 26 19:10:47 UTC 2023 - Mykola Krachkovsky <[email protected]>
+
+- updated to version 7.0.5
+  * https://rubyonrails.org/2023/5/24/Rails-7-0-5-has-been-released
+
+-------------------------------------------------------------------

Old:
----
  actionview-7.0.4.3.gem

New:
----
  actionview-7.0.5.1.gem

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

Other differences:
------------------
++++++ rubygem-actionview-7.0.spec ++++++
--- /var/tmp/diff_new_pack.Fc6ewo/_old  2023-07-03 17:43:14.356878903 +0200
+++ /var/tmp/diff_new_pack.Fc6ewo/_new  2023-07-03 17:43:14.360878926 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-actionview-7.0
-Version:        7.0.4.3
+Version:        7.0.5.1
 Release:        0
 %define mod_name actionview
 %define mod_full_name %{mod_name}-%{version}

++++++ actionview-7.0.4.3.gem -> actionview-7.0.5.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2023-03-13 19:52:51.000000000 +0100
+++ new/CHANGELOG.md    2023-06-26 23:35:15.000000000 +0200
@@ -1,3 +1,29 @@
+## Rails 7.0.5.1 (June 26, 2023) ##
+
+*   No changes.
+
+
+## Rails 7.0.5 (May 24, 2023) ##
+
+*   `FormBuilder#id` finds id set by `form_for` and `form_with`.
+
+    *Matt Polito*
+
+*   Allow all available locales for template lookups.
+
+    *Ben Dilley*
+
+*   Choices of `select` can optionally contain html attributes as the last 
element
+    of the child arrays when using grouped/nested collections
+
+    ```erb
+    <%= form.select :foo, [["North America", [["United 
States","US"],["Canada","CA"]], { disabled: "disabled" }]] %>
+    # => <select><optgroup label="North America" disabled="disabled"><option 
value="US">United States</option><option 
value="CA">Canada</option></optgroup></select>
+    ```
+
+    *Chris Gunther*
+
+
 ## Rails 7.0.4.3 (March 13, 2023) ##
 
 *   Ignore certain data-* attributes in rails-ujs when element is 
contenteditable
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  2023-03-13 19:52:51.000000000 +0100
+++ new/lib/action_view/gem_version.rb  2023-06-26 23:35:15.000000000 +0200
@@ -9,8 +9,8 @@
   module VERSION
     MAJOR = 7
     MINOR = 0
-    TINY  = 4
-    PRE   = "3"
+    TINY  = 5
+    PRE   = "1"
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
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     2023-03-13 
19:52:51.000000000 +0100
+++ new/lib/action_view/helpers/asset_tag_helper.rb     2023-06-26 
23:35:15.000000000 +0200
@@ -41,7 +41,7 @@
       # When the Asset Pipeline is enabled, you can pass the name of your 
manifest as
       # source, and include other JavaScript or CoffeeScript files inside the 
manifest.
       #
-      # If the server supports Early Hints header links for these assets will 
be
+      # If the server supports Early Hints, header links for these assets will 
be
       # automatically pushed.
       #
       # ==== Options
@@ -130,7 +130,7 @@
       # set <tt>extname: false</tt> in the options.
       # You can modify the link attributes by passing a hash as the last 
argument.
       #
-      # If the server supports Early Hints header links for these assets will 
be
+      # If the server supports Early Hints, header links for these assets will 
be
       # automatically pushed.
       #
       # ==== Options
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/capture_helper.rb 
new/lib/action_view/helpers/capture_helper.rb
--- old/lib/action_view/helpers/capture_helper.rb       2023-03-13 
19:52:51.000000000 +0100
+++ new/lib/action_view/helpers/capture_helper.rb       2023-06-26 
23:35:15.000000000 +0200
@@ -121,7 +121,7 @@
       #     <li><%= link_to 'Home', action: 'index' %></li>
       #   <% end %>
       #
-      #  And in another place:
+      # And in another place:
       #
       #   <% content_for :navigation do %>
       #     <li><%= link_to 'Login', action: 'login' %></li>
@@ -137,7 +137,7 @@
       #     <li><%= link_to 'Home', action: 'index' %></li>
       #   <% end %>
       #
-      #   <%#  Add some other content, or use a different template: %>
+      #   <%# Add some other content, or use a different template: %>
       #
       #   <% content_for :navigation, flush: true do %>
       #     <li><%= link_to 'Login', action: 'login' %></li>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/csrf_helper.rb 
new/lib/action_view/helpers/csrf_helper.rb
--- old/lib/action_view/helpers/csrf_helper.rb  2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/helpers/csrf_helper.rb  2023-06-26 23:35:15.000000000 
+0200
@@ -17,7 +17,7 @@
       # You don't need to use these tags for regular forms as they generate 
their own hidden fields.
       #
       # For AJAX requests other than GETs, extract the "csrf-token" from the 
meta-tag and send as the
-      # "X-CSRF-Token" HTTP header. If you are using rails-ujs this happens 
automatically.
+      # +X-CSRF-Token+ HTTP header. If you are using rails-ujs, this happens 
automatically.
       #
       def csrf_meta_tags
         if defined?(protect_against_forgery?) && protect_against_forgery?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/date_helper.rb 
new/lib/action_view/helpers/date_helper.rb
--- old/lib/action_view/helpers/date_helper.rb  2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/helpers/date_helper.rb  2023-06-26 23:35:15.000000000 
+0200
@@ -1001,22 +1001,25 @@
         end
 
         # Build select option HTML from date value and options.
-        #  build_options(15, start: 1, end: 31)
-        #  => "<option value="1">1</option>
-        #      <option value="2">2</option>
-        #      <option value="3">3</option>..."
-        #
-        # If <tt>use_two_digit_numbers: true</tt> option is passed
-        #  build_options(15, start: 1, end: 31, use_two_digit_numbers: true)
-        #  => "<option value="1">01</option>
-        #      <option value="2">02</option>
-        #      <option value="3">03</option>..."
-        #
-        # If <tt>:step</tt> options is passed
-        #  build_options(15, start: 1, end: 31, step: 2)
-        #  => "<option value="1">1</option>
-        #      <option value="3">3</option>
-        #      <option value="5">5</option>..."
+        #
+        #   build_options(15, start: 1, end: 31)
+        #   => "<option value="1">1</option>
+        #       <option value="2">2</option>
+        #       <option value="3">3</option>..."
+        #
+        # If <tt>use_two_digit_numbers: true</tt> option is passed:
+        #
+        #   build_options(15, start: 1, end: 31, use_two_digit_numbers: true)
+        #   => "<option value="1">01</option>
+        #       <option value="2">02</option>
+        #       <option value="3">03</option>..."
+        #
+        # If <tt>:step</tt> options is passed:
+        #
+        #   build_options(15, start: 1, end: 31, step: 2)
+        #   => "<option value="1">1</option>
+        #       <option value="3">3</option>
+        #       <option value="5">5</option>..."
         def build_options(selected, options = {})
           options = {
             leading_zeros: true, ampm: false, use_two_digit_numbers: false
@@ -1041,22 +1044,25 @@
         end
 
         # Build select option HTML for day.
-        #  build_day_options(2)
-        #  => "<option value="1">1</option>
-        #      <option value="2" selected="selected">2</option>
-        #      <option value="3">3</option>..."
+        #
+        #   build_day_options(2)
+        #   => "<option value="1">1</option>
+        #       <option value="2" selected="selected">2</option>
+        #       <option value="3">3</option>..."
         #
         # If <tt>day_format: ->(day) { day.ordinalize }</tt> option is passed 
to DateTimeSelector
-        #  build_day_options(2)
-        #  => "<option value="1">1st</option>
-        #      <option value="2" selected="selected">2nd</option>
-        #      <option value="3">3rd</option>..."
+        #
+        #   build_day_options(2)
+        #   => "<option value="1">1st</option>
+        #       <option value="2" selected="selected">2nd</option>
+        #       <option value="3">3rd</option>..."
         #
         # If <tt>use_two_digit_numbers: true</tt> option is passed to 
DateTimeSelector
-        #  build_day_options(2)
-        #  => "<option value="1">01</option>
-        #      <option value="2" selected="selected">02</option>
-        #      <option value="3">03</option>..."
+        #
+        #   build_day_options(2)
+        #   => "<option value="1">01</option>
+        #       <option value="2" selected="selected">02</option>
+        #       <option value="3">03</option>..."
         def build_day_options(selected)
           select_options = []
           (1..31).each do |value|
@@ -1071,16 +1077,16 @@
 
         # Build select option HTML for year.
         # If <tt>year_format</tt> option is not passed
-        #  build_year_options(1998, start: 1998, end: 2000)
-        #  => "<option value="1998" selected="selected">1998</option>
-        #      <option value="1999">1999</option>
-        #      <option value="2000">2000</option>"
+        #   build_year_options(1998, start: 1998, end: 2000)
+        #   => "<option value="1998" selected="selected">1998</option>
+        #       <option value="1999">1999</option>
+        #       <option value="2000">2000</option>"
         #
         # If <tt>year_format</tt> option is passed
-        #  build_year_options(1998, start: 1998, end: 2000, year_format: 
->year { "Heisei #{ year - 1988 }" })
-        #  => "<option value="1998" selected="selected">Heisei 10</option>
-        #      <option value="1999">Heisei 11</option>
-        #      <option value="2000">Heisei 12</option>"
+        #   build_year_options(1998, start: 1998, end: 2000, year_format: 
->year { "Heisei #{ year - 1988 }" })
+        #   => "<option value="1998" selected="selected">Heisei 10</option>
+        #       <option value="1999">Heisei 11</option>
+        #       <option value="2000">Heisei 12</option>"
         def build_year_options(selected, options = {})
           start = options.delete(:start)
           stop = options.delete(:end)
@@ -1098,10 +1104,11 @@
         end
 
         # Builds select tag from date type and HTML select options.
-        #  build_select(:month, "<option value="1">January</option>...")
-        #  => "<select id="post_written_on_2i" name="post[written_on(2i)]">
-        #        <option value="1">January</option>...
-        #      </select>"
+        #
+        #   build_select(:month, "<option value="1">January</option>...")
+        #   => "<select id="post_written_on_2i" name="post[written_on(2i)]">
+        #         <option value="1">January</option>...
+        #       </select>"
         def build_select(type, select_options_as_html)
           select_options = {
             id: input_id_from_type(type),
@@ -1118,9 +1125,10 @@
           (content_tag("select", select_html.html_safe, select_options) + 
"\n").html_safe
         end
 
-        # Builds the CSS class value for the select element
-        #  css_class_attribute(:year, 'date optional', { year: 'my-year' })
-        #  => "date optional my-year"
+        # Builds the CSS class value for the select element.
+        #
+        #   css_class_attribute(:year, 'date optional', { year: 'my-year' })
+        #   => "date optional my-year"
         def css_class_attribute(type, html_options_class, options) # :nodoc:
           css_class = \
             case options
@@ -1134,8 +1142,9 @@
         end
 
         # Builds a prompt option tag with supplied options or from default 
options.
-        #  prompt_option_tag(:month, prompt: 'Select month')
-        #  => "<option value="">Select month</option>"
+        #
+        #   prompt_option_tag(:month, prompt: 'Select month')
+        #   => "<option value="">Select month</option>"
         def prompt_option_tag(type, options)
           prompt = \
             case options
@@ -1152,8 +1161,9 @@
         end
 
         # Builds hidden input tag for date part and value.
-        #  build_hidden(:year, 2008)
-        #  => "<input type="hidden" id="date_year" name="date[year]" 
value="2008" autocomplete="off" />"
+        #
+        #   build_hidden(:year, 2008)
+        #   => "<input type="hidden" id="date_year" name="date[year]" 
value="2008" autocomplete="off" />"
         def build_hidden(type, value)
           select_options = {
             type: "hidden",
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  2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/helpers/form_helper.rb  2023-06-26 23:35:15.000000000 
+0200
@@ -1735,7 +1735,7 @@
       # <tt><button></tt> element should be treated as the <tt><form></tt>
       # element's submit button, regardless of where it exists in the DOM.
       def id
-        options.dig(:html, :id)
+        options.dig(:html, :id) || options[:id]
       end
 
       # Generate an HTML <tt>id</tt> attribute value for the given field
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/form_options_helper.rb 
new/lib/action_view/helpers/form_options_helper.rb
--- old/lib/action_view/helpers/form_options_helper.rb  2023-03-13 
19:52:51.000000000 +0100
+++ new/lib/action_view/helpers/form_options_helper.rb  2023-06-26 
23:35:15.000000000 +0200
@@ -500,6 +500,8 @@
       #   <tt><optgroup></tt> label while the second value must be an array of 
options. The second value can be a
       #   nested array of text-value pairs. See <tt>options_for_select</tt> 
for more info.
       #    Ex. ["North America",[["United States","US"],["Canada","CA"]]]
+      #   An optional third value can be provided as HTML attributes for the 
<tt>optgroup</tt>.
+      #    Ex. ["North America",[["United States","US"],["Canada","CA"]], { 
disabled: "disabled" }]
       # * +selected_key+ - A value equal to the +value+ attribute for one of 
the <tt><option></tt> tags,
       #   which will have the +selected+ attribute set. Note: It is possible 
for this value to match multiple options
       #   as you might have the same option in multiple groups. Each will then 
get <tt>selected="selected"</tt>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/number_helper.rb 
new/lib/action_view/helpers/number_helper.rb
--- old/lib/action_view/helpers/number_helper.rb        2023-03-13 
19:52:51.000000000 +0100
+++ new/lib/action_view/helpers/number_helper.rb        2023-06-26 
23:35:15.000000000 +0200
@@ -202,7 +202,7 @@
       #   number_with_delimiter("123456.78",
       #     delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/)    # => 
"1,23,456.78"
       #
-      #  number_with_delimiter("112a", raise: true)              # => raise 
InvalidNumberError
+      #   number_with_delimiter("112a", raise: true)              # => raise 
InvalidNumberError
       def number_with_delimiter(number, options = {})
         delegate_number_helper_method(:number_to_delimited, number, options)
       end
@@ -370,13 +370,14 @@
       # out by default (set <tt>:strip_insignificant_zeros</tt> to
       # +false+ to change that):
       #
-      # number_to_human(12.00001)                                       # => 
"12"
-      # number_to_human(12.00001, strip_insignificant_zeros: false)     # => 
"12.0"
+      #   number_to_human(12.00001)                                       # => 
"12"
+      #   number_to_human(12.00001, strip_insignificant_zeros: false)     # => 
"12.0"
       #
       # ==== Custom Unit Quantifiers
       #
       # You can also use your own custom unit quantifiers:
-      #  number_to_human(500000, units: {unit: "ml", thousand: "lt"})  # => 
"500 lt"
+      #
+      #   number_to_human(500000, units: {unit: "ml", thousand: "lt"})  # => 
"500 lt"
       #
       # If in your I18n locale you have:
       #   distance:
@@ -393,12 +394,12 @@
       #
       # Then you could do:
       #
-      #  number_to_human(543934, units: :distance)              # => "544 
kilometers"
-      #  number_to_human(54393498, units: :distance)            # => "54400 
kilometers"
-      #  number_to_human(54393498000, units: :distance)         # => "54.4 
gazillion-distance"
-      #  number_to_human(343, units: :distance, precision: 1)   # => "300 
meters"
-      #  number_to_human(1, units: :distance)                   # => "1 meter"
-      #  number_to_human(0.34, units: :distance)                # => "34 
centimeters"
+      #   number_to_human(543934, units: :distance)              # => "544 
kilometers"
+      #   number_to_human(54393498, units: :distance)            # => "54400 
kilometers"
+      #   number_to_human(54393498000, units: :distance)         # => "54.4 
gazillion-distance"
+      #   number_to_human(343, units: :distance, precision: 1)   # => "300 
meters"
+      #   number_to_human(1, units: :distance)                   # => "1 meter"
+      #   number_to_human(0.34, units: :distance)                # => "34 
centimeters"
       #
       def number_to_human(number, options = {})
         delegate_number_helper_method(:number_to_human, number, options)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/output_safety_helper.rb 
new/lib/action_view/helpers/output_safety_helper.rb
--- old/lib/action_view/helpers/output_safety_helper.rb 2023-03-13 
19:52:51.000000000 +0100
+++ new/lib/action_view/helpers/output_safety_helper.rb 2023-06-26 
23:35:15.000000000 +0200
@@ -13,8 +13,8 @@
       #
       # For example:
       #
-      #  raw @user.name
-      #  # => 'Jimmy <alert>Tables</alert>'
+      #   raw @user.name
+      #   # => 'Jimmy <alert>Tables</alert>'
       def raw(stringish)
         stringish.to_s.html_safe
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/helpers/tags/select.rb 
new/lib/action_view/helpers/tags/select.rb
--- old/lib/action_view/helpers/tags/select.rb  2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/helpers/tags/select.rb  2023-06-26 23:35:15.000000000 
+0200
@@ -34,7 +34,7 @@
           #   [nil, []]
           #   { nil => [] }
           def grouped_choices?
-            [email protected]? && @choices.first.respond_to?(:last) && Array === 
@choices.first.last
+            [email protected]? && @choices.first.respond_to?(:second) && Array 
=== @choices.first.second
           end
       end
     end
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   2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/helpers/url_helper.rb   2023-06-26 23:35:15.000000000 
+0200
@@ -492,7 +492,7 @@
       # * <tt>:body</tt> - Preset the body of the email.
       # * <tt>:cc</tt> - Carbon Copy additional recipients on the email.
       # * <tt>:bcc</tt> - Blind Carbon Copy additional recipients on the email.
-      # * <tt>:reply_to</tt> - Preset the Reply-To field of the email.
+      # * <tt>:reply_to</tt> - Preset the +Reply-To+ field of the email.
       #
       # ==== Obfuscation
       # Prior to Rails 4.0, +mail_to+ provided options for encoding the address
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/routing_url_for.rb 
new/lib/action_view/routing_url_for.rb
--- old/lib/action_view/routing_url_for.rb      2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/routing_url_for.rb      2023-06-26 23:35:15.000000000 
+0200
@@ -6,14 +6,14 @@
   module RoutingUrlFor
     # Returns the URL for the set of +options+ provided. This takes the
     # same options as +url_for+ in Action Controller (see the
-    # documentation for <tt>ActionController::Base#url_for</tt>). Note that by 
default
-    # <tt>:only_path</tt> is <tt>true</tt> so you'll get the relative 
"/controller/action"
-    # instead of the fully qualified URL like 
"http://example.com/controller/action";.
+    # documentation for ActionDispatch::Routing::UrlFor#url_for). Note that by 
default
+    # <tt>:only_path</tt> is <tt>true</tt> so you'll get the relative 
<tt>"/controller/action"</tt>
+    # instead of the fully qualified URL like 
<tt>"http://example.com/controller/action";</tt>.
     #
     # ==== Options
     # * <tt>:anchor</tt> - Specifies the anchor name to be appended to the 
path.
     # * <tt>:only_path</tt> - If true, returns the relative URL (omitting the 
protocol, host name, and port) (<tt>true</tt> by default unless <tt>:host</tt> 
is specified).
-    # * <tt>:trailing_slash</tt> - If true, adds a trailing slash, as in 
"/archive/2005/". Note that this
+    # * <tt>:trailing_slash</tt> - If true, adds a trailing slash, as in 
<tt>"/archive/2005/"</tt>. Note that this
     #   is currently not recommended since it breaks caching.
     # * <tt>:host</tt> - Overrides the default (current) host if provided.
     # * <tt>:protocol</tt> - Overrides the default (current) protocol if 
provided.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_view/template/resolver.rb 
new/lib/action_view/template/resolver.rb
--- old/lib/action_view/template/resolver.rb    2023-03-13 19:52:51.000000000 
+0100
+++ new/lib/action_view/template/resolver.rb    2023-06-26 23:35:15.000000000 
+0200
@@ -17,9 +17,11 @@
       ParsedPath = Struct.new(:path, :details)
 
       def build_path_regex
-        handlers = Template::Handlers.extensions.map { |x| Regexp.escape(x) 
}.join("|")
-        formats = Template::Types.symbols.map { |x| Regexp.escape(x) 
}.join("|")
-        locales = "[a-z]{2}(?:[-_][A-Z]{2})?"
+        handlers = Regexp.union(Template::Handlers.extensions.map(&:to_s))
+        formats = Regexp.union(Template::Types.symbols.map(&:to_s))
+        available_locales = I18n.available_locales.map(&:to_s)
+        regular_locales = [/[a-z]{2}(?:[-_][A-Z]{2})?/]
+        locales = Regexp.union(available_locales + regular_locales)
         variants = "[^.]*"
 
         %r{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2023-03-13 19:52:51.000000000 +0100
+++ new/metadata        2023-06-26 23:35:15.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: actionview
 version: !ruby/object:Gem::Version
-  version: 7.0.4.3
+  version: 7.0.5.1
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2023-03-13 00:00:00.000000000 Z
+date: 2023-06-26 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,14 +16,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.4.3
+        version: 7.0.5.1
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.4.3
+        version: 7.0.5.1
 - !ruby/object:Gem::Dependency
   name: builder
   requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.4.3
+        version: 7.0.5.1
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.4.3
+        version: 7.0.5.1
 - !ruby/object:Gem::Dependency
   name: activemodel
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.4.3
+        version: 7.0.5.1
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.4.3
+        version: 7.0.5.1
 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/v7.0.4.3/actionview/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v7.0.4.3/
+  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.5.1/actionview/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v7.0.5.1/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v7.0.4.3/actionview
+  source_code_uri: https://github.com/rails/rails/tree/v7.0.5.1/actionview
   rubygems_mfa_required: 'true'
 post_install_message:
 rdoc_options: []
@@ -267,7 +267,7 @@
       version: '0'
 requirements:
 - none
-rubygems_version: 3.4.3
+rubygems_version: 3.3.3
 signing_key:
 specification_version: 4
 summary: Rendering framework putting the V in MVC (part of Rails).

Reply via email to