redmon 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/redmon.rb +2 -1
- data/lib/redmon/version.rb +1 -1
- data/lib/redmon/views/app.haml +6 -0
- data/redmon.gemspec +8 -8
- data/spec/app_spec.rb +17 -18
- data/spec/config_spec.rb +6 -6
- data/spec/helpers_spec.rb +18 -19
- data/spec/spec_helper.rb +1 -1
- data/spec/worker_spec.rb +22 -20
- metadata +54 -54
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZGRmNjQ5NjU1YzYxNGRkMThmZWIyZWFhOGJjNGY5MzQ2NjNmYTljYw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1ff7e81f69d4a068093a0ca1acd67cbd2b03fc96
|
4
|
+
data.tar.gz: 8598efd3cd7d2c0d10f8cd2653ee43458bf50b77
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NDI1NWQ0YWZkM2FjMzU5MDQzOWM5OGQwY2ZkNWIwNGJmN2Y2MWQzMjc0ZDQ5
|
11
|
-
OWE2MmI5Y2RkZWRjMjVjZDA4MjMwNjBlYzVkZWUyNWM1ZjAyMzU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTAxZmY5OGI1MDQ3YThlMTEyYmFkYjg5MWY1NjY3NjUwNDNhYzQzNDUwNWMx
|
14
|
-
OGY3NDQ3OWFhMjcxNTZmOWMxZjYyZDdhNjIxMGFmNzA5MTMzN2FhMDA2NDQ2
|
15
|
-
MWM4MWY0MmQ0OTdhNDBkODk4YjE0ZmZhZWQ2YjgyMTA4YjkzNzk=
|
6
|
+
metadata.gz: c1726cf72ccf2f675bc5ff7efa14ddf382838ebd4012ad5cb49d510eda6d8717b835270c92d34929183ddf199cbd3287c5a873ebde862ca2927ac59b8b56c0c1
|
7
|
+
data.tar.gz: f1f1974f3b8306d6822f8a4ef8181271ac1e6252e3ab8c1f15c963d6e7b6557a0b3df041fba7442c569aa08a36d69ae91b6bfdab218481a6b47544f757f35d66
|
data/lib/redmon.rb
CHANGED
@@ -28,7 +28,7 @@ module Redmon
|
|
28
28
|
def start_app
|
29
29
|
require 'thin'
|
30
30
|
base_path = config.base_path
|
31
|
-
Thin::Server.start(*config.web_interface) do
|
31
|
+
Thin::Server.start(*config.web_interface, signals: false) do
|
32
32
|
app = Redmon::App.new
|
33
33
|
map base_path do
|
34
34
|
run app
|
@@ -44,6 +44,7 @@ module Redmon
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def shutdown(code)
|
47
|
+
log "Shutting down"
|
47
48
|
EM.stop
|
48
49
|
end
|
49
50
|
|
data/lib/redmon/version.rb
CHANGED
data/lib/redmon/views/app.haml
CHANGED
@@ -93,6 +93,12 @@
|
|
93
93
|
%tr
|
94
94
|
%td DB Size (Keys)
|
95
95
|
%td#dbsize{:data => {:type => 'number'}}
|
96
|
+
%tr
|
97
|
+
%td Expired Keys
|
98
|
+
%td#expired_keys{:data => {:type => 'number'}}
|
99
|
+
%tr
|
100
|
+
%td Evicted Keys
|
101
|
+
%td#evicted_keys{:data => {:type => 'number'}}
|
96
102
|
%tr
|
97
103
|
%td Keyspace Hits
|
98
104
|
%td#keyspace_hits{:data => {:type => 'number'}}
|
data/redmon.gemspec
CHANGED
@@ -18,20 +18,20 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = ["redmon"]
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_development_dependency 'bundler'
|
22
|
-
s.add_development_dependency 'sinatra-contrib'
|
21
|
+
s.add_development_dependency 'bundler'
|
22
|
+
s.add_development_dependency 'sinatra-contrib'
|
23
23
|
s.add_development_dependency 'rack-test'
|
24
|
-
s.add_development_dependency 'rspec'
|
24
|
+
s.add_development_dependency 'rspec'
|
25
25
|
s.add_development_dependency 'rake'
|
26
|
-
|
27
|
-
s.add_dependency 'sinatra'
|
28
|
-
s.add_dependency 'hiredis'
|
29
|
-
s.add_dependency 'redis'
|
26
|
+
|
27
|
+
s.add_dependency 'sinatra'
|
28
|
+
s.add_dependency 'hiredis'
|
29
|
+
s.add_dependency 'redis'
|
30
30
|
s.add_dependency 'eventmachine'
|
31
31
|
s.add_dependency 'i18n'
|
32
32
|
s.add_dependency 'haml'
|
33
33
|
s.add_dependency 'rack'
|
34
34
|
s.add_dependency 'thin'
|
35
|
-
s.add_dependency 'activesupport', '~> 3.2.0'
|
36
35
|
s.add_dependency 'mixlib-cli'
|
36
|
+
s.add_dependency 'json'
|
37
37
|
end
|
data/spec/app_spec.rb
CHANGED
@@ -9,16 +9,16 @@ describe "app" do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def stub_redis_cmd(cmd, *args)
|
12
|
-
mock_redis.
|
12
|
+
allow(mock_redis).to receive(cmd).with(*args).and_return({})
|
13
13
|
end
|
14
14
|
|
15
|
-
let(:json) {"application/json
|
15
|
+
let(:json) {"application/json"}
|
16
16
|
|
17
17
|
describe "GET /" do
|
18
18
|
it "should render app" do
|
19
19
|
stub_redis_cmd :config, :get, '*'
|
20
20
|
get "/"
|
21
|
-
last_response.
|
21
|
+
expect(last_response).to be_ok
|
22
22
|
last_response.body.include?('Redmon')
|
23
23
|
end
|
24
24
|
end
|
@@ -27,7 +27,7 @@ describe "app" do
|
|
27
27
|
it "should call redis#config set value" do
|
28
28
|
stub_redis_cmd :config, :set, :param, 'value'
|
29
29
|
post "/config?param=param&value=value"
|
30
|
-
last_response.
|
30
|
+
expect(last_response).to be_ok
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
@@ -37,48 +37,48 @@ describe "app" do
|
|
37
37
|
it "should execute the passed command" do
|
38
38
|
stub_redis_cmd :keys, '*'
|
39
39
|
get "/cli?command=#{command}"
|
40
|
-
last_response.
|
40
|
+
expect(last_response).to be_ok
|
41
41
|
end
|
42
42
|
|
43
43
|
it "should execute a passed command with quoted values" do
|
44
44
|
stub_redis_cmd :set, 'key', 'quoted value'
|
45
45
|
get URI.encode('/cli?command=set key "quoted value"')
|
46
|
-
last_response.
|
46
|
+
expect(last_response).to be_ok
|
47
47
|
end
|
48
48
|
|
49
49
|
it "should render an empty list result" do
|
50
50
|
redis = mock_redis
|
51
|
-
redis.
|
51
|
+
allow(redis).to receive(:send).and_return([])
|
52
52
|
|
53
53
|
get "/cli?command=#{command}"
|
54
|
-
last_response.
|
54
|
+
expect(last_response).to be_ok
|
55
55
|
last_response.body.include? Redmon::Redis.empty_result
|
56
56
|
end
|
57
57
|
|
58
58
|
it "should render the wrong arguments result" do
|
59
59
|
redis = mock_redis
|
60
|
-
redis.
|
60
|
+
allow(redis).to receive(:send).and_raise(ArgumentError)
|
61
61
|
|
62
62
|
get "/cli?command=#{command}"
|
63
|
-
last_response.
|
63
|
+
expect(last_response).to be_ok
|
64
64
|
last_response.body.include? Redmon::Redis.wrong_number_of_arguments_for(:keys)
|
65
65
|
end
|
66
66
|
|
67
67
|
it "should return an unknown result" do
|
68
68
|
redis = mock_redis
|
69
|
-
redis.
|
69
|
+
allow(redis).to receive(:send).and_raise(RuntimeError)
|
70
70
|
|
71
71
|
get "/cli?command=#{command}"
|
72
|
-
last_response.
|
72
|
+
expect(last_response).to be_ok
|
73
73
|
last_response.body.include? Redmon::Redis.unknown(:keys)
|
74
74
|
end
|
75
75
|
|
76
76
|
it "should return a connection refused result" do
|
77
77
|
redis = mock_redis
|
78
|
-
redis.
|
78
|
+
allow(redis).to receive(:send).and_raise(Errno::ECONNREFUSED)
|
79
79
|
|
80
80
|
get "/cli?command=#{command}"
|
81
|
-
last_response.
|
81
|
+
expect(last_response).to be_ok
|
82
82
|
last_response.body.include? Redmon::Redis.connection_refused
|
83
83
|
end
|
84
84
|
end
|
@@ -87,15 +87,14 @@ describe "app" do
|
|
87
87
|
it "should render a single json result" do
|
88
88
|
stub_redis_cmd :zrange, Redmon::Redis.stats_key, -1, -1
|
89
89
|
get "/stats"
|
90
|
-
last_response.
|
91
|
-
last_response.headers["Content-Type"].
|
90
|
+
expect(last_response).to be_ok
|
91
|
+
expect(last_response.headers["Content-Type"]).to eq json
|
92
92
|
end
|
93
93
|
|
94
94
|
it "should request the correct # of historical info entries" do
|
95
95
|
stub_redis_cmd :zrange, Redmon::Redis.stats_key, -666, -1
|
96
96
|
get "/stats?count=666"
|
97
|
-
last_response.
|
97
|
+
expect(last_response).to be_ok
|
98
98
|
end
|
99
99
|
end
|
100
|
-
|
101
100
|
end
|
data/spec/config_spec.rb
CHANGED
@@ -6,7 +6,7 @@ describe "Redmon" do
|
|
6
6
|
Redmon.configure do |config|
|
7
7
|
config.app = false
|
8
8
|
end
|
9
|
-
Redmon.config.app.
|
9
|
+
expect(Redmon.config.app).to be false
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
@@ -16,19 +16,19 @@ describe "Config" do
|
|
16
16
|
describe "#initialize" do
|
17
17
|
it "should apply the defaults" do
|
18
18
|
Redmon::Config::DEFAULTS.each do |k,v|
|
19
|
-
subject.send(k).
|
19
|
+
expect(subject.send(k)).to be v
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
24
|
describe "#apply" do
|
25
25
|
it "should apply the passed options hash" do
|
26
|
-
subject.app.
|
27
|
-
subject.worker.
|
26
|
+
expect(subject.app).to be true
|
27
|
+
expect(subject.worker).to be true
|
28
28
|
|
29
29
|
subject.apply :app => false, :worker => false
|
30
|
-
subject.app.
|
31
|
-
subject.worker.
|
30
|
+
expect(subject.app).to be false
|
31
|
+
expect(subject.worker).to be false
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/spec/helpers_spec.rb
CHANGED
@@ -7,7 +7,7 @@ describe "Helpers" do
|
|
7
7
|
|
8
8
|
describe "redis" do
|
9
9
|
it "should call Redis.connect" do
|
10
|
-
Redis.
|
10
|
+
allow(Redis).to receive(:connect).with({:url => Redmon.config.redis_url})
|
11
11
|
Redmon::Redis.redis
|
12
12
|
end
|
13
13
|
end
|
@@ -22,77 +22,76 @@ describe "Helpers" do
|
|
22
22
|
|
23
23
|
describe "#ns" do
|
24
24
|
it "should return the configured namespace" do
|
25
|
-
Redmon::Redis.ns.
|
25
|
+
expect(Redmon::Redis.ns).to be Redmon.config.namespace
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
describe "#redis_url" do
|
30
30
|
it "should return the configured redis url" do
|
31
|
-
Redmon::Redis.redis_url.
|
31
|
+
expect(Redmon::Redis.redis_url).to eq Redmon.config.redis_url
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
35
|
describe "#redis_host" do
|
36
36
|
it "should return the configured redis host" do
|
37
37
|
config_uri = URI.parse(Redmon.config.redis_url)
|
38
|
-
Redmon::Redis.redis_host.
|
38
|
+
expect(Redmon::Redis.redis_host).to eq "#{config_uri.host}:#{config_uri.port}"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
describe "#unquoted" do
|
43
43
|
it "should return the configured redis host" do
|
44
|
-
Redmon::Redis.unquoted.
|
44
|
+
expect(Redmon::Redis.unquoted).to eq (%w{string OK} << '(empty list or set)')
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
48
|
describe "#supported?" do
|
49
49
|
it "should return true for supported redis commands" do
|
50
|
-
Redmon::Redis.supported?(:keys).
|
50
|
+
expect(Redmon::Redis.supported?(:keys)).to be true
|
51
51
|
end
|
52
52
|
|
53
53
|
it "should return false for unsupported redis commands" do
|
54
|
-
Redmon::Redis.supported?(:eval).
|
54
|
+
expect(Redmon::Redis.supported?(:eval)).to be false
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
58
|
describe "#empty_result" do
|
59
59
|
it "should return the empty list message" do
|
60
|
-
Redmon::Redis.empty_result.
|
60
|
+
expect(Redmon::Redis.empty_result).to eq '(empty list or set)'
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
64
|
describe "#unknown" do
|
65
65
|
it "should return the unknown command message" do
|
66
|
-
Redmon::Redis.unknown("unknown").
|
66
|
+
expect(Redmon::Redis.unknown("unknown")).to eq "(error) ERR unknown command 'unknown'"
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
70
|
describe "#wrong_number_of_arguments_for" do
|
71
|
-
it "" do
|
72
|
-
|
73
|
-
|
71
|
+
it "should return the wrong number of arguments message" do
|
72
|
+
expected = "(error) ERR wrong number of arguments for 'unknown' command"
|
73
|
+
expect(Redmon::Redis.wrong_number_of_arguments_for("unknown")).to eq expected
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
77
|
describe "#connection_refused" do
|
78
78
|
it "should return the connection refused message" do
|
79
|
-
|
79
|
+
expected = "Could not connect to Redis at 127.0.0.1:6379: Connection refused"
|
80
|
+
expect(Redmon::Redis.connection_refused).to eq expected
|
80
81
|
end
|
81
82
|
end
|
82
83
|
|
83
84
|
describe "#stats_key" do
|
84
85
|
it "should return the namespaced scoped stats key" do
|
85
|
-
Redmon::Redis.stats_key.
|
86
|
+
expect(Redmon::Redis.stats_key).to eq "redmon:redis:127.0.0.1:6379:stats"
|
86
87
|
end
|
87
88
|
end
|
88
89
|
|
89
90
|
describe "#num_samples_to_request" do
|
90
91
|
it "should return the number of samples to request based on poll interval and data lifespan" do
|
91
|
-
Redmon.config.
|
92
|
-
Redmon.config.
|
93
|
-
|
94
|
-
num_samples_to_request.should == (31 * 60) / 10
|
92
|
+
allow(Redmon.config).to receive(:data_lifespan).and_return(31)
|
93
|
+
allow(Redmon.config).to receive(:poll_interval).and_return(10)
|
94
|
+
expect(num_samples_to_request).to eq ((31 * 60) / 10)
|
95
95
|
end
|
96
96
|
end
|
97
|
-
|
98
97
|
end
|
data/spec/spec_helper.rb
CHANGED
data/spec/worker_spec.rb
CHANGED
@@ -14,10 +14,9 @@ describe "worker" do
|
|
14
14
|
it "should poll and record stats" do
|
15
15
|
Redmon.config.poll_interval = 1 #reduce the interval to a second for testing
|
16
16
|
redis = mock_redis
|
17
|
-
|
18
|
-
redis.
|
19
|
-
|
20
|
-
@worker.stub(:stats).and_return(['ts', 'stats'])
|
17
|
+
allow(@worker).to receive(:stats).and_return(['ts', 'stats'])
|
18
|
+
expect(redis).to receive(:zadd).at_least(:twice)
|
19
|
+
expect(redis).to receive(:zremrangebyscore).at_least(:twice)
|
21
20
|
|
22
21
|
emThread = Thread.new do
|
23
22
|
EM.run do
|
@@ -30,15 +29,16 @@ describe "worker" do
|
|
30
29
|
@timer.cancel
|
31
30
|
emThread.kill
|
32
31
|
@worker.cleanup_old_stats
|
32
|
+
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
36
|
describe "#record_stats" do
|
37
37
|
it "should record a new stats entry in a redis sorted set" do
|
38
38
|
redis = mock_redis
|
39
|
-
|
39
|
+
allow(@worker).to receive(:stats).and_return(['ts', 'stats'])
|
40
|
+
expect(redis).to receive(:zadd).with(Redmon::Redis.stats_key, 'ts', 'stats')
|
40
41
|
|
41
|
-
@worker.stub(:stats).and_return(['ts', 'stats'])
|
42
42
|
@worker.record_stats
|
43
43
|
end
|
44
44
|
end
|
@@ -46,7 +46,10 @@ describe "worker" do
|
|
46
46
|
describe "#cleanup_old_stats" do
|
47
47
|
it "should remove old stats entries from a redis sorted set" do
|
48
48
|
redis = mock_redis
|
49
|
-
redis.
|
49
|
+
expect(redis).to receive(:zremrangebyscore).with(
|
50
|
+
Redmon::Redis.stats_key, '-inf', '(' + @worker.oldest_data_to_keep.to_s
|
51
|
+
)
|
52
|
+
|
50
53
|
@worker.cleanup_old_stats
|
51
54
|
end
|
52
55
|
end
|
@@ -54,11 +57,11 @@ describe "worker" do
|
|
54
57
|
describe "#stats" do
|
55
58
|
it "should fetch info, dbsize and slowlog from redis" do
|
56
59
|
redis = mock_redis
|
57
|
-
redis.
|
58
|
-
redis.
|
59
|
-
redis.
|
60
|
+
expect(redis).to receive(:info).with(no_args()).and_return({})
|
61
|
+
expect(redis).to receive(:dbsize).with(no_args()).and_return(0)
|
62
|
+
expect(redis).to receive(:slowlog).with(:get).and_return({})
|
60
63
|
|
61
|
-
@worker.
|
64
|
+
expect(@worker).to receive(:entries).and_return([{}])
|
62
65
|
@worker.stats
|
63
66
|
end
|
64
67
|
end
|
@@ -68,36 +71,35 @@ describe "worker" do
|
|
68
71
|
|
69
72
|
it "should parse the sortlog into hashes" do
|
70
73
|
entries = @worker.entries slowlog
|
71
|
-
entries.length.
|
74
|
+
expect(entries.length).to eq 1
|
72
75
|
entry = entries.shift
|
73
|
-
entry.
|
76
|
+
expect(entry).to eq({
|
74
77
|
:id => 1,
|
75
78
|
:timestamp => 2000,
|
76
79
|
:process_time => 3,
|
77
80
|
:command => 'cmd args'
|
78
|
-
}
|
81
|
+
})
|
79
82
|
end
|
80
83
|
end
|
81
84
|
|
82
85
|
describe "#interval" do
|
83
86
|
it "should return the configured poll interval" do
|
84
|
-
@worker.interval.
|
87
|
+
expect(@worker.interval).to eq Redmon.config.poll_interval
|
85
88
|
end
|
86
89
|
end
|
87
90
|
|
88
91
|
describe "#data_lifespan" do
|
89
92
|
it "should return the data lifspan" do
|
90
|
-
@worker.data_lifespan.
|
93
|
+
expect(@worker.data_lifespan).to eq Redmon.config.data_lifespan
|
91
94
|
end
|
92
95
|
end
|
93
96
|
|
94
97
|
describe "#oldest_data_to_keep" do
|
95
98
|
it "should return the oldest data timestamp that should be kept" do
|
96
|
-
Time.
|
97
|
-
@worker.
|
99
|
+
allow(Time).to receive(:now).and_return(Time.at(1366044862))
|
100
|
+
allow(@worker).to receive(:data_lifespan).and_return(30)
|
98
101
|
|
99
|
-
@worker.oldest_data_to_keep.
|
102
|
+
expect(@worker.oldest_data_to_keep).to eq 1366043062000
|
100
103
|
end
|
101
104
|
end
|
102
|
-
|
103
105
|
end
|
metadata
CHANGED
@@ -1,223 +1,223 @@
|
|
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.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean McDaniel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra-contrib
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rack-test
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: sinatra
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: hiredis
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0
|
103
|
+
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: redis
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: '0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: eventmachine
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: i18n
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: haml
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rack
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: thin
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- -
|
185
|
+
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: mixlib-cli
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- -
|
199
|
+
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
201
|
+
version: '0'
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- -
|
206
|
+
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
208
|
+
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: json
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- -
|
213
|
+
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
description: Redis Admin interface and monitor.
|
@@ -228,9 +228,9 @@ executables:
|
|
228
228
|
extensions: []
|
229
229
|
extra_rdoc_files: []
|
230
230
|
files:
|
231
|
-
- .gitignore
|
232
|
-
- .rspec
|
233
|
-
- .travis.yml
|
231
|
+
- ".gitignore"
|
232
|
+
- ".rspec"
|
233
|
+
- ".travis.yml"
|
234
234
|
- Gemfile
|
235
235
|
- README.md
|
236
236
|
- Rakefile
|
@@ -271,17 +271,17 @@ require_paths:
|
|
271
271
|
- lib
|
272
272
|
required_ruby_version: !ruby/object:Gem::Requirement
|
273
273
|
requirements:
|
274
|
-
- -
|
274
|
+
- - ">="
|
275
275
|
- !ruby/object:Gem::Version
|
276
276
|
version: '0'
|
277
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
278
|
requirements:
|
279
|
-
- -
|
279
|
+
- - ">="
|
280
280
|
- !ruby/object:Gem::Version
|
281
281
|
version: '0'
|
282
282
|
requirements: []
|
283
283
|
rubyforge_project: redmon
|
284
|
-
rubygems_version: 2.
|
284
|
+
rubygems_version: 2.6.10
|
285
285
|
signing_key:
|
286
286
|
specification_version: 4
|
287
287
|
summary: Redis monitor
|