activejob 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/active_job/gem_version.rb +1 -1
- data/lib/active_job/instrumentation.rb +4 -1
- data/lib/active_job/test_helper.rb +2 -0
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35320cc54085adaeb2a5cdc283c0287992945e520ec24f2f6eb68690abe7f2c2
|
4
|
+
data.tar.gz: 26aa5b5976bb96e5571a66464b3d25d239a1197167b87a2673c33e67ded91013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cf40eaaa0a1b5003bdecaecd29a5deb1060998f405677fd1114599fcc95285d1173c2da125f3e5f3557e2773a71a77e49919e39b67a6cd8cdeeb01db37db48b
|
7
|
+
data.tar.gz: aca36b4e3c1348d096dcd9f8e033f18705f648d5f3d092e9a6882b9fd8c6a24bc322bd417d0792c9f7af5c8bebb277250e5c552fdb8b2fce946a0cfefb671888
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## Rails 6.1.1 (January 07, 2021) ##
|
2
|
+
|
3
|
+
* Make `retry_job` return the job that was created.
|
4
|
+
|
5
|
+
*Rafael Mendonça França*
|
6
|
+
|
7
|
+
* Include `ActiveSupport::Testing::Assertions` in `ActiveJob::TestHelpers`.
|
8
|
+
|
9
|
+
*Mikkel Malmberg*
|
10
|
+
|
11
|
+
|
1
12
|
## Rails 6.1.0 (December 09, 2020) ##
|
2
13
|
|
3
14
|
* Recover nano precision when serializing `Time`, `TimeWithZone` and `DateTime` objects.
|
@@ -18,11 +18,14 @@ module ActiveJob
|
|
18
18
|
private
|
19
19
|
def instrument(operation, payload = {}, &block)
|
20
20
|
enhanced_block = ->(event_payload) do
|
21
|
-
block.call if block
|
21
|
+
value = block.call if block
|
22
|
+
|
22
23
|
if defined?(@_halted_callback_hook_called) && @_halted_callback_hook_called
|
23
24
|
event_payload[:aborted] = true
|
24
25
|
@_halted_callback_hook_called = nil
|
25
26
|
end
|
27
|
+
|
28
|
+
value
|
26
29
|
end
|
27
30
|
|
28
31
|
ActiveSupport::Notifications.instrument \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activejob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 6.1.
|
19
|
+
version: 6.1.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 6.1.
|
26
|
+
version: 6.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: globalid
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,11 +99,11 @@ licenses:
|
|
99
99
|
- MIT
|
100
100
|
metadata:
|
101
101
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
102
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.1.
|
103
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.
|
102
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.1/activejob/CHANGELOG.md
|
103
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.1/
|
104
104
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
105
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.
|
106
|
-
post_install_message:
|
105
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.1/activejob
|
106
|
+
post_install_message:
|
107
107
|
rdoc_options: []
|
108
108
|
require_paths:
|
109
109
|
- lib
|
@@ -118,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
122
|
-
signing_key:
|
121
|
+
rubygems_version: 3.2.3
|
122
|
+
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Job framework with pluggable queues.
|
125
125
|
test_files: []
|