Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-actionmailer-7.0 for 
openSUSE:Factory checked in at 2022-05-16 18:08:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionmailer-7.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actionmailer-7.0.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionmailer-7.0"

Mon May 16 18:08:26 2022 rev:4 rq:977360 version:7.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actionmailer-7.0/rubygem-actionmailer-7.0.changes
        2022-04-30 22:52:19.964207604 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actionmailer-7.0.new.1538/rubygem-actionmailer-7.0.changes
      2022-05-16 18:10:53.441391412 +0200
@@ -1,0 +2,7 @@
+Sun May 15 15:14:48 UTC 2022 - Manuel Schnitzer <[email protected]>
+
+- updated to version 7.0.3
+
+  * no changes
+
+-------------------------------------------------------------------

Old:
----
  actionmailer-7.0.2.4.gem

New:
----
  actionmailer-7.0.3.gem

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

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

++++++ actionmailer-7.0.2.4.gem -> actionmailer-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:41.000000000 +0200
+++ new/CHANGELOG.md    2022-05-09 15:40:44.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/action_mailer/base.rb 
new/lib/action_mailer/base.rb
--- old/lib/action_mailer/base.rb       2022-04-26 21:32:41.000000000 +0200
+++ new/lib/action_mailer/base.rb       2022-05-09 15:40:44.000000000 +0200
@@ -106,7 +106,7 @@
   #   You got a new note!
   #   <%= truncate(@note.body, length: 25) %>
   #
-  # If you need to access the subject, from or the recipients in the view, you 
can do that through message object:
+  # If you need to access the subject, from, or the recipients in the view, 
you can do that through message object:
   #
   #   You got a new note from <%= message.from %>!
   #   <%= truncate(@note.body, length: 25) %>
@@ -149,9 +149,9 @@
   #   mail = NotifierMailer.welcome(User.first)      # => an 
ActionMailer::MessageDelivery object
   #   mail.deliver_now                               # generates and sends the 
email now
   #
-  # The <tt>ActionMailer::MessageDelivery</tt> class is a wrapper around a 
delegate that will call
+  # The ActionMailer::MessageDelivery class is a wrapper around a delegate 
that will call
   # your method to generate the mail. If you want direct access to the 
delegator, or <tt>Mail::Message</tt>,
-  # you can call the <tt>message</tt> method on the 
<tt>ActionMailer::MessageDelivery</tt> object.
+  # you can call the <tt>message</tt> method on the 
ActionMailer::MessageDelivery object.
   #
   #   NotifierMailer.welcome(User.first).message     # => a Mail::Message 
object
   #
@@ -334,14 +334,37 @@
   #   end
   #
   # Callbacks in Action Mailer are implemented using
-  # <tt>AbstractController::Callbacks</tt>, so you can define and configure
+  # AbstractController::Callbacks, so you can define and configure
   # callbacks in the same manner that you would use callbacks in classes that
-  # inherit from <tt>ActionController::Base</tt>.
+  # inherit from ActionController::Base.
   #
   # Note that unless you have a specific reason to do so, you should prefer
   # using <tt>before_action</tt> rather than <tt>after_action</tt> in your
   # Action Mailer classes so that headers are parsed properly.
   #
+  # = Rescuing Errors
+  #
+  # +rescue+ blocks inside of a mailer method cannot rescue errors that occur
+  # outside of rendering -- for example, record deserialization errors in a
+  # background job, or errors from a third-party mail delivery service.
+  #
+  # To rescue errors that occur during any part of the mailing process, use
+  # {rescue_from}[rdoc-ref:ActiveSupport::Rescuable::ClassMethods#rescue_from]:
+  #
+  #   class NotifierMailer < ApplicationMailer
+  #     rescue_from ActiveJob::DeserializationError do
+  #       # ...
+  #     end
+  #
+  #     rescue_from "SomeThirdPartyService::ApiError" do
+  #       # ...
+  #     end
+  #
+  #     def notify(recipient)
+  #       mail(to: recipient, subject: "Notification")
+  #     end
+  #   end
+  #
   # = Previewing emails
   #
   # You can preview your email templates visually by adding a mailer preview 
file to the
@@ -493,28 +516,28 @@
       end
 
       # Register an Observer which will be notified when mail is delivered.
-      # Either a class, string or symbol can be passed in as the Observer.
+      # Either a class, string, or symbol can be passed in as the Observer.
       # If a string or symbol is passed in it will be camelized and 
constantized.
       def register_observer(observer)
         Mail.register_observer(observer_class_for(observer))
       end
 
       # Unregister a previously registered Observer.
-      # Either a class, string or symbol can be passed in as the Observer.
+      # Either a class, string, or symbol can be passed in as the Observer.
       # If a string or symbol is passed in it will be camelized and 
constantized.
       def unregister_observer(observer)
         Mail.unregister_observer(observer_class_for(observer))
       end
 
       # Register an Interceptor which will be called before mail is sent.
-      # Either a class, string or symbol can be passed in as the Interceptor.
+      # Either a class, string, or symbol can be passed in as the Interceptor.
       # If a string or symbol is passed in it will be camelized and 
constantized.
       def register_interceptor(interceptor)
         Mail.register_interceptor(observer_class_for(interceptor))
       end
 
       # Unregister a previously registered Interceptor.
-      # Either a class, string or symbol can be passed in as the Interceptor.
+      # Either a class, string, or symbol can be passed in as the Interceptor.
       # If a string or symbol is passed in it will be camelized and 
constantized.
       def unregister_interceptor(interceptor)
         Mail.unregister_interceptor(observer_class_for(interceptor))
@@ -624,6 +647,7 @@
         @_message = NullMail.new unless @_mail_was_called
       end
     end
+    ruby2_keywords(:process)
 
     class NullMail # :nodoc:
       def body; "" end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_mailer/gem_version.rb 
new/lib/action_mailer/gem_version.rb
--- old/lib/action_mailer/gem_version.rb        2022-04-26 21:32:41.000000000 
+0200
+++ new/lib/action_mailer/gem_version.rb        2022-05-09 15:40:44.000000000 
+0200
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module ActionMailer
-  # Returns the version of the currently loaded Action Mailer as a 
<tt>Gem::Version</tt>.
+  # Returns the currently loaded version of Action Mailer 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/action_mailer/message_delivery.rb 
new/lib/action_mailer/message_delivery.rb
--- old/lib/action_mailer/message_delivery.rb   2022-04-26 21:32:41.000000000 
+0200
+++ new/lib/action_mailer/message_delivery.rb   2022-05-09 15:40:44.000000000 
+0200
@@ -63,7 +63,7 @@
     # * <tt>:priority</tt> - Enqueues the email with the specified priority
     #
     # By default, the email will be enqueued using 
<tt>ActionMailer::MailDeliveryJob</tt>. Each
-    # <tt>ActionMailer::Base</tt> class can specify the job to use by setting 
the class variable
+    # ActionMailer::Base class can specify the job to use by setting the class 
variable
     # +delivery_job+.
     #
     #   class AccountRegistrationMailer < ApplicationMailer
@@ -89,7 +89,7 @@
     # * <tt>:priority</tt> - Enqueues the email with the specified priority
     #
     # By default, the email will be enqueued using 
<tt>ActionMailer::MailDeliveryJob</tt>. Each
-    # <tt>ActionMailer::Base</tt> class can specify the job to use by setting 
the class variable
+    # ActionMailer::Base class can specify the job to use by setting the class 
variable
     # +delivery_job+.
     #
     #   class AccountRegistrationMailer < ApplicationMailer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_mailer/railtie.rb 
new/lib/action_mailer/railtie.rb
--- old/lib/action_mailer/railtie.rb    2022-04-26 21:32:41.000000000 +0200
+++ new/lib/action_mailer/railtie.rb    2022-05-09 15:40:44.000000000 +0200
@@ -23,7 +23,6 @@
       options.stylesheets_dir ||= paths["public/stylesheets"].first
       options.show_previews = Rails.env.development? if 
options.show_previews.nil?
       options.cache_store ||= Rails.cache
-      options.smtp_settings ||= {}
 
       if options.show_previews
         options.preview_path ||= defined?(Rails.root) ? 
"#{Rails.root}/test/mailers/previews" : nil
@@ -46,9 +45,15 @@
           self.delivery_job = delivery_job.constantize
         end
 
-        if smtp_timeout = options.delete(:smtp_timeout)
-          options.smtp_settings[:open_timeout] ||= smtp_timeout
-          options.smtp_settings[:read_timeout] ||= smtp_timeout
+        if options.smtp_settings
+          self.smtp_settings = options.smtp_settings
+        end
+
+        smtp_timeout = options.delete(:smtp_timeout)
+
+        if self.smtp_settings && smtp_timeout
+          self.smtp_settings[:open_timeout] ||= smtp_timeout
+          self.smtp_settings[:read_timeout] ||= smtp_timeout
         end
 
         options.each { |k, v| send("#{k}=", v) }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_mailer/rescuable.rb 
new/lib/action_mailer/rescuable.rb
--- old/lib/action_mailer/rescuable.rb  2022-04-26 21:32:41.000000000 +0200
+++ new/lib/action_mailer/rescuable.rb  2022-05-09 15:40:44.000000000 +0200
@@ -20,7 +20,7 @@
     end
 
     private
-      def process(*)
+      def process(...)
         handle_exceptions do
           super
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_mailer/version.rb 
new/lib/action_mailer/version.rb
--- old/lib/action_mailer/version.rb    2022-04-26 21:32:41.000000000 +0200
+++ new/lib/action_mailer/version.rb    2022-05-09 15:40:44.000000000 +0200
@@ -3,7 +3,7 @@
 require_relative "gem_version"
 
 module ActionMailer
-  # Returns the version of the currently loaded Action Mailer as a
+  # Returns the currently loaded version of Action Mailer as a
   # <tt>Gem::Version</tt>.
   def self.version
     gem_version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2022-04-26 21:32:41.000000000 +0200
+++ new/metadata        2022-05-09 15:40:44.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: actionmailer
 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,56 +16,56 @@
     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
 - !ruby/object:Gem::Dependency
   name: actionpack
   requirement: !ruby/object:Gem::Requirement
     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
 - !ruby/object:Gem::Dependency
   name: actionview
   requirement: !ruby/object:Gem::Requirement
     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
 - !ruby/object:Gem::Dependency
   name: activejob
   requirement: !ruby/object:Gem::Requirement
     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
 - !ruby/object:Gem::Dependency
   name: mail
   requirement: !ruby/object:Gem::Requirement
@@ -178,10 +178,10 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rails/rails/issues
-  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.2.4/actionmailer/CHANGELOG.md
-  documentation_uri: https://api.rubyonrails.org/v7.0.2.4/
+  changelog_uri: 
https://github.com/rails/rails/blob/v7.0.3/actionmailer/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/actionmailer
+  source_code_uri: https://github.com/rails/rails/tree/v7.0.3/actionmailer
   rubygems_mfa_required: 'true'
 post_install_message:
 rdoc_options: []
@@ -199,7 +199,7 @@
       version: '0'
 requirements:
 - none
-rubygems_version: 3.1.6
+rubygems_version: 3.3.7
 signing_key:
 specification_version: 4
 summary: Email composition and delivery framework (part of Rails).

Reply via email to