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 2022-05-16 18:08:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activemodel-7.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-activemodel-7.0.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-activemodel-7.0"

Mon May 16 18:08:30 2022 rev:4 rq:977365 version:7.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activemodel-7.0/rubygem-activemodel-7.0.changes
  2022-04-30 22:52:26.600216581 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activemodel-7.0.new.1538/rubygem-activemodel-7.0.changes
        2022-05-16 18:10:56.885394151 +0200
@@ -1,0 +2,7 @@
+Sun May 15 15:18:44 UTC 2022 - Manuel Schnitzer <mschnit...@suse.com>
+
+- updated to version 7.0.3
+
+  * no changes
+
+-------------------------------------------------------------------

Old:
----
  activemodel-7.0.2.4.gem

New:
----
  activemodel-7.0.3.gem

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

Other differences:
------------------
++++++ rubygem-activemodel-7.0.spec ++++++
--- /var/tmp/diff_new_pack.RlLl7e/_old  2022-05-16 18:10:57.301394482 +0200
+++ /var/tmp/diff_new_pack.RlLl7e/_new  2022-05-16 18:10:57.305394484 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-activemodel-7.0
-Version:        7.0.2.4
+Version:        7.0.3
 Release:        0
 %define mod_name activemodel
 %define mod_full_name %{mod_name}-%{version}

++++++ activemodel-7.0.2.4.gem -> activemodel-7.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2022-04-26 21:32:33.000000000 +0200
+++ new/CHANGELOG.md    2022-05-09 15:39:49.000000000 +0200
@@ -1,3 +1,8 @@
+## Rails 7.0.3 (May 09, 2022) ##
+
+*   No changes.
+
+
 ## Rails 7.0.2.4 (April 26, 2022) ##
 
 *   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/api.rb new/lib/active_model/api.rb
--- old/lib/active_model/api.rb 2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/api.rb 2022-05-09 15:39:49.000000000 +0200
@@ -5,7 +5,7 @@
   #
   # Includes the required interface for an object to interact with
   # Action Pack and Action View, using different Active Model modules.
-  # It includes model name introspections, conversions, translations and
+  # It includes model name introspections, conversions, translations, and
   # validations. Besides that, it allows you to initialize the object with a
   # hash of attributes, pretty much like Active Record does.
   #
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   2022-04-26 21:32:33.000000000 
+0200
+++ new/lib/active_model/attribute_methods.rb   2022-05-09 15:39:49.000000000 
+0200
@@ -253,7 +253,7 @@
       # <tt>ActiveModel::AttributeMethods</tt>.
       #
       # To use, pass attribute names (as strings or symbols). Be sure to 
declare
-      # +define_attribute_methods+ after you define any prefix, suffix or affix
+      # +define_attribute_methods+ after you define any prefix, suffix, or 
affix
       # methods, or they will not hook in.
       #
       #   class Person
@@ -467,6 +467,7 @@
     def attribute_missing(match, *args, &block)
       __send__(match.target, match.attr_name, *args, &block)
     end
+    ruby2_keywords(:attribute_missing)
 
     # A +Person+ instance with a +name+ attribute can ask
     # <tt>person.respond_to?(:name)</tt>, <tt>person.respond_to?(:name=)</tt>,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/callbacks.rb 
new/lib/active_model/callbacks.rb
--- old/lib/active_model/callbacks.rb   2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/callbacks.rb   2022-05-09 15:39:49.000000000 +0200
@@ -32,7 +32,7 @@
   #     end
   #   end
   #
-  # Then in your class, you can use the +before_create+, +after_create+ and
+  # Then in your class, you can use the +before_create+, +after_create+, and
   # +around_create+ methods, just as you would in an Active Record model.
   #
   #   before_create :action_before_create
@@ -84,7 +84,7 @@
     #   define_model_callbacks :update,  only: :before
     #   define_model_callbacks :destroy, only: :around
     #
-    # Would create +after_create+, +before_update+ and +around_destroy+ methods
+    # Would create +after_create+, +before_update+, and +around_destroy+ 
methods
     # only.
     #
     # You can pass in a class to before_<type>, after_<type> and around_<type>,
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       2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/error.rb       2022-05-09 15:39:49.000000000 +0200
@@ -159,7 +159,7 @@
       self.class.full_message(attribute, message, @base)
     end
 
-    # See if error matches provided +attribute+, +type+ and +options+.
+    # See if error matches provided +attribute+, +type+, and +options+.
     #
     # Omitted params are not checked for a match.
     def match?(attribute, type = nil, **options)
@@ -176,7 +176,7 @@
       true
     end
 
-    # See if error matches provided +attribute+, +type+ and +options+ exactly.
+    # See if error matches provided +attribute+, +type+, and +options+ exactly.
     #
     # All params must be equal to Error's own attributes to be considered a
     # strict match.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/errors.rb 
new/lib/active_model/errors.rb
--- old/lib/active_model/errors.rb      2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/errors.rb      2022-05-09 15:39:49.000000000 +0200
@@ -48,9 +48,9 @@
   #
   # The last three methods are required in your object for +Errors+ to be
   # able to generate error messages correctly and also handle multiple
-  # languages. Of course, if you extend your object with 
<tt>ActiveModel::Translation</tt>
+  # languages. Of course, if you extend your object with 
ActiveModel::Translation
   # you will not need to implement the last two. Likewise, using
-  # <tt>ActiveModel::Validations</tt> will handle the validation related 
methods
+  # ActiveModel::Validations will handle the validation related methods
   # for you.
   #
   # The above allows you to do:
@@ -102,11 +102,14 @@
     # Copies the errors from <tt>other</tt>.
     # For copying errors but keep <tt>@base</tt> as is.
     #
-    # other - The ActiveModel::Errors instance.
+    # ==== Parameters
     #
-    # Examples
+    # * +other+ - The ActiveModel::Errors instance.
+    #
+    # ==== Examples
     #
     #   person.errors.copy!(other)
+    #
     def copy!(other) # :nodoc:
       @errors = other.errors.deep_dup
       @errors.each { |error|
@@ -114,14 +117,15 @@
       }
     end
 
-    # Imports one error
+    # Imports one error.
     # Imported errors are wrapped as a NestedError,
     # providing access to original error object.
     # If attribute or type needs to be overridden, use +override_options+.
     #
-    # override_options - Hash
-    # @option override_options [Symbol] :attribute Override the attribute the 
error belongs to
-    # @option override_options [Symbol] :type Override type of the error.
+    # ==== Options
+    #
+    # * +:attribute+ - Override the attribute the error belongs to.
+    # * +:type+ - Override type of the error.
     def import(error, override_options = {})
       [:attribute, :type].each do |key|
         if override_options.key?(key)
@@ -132,13 +136,16 @@
     end
 
     # Merges the errors from <tt>other</tt>,
-    # each <tt>Error</tt> wrapped as <tt>NestedError</tt>.
+    # each Error wrapped as NestedError.
     #
-    # other - The ActiveModel::Errors instance.
+    # ==== Parameters
     #
-    # Examples
+    # * +other+ - The ActiveModel::Errors instance.
+    #
+    # ==== Examples
     #
     #   person.errors.merge!(other)
+    #
     def merge!(other)
       return errors if equal?(other)
 
@@ -147,7 +154,7 @@
       }
     end
 
-    # Search for errors matching +attribute+, +type+ or +options+.
+    # Search for errors matching +attribute+, +type+, or +options+.
     #
     # Only supplied params will be matched.
     #
@@ -427,7 +434,7 @@
     # if it's not there, it's looked up in 
<tt>activemodel.errors.models.MODEL.MESSAGE</tt> and if
     # that is not there also, it returns the translation of the default message
     # (e.g. <tt>activemodel.errors.messages.MESSAGE</tt>). The translated model
-    # name, translated attribute name and the value are available for
+    # name, translated attribute name, and the value are available for
     # interpolation.
     #
     # When using inheritance in your models, it will check all the inherited
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 2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/gem_version.rb 2022-05-09 15:39:49.000000000 +0200
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module ActiveModel
-  # Returns the version of the currently loaded \Active \Model as a 
<tt>Gem::Version</tt>
+  # Returns the currently loaded version of \Active \Model as a 
<tt>Gem::Version</tt>.
   def self.gem_version
     Gem::Version.new VERSION::STRING
   end
@@ -9,8 +9,8 @@
   module VERSION
     MAJOR = 7
     MINOR = 0
-    TINY  = 2
-    PRE   = "4"
+    TINY  = 3
+    PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/model.rb 
new/lib/active_model/model.rb
--- old/lib/active_model/model.rb       2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/model.rb       2022-05-09 15:39:49.000000000 +0200
@@ -3,8 +3,8 @@
 module ActiveModel
   # == Active \Model \Basic \Model
   #
-  # Allows implementing models similar to <tt>ActiveRecord::Base</tt>.
-  # Includes <tt>ActiveModel::API</tt> for the required interface for an
+  # Allows implementing models similar to ActiveRecord::Base.
+  # Includes ActiveModel::API for the required interface for an
   # object to interact with Action Pack and Action View, but can be
   # extended with other functionalities.
   #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/serialization.rb 
new/lib/active_model/serialization.rb
--- old/lib/active_model/serialization.rb       2022-04-26 21:32:33.000000000 
+0200
+++ new/lib/active_model/serialization.rb       2022-05-09 15:39:49.000000000 
+0200
@@ -123,7 +123,7 @@
     #   user.serializable_hash(include: { notes: { only: 'title' }})
     #   # => {"name" => "Napoleon", "notes" => [{"title"=>"Battle of 
Austerlitz"}]}
     def serializable_hash(options = nil)
-      attribute_names = self.attribute_names
+      attribute_names = attribute_names_for_serialization
 
       return serializable_attributes(attribute_names) if options.blank?
 
@@ -148,12 +148,11 @@
       hash
     end
 
-    # Returns an array of attribute names as strings
-    def attribute_names # :nodoc:
-      attributes.keys
-    end
-
     private
+      def attribute_names_for_serialization
+        attributes.keys
+      end
+
       # Hook method defining how an attribute value should be retrieved for
       # serialization. By default this is assumed to be an instance named after
       # the attribute. Override this method in subclasses should you need to
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 2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/translation.rb 2022-05-09 15:39:49.000000000 +0200
@@ -22,7 +22,7 @@
   module Translation
     include ActiveModel::Naming
 
-    # Returns the +i18n_scope+ for the class. Overwrite if you want custom 
lookup.
+    # Returns the +i18n_scope+ for the class. Override if you want custom 
lookup.
     def i18n_scope
       :activemodel
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/absence.rb 
new/lib/active_model/validations/absence.rb
--- old/lib/active_model/validations/absence.rb 2022-04-26 21:32:33.000000000 
+0200
+++ new/lib/active_model/validations/absence.rb 2022-05-09 15:39:49.000000000 
+0200
@@ -24,7 +24,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_absence_of(*attr_names)
         validates_with AbsenceValidator, _merge_attributes(attr_names)
       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      2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/acceptance.rb      2022-05-09 
15:39:49.000000000 +0200
@@ -104,7 +104,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information.
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_acceptance_of(*attr_names)
         validates_with AcceptanceValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/callbacks.rb 
new/lib/active_model/validations/callbacks.rb
--- old/lib/active_model/validations/callbacks.rb       2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/callbacks.rb       2022-05-09 
15:39:49.000000000 +0200
@@ -112,7 +112,7 @@
       end
 
     private
-      # Overwrite run validations to include callbacks.
+      # Override run_validations! to include callbacks.
       def run_validations!
         _run_validation_callbacks { super }
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/comparison.rb 
new/lib/active_model/validations/comparison.rb
--- old/lib/active_model/validations/comparison.rb      2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/comparison.rb      2022-05-09 
15:39:49.000000000 +0200
@@ -56,7 +56,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+ .
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       #
       # The validator requires at least one of the following checks to be 
supplied.
       # Each will accept a proc, value, or a symbol which corresponds to a 
method:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/confirmation.rb 
new/lib/active_model/validations/confirmation.rb
--- old/lib/active_model/validations/confirmation.rb    2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/confirmation.rb    2022-05-09 
15:39:49.000000000 +0200
@@ -71,7 +71,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_confirmation_of(*attr_names)
         validates_with ConfirmationValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/exclusion.rb 
new/lib/active_model/validations/exclusion.rb
--- old/lib/active_model/validations/exclusion.rb       2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/exclusion.rb       2022-05-09 
15:39:49.000000000 +0200
@@ -29,8 +29,8 @@
       #
       # Configuration options:
       # * <tt>:in</tt> - An enumerable object of items that the value shouldn't
-      #   be part of. This can be supplied as a proc, lambda or symbol which 
returns an
-      #   enumerable. If the enumerable is a numerical, time or datetime range 
the test
+      #   be part of. This can be supplied as a proc, lambda, or symbol which 
returns an
+      #   enumerable. If the enumerable is a numerical, time, or datetime 
range the test
       #   is performed with <tt>Range#cover?</tt>, otherwise with 
<tt>include?</tt>. When
       #   using a proc or lambda the instance under validation is passed as an 
argument.
       # * <tt>:within</tt> - A synonym(or alias) for <tt>:in</tt>
@@ -40,7 +40,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_exclusion_of(*attr_names)
         validates_with ExclusionValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/format.rb 
new/lib/active_model/validations/format.rb
--- old/lib/active_model/validations/format.rb  2022-04-26 21:32:33.000000000 
+0200
+++ new/lib/active_model/validations/format.rb  2022-05-09 15:39:49.000000000 
+0200
@@ -104,7 +104,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_format_of(*attr_names)
         validates_with FormatValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/inclusion.rb 
new/lib/active_model/validations/inclusion.rb
--- old/lib/active_model/validations/inclusion.rb       2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/inclusion.rb       2022-05-09 
15:39:49.000000000 +0200
@@ -28,8 +28,8 @@
       #
       # Configuration options:
       # * <tt>:in</tt> - An enumerable object of available items. This can be
-      #   supplied as a proc, lambda or symbol which returns an enumerable. If 
the
-      #   enumerable is a numerical, time or datetime range the test is 
performed
+      #   supplied as a proc, lambda, or symbol which returns an enumerable. 
If the
+      #   enumerable is a numerical, time, or datetime range the test is 
performed
       #   with <tt>Range#cover?</tt>, otherwise with <tt>include?</tt>. When 
using
       #   a proc or lambda the instance under validation is passed as an 
argument.
       # * <tt>:within</tt> - A synonym(or alias) for <tt>:in</tt>
@@ -38,7 +38,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_inclusion_of(*attr_names)
         validates_with InclusionValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/length.rb 
new/lib/active_model/validations/length.rb
--- old/lib/active_model/validations/length.rb  2022-04-26 21:32:33.000000000 
+0200
+++ new/lib/active_model/validations/length.rb  2022-05-09 15:39:49.000000000 
+0200
@@ -117,8 +117,8 @@
       #   <tt>too_long</tt>/<tt>too_short</tt>/<tt>wrong_length</tt> message.
       #
       # There is also a list of default options supported by every validator:
-      # +:if+, +:unless+, +:on+ and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # +:if+, +:unless+, +:on+, and +:strict+.
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_length_of(*attr_names)
         validates_with LengthValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/numericality.rb 
new/lib/active_model/validations/numericality.rb
--- old/lib/active_model/validations/numericality.rb    2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/numericality.rb    2022-05-09 
15:39:49.000000000 +0200
@@ -183,7 +183,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+ .
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       #
       # The following checks can also be supplied with a proc or a symbol which
       # corresponds to a method:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/presence.rb 
new/lib/active_model/validations/presence.rb
--- old/lib/active_model/validations/presence.rb        2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/presence.rb        2022-05-09 
15:39:49.000000000 +0200
@@ -30,7 +30,7 @@
       #
       # There is also a list of default options supported by every validator:
       # +:if+, +:unless+, +:on+, +:allow_nil+, +:allow_blank+, and +:strict+.
-      # See <tt>ActiveModel::Validations#validates</tt> for more information
+      # See ActiveModel::Validations::ClassMethods#validates for more 
information.
       def validates_presence_of(*attr_names)
         validates_with PresenceValidator, _merge_attributes(attr_names)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/validates.rb 
new/lib/active_model/validations/validates.rb
--- old/lib/active_model/validations/validates.rb       2022-04-26 
21:32:33.000000000 +0200
+++ new/lib/active_model/validations/validates.rb       2022-05-09 
15:39:49.000000000 +0200
@@ -78,14 +78,14 @@
       #   or an array of symbols. (e.g. <tt>on: :create</tt> or
       #   <tt>on: :custom_validation_context</tt> or
       #   <tt>on: [:create, :custom_validation_context]</tt>)
-      # * <tt>:if</tt> - Specifies a method, proc or string to call to 
determine
+      # * <tt>:if</tt> - Specifies a method, proc, or string to call to 
determine
       #   if the validation should occur (e.g. <tt>if: :allow_validation</tt>,
       #   or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The 
method,
       #   proc or string should return or evaluate to a +true+ or +false+ 
value.
-      # * <tt>:unless</tt> - Specifies a method, proc or string to call to 
determine
+      # * <tt>:unless</tt> - Specifies a method, proc, or string to call to 
determine
       #   if the validation should not occur (e.g. <tt>unless: 
:skip_validation</tt>,
       #   or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The
-      #   method, proc or string should return or evaluate to a +true+ or
+      #   method, proc, or string should return or evaluate to a +true+ or
       #   +false+ value.
       # * <tt>:allow_nil</tt> - Skip validation if the attribute is +nil+.
       # * <tt>:allow_blank</tt> - Skip validation if the attribute is blank.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations/with.rb 
new/lib/active_model/validations/with.rb
--- old/lib/active_model/validations/with.rb    2022-04-26 21:32:33.000000000 
+0200
+++ new/lib/active_model/validations/with.rb    2022-05-09 15:39:49.000000000 
+0200
@@ -51,16 +51,16 @@
       #   or an array of symbols. (e.g. <tt>on: :create</tt> or
       #   <tt>on: :custom_validation_context</tt> or
       #   <tt>on: [:create, :custom_validation_context]</tt>)
-      # * <tt>:if</tt> - Specifies a method, proc or string to call to 
determine
+      # * <tt>:if</tt> - Specifies a method, proc, or string to call to 
determine
       #   if the validation should occur (e.g. <tt>if: :allow_validation</tt>,
       #   or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>).
-      #   The method, proc or string should return or evaluate to a +true+ or
+      #   The method, proc, or string should return or evaluate to a +true+ or
       #   +false+ value.
-      # * <tt>:unless</tt> - Specifies a method, proc or string to call to
+      # * <tt>:unless</tt> - Specifies a method, proc, or string to call to
       #   determine if the validation should not occur
       #   (e.g. <tt>unless: :skip_validation</tt>, or
       #   <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>).
-      #   The method, proc or string should return or evaluate to a +true+ or
+      #   The method, proc, or string should return or evaluate to a +true+ or
       #   +false+ value.
       # * <tt>:strict</tt> - Specifies whether validation should be strict.
       #   See <tt>ActiveModel::Validations#validates!</tt> for more 
information.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validations.rb 
new/lib/active_model/validations.rb
--- old/lib/active_model/validations.rb 2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/validations.rb 2022-05-09 15:39:49.000000000 +0200
@@ -32,7 +32,7 @@
   #   person.errors.messages          # => {first_name:["starts with z."]}
   #
   # Note that <tt>ActiveModel::Validations</tt> automatically adds an +errors+
-  # method to your instances initialized with a new 
<tt>ActiveModel::Errors</tt>
+  # method to your instances initialized with a new ActiveModel::Errors
   # object, so there is no need for you to do this manually.
   module Validations
     extend ActiveSupport::Concern
@@ -73,14 +73,14 @@
       #   <tt>on: [:create, :custom_validation_context]</tt>)
       # * <tt>:allow_nil</tt> - Skip validation if attribute is +nil+.
       # * <tt>:allow_blank</tt> - Skip validation if attribute is blank.
-      # * <tt>:if</tt> - Specifies a method, proc or string to call to 
determine
+      # * <tt>:if</tt> - Specifies a method, proc, or string to call to 
determine
       #   if the validation should occur (e.g. <tt>if: :allow_validation</tt>,
       #   or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The 
method,
       #   proc or string should return or evaluate to a +true+ or +false+ 
value.
-      # * <tt>:unless</tt> - Specifies a method, proc or string to call to
+      # * <tt>:unless</tt> - Specifies a method, proc, or string to call to
       #   determine if the validation should not occur (e.g. <tt>unless: 
:skip_validation</tt>,
       #   or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The
-      #   method, proc or string should return or evaluate to a +true+ or 
+false+
+      #   method, proc, or string should return or evaluate to a +true+ or 
+false+
       #   value.
       def validates_each(*attr_names, &block)
         validates_with BlockValidator, _merge_attributes(attr_names), &block
@@ -137,14 +137,14 @@
       #   or an array of symbols. (e.g. <tt>on: :create</tt> or
       #   <tt>on: :custom_validation_context</tt> or
       #   <tt>on: [:create, :custom_validation_context]</tt>)
-      # * <tt>:if</tt> - Specifies a method, proc or string to call to 
determine
+      # * <tt>:if</tt> - Specifies a method, proc, or string to call to 
determine
       #   if the validation should occur (e.g. <tt>if: :allow_validation</tt>,
       #   or <tt>if: Proc.new { |user| user.signup_step > 2 }</tt>). The 
method,
       #   proc or string should return or evaluate to a +true+ or +false+ 
value.
-      # * <tt>:unless</tt> - Specifies a method, proc or string to call to
+      # * <tt>:unless</tt> - Specifies a method, proc, or string to call to
       #   determine if the validation should not occur (e.g. <tt>unless: 
:skip_validation</tt>,
       #   or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The
-      #   method, proc or string should return or evaluate to a +true+ or 
+false+
+      #   method, proc, or string should return or evaluate to a +true+ or 
+false+
       #   value.
       #
       # NOTE: Calling +validate+ multiple times on the same method will 
overwrite previous definitions.
@@ -241,7 +241,7 @@
       #   class Person
       #     include ActiveModel::Validations
       #
-      #     attr_accessor :name , :age
+      #     attr_accessor :name, :age
       #
       #     validates_presence_of :name
       #     validates_inclusion_of :age, in: 0..99
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/validator.rb 
new/lib/active_model/validator.rb
--- old/lib/active_model/validator.rb   2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/validator.rb   2022-05-09 15:39:49.000000000 +0200
@@ -65,7 +65,7 @@
   # life cycle, and not on each validation run.
   #
   # The easiest way to add custom validators for validating individual 
attributes
-  # is with the convenient <tt>ActiveModel::EachValidator</tt>.
+  # is with the convenient ActiveModel::EachValidator.
   #
   #   class TitleValidator < ActiveModel::EachValidator
   #     def validate_each(record, attribute, value)
@@ -74,7 +74,7 @@
   #   end
   #
   # This can now be used in combination with the +validates+ method
-  # (see <tt>ActiveModel::Validations::ClassMethods.validates</tt> for more on 
this).
+  # (see ActiveModel::Validations::ClassMethods#validates for more on this).
   #
   #   class Person
   #     include ActiveModel::Validations
@@ -126,7 +126,7 @@
 
   # +EachValidator+ is a validator which iterates through the attributes given
   # in the options hash invoking the <tt>validate_each</tt> method passing in 
the
-  # record, attribute and value.
+  # record, attribute, and value.
   #
   # All \Active \Model validations are built on top of this validator.
   class EachValidator < Validator
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_model/version.rb 
new/lib/active_model/version.rb
--- old/lib/active_model/version.rb     2022-04-26 21:32:33.000000000 +0200
+++ new/lib/active_model/version.rb     2022-05-09 15:39:49.000000000 +0200
@@ -3,7 +3,7 @@
 require_relative "gem_version"
 
 module ActiveModel
-  # Returns the version of the currently loaded \Active \Model as a 
<tt>Gem::Version</tt>
+  # Returns the currently loaded version of \Active \Model as a 
<tt>Gem::Version</tt>.
   def self.version
     gem_version
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2022-04-26 21:32:33.000000000 +0200
+++ new/metadata        2022-05-09 15:39:49.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: activemodel
 version: !ruby/object:Gem::Version
-  version: 7.0.2.4
+  version: 7.0.3
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-04-26 00:00:00.000000000 Z
+date: 2022-05-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.2.4
+        version: 7.0.3
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 7.0.2.4
+        version: 7.0.3
 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.2.4/activemodel/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v7.0.2.4/
+  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.3/activemodel/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v7.0.3/
   mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
-  source_code_uri: https://github.com/rails/rails/tree/v7.0.2.4/activemodel
+  source_code_uri: https://github.com/rails/rails/tree/v7.0.3/activemodel
   rubygems_mfa_required: 'true'
 post_install_message:
 rdoc_options: []
@@ -127,7 +127,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.1.6
+rubygems_version: 3.3.7
 signing_key:
 specification_version: 4
 summary: A toolkit for building modeling frameworks (part of Rails).

Reply via email to