redmon 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NmZjOTRiZTdlM2U1YjBhMjcxZTlkYmE1MDNjZjE3ZTlkMzlkODk2NQ==
5
+ data.tar.gz: !binary |-
6
+ MGEwNzdiMDVlNDFkNDMxMjY4MzAyMDkwZmU1N2FhM2Y2M2E4NjM4MQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ Y2U5NDkxYzhmYTI3N2JlY2VkMjFmNDc4NmUxZDg3MWIzMWRlMjc2NWMzNzM0
10
+ ZTU3MmQwMzZiMmYxMDQzNGMyNWZiZjlkZjdlMDMxZTMwZTNiMGU3NDk0MjAx
11
+ YTFiOWQxNDMxZDIzMzYzODZiZGMzZjgxNjk0NTFhZGFmNWZmM2M=
12
+ data.tar.gz: !binary |-
13
+ ZDFlYzU2YTk5MjEzYjJmYWVmYjhhZmU5NWFmNzZhYzdkMDNiMzNhMGNhMTdl
14
+ NTRkN2ZmYmQ5YzRhMWU4NmJhNTFmMzQ0YmVmZDJkY2JlYzM1NjE3OWE5YTQ0
15
+ Y2Q3Y2Q2OWZmODgyODNhYjcyODdiZTdmMDY0MjNkM2NlYzVhOTk=
data/.gitignore CHANGED
@@ -5,5 +5,7 @@
5
5
  dump.rdb
6
6
  pkg
7
7
  vendor
8
+ coverage
8
9
  !/lib/redmon/public/vendor
9
- Gemfile.lock
10
+ Gemfile.lock
11
+ .coveralls.yml
data/.rspec CHANGED
@@ -1,2 +1,2 @@
1
1
  --color
2
- --format <%= true ? 'documentation' : 'progress' %>
2
+ --format documentation
@@ -3,7 +3,16 @@ rvm:
3
3
  - ree-1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
+ - 2.0.0
7
+ - 2.1.0
8
+ - ruby-head
9
+ - rbx
10
+
6
11
  branches:
7
12
  only:
8
13
  - master
9
- - ruby-1.8
14
+
15
+ matrix:
16
+ allow_failures:
17
+ - rvm: ruby-head
18
+ fast_finish: true
data/Gemfile CHANGED
@@ -1,3 +1,19 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec
4
+
5
+ group :test do
6
+ gem "coveralls", :require => false
7
+ end
8
+
9
+ platforms :ruby_18 do
10
+ gem "mime-types", "~> 1.25"
11
+ end
12
+
13
+ platforms :rbx do
14
+ gem "json"
15
+ gem "racc"
16
+ gem "rubinius-coverage", "~> 2.0"
17
+ gem "rubysl", "~> 2.0"
18
+ gem "psych"
19
+ end
data/README.md CHANGED
@@ -1,11 +1,12 @@
1
+ [![Build status - Travis-ci](https://secure.travis-ci.org/steelThread/redmon.png) ](http://travis-ci.org/steelThread/redmon)
2
+ [![Code Climate](https://codeclimate.com/github/steelThread/redmon.png)](https://codeclimate.com/github/steelThread/redmon)
3
+ [![Gem Version](https://badge.fury.io/rb/redmon.png)](http://badge.fury.io/rb/redmon)
4
+ [![Coverage Status](https://coveralls.io/repos/steelThread/redmon/badge.png?branch=master)](https://coveralls.io/r/steelThread/redmon?branch=master)
1
5
  # Redmon
2
6
 
3
- Simple sinatra based dashbord for redis. After seeing the [fnordmetric](https://github.com/paulasmuth/fnordmetric)
7
+ Simple sinatra based dashboard for redis. After seeing the [fnordmetric](https://github.com/paulasmuth/fnordmetric)
4
8
  project I was inspired to write this. Some of the ideas there have be carried over here.
5
9
 
6
- [ ![Build status - Travis-ci](https://secure.travis-ci.org/steelThread/redmon.png) ](http://travis-ci.org/steelThread/redmon)
7
-
8
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/steelThread/redmon)
9
10
 
10
11
  ----
11
12
 
@@ -73,16 +74,22 @@ Add to Gemfile:
73
74
  gem 'redmon', require: false
74
75
  ```
75
76
 
76
- Add to config/routes.rb:
77
+ Mount redmon in config/routes.rb:
77
78
 
78
79
  ```ruby
79
- require 'redmon/app'
80
80
  mount Redmon::App => '/redmon'
81
81
  ```
82
82
 
83
- You can configure the Redmon using an initializer config/initializers/redmon.rb:
83
+ Create a config/initializers/redmon.rb file:
84
84
 
85
85
  ```ruby
86
+ require 'redmon/config'
87
+ require 'redmon/redis'
88
+ require 'redmon/app'
89
+
90
+ #
91
+ # Optional config overrides
92
+ #
86
93
  Redmon.configure do |config|
87
94
  config.redis_url = 'redis://127.0.0.1:6379'
88
95
  config.namespace = 'redmon'
data/bin/redmon CHANGED
@@ -26,7 +26,7 @@ class RedmonCLI
26
26
  :short => '-r URL',
27
27
  :long => '--redis URL',
28
28
  :default => 'redis://127.0.0.1:6379',
29
- :description => "The Redis url for monitor (default: redis://127.0.0.1:6379)"
29
+ :description => "The Redis url for monitor (default: redis://127.0.0.1:6379, note: password is support, ie redis://:password@127.0.0.1:6379)"
30
30
 
31
31
  option :namespace,
32
32
  :short => '-n NAMESPACE',
@@ -58,14 +58,14 @@ class RedmonCLI
58
58
  :long => '--no-app',
59
59
  :boolean => true,
60
60
  :default => true,
61
- :description => 'Do not run the web app to present stats'
61
+ :description => 'Do not run the web app to present stats (default: true)'
62
62
 
63
63
  option :worker,
64
64
  :on => :tail,
65
65
  :long => '--no-worker',
66
66
  :boolean => true,
67
67
  :default => true,
68
- :description => 'Do not run a worker to collect the stats'
68
+ :description => 'Do not run a worker to collect the stats (default: true)'
69
69
 
70
70
  def run
71
71
  parse_options
@@ -1,4 +1,6 @@
1
1
  require 'eventmachine'
2
+ require 'active_support'
3
+ require 'active_support/deprecation'
2
4
  require 'active_support/core_ext'
3
5
 
4
6
  module Redmon
@@ -32,7 +34,7 @@ module Redmon
32
34
  end
33
35
  log "listening on http##{config.web_interface.join(':')}"
34
36
  rescue Exception => e
35
- log "Can't start Redmon::App. port in use? Error #{e}"
37
+ log "Can't start Redmon::App. port in use? Error: #{e}"
36
38
  end
37
39
 
38
40
  def start_worker
@@ -1,3 +1,3 @@
1
1
  module Redmon
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -1,20 +1,39 @@
1
1
  $: << ::File.expand_path("../lib/", __FILE__)
2
2
  require "rubygems"
3
3
  require "bundler/setup"
4
+ require 'mixlib/cli'
4
5
  require 'redmon'
5
6
  require 'redis'
6
7
 
7
- redis = Redis.connect
8
+ class RedmonLoadSimCLI
9
+ include Mixlib::CLI
8
10
 
9
- loop do
10
- start = rand(100000)
11
- multi = rand(5)
12
- start.upto(multi * start) do |i|
13
- redis.set("key-#{i}", "abcdedghijklmnopqrstuvwxyz")
14
- end
11
+ option :redis_url,
12
+ :short => '-r URL',
13
+ :long => '--redis URL',
14
+ :default => 'redis://127.0.0.1:6379',
15
+ :description => "The Redis url to load simulated traffic against (default: redis://127.0.0.1:6379, note: password is supported, ie redis://:password@127.0.0.1:6379)"
15
16
 
16
- start.upto(multi * start) do |i|
17
- redis.get("key-#{i}")
18
- redis.del("key-#{i}")
19
- end
20
- end
17
+ def run
18
+ parse_options
19
+
20
+ redis_options = Redis::Client::DEFAULTS || {}
21
+ redis_options[:url] = config[:redis_url] if config[:redis_url]
22
+ redis = Redis.new(redis_options)
23
+
24
+ loop do
25
+ start = rand(100000)
26
+ multi = rand(5)
27
+ start.upto(multi * start) do |i|
28
+ redis.set("key-#{i}", "abcdedghijklmnopqrstuvwxyz")
29
+ end
30
+
31
+ start.upto(multi * start) do |i|
32
+ redis.get("key-#{i}")
33
+ redis.del("key-#{i}")
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ RedmonLoadSimCLI.new.run
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = Redmon::VERSION
8
8
  s.authors = ["Sean McDaniel"]
9
9
  s.email = ["sean.mcdaniel@me.com"]
10
- s.homepage = ""
10
+ s.homepage = "https://github.com/steelThread/redmon"
11
11
  s.summary = %q{Redis monitor}
12
12
  s.description = %q{Redis Admin interface and monitor.}
13
13
 
@@ -18,7 +18,6 @@ Gem::Specification.new do |s|
18
18
  s.executables = ["redmon"]
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency "bson_ext", ">= 1.4.0"
22
21
  s.add_dependency "sinatra", ">= 1.2.6"
23
22
  s.add_dependency "hiredis", "~> 0.4.0"
24
23
  s.add_dependency "redis", ">= 2.2.2"
@@ -26,8 +25,8 @@ Gem::Specification.new do |s|
26
25
  s.add_dependency "i18n"
27
26
  s.add_dependency "haml"
28
27
  s.add_dependency "rack"
29
- s.add_dependency "thin"
30
- s.add_dependency "activesupport"
28
+ s.add_dependency "thin", "~> 1.5.1"
29
+ s.add_dependency "activesupport", "~> 3.2.0"
31
30
  s.add_dependency "mixlib-cli"
32
31
 
33
32
  s.add_development_dependency "sinatra-contrib", "~> 1.3.1"
@@ -22,25 +22,26 @@ describe "Helpers" do
22
22
 
23
23
  describe "#ns" do
24
24
  it "should return the configured namespace" do
25
- Redmon.config.namespace.should == Redmon::Redis.ns
25
+ Redmon::Redis.ns.should == 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.config.redis_url.should == Redmon::Redis.redis_url
31
+ Redmon::Redis.redis_url.should == 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
- Redmon.config.redis_url.gsub('redis://', '').should == Redmon::Redis.redis_host
37
+ config_uri = URI.parse(Redmon.config.redis_url)
38
+ Redmon::Redis.redis_host.should == "#{config_uri.host}:#{config_uri.port}"
38
39
  end
39
40
  end
40
41
 
41
42
  describe "#unquoted" do
42
43
  it "should return the configured redis host" do
43
- (%w{string OK} << '(empty list or set)').should == Redmon::Redis.unquoted
44
+ Redmon::Redis.unquoted.should == (%w{string OK} << '(empty list or set)')
44
45
  end
45
46
  end
46
47
 
@@ -56,33 +57,32 @@ describe "Helpers" do
56
57
 
57
58
  describe "#empty_result" do
58
59
  it "should return the empty list message" do
59
- '(empty list or set)'.should == Redmon::Redis.empty_result
60
+ Redmon::Redis.empty_result.should == '(empty list or set)'
60
61
  end
61
62
  end
62
63
 
63
64
  describe "#unknown" do
64
65
  it "should return the unknown command message" do
65
- "(error) ERR unknown command 'unknown'".should == Redmon::Redis.unknown('unknown')
66
+ Redmon::Redis.unknown("unknown").should == "(error) ERR unknown command 'unknown'"
66
67
  end
67
68
  end
68
69
 
69
70
  describe "#wrong_number_of_arguments_for" do
70
71
  it "" do
71
- "(error) ERR wrong number of arguments for 'unknown' command".should ==
72
- Redmon::Redis.wrong_number_of_arguments_for('unknown')
72
+ Redmon::Redis.wrong_number_of_arguments_for("unknown").should ==
73
+ "(error) ERR wrong number of arguments for 'unknown' command"
73
74
  end
74
75
  end
75
76
 
76
77
  describe "#connection_refused" do
77
78
  it "should return the connection refused message" do
78
- "Could not connect to Redis at 127.0.0.1:6379: Connection refused".should ==
79
- Redmon::Redis.connection_refused
79
+ Redmon::Redis.connection_refused.should == "Could not connect to Redis at 127.0.0.1:6379: Connection refused"
80
80
  end
81
81
  end
82
82
 
83
83
  describe "#stats_key" do
84
84
  it "should return the namespaced scoped stats key" do
85
- "redmon:redis:127.0.0.1:6379:stats".should == Redmon::Redis.stats_key
85
+ Redmon::Redis.stats_key.should == "redmon:redis:127.0.0.1:6379:stats"
86
86
  end
87
87
  end
88
88
 
@@ -1,3 +1,14 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+
4
+ if ENV["TRAVIS"]
5
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
6
+ end
7
+
8
+ SimpleCov.start do
9
+ add_filter '/spec/'
10
+ end
11
+
1
12
  require 'redmon'
2
13
  require 'rack/test'
3
14
 
@@ -11,7 +11,26 @@ describe "worker" do
11
11
  end
12
12
 
13
13
  describe "#run!" do
14
- it "should poll and record stats"
14
+ it "should poll and record stats" do
15
+ Redmon.config.poll_interval = 1 #reduce the interval to a second for testing
16
+ redis = mock_redis
17
+ redis.should_receive(:zadd).at_least(:twice)
18
+ redis.should_receive(:zremrangebyscore).at_least(:twice)
19
+
20
+ @worker.stub(:stats).and_return(['ts', 'stats'])
21
+
22
+ emThread = Thread.new do
23
+ EM.run do
24
+ @timer = @worker.run!
25
+ end
26
+ end
27
+
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.seconds
30
+ @timer.cancel
31
+ emThread.kill
32
+ @worker.cleanup_old_stats
33
+ end
15
34
  end
16
35
 
17
36
  describe "#record_stats" do
@@ -34,13 +53,12 @@ describe "worker" do
34
53
 
35
54
  describe "#stats" do
36
55
  it "should fetch info, dbsize and slowlog from redis" do
37
- pending
38
56
  redis = mock_redis
39
57
  redis.should_receive(:info).with(no_args()).and_return({})
40
58
  redis.should_receive(:dbsize).with(no_args()).and_return(0)
41
59
  redis.should_receive(:slowlog).with(:get).and_return({})
42
60
 
43
- @worker.stub(:entires).and_return([{}])
61
+ @worker.stub(:entries).and_return([{}])
44
62
  @worker.stats
45
63
  end
46
64
  end
metadata CHANGED
@@ -1,36 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sean McDaniel
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-24 00:00:00.000000000 Z
11
+ date: 2014-03-13 00:00:00.000000000 Z
13
12
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: bson_ext
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 1.4.0
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.4.0
30
13
  - !ruby/object:Gem::Dependency
31
14
  name: sinatra
32
15
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
16
  requirements:
35
17
  - - ! '>='
36
18
  - !ruby/object:Gem::Version
@@ -38,7 +20,6 @@ dependencies:
38
20
  type: :runtime
39
21
  prerelease: false
40
22
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
23
  requirements:
43
24
  - - ! '>='
44
25
  - !ruby/object:Gem::Version
@@ -46,7 +27,6 @@ dependencies:
46
27
  - !ruby/object:Gem::Dependency
47
28
  name: hiredis
48
29
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
30
  requirements:
51
31
  - - ~>
52
32
  - !ruby/object:Gem::Version
@@ -54,7 +34,6 @@ dependencies:
54
34
  type: :runtime
55
35
  prerelease: false
56
36
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
37
  requirements:
59
38
  - - ~>
60
39
  - !ruby/object:Gem::Version
@@ -62,7 +41,6 @@ dependencies:
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: redis
64
43
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
44
  requirements:
67
45
  - - ! '>='
68
46
  - !ruby/object:Gem::Version
@@ -70,7 +48,6 @@ dependencies:
70
48
  type: :runtime
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
52
  - - ! '>='
76
53
  - !ruby/object:Gem::Version
@@ -78,7 +55,6 @@ dependencies:
78
55
  - !ruby/object:Gem::Dependency
79
56
  name: eventmachine
80
57
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
58
  requirements:
83
59
  - - ! '>='
84
60
  - !ruby/object:Gem::Version
@@ -86,7 +62,6 @@ dependencies:
86
62
  type: :runtime
87
63
  prerelease: false
88
64
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
65
  requirements:
91
66
  - - ! '>='
92
67
  - !ruby/object:Gem::Version
@@ -94,7 +69,6 @@ dependencies:
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: i18n
96
71
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
72
  requirements:
99
73
  - - ! '>='
100
74
  - !ruby/object:Gem::Version
@@ -102,7 +76,6 @@ dependencies:
102
76
  type: :runtime
103
77
  prerelease: false
104
78
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
79
  requirements:
107
80
  - - ! '>='
108
81
  - !ruby/object:Gem::Version
@@ -110,7 +83,6 @@ dependencies:
110
83
  - !ruby/object:Gem::Dependency
111
84
  name: haml
112
85
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
86
  requirements:
115
87
  - - ! '>='
116
88
  - !ruby/object:Gem::Version
@@ -118,7 +90,6 @@ dependencies:
118
90
  type: :runtime
119
91
  prerelease: false
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
93
  requirements:
123
94
  - - ! '>='
124
95
  - !ruby/object:Gem::Version
@@ -126,7 +97,6 @@ dependencies:
126
97
  - !ruby/object:Gem::Dependency
127
98
  name: rack
128
99
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
100
  requirements:
131
101
  - - ! '>='
132
102
  - !ruby/object:Gem::Version
@@ -134,7 +104,6 @@ dependencies:
134
104
  type: :runtime
135
105
  prerelease: false
136
106
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
107
  requirements:
139
108
  - - ! '>='
140
109
  - !ruby/object:Gem::Version
@@ -142,39 +111,34 @@ dependencies:
142
111
  - !ruby/object:Gem::Dependency
143
112
  name: thin
144
113
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
114
  requirements:
147
- - - ! '>='
115
+ - - ~>
148
116
  - !ruby/object:Gem::Version
149
- version: '0'
117
+ version: 1.5.1
150
118
  type: :runtime
151
119
  prerelease: false
152
120
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
121
  requirements:
155
- - - ! '>='
122
+ - - ~>
156
123
  - !ruby/object:Gem::Version
157
- version: '0'
124
+ version: 1.5.1
158
125
  - !ruby/object:Gem::Dependency
159
126
  name: activesupport
160
127
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
128
  requirements:
163
- - - ! '>='
129
+ - - ~>
164
130
  - !ruby/object:Gem::Version
165
- version: '0'
131
+ version: 3.2.0
166
132
  type: :runtime
167
133
  prerelease: false
168
134
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
135
  requirements:
171
- - - ! '>='
136
+ - - ~>
172
137
  - !ruby/object:Gem::Version
173
- version: '0'
138
+ version: 3.2.0
174
139
  - !ruby/object:Gem::Dependency
175
140
  name: mixlib-cli
176
141
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
142
  requirements:
179
143
  - - ! '>='
180
144
  - !ruby/object:Gem::Version
@@ -182,7 +146,6 @@ dependencies:
182
146
  type: :runtime
183
147
  prerelease: false
184
148
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
149
  requirements:
187
150
  - - ! '>='
188
151
  - !ruby/object:Gem::Version
@@ -190,7 +153,6 @@ dependencies:
190
153
  - !ruby/object:Gem::Dependency
191
154
  name: sinatra-contrib
192
155
  requirement: !ruby/object:Gem::Requirement
193
- none: false
194
156
  requirements:
195
157
  - - ~>
196
158
  - !ruby/object:Gem::Version
@@ -198,7 +160,6 @@ dependencies:
198
160
  type: :development
199
161
  prerelease: false
200
162
  version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
163
  requirements:
203
164
  - - ~>
204
165
  - !ruby/object:Gem::Version
@@ -206,7 +167,6 @@ dependencies:
206
167
  - !ruby/object:Gem::Dependency
207
168
  name: rack-test
208
169
  requirement: !ruby/object:Gem::Requirement
209
- none: false
210
170
  requirements:
211
171
  - - ! '>='
212
172
  - !ruby/object:Gem::Version
@@ -214,7 +174,6 @@ dependencies:
214
174
  type: :development
215
175
  prerelease: false
216
176
  version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
177
  requirements:
219
178
  - - ! '>='
220
179
  - !ruby/object:Gem::Version
@@ -222,7 +181,6 @@ dependencies:
222
181
  - !ruby/object:Gem::Dependency
223
182
  name: rake
224
183
  requirement: !ruby/object:Gem::Requirement
225
- none: false
226
184
  requirements:
227
185
  - - ! '>='
228
186
  - !ruby/object:Gem::Version
@@ -230,7 +188,6 @@ dependencies:
230
188
  type: :development
231
189
  prerelease: false
232
190
  version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
191
  requirements:
235
192
  - - ! '>='
236
193
  - !ruby/object:Gem::Version
@@ -238,7 +195,6 @@ dependencies:
238
195
  - !ruby/object:Gem::Dependency
239
196
  name: rspec
240
197
  requirement: !ruby/object:Gem::Requirement
241
- none: false
242
198
  requirements:
243
199
  - - ~>
244
200
  - !ruby/object:Gem::Version
@@ -246,7 +202,6 @@ dependencies:
246
202
  type: :development
247
203
  prerelease: false
248
204
  version_requirements: !ruby/object:Gem::Requirement
249
- none: false
250
205
  requirements:
251
206
  - - ~>
252
207
  - !ruby/object:Gem::Version
@@ -293,29 +248,28 @@ files:
293
248
  - spec/helpers_spec.rb
294
249
  - spec/spec_helper.rb
295
250
  - spec/worker_spec.rb
296
- homepage: ''
251
+ homepage: https://github.com/steelThread/redmon
297
252
  licenses: []
253
+ metadata: {}
298
254
  post_install_message:
299
255
  rdoc_options: []
300
256
  require_paths:
301
257
  - lib
302
258
  required_ruby_version: !ruby/object:Gem::Requirement
303
- none: false
304
259
  requirements:
305
260
  - - ! '>='
306
261
  - !ruby/object:Gem::Version
307
262
  version: '0'
308
263
  required_rubygems_version: !ruby/object:Gem::Requirement
309
- none: false
310
264
  requirements:
311
265
  - - ! '>='
312
266
  - !ruby/object:Gem::Version
313
267
  version: '0'
314
268
  requirements: []
315
269
  rubyforge_project: redmon
316
- rubygems_version: 1.8.23
270
+ rubygems_version: 2.2.2
317
271
  signing_key:
318
- specification_version: 3
272
+ specification_version: 4
319
273
  summary: Redis monitor
320
274
  test_files:
321
275
  - spec/app_spec.rb