taskinator 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: d0f77cfa37c2c81aeafdfc15dc008d1189a85e14
4
- data.tar.gz: 0a297360345128af32a48ce6ff4ffdac386aba01
3
+ metadata.gz: 733dcb0269d80bc0685527f80cbfa4fc76476d25
4
+ data.tar.gz: 0d67598fedf6988febd3fb74126243f31868a99b
5
5
  SHA512:
6
- metadata.gz: a65f2d17d83e86d083e3c1343972a46e13a68e693af433290251f2d3aba340a80c13620c8184bd5f644a0d7399435a327ff064afb3e0f0403edef84c8d0611bf
7
- data.tar.gz: 132c02957ff6e96fe6ae620685f2168569595bc9becda49e26ed0665403598e0cb08927a962c7a689bea87ab908d72f83ad7d8b45cd677e10a35a103d3a6da71
6
+ metadata.gz: 4b0a72311954c8f95d6d20619487fecb754e68e0fc6fdd6dee087fa882db321a56644ac06a8bb2f997252656ebf62598b7227a9c0f9c79867643d470a5fbabf1
7
+ data.tar.gz: 8608aa783cc093aa559ad3513ea308234b16092fbd70299034a3d90f6d505d3eeb9378a11c602851a748553c2846f49f0f3670629d350e75a7b5e548a059b7f6
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- taskinator (0.0.2)
11
+ taskinator (0.0.3)
12
12
  connection_pool (>= 2.0.0)
13
13
  json (>= 1.8.1)
14
14
  redis (>= 3.0.6)
@@ -17,7 +17,7 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- activesupport (4.1.4)
20
+ activesupport (4.1.5)
21
21
  i18n (~> 0.6, >= 0.6.9)
22
22
  json (~> 1.7, >= 1.7.7)
23
23
  minitest (~> 5.1)
@@ -31,7 +31,7 @@ GEM
31
31
  coderay (1.1.0)
32
32
  columnize (0.8.9)
33
33
  connection_pool (2.0.0)
34
- coveralls (0.7.0)
34
+ coveralls (0.7.1)
35
35
  multi_json (~> 1.3)
36
36
  rest-client
37
37
  simplecov (>= 0.7)
@@ -46,7 +46,7 @@ GEM
46
46
  json (1.8.1)
47
47
  method_source (0.8.2)
48
48
  mime-types (2.3)
49
- minitest (5.4.0)
49
+ minitest (5.4.1)
50
50
  mono_logger (1.1.0)
51
51
  multi_json (1.10.1)
52
52
  netrc (0.7.7)
@@ -62,7 +62,7 @@ GEM
62
62
  rack
63
63
  rake (10.3.2)
64
64
  redis (3.1.0)
65
- redis-namespace (1.5.0)
65
+ redis-namespace (1.5.1)
66
66
  redis (~> 3.0, >= 3.0.4)
67
67
  resque (1.25.2)
68
68
  mono_logger (~> 1.0)
@@ -82,15 +82,15 @@ GEM
82
82
  rspec-core (~> 3.0.0)
83
83
  rspec-expectations (~> 3.0.0)
84
84
  rspec-mocks (~> 3.0.0)
85
- rspec-core (3.0.3)
85
+ rspec-core (3.0.4)
86
86
  rspec-support (~> 3.0.0)
87
- rspec-expectations (3.0.3)
87
+ rspec-expectations (3.0.4)
88
88
  diff-lcs (>= 1.2.0, < 2.0)
89
89
  rspec-support (~> 3.0.0)
90
- rspec-mocks (3.0.3)
90
+ rspec-mocks (3.0.4)
91
91
  rspec-support (~> 3.0.0)
92
- rspec-support (3.0.3)
93
- sidekiq (3.0.2)
92
+ rspec-support (3.0.4)
93
+ sidekiq (3.2.3)
94
94
  celluloid (>= 0.15.2)
95
95
  connection_pool (>= 2.0.0)
96
96
  json
@@ -112,8 +112,8 @@ GEM
112
112
  thread_safe (0.3.4)
113
113
  tilt (1.4.1)
114
114
  timers (1.1.0)
115
- tins (1.3.0)
116
- tzinfo (1.2.1)
115
+ tins (1.3.2)
116
+ tzinfo (1.2.2)
117
117
  thread_safe (~> 0.1)
118
118
  vegas (0.1.11)
119
119
  rack (>= 1.0.0)
@@ -58,11 +58,13 @@ module Taskinator
58
58
  event :enqueue, :transitions_to => :enqueued
59
59
  event :start, :transitions_to => :processing
60
60
  event :cancel, :transitions_to => :cancelled
61
+ event :fail, :transitions_to => :failed
61
62
  end
62
63
 
63
64
  state :enqueued do
64
65
  event :start, :transitions_to => :processing
65
66
  event :cancel, :transitions_to => :cancelled
67
+ event :fail, :transitions_to => :failed
66
68
  end
67
69
 
68
70
  state :processing do
@@ -74,6 +76,7 @@ module Taskinator
74
76
  state :paused do
75
77
  event :resume, :transitions_to => :processing
76
78
  event :cancel, :transitions_to => :cancelled
79
+ event :fail, :transitions_to => :failed
77
80
  end
78
81
 
79
82
  state :cancelled
@@ -51,10 +51,12 @@ module Taskinator
51
51
  state :initial do
52
52
  event :enqueue, :transitions_to => :enqueued
53
53
  event :start, :transitions_to => :processing
54
+ event :fail, :transitions_to => :failed
54
55
  end
55
56
 
56
57
  state :enqueued do
57
58
  event :start, :transitions_to => :processing
59
+ event :fail, :transitions_to => :failed
58
60
  end
59
61
 
60
62
  state :processing do
@@ -1,3 +1,3 @@
1
1
  module Taskinator
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taskinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Stefano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-12 00:00:00.000000000 Z
11
+ date: 2014-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -209,8 +209,7 @@ dependencies:
209
209
  description: Simple process orchestration
210
210
  email:
211
211
  - virtualstaticvoid@gmail.com
212
- executables:
213
- - run-workers
212
+ executables: []
214
213
  extensions: []
215
214
  extra_rdoc_files: []
216
215
  files:
@@ -225,7 +224,6 @@ files:
225
224
  - LICENSE.txt
226
225
  - README.md
227
226
  - Rakefile
228
- - bin/run-workers
229
227
  - lib/taskinator.rb
230
228
  - lib/taskinator/api.rb
231
229
  - lib/taskinator/complete_on.rb
data/bin/run-workers DELETED
@@ -1,2 +0,0 @@
1
- #!/bin/bash
2
- TERM_CHILD=1 QUEUE=* COUNT=5 bundle exec rake resque:workers