Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-activemodel-8.0 for 
openSUSE:Factory checked in at 2025-08-22 17:49:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activemodel-8.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-activemodel-8.0.new.29662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-activemodel-8.0"

Fri Aug 22 17:49:22 2025 rev:4 rq:1300932 version:8.0.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activemodel-8.0/rubygem-activemodel-8.0.changes
  2025-01-21 21:10:26.714904183 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activemodel-8.0.new.29662/rubygem-activemodel-8.0.changes
       2025-08-22 17:50:51.107568788 +0200
@@ -1,0 +2,6 @@
+Thu Aug 14 00:25:06 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to version 8.0.2.1:
+  
https://rubyonrails.org/2025/8/13/Rails-Versions-8-0-2-1-7-2-2-2-and-7-1-5-2-have-been-released
+
+-------------------------------------------------------------------

Old:
----
  activemodel-8.0.1.gem

New:
----
  activemodel-8.0.2.1.gem

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

Other differences:
------------------
++++++ rubygem-activemodel-8.0.spec ++++++
--- /var/tmp/diff_new_pack.JKRBLl/_old  2025-08-22 17:50:53.879684292 +0200
+++ /var/tmp/diff_new_pack.JKRBLl/_new  2025-08-22 17:50:53.879684292 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-activemodel-8.0
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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-activemodel-8.0
-Version:        8.0.1
+Version:        8.0.2.1
 Release:        0
 %define mod_name activemodel
 %define mod_full_name %{mod_name}-%{version}

++++++ activemodel-8.0.1.gem -> activemodel-8.0.2.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2024-12-13 21:02:34.000000000 +0100
+++ new/CHANGELOG.md    1980-01-02 01:00:00.000000000 +0100
@@ -1,3 +1,18 @@
+## Rails 8.0.2.1 (August 13, 2025) ##
+
+*   No changes.
+
+
+## Rails 8.0.2 (March 12, 2025) ##
+
+*   No changes.
+
+
+## Rails 8.0.2 (March 12, 2025) ##
+
+*   No changes.
+
+
 ## Rails 8.0.1 (December 13, 2024) ##
 
 *   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/active_model/attribute.rb 
new/lib/active_model/attribute.rb
--- old/lib/active_model/attribute.rb   2024-12-13 21:02:34.000000000 +0100
+++ new/lib/active_model/attribute.rb   1980-01-02 01:00:00.000000000 +0100
@@ -38,7 +38,7 @@
       @value = value unless value.nil?
     end
 
-    def value
+    def value(&_)
       # `defined?` is cheaper than `||=` when we get back falsy values
       @value = type_cast(value_before_type_cast) unless defined?(@value)
       @value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/gem_version.rb 
new/lib/active_model/gem_version.rb
--- old/lib/active_model/gem_version.rb 2024-12-13 21:02:34.000000000 +0100
+++ new/lib/active_model/gem_version.rb 1980-01-02 01:00:00.000000000 +0100
@@ -9,8 +9,8 @@
   module VERSION
     MAJOR = 8
     MINOR = 0
-    TINY  = 1
-    PRE   = nil
+    TINY  = 2
+    PRE   = "1"
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/translation.rb 
new/lib/active_model/translation.rb
--- old/lib/active_model/translation.rb 2024-12-13 21:02:34.000000000 +0100
+++ new/lib/active_model/translation.rb 1980-01-02 01:00:00.000000000 +0100
@@ -52,10 +52,19 @@
         namespace, _, attribute = attribute.rpartition(".")
         namespace.tr!(".", "/")
 
+        if attribute.present?
+          key = "#{namespace}.#{attribute}"
+          separator = "/"
+        else
+          key = namespace
+          separator = "."
+        end
+
         defaults = lookup_ancestors.map do |klass|
-          
:"#{i18n_scope}.attributes.#{klass.model_name.i18n_key}/#{namespace}.#{attribute}"
+          
:"#{i18n_scope}.attributes.#{klass.model_name.i18n_key}#{separator}#{key}"
         end
-        defaults << :"#{i18n_scope}.attributes.#{namespace}.#{attribute}"
+        defaults << :"#{i18n_scope}.attributes.#{key}"
+        defaults << :"attributes.#{key}"
       else
         defaults = lookup_ancestors.map do |klass|
           :"#{i18n_scope}.attributes.#{klass.model_name.i18n_key}.#{attribute}"
@@ -69,7 +78,9 @@
       defaults << MISSING_TRANSLATION unless raise_on_missing
 
       translation = I18n.translate(defaults.shift, count: 1, raise: 
raise_on_missing, **options, default: defaults)
-      translation = attribute.humanize if translation == MISSING_TRANSLATION
+      if translation == MISSING_TRANSLATION
+        translation = attribute.present? ? attribute.humanize : 
namespace.humanize
+      end
       translation
     end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/type/float.rb 
new/lib/active_model/type/float.rb
--- old/lib/active_model/type/float.rb  2024-12-13 21:02:34.000000000 +0100
+++ new/lib/active_model/type/float.rb  1980-01-02 01:00:00.000000000 +0100
@@ -15,14 +15,6 @@
     #     attribute :weight, :float
     #   end
     #
-    # Values are cast using their +to_f+ method, except for the following
-    # strings:
-    #
-    # - Blank strings are cast to +nil+.
-    # - <tt>"Infinity"</tt> is cast to +Float::INFINITY+.
-    # - <tt>"-Infinity"</tt> is cast to <tt>-Float::INFINITY</tt>.
-    # - <tt>"NaN"</tt> is cast to +Float::NAN+.
-    #
     #   bag = BagOfCoffee.new
     #
     #   bag.weight = "0.25"
@@ -33,6 +25,14 @@
     #
     #   bag.weight = "NaN"
     #   bag.weight # => Float::NAN
+    #
+    # Values are cast using their +to_f+ method, except for the following
+    # strings:
+    #
+    # - Blank strings are cast to +nil+.
+    # - <tt>"Infinity"</tt> is cast to +Float::INFINITY+.
+    # - <tt>"-Infinity"</tt> is cast to <tt>-Float::INFINITY</tt>.
+    # - <tt>"NaN"</tt> is cast to +Float::NAN+.
     class Float < Value
       include Helpers::Numeric
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/type/value.rb 
new/lib/active_model/type/value.rb
--- old/lib/active_model/type/value.rb  2024-12-13 21:02:34.000000000 +0100
+++ new/lib/active_model/type/value.rb  1980-01-02 01:00:00.000000000 +0100
@@ -25,7 +25,7 @@
       # by the database.  For example a boolean type can return +true+ if the
       # value parameter is a Ruby boolean, but may return +false+ if the value
       # parameter is some other object.
-      def serializable?(value)
+      def serializable?(value, &_)
         true
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/acceptance.rb 
new/lib/active_model/validations/acceptance.rb
--- old/lib/active_model/validations/acceptance.rb      2024-12-13 
21:02:34.000000000 +0100
+++ new/lib/active_model/validations/acceptance.rb      1980-01-02 
01:00:00.000000000 +0100
@@ -24,7 +24,7 @@
           Array(options[:accept]).include?(value)
         end
 
-        class LazilyDefineAttributes < Module
+        class LazilyDefineAttributes < Module # :nodoc:
           def initialize(attributes)
             @attributes = attributes.map(&:to_s)
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2024-12-13 21:02:34.000000000 +0100
+++ new/metadata        1980-01-02 01:00:00.000000000 +0100
@@ -1,14 +1,13 @@
 --- !ruby/object:Gem::Specification
 name: activemodel
 version: !ruby/object:Gem::Version
-  version: 8.0.1
+  version: 8.0.2.1
 platform: ruby
 authors:
 - David Heinemeier Hansson
-autorequire: 
 bindir: bin
 cert_chain: []
-date: 2024-12-13 00:00:00.000000000 Z
+date: 1980-01-02 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,14 +15,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.1
+        version: 8.0.2.1
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 8.0.1
+        version: 8.0.2.1
 description: A toolkit for building modeling frameworks like Active Record. 
Rich support
   for attributes, callbacks, validations, serialization, internationalization, 
and
   testing.
@@ -112,12 +111,11 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.1/activemodel/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v8.0.1/
+  changelog_uri: 
https://github.com/rails/rails/blob/v8.0.2.1/activemodel/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v8.0.2.1/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v8.0.1/activemodel
+  source_code_uri: https://github.com/rails/rails/tree/v8.0.2.1/activemodel
   rubygems_mfa_required: 'true'
-post_install_message: 
 rdoc_options: []
 require_paths:
 - lib
@@ -132,8 +130,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.5.22
-signing_key: 
+rubygems_version: 3.6.9
 specification_version: 4
 summary: A toolkit for building modeling frameworks (part of Rails).
 test_files: []

Reply via email to