acidic_job 0.5.1 → 0.5.2

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: 84a76328fcff18be9e2302440dc2bc7284764ba94737fbf5044c9d7111902fa9
4
- data.tar.gz: 49f793646313f1d7373913dfbb745ec94e644472031b77eda41b49d622a4290f
3
+ metadata.gz: 7b6e76d892b0953452781a38155801969acf50d81897fb78645b561280620ddc
4
+ data.tar.gz: 6640c17792135307d21d20f05b49136512368ff84ed748fb2b1ad98d552fc8fb
5
5
  SHA512:
6
- metadata.gz: f61806e50dcae6c26a22e2cea13205f62f28a768c6642b20417cc1f12a5a6a04880c366cf0530bea68a8d51707caef54be9aefb7ef630e7b41dcff3e252d6369
7
- data.tar.gz: a83e16a9bd2838df358e78d1d6a5eaebd94829e9f56241ec4b99763f92b319918954960a285f9a1475fc5321f6b8cf1fc8c2f38215245563eecd3ef391992c2c
6
+ metadata.gz: c489d047845c6fcd27482dfe1a3c0cae89a326cd3c81d4816ca9758c7db9e0edd09d954e719eedcc0d8b2a689137e21486482571bd05b7518af795152fc4bc61
7
+ data.tar.gz: ddc07f0514be3ad3f8fdec4ffd4bf350a039a4ad95f6b28984f1cb73f29d51ed3511df94eb628f8f336b81d4edae3d9b1c9af3a8b55ab5ac08efc015775c9249
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- acidic_job (0.5.1)
4
+ acidic_job (0.5.2)
5
5
  activerecord (>= 4.0.0)
6
6
  activesupport
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AcidicJob
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
data/lib/acidic_job.rb CHANGED
@@ -69,7 +69,7 @@ module AcidicJob
69
69
  return @key.succeeded? if @key.finished?
70
70
 
71
71
  # otherwise, we will enter a loop to process each required step of the job
72
- 100.times do
72
+ phases.size.times do
73
73
  # our `phases` hash uses Symbols for keys
74
74
  recovery_point = @key.recovery_point.to_sym
75
75
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acidic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - fractaledmind