coney_island 0.12.5 → 0.12.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coney_island/job.rb +2 -0
- data/lib/coney_island/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bf864be446b8905ecbde4fd915e57f78f0ca893
|
4
|
+
data.tar.gz: 659d143fc0b217961a956e2471816910bfb7de43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c60e5528a7180b9cd36a33d657634f68b3ee8a3b307289a4997c6015cf00831388683c1d9ed8a4c2b63e63b207cdb3478ce77a4814b30d9b33716416f043ac01
|
7
|
+
data.tar.gz: f080ad55e2d15b6a40e5201a96989dd29e3fa534b4921268c4ae77198b903508fba857b858019e2c57982c53bd85788345e6a6a6bbe2049726038a2fd8e398fb
|
data/lib/coney_island/job.rb
CHANGED
@@ -17,6 +17,8 @@ module ConeyIsland
|
|
17
17
|
@class_name = args['klass']
|
18
18
|
@klass = @class_name.constantize
|
19
19
|
@method_args = args['args']
|
20
|
+
# Symbolize hash keys for consistency and for keyword arguments
|
21
|
+
@method_args.each { |v| v.symbolize_keys! if v.is_a?(Hash) }
|
20
22
|
@attempts = args['attempt_count'] || 1
|
21
23
|
@retry_limit = args['retry_limit'] || 3
|
22
24
|
@retry_on_exception = args['retry_on_exception']
|
data/lib/coney_island/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coney_island
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-08-
|
13
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|