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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e8ecd60ff8f673ab2711ef5b6b634ce5828160113e8ac5eec732d71bc691660
4
- data.tar.gz: 0207aac145fea7328f0afbe4680413712bbf1f1bd7a400d0b19f178ecf21024f
3
+ metadata.gz: 35320cc54085adaeb2a5cdc283c0287992945e520ec24f2f6eb68690abe7f2c2
4
+ data.tar.gz: 26aa5b5976bb96e5571a66464b3d25d239a1197167b87a2673c33e67ded91013
5
5
  SHA512:
6
- metadata.gz: bf88c0a034e81a6d1a75fa95b37b790647eac95a4f3bfdef7b93bb0880d80e7e040a2eb9afe735544ed11ffdd7337eb7f5bcdf8fe2f3c38045ed5319b8bf5e02
7
- data.tar.gz: 4fbc6a306f542ba1dbb749e1defb085bd52c691b6287c6ef3e10a8bfd527f8e85914c162b5728f47e08271f6367f182195cf30fb6a7c8ba4c2b5af211b4e2b7d
6
+ metadata.gz: 6cf40eaaa0a1b5003bdecaecd29a5deb1060998f405677fd1114599fcc95285d1173c2da125f3e5f3557e2773a71a77e49919e39b67a6cd8cdeeb01db37db48b
7
+ data.tar.gz: aca36b4e3c1348d096dcd9f8e033f18705f648d5f3d092e9a6882b9fd8c6a24bc322bd417d0792c9f7af5c8bebb277250e5c552fdb8b2fce946a0cfefb671888
@@ -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.
@@ -9,7 +9,7 @@ module ActiveJob
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
- TINY = 0
12
+ TINY = 1
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -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 \
@@ -9,6 +9,8 @@ module ActiveJob
9
9
  :performed_jobs, :performed_jobs=,
10
10
  to: :queue_adapter
11
11
 
12
+ include ActiveSupport::Testing::Assertions
13
+
12
14
  module TestQueueAdapter
13
15
  extend ActiveSupport::Concern
14
16
 
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.0
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: 2020-12-09 00:00:00.000000000 Z
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.0
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.0
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.0/activejob/CHANGELOG.md
103
- documentation_uri: https://api.rubyonrails.org/v6.1.0/
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.0/activejob
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.1.4
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: []