Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-activejob-7.0 for
openSUSE:Factory checked in at 2023-11-02 20:23:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activejob-7.0 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-activejob-7.0.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-activejob-7.0"
Thu Nov 2 20:23:14 2023 rev:9 rq:1122878 version:7.0.8
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-activejob-7.0/rubygem-activejob-7.0.changes
2023-07-03 17:43:14.608880386 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-activejob-7.0.new.17445/rubygem-activejob-7.0.changes
2023-11-02 20:23:42.540779067 +0100
@@ -1,0 +2,29 @@
+Thu Nov 2 15:33:09 UTC 2023 - Dan Äermák <[email protected]>
+
+- ## Rails 7.0.8 (September 09, 2023) ##
+
+* Fix Active Job log message to correctly report a job failed to enqueue
+ when the adapter raises an `ActiveJob::EnqueueError`.
+
+ *Ben Sheldon*
+
+## 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) ##
+
+* No changes.
+
+## Rails 7.0.6 (June 29, 2023) ##
+
+* Fix error Active Job passed class with `permitted?`.
+
+ *Alex Baldwin*
+
+
+-------------------------------------------------------------------
Old:
----
activejob-7.0.5.1.gem
New:
----
activejob-7.0.8.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-activejob-7.0.spec ++++++
--- /var/tmp/diff_new_pack.Eado1p/_old 2023-11-02 20:23:43.140801144 +0100
+++ /var/tmp/diff_new_pack.Eado1p/_new 2023-11-02 20:23:43.144801292 +0100
@@ -24,12 +24,11 @@
#
Name: rubygem-activejob-7.0
-Version: 7.0.5.1
+Version: 7.0.8
Release: 0
%define mod_name activejob
%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: Job framework with pluggable queues
License: MIT
-Group: Development/Languages/Ruby
%description
Declare job classes that can be run by a variety of queuing backends.
++++++ activejob-7.0.5.1.gem -> activejob-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:16.000000000 +0200
+++ new/CHANGELOG.md 2023-09-09 21:09:48.000000000 +0200
@@ -1,3 +1,33 @@
+## Rails 7.0.8 (September 09, 2023) ##
+
+* Fix Active Job log message to correctly report a job failed to enqueue
+ when the adapter raises an `ActiveJob::EnqueueError`.
+
+ *Ben Sheldon*
+
+
+## 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) ##
+
+* No changes.
+
+
+## Rails 7.0.6 (June 29, 2023) ##
+
+* Fix error Active Job passed class with `permitted?`.
+
+ *Alex Baldwin*
+
+
## Rails 7.0.5.1 (June 26, 2023) ##
* No changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2023-06-26 23:35:16.000000000 +0200
+++ new/README.md 2023-09-09 21:09:48.000000000 +0200
@@ -104,7 +104,7 @@
$ gem install activejob
```
-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/activejob
@@ -122,7 +122,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_job/arguments.rb
new/lib/active_job/arguments.rb
--- old/lib/active_job/arguments.rb 2023-06-26 23:35:16.000000000 +0200
+++ new/lib/active_job/arguments.rb 2023-09-09 21:09:48.000000000 +0200
@@ -112,7 +112,7 @@
result = serialize_hash(argument)
result[aj_hash_key] = symbol_keys
result
- when -> (arg) { arg.respond_to?(:permitted?) }
+ when -> (arg) { arg.respond_to?(:permitted?) && arg.respond_to?(:to_h)
}
serialize_indifferent_hash(argument.to_h)
else
Serializers.serialize(argument)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_job/exceptions.rb
new/lib/active_job/exceptions.rb
--- old/lib/active_job/exceptions.rb 2023-06-26 23:35:16.000000000 +0200
+++ new/lib/active_job/exceptions.rb 2023-09-09 21:09:48.000000000 +0200
@@ -100,9 +100,10 @@
end
end
- # Reschedules the job to be re-executed. This is useful in combination
- # with the +rescue_from+ option. When you rescue an exception from your job
- # you can ask Active Job to retry performing your job.
+ # Reschedules the job to be re-executed. This is useful in combination with
+ #
{rescue_from}[rdoc-ref:ActiveSupport::Rescuable::ClassMethods#rescue_from].
+ # When you rescue an exception from your job you can ask Active Job to
retry
+ # performing your job.
#
# ==== Options
# * <tt>:wait</tt> - Enqueues the job with the specified delay in seconds
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_job/execution.rb
new/lib/active_job/execution.rb
--- old/lib/active_job/execution.rb 2023-06-26 23:35:16.000000000 +0200
+++ new/lib/active_job/execution.rb 2023-09-09 21:09:48.000000000 +0200
@@ -4,6 +4,12 @@
require "active_job/arguments"
module ActiveJob
+ # = Active Job \Execution
+ #
+ # Provides methods to execute jobs immediately, and wraps job execution so
+ # that exceptions configured with
+ # {rescue_from}[rdoc-ref:ActiveSupport::Rescuable::ClassMethods#rescue_from]
+ # are handled.
module Execution
extend ActiveSupport::Concern
include ActiveSupport::Rescuable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_job/gem_version.rb
new/lib/active_job/gem_version.rb
--- old/lib/active_job/gem_version.rb 2023-06-26 23:35:16.000000000 +0200
+++ new/lib/active_job/gem_version.rb 2023-09-09 21:09:48.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_job/log_subscriber.rb
new/lib/active_job/log_subscriber.rb
--- old/lib/active_job/log_subscriber.rb 2023-06-26 23:35:16.000000000
+0200
+++ new/lib/active_job/log_subscriber.rb 2023-09-09 21:09:48.000000000
+0200
@@ -7,7 +7,7 @@
class LogSubscriber < ActiveSupport::LogSubscriber # :nodoc:
def enqueue(event)
job = event.payload[:job]
- ex = event.payload[:exception_object]
+ ex = event.payload[:exception_object] || job.enqueue_error
if ex
error do
@@ -26,7 +26,7 @@
def enqueue_at(event)
job = event.payload[:job]
- ex = event.payload[:exception_object]
+ ex = event.payload[:exception_object] || job.enqueue_error
if ex
error do
@@ -38,7 +38,7 @@
end
else
info do
- "Enqueued #{job.class.name} (Job ID: #{job.job_id}) to
#{queue_name(event)} at #{scheduled_at(event)}" + args_info(job)
+ "Enqueued #{job.class.name} (Job ID: #{job.job_id}) to
#{queue_name(event)} at #{scheduled_at(event).to_default_s}" + args_info(job)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/active_job/queue_name.rb
new/lib/active_job/queue_name.rb
--- old/lib/active_job/queue_name.rb 2023-06-26 23:35:16.000000000 +0200
+++ new/lib/active_job/queue_name.rb 2023-09-09 21:09:48.000000000 +0200
@@ -19,8 +19,7 @@
# end
#
# Can be given a block that will evaluate in the context of the job
- # allowing +self.arguments+ to be accessed so that a dynamic queue name
- # can be applied:
+ # so that a dynamic queue name can be applied:
#
# class PublishToFeedJob < ApplicationJob
# queue_as do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2023-06-26 23:35:16.000000000 +0200
+++ new/metadata 2023-09-09 21:09:48.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: activejob
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
- !ruby/object:Gem::Dependency
name: globalid
requirement: !ruby/object:Gem::Requirement
@@ -100,10 +100,10 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rails/rails/issues
- changelog_uri:
https://github.com/rails/rails/blob/v7.0.5.1/activejob/CHANGELOG.md
- documentation_uri: https://api.rubyonrails.org/v7.0.5.1/
+ changelog_uri:
https://github.com/rails/rails/blob/v7.0.8/activejob/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/activejob
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.8/activejob
rubygems_mfa_required: 'true'
post_install_message:
rdoc_options: []
@@ -120,7 +120,7 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.3.3
+rubygems_version: 3.4.18
signing_key:
specification_version: 4
summary: Job framework with pluggable queues.