delayed_job_extras 0.9.16 → 0.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/delayed_job_extras/job.rb +2 -3
- metadata +2 -2
@@ -11,13 +11,12 @@ module Delayed
|
|
11
11
|
|
12
12
|
def deserialize_with_extras(source)
|
13
13
|
begin
|
14
|
-
|
14
|
+
source.scan(/!ruby\/object:(\S+)\s/).flatten.each do |x|
|
15
15
|
x.strip!
|
16
|
-
# puts "x: '#{x}'"
|
17
16
|
x.to_s.constantize
|
18
17
|
end
|
19
18
|
rescue Exception => e
|
20
|
-
|
19
|
+
raise e
|
21
20
|
end
|
22
21
|
deserialize_without_extras(source)
|
23
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_job_extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-08 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|