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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be52bd8f794ad9f15a6a66dfda55233ee68348f1a67a84985586215a8ad257a2
4
- data.tar.gz: 24b93c41cff4548b2aa6fd128cc67ec62ea1da329f1f2dae4fa0bac2418e23b3
3
+ metadata.gz: 15052ea318537b160ab9d2c79d5c1b6ceb4547b756517985b39e1a2b5c97ed89
4
+ data.tar.gz: 3c3c9bfdf9e1626dde118b22bb98bae4de558725d8de25011df1f1aba4270abb
5
5
  SHA512:
6
- metadata.gz: 9755a392e33e9bba7ce7ac809d2b6ff82029fe62ed17cfdc90d6cde3a0b389e6d95588aac6d0d957fbd91c1ea8f067038d16e68ae39ea6c6d5c567213c6407fb
7
- data.tar.gz: 547262df7cae0c84637fe012fa64e253caf71fbf1586ca4393960af51ce44c4baa97377d25fbdf0d128d558ba738bc870f446e09a899d2a76317bf37f1da2c42
6
+ metadata.gz: 75e41a1a0d8c9cab5779a106fa7be456576081aedfbd735d3a5c77adef4c9427dfc7c4e959127d2c0ce835119783125b95a3a4daf214479dea4091f3cc68a53e
7
+ data.tar.gz: 96a0c38e2c1741dccfd571f740cd8e338ec88e76dc611f7640622f8de334a9d2a2dc55abaee14ebd27db955230bc68edc4ff0f182f7391fdc1db8d07e2bae0fa
data/HISTORY.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.6.1 (2020-04-01)
2
+
3
+ - Support Rails exception discarding when deserializing (Mattias Pfeiffer)
4
+
5
+ ## 0.6.0 (2019-05-19)
6
+
7
+ - Update for Rails 6.x
8
+
1
9
  ## 0.5.1 (2017-10-08)
2
10
 
3
11
  - Loosen activejob dependency to work with ActiveJob 5.x
@@ -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
- deserialize_arguments_if_needed
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.0
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: 2019-05-07 00:00:00.000000000 Z
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.0.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.