redmon 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/redmon.rb +1 -3
- data/lib/redmon/app.rb +1 -1
- data/lib/redmon/version.rb +1 -1
- data/redmon.gemspec +0 -1
- data/spec/worker_spec.rb +3 -3
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWM1NzliMjNjZWZjYjZiZTdhMWFhYWY4NTg5NWE2NTQ4MjBlNzBjYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmM3YjNjM2E4YWM5MTFlMDdjODhiY2QwM2ViNzA1M2YzNWZiYzM3Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGI0NDdlZjk1NmM0NDMzZWMyZDNjOWVkM2VmNThjN2M0MWVmYTJiNWZiMTRi
|
10
|
+
NGQxNmUwMTdiMmZkMmUzMmM4MjZkMDJhY2IxMTdkYzk2ODJmOGViNDNjYmM0
|
11
|
+
ZGEyYWYwZjMxZWVmNWE5ZjMxYTdkY2JmMWYyMTExZWYxMWM1OTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTY0MWM5OWEwNmU4NjEwYzkzNDg1N2MxMjg4OTAyZTNkNjM3MmY0MDY3OTVh
|
14
|
+
NmNlNDc0MzAyZjVmZWIxMWJmOTJlY2U1Nzk2NTg4N2RlNmE5MGFjM2U5NjQz
|
15
|
+
NzBiYjZhNjA3OTVlOGI2NDBjOGE2MGM1NzY5OTJiZTQ0MGMxYWQ=
|
data/lib/redmon.rb
CHANGED
data/lib/redmon/app.rb
CHANGED
data/lib/redmon/version.rb
CHANGED
data/redmon.gemspec
CHANGED
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_dependency "haml"
|
27
27
|
s.add_dependency "rack"
|
28
28
|
s.add_dependency "thin", "~> 1.5.1"
|
29
|
-
s.add_dependency "activesupport", "~> 3.2.0"
|
30
29
|
s.add_dependency "mixlib-cli"
|
31
30
|
|
32
31
|
s.add_development_dependency "sinatra-contrib", "~> 1.3.1"
|
data/spec/worker_spec.rb
CHANGED
@@ -16,17 +16,17 @@ describe "worker" do
|
|
16
16
|
redis = mock_redis
|
17
17
|
redis.should_receive(:zadd).at_least(:twice)
|
18
18
|
redis.should_receive(:zremrangebyscore).at_least(:twice)
|
19
|
-
|
19
|
+
|
20
20
|
@worker.stub(:stats).and_return(['ts', 'stats'])
|
21
21
|
|
22
22
|
emThread = Thread.new do
|
23
23
|
EM.run do
|
24
|
-
@timer = @worker.run!
|
24
|
+
@timer = @worker.run!
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
28
|
puts "sleeping for 3 cycles of Redmon.config.poll_interval: #{Redmon.config.poll_interval} seconds to ensure polling occurred"
|
29
|
-
sleep 3 * Redmon.config.poll_interval
|
29
|
+
sleep 3 * Redmon.config.poll_interval
|
30
30
|
@timer.cancel
|
31
31
|
emThread.kill
|
32
32
|
@worker.cleanup_old_stats
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean McDaniel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 1.5.1
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: activesupport
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ~>
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 3.2.0
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ~>
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 3.2.0
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: mixlib-cli
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|