Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-activemodel-7.0 for 
openSUSE:Factory checked in at 2023-11-02 20:23:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activemodel-7.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-activemodel-7.0.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-activemodel-7.0"

Thu Nov  2 20:23:15 2023 rev:10 rq:1122881 version:7.0.8

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activemodel-7.0/rubygem-activemodel-7.0.changes
  2023-07-03 17:43:15.456885379 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activemodel-7.0.new.17445/rubygem-activemodel-7.0.changes
       2023-11-02 20:23:44.084835881 +0100
@@ -1,0 +2,29 @@
+Thu Nov  2 15:33:37 UTC 2023 - Dan Čermák <dan.cer...@posteo.net>
+
+- ## Rails 7.0.8 (September 09, 2023) ##
+
+*   No changes.
+
+## Rails 7.0.7.2 (August 22, 2023) ##
+
+*   No changes.
+
+## Rails 7.0.7.1 (August 22, 2023) ##
+
+*   No changes.
+
+## Rails 7.0.7 (August 09, 2023) ##
+
+*   Error.full_message now strips ":base" from the message.
+
+    *zzak*
+
+*   Add a load hook for `ActiveModel::Model` (named `active_model`) to match 
the load hook for
+    `ActiveRecord::Base` and allow for overriding aspects of the 
`ActiveModel::Model` class.
+
+## Rails 7.0.6 (June 29, 2023) ##
+
+*   No changes.
+
+
+-------------------------------------------------------------------

Old:
----
  activemodel-7.0.5.1.gem

New:
----
  activemodel-7.0.8.gem

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

Other differences:
------------------
++++++ rubygem-activemodel-7.0.spec ++++++
--- /var/tmp/diff_new_pack.F9HhFO/_old  2023-11-02 20:23:44.732859726 +0100
+++ /var/tmp/diff_new_pack.F9HhFO/_new  2023-11-02 20:23:44.732859726 +0100
@@ -24,12 +24,11 @@
 #
 
 Name:           rubygem-activemodel-7.0
-Version:        7.0.5.1
+Version:        7.0.8
 Release:        0
 %define mod_name activemodel
 %define mod_full_name %{mod_name}-%{version}
 %define mod_version_suffix -7.0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{ruby >= 2.7.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
@@ -38,7 +37,6 @@
 Source1:        gem2rpm.yml
 Summary:        A toolkit for building modeling frameworks (part of Rails)
 License:        MIT
-Group:          Development/Languages/Ruby
 
 %description
 A toolkit for building modeling frameworks like Active Record. Rich support

++++++ activemodel-7.0.5.1.gem -> activemodel-7.0.8.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2023-06-26 23:35:10.000000000 +0200
+++ new/CHANGELOG.md    2023-09-09 21:09:43.000000000 +0200
@@ -1,3 +1,33 @@
+## Rails 7.0.8 (September 09, 2023) ##
+
+*   No changes.
+
+
+## Rails 7.0.7.2 (August 22, 2023) ##
+
+*   No changes.
+
+
+## Rails 7.0.7.1 (August 22, 2023) ##
+
+*   No changes.
+
+
+## Rails 7.0.7 (August 09, 2023) ##
+
+*   Error.full_message now strips ":base" from the message.
+
+    *zzak*
+
+*   Add a load hook for `ActiveModel::Model` (named `active_model`) to match 
the load hook for
+    `ActiveRecord::Base` and allow for overriding aspects of the 
`ActiveModel::Model` class.
+
+
+## Rails 7.0.6 (June 29, 2023) ##
+
+*   No changes.
+
+
 ## Rails 7.0.5.1 (June 26, 2023) ##
 
 *   No changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc     2023-06-26 23:35:10.000000000 +0200
+++ new/README.rdoc     2023-09-09 21:09:43.000000000 +0200
@@ -239,7 +239,7 @@
 
   $ gem install activemodel
 
-Source code can be downloaded as part of the Rails project on GitHub
+Source code can be downloaded as part of the \Rails project on GitHub
 
 * https://github.com/rails/rails/tree/main/activemodel
 
@@ -257,7 +257,7 @@
 
 * https://api.rubyonrails.org
 
-Bug reports for the Ruby on Rails project can be filed here:
+Bug reports for the Ruby on \Rails project can be filed here:
 
 * https://github.com/rails/rails/issues
 
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_methods.rb 
new/lib/active_model/attribute_methods.rb
--- old/lib/active_model/attribute_methods.rb   2023-06-26 23:35:10.000000000 
+0200
+++ new/lib/active_model/attribute_methods.rb   2023-09-09 21:09:43.000000000 
+0200
@@ -415,7 +415,7 @@
             @prefix = prefix
             @suffix = suffix
             @parameters = parameters.nil? ? FORWARD_PARAMETERS : parameters
-            @regex = 
/^(?:#{Regexp.escape(@prefix)})(.*)(?:#{Regexp.escape(@suffix)})$/
+            @regex = 
/\A(?:#{Regexp.escape(@prefix)})(.*)(?:#{Regexp.escape(@suffix)})\z/
             @target = "#{@prefix}attribute#{@suffix}"
             @method_name = "#{prefix}%s#{suffix}"
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/error.rb 
new/lib/active_model/error.rb
--- old/lib/active_model/error.rb       2023-06-26 23:35:10.000000000 +0200
+++ new/lib/active_model/error.rb       2023-09-09 21:09:43.000000000 +0200
@@ -49,7 +49,7 @@
       defaults << :"errors.format"
       defaults << "%{attribute} %{message}"
 
-      attr_name = attribute.tr(".", "_").humanize
+      attr_name = attribute.remove(/\.base\z/).tr(".", "_").humanize
       attr_name = base_class.human_attribute_name(attribute, {
         default: attr_name,
         base: base,
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 2023-06-26 23:35:10.000000000 +0200
+++ new/lib/active_model/gem_version.rb 2023-09-09 21:09:43.000000000 +0200
@@ -9,8 +9,8 @@
   module VERSION
     MAJOR = 7
     MINOR = 0
-    TINY  = 5
-    PRE   = "1"
+    TINY  = 8
+    PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/type/binary.rb 
new/lib/active_model/type/binary.rb
--- old/lib/active_model/type/binary.rb 2023-06-26 23:35:10.000000000 +0200
+++ new/lib/active_model/type/binary.rb 2023-09-09 21:09:43.000000000 +0200
@@ -15,7 +15,9 @@
         if value.is_a?(Data)
           value.to_s
         else
-          super
+          value = super
+          value = value.b if ::String === value && value.encoding != 
Encoding::BINARY
+          value
         end
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/type/helpers/mutable.rb 
new/lib/active_model/type/helpers/mutable.rb
--- old/lib/active_model/type/helpers/mutable.rb        2023-06-26 
23:35:10.000000000 +0200
+++ new/lib/active_model/type/helpers/mutable.rb        2023-09-09 
21:09:43.000000000 +0200
@@ -4,10 +4,6 @@
   module Type
     module Helpers # :nodoc: all
       module Mutable
-        def immutable_value(value)
-          value.deep_dup.freeze
-        end
-
         def cast(value)
           deserialize(serialize(value))
         end
@@ -18,6 +14,10 @@
         def changed_in_place?(raw_old_value, new_value)
           raw_old_value != serialize(new_value)
         end
+
+        def mutable? # :nodoc:
+          true
+        end
       end
     end
   end
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  2023-06-26 23:35:10.000000000 +0200
+++ new/lib/active_model/type/value.rb  2023-09-09 21:09:43.000000000 +0200
@@ -121,8 +121,12 @@
       def assert_valid_value(_)
       end
 
-      def immutable_value(value) # :nodoc:
-        value
+      def serialized? # :nodoc:
+        false
+      end
+
+      def mutable? # :nodoc:
+        false
       end
 
       private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2023-06-26 23:35:10.000000000 +0200
+++ new/metadata        2023-09-09 21:09:43.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: activemodel
 version: !ruby/object:Gem::Version
-  version: 7.0.5.1
+  version: 7.0.8
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2023-06-26 00:00:00.000000000 Z
+date: 2023-09-09 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,14 +16,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.5.1
+        version: 7.0.8
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.5.1
+        version: 7.0.8
 description: A toolkit for building modeling frameworks like Active Record. 
Rich support
   for attributes, callbacks, validations, serialization, internationalization, 
and
   testing.
@@ -107,10 +107,10 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.5.1/activemodel/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v7.0.5.1/
+  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.8/activemodel/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v7.0.8/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v7.0.5.1/activemodel
+  source_code_uri: https://github.com/rails/rails/tree/v7.0.8/activemodel
   rubygems_mfa_required: 'true'
 post_install_message:
 rdoc_options: []
@@ -127,7 +127,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.3.3
+rubygems_version: 3.4.18
 signing_key:
 specification_version: 4
 summary: A toolkit for building modeling frameworks (part of Rails).

Reply via email to