okcomputer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,5 @@
|
|
1
1
|
module OKComputer
|
2
2
|
class ResqueDownCheck < Check
|
3
|
-
attr_accessor :queue
|
4
|
-
|
5
|
-
# Public: Initilize a check for whether Resque is running
|
6
|
-
#
|
7
|
-
# queue - The name of the Resque queue to check
|
8
|
-
def initialize(queue)
|
9
|
-
self.queue = queue
|
10
|
-
end
|
11
|
-
|
12
3
|
# Public: Check whether Resque workers are working
|
13
4
|
def call
|
14
5
|
if queued? and not working?
|
data/lib/okcomputer/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: okcomputer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
segments:
|
101
101
|
- 0
|
102
|
-
hash:
|
102
|
+
hash: -3398696995486487009
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
104
|
none: false
|
105
105
|
requirements:
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash:
|
111
|
+
hash: -3398696995486487009
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
114
|
rubygems_version: 1.8.24
|