chained_job 0.5.0 → 0.5.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: dd4890f548ef2ee47ff48180b593134f61b83fedc9017733346ab15d518d2c8d
4
- data.tar.gz: c315bdee23b062ba3834bd23f8fcf18f07b8c7ca111dff9082d1bd251a5071e7
3
+ metadata.gz: a8dd16e4b32b2941483694d35cd08b943be16d52f6277d8037276533f5d63825
4
+ data.tar.gz: c082fbc66b7272971fac822d28a7eb45b68fed500094d085e5c7e1c877c375a2
5
5
  SHA512:
6
- metadata.gz: 0205f904ea84911f3258ac4798f52077c9e61e6850165db93b01b461ecbbf734d385093741211583aabddffcdda4e2cd4bc560ec10033dde9d5467f0232a28f5
7
- data.tar.gz: 1e65c4a589d8db54ab53a76d80da2049a619945ed4a75428edf8aba28309a3e90b9ec222bb916fcd43842c945c38bf7fa9b881e9a5e2adefc90be92562fcf4eb
6
+ metadata.gz: 8dc323a9997040b42a8dd15f787bbc0785a7410c52e3061e13b9c1013e4526d08d597563a6b41e5663f7cb0b8941eb653116856a569b4c80f36e03a5340db624
7
+ data.tar.gz: 7f3751cd2dbb44aa22646ed90434fb21e5a06e348cd575e0cbacc3525d705cab3ec7d6ebdfedd0694b21450f477813019eb590217ab7ebd4f1fc4cc59214cd2f
@@ -52,10 +52,9 @@ module ChainedJob
52
52
  end
53
53
 
54
54
  def deserialized_argument
55
+ return unless serialized_argument
56
+
55
57
  Marshal.load(serialized_argument)
56
- rescue TypeError, ArgumentError
57
- # backward compatibility
58
- serialized_argument
59
58
  end
60
59
 
61
60
  def serialized_argument
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChainedJob
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chained_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mantas Kūjalis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-04-22 00:00:00.000000000 Z
12
+ date: 2021-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler