activejob-locking 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +8 -0
- data/lib/activejob/locking/base.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15052ea318537b160ab9d2c79d5c1b6ceb4547b756517985b39e1a2b5c97ed89
|
4
|
+
data.tar.gz: 3c3c9bfdf9e1626dde118b22bb98bae4de558725d8de25011df1f1aba4270abb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e41a1a0d8c9cab5779a106fa7be456576081aedfbd735d3a5c77adef4c9427dfc7c4e959127d2c0ce835119783125b95a3a4daf214479dea4091f3cc68a53e
|
7
|
+
data.tar.gz: 96a0c38e2c1741dccfd571f740cd8e338ec88e76dc611f7640622f8de334a9d2a2dc55abaee14ebd27db955230bc68edc4ff0f182f7391fdc1db8d07e2bae0fa
|
data/HISTORY.md
CHANGED
@@ -31,7 +31,11 @@ module ActiveJob
|
|
31
31
|
def adapter
|
32
32
|
@adapter ||= begin
|
33
33
|
# Make sure arguments are deserialized so calling lock key is safe
|
34
|
-
|
34
|
+
begin
|
35
|
+
deserialize_arguments_if_needed
|
36
|
+
rescue => exception
|
37
|
+
rescue_with_handler(exception) || raise
|
38
|
+
end
|
35
39
|
|
36
40
|
# Merge local and global options
|
37
41
|
merged_options = ActiveJob::Locking.options.dup.merge(self.class.lock_options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activejob-locking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
156
|
+
rubygems_version: 3.1.2
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: ActiveJob locking to control how jobs are enqueued and performed.
|