zabbix-monitor 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a34ac18f7d026ea8f45f2e3abc2a089f1e6a7afd
4
- data.tar.gz: e62f0de7718341dba40eb4c1a27da457e9a4f97d
3
+ metadata.gz: 6e32fafe05e3fe1d032cd7c51329a414e9144c03
4
+ data.tar.gz: 8eef94c534a717a3c77980329c0cd9acf908aa21
5
5
  SHA512:
6
- metadata.gz: 4fe4c1309b9a5ba721adcae3aed9f525c18778dfcc850f505ca565922f6f730c5af93ba0962222ca0c556fec84fbb121af77305ab72741d5e0b5acbe849371a9
7
- data.tar.gz: de489e6bbb4e9abdebee4f27ae63a80ccaf3c11856fcd72e2e04147a4606d1d82c677e67ab350f5282589a4bee5d44100bf49b0ee67b2210a3e097f66a64dc05
6
+ metadata.gz: fb1773991213d9e1ca1ab82688790fe15bd6e86b6ab19274401e6c74103cd78bdfb4f6803b7f7ed964ecbd26d5d659b6074508de924f645ae51ef3784c572121
7
+ data.tar.gz: 47cd17966dde0d5d41fb613f03136558fed6d7fb450b5aba15260c2af1aae8cd7847908286f9f1c2371e2520a8aad6da9f3e0e62a539eb5871d1559fc831cf5e
data/.travis.yml CHANGED
@@ -1,7 +1,6 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 1.9.2
5
4
  - 1.9.3
6
5
  - 2.0.0
7
6
  - 2.1.0
data/CHANGELOG.md CHANGED
@@ -1,10 +1,41 @@
1
1
  # Zabbix Monitor Changelog
2
2
 
3
- ### v0.0.3 (TBA)
3
+ ## v0.0.9 (2014-12-22)
4
+
5
+ - Fixed some logging, docs and specs
6
+ - Require ActiveRecord explicit
7
+ - Added Capistrano tasks to stop and start the daemon to make it work with God.rb, removed after deploy:restart rule
8
+
9
+ ## v0.0.8 (2014-06-18)
10
+
11
+ - Made Yell log adapter configurable, defaults to :file
12
+
13
+ ## v0.0.7 (2014-06-18)
14
+
15
+ - Don't log while setting mode because the logger could still be uninitialized
16
+ - Don't create a symlinked log, depond on log rotate instead
17
+ - Added some logging to see if the monitor is running
18
+
19
+ ## v0.0.6 (2014-05-27)
20
+
21
+ - Moved pid files the the correct location
22
+
23
+ ## v0.0.5 (2014-05-27)
24
+
25
+ - Fixed permissions issue in v0.0.4
26
+
27
+ ## v0.0.4 (2014-05-27) (yanked)
28
+
29
+ - Added Capistrano 2 recipe
30
+
31
+ ## v0.0.3 (2014-05-27)
4
32
 
5
33
  - Added codeclimate coverage
34
+ - Puts results to the STDOUT
35
+ - Removed YAML dependency from reader
36
+ - Use Dante to daemonize the monitoring tasks
6
37
 
7
- ### v0.0.2 (2014-04-24)
38
+ ## v0.0.2 (2014-04-24)
8
39
 
9
40
  - Added :file mode
10
41
  - Write monitoring data to `tmp/zabbix-stats.yml`
@@ -15,6 +46,6 @@
15
46
  - Travis CI
16
47
  - Rdoc
17
48
 
18
- ### v0.0.1 (2014-04-17)
49
+ ## v0.0.1 (2014-04-17)
19
50
 
20
51
  - Initial release
data/README.md CHANGED
@@ -31,7 +31,7 @@ Or install it yourself as:
31
31
 
32
32
  To include the rake tasks in your application, add the following line to your Rakefile (before `App::Application.load_tasks`):
33
33
 
34
- require 'zabbix/tasks'
34
+ require 'tasks/zabbix'
35
35
 
36
36
  ## Usage
37
37
 
@@ -69,7 +69,7 @@ Put your monitoring rules in `config.rules`. Each rule contains a Ruby command t
69
69
 
70
70
  Start running your monitoring jobs with:
71
71
 
72
- $ rake zabbix:collect_data
72
+ $ rake zabbix:start
73
73
 
74
74
  ### File mode
75
75
 
@@ -96,6 +96,23 @@ else
96
96
  fi
97
97
  ```
98
98
 
99
+ ## Capistrano
100
+
101
+ Capistrano tasks are added in lib/tasks/zabbix.rb. Currently, only Capistrano 2 is supported. Add the following lines of code to your deploy.rb:
102
+
103
+ ```ruby
104
+ require 'zabbix/capistrano'
105
+
106
+ namespace :deploy do
107
+
108
+ # if you're running God.rb, it will be restarted automatically
109
+ after 'deploy:update_code', 'zabbix:stop'
110
+ # else
111
+ after 'deploy:update_code', 'zabbix:restart'
112
+
113
+ end
114
+ ```
115
+
99
116
  ## Changelog
100
117
 
101
118
  A detailed overview can be found in the [CHANGELOG](CHANGELOG.md).
@@ -2,10 +2,18 @@ require 'capistrano'
2
2
 
3
3
  Capistrano::Configuration.instance.load do
4
4
 
5
- after 'deploy:update_code', 'zabbix:restart'
6
-
7
5
  namespace :zabbix do
8
- desc 'Restarting Zabbix monitoring'
6
+ desc 'Start Zabbix monitoring'
7
+ task :start, :roles => :web do
8
+ run "cd #{release_path}; RAILS_ENV=#{rails_env} bundle exec rake zabbix:start"
9
+ end
10
+
11
+ desc 'Stop Zabbix monitoring'
12
+ task :stop, :roles => :web do
13
+ run "cd #{release_path}; RAILS_ENV=#{rails_env} bundle exec rake zabbix:stop"
14
+ end
15
+
16
+ desc 'Restart Zabbix monitoring'
9
17
  task :restart, :roles => :web do
10
18
  run "cd #{release_path}; RAILS_ENV=#{rails_env} bundle exec rake zabbix:restart"
11
19
  end
@@ -2,6 +2,7 @@ require 'json'
2
2
  require 'yaml'
3
3
  require 'fileutils'
4
4
  require 'rufus-scheduler'
5
+ require 'active_record'
5
6
 
6
7
  module Zabbix
7
8
 
@@ -13,9 +14,7 @@ module Zabbix
13
14
  def schedule
14
15
  Rufus::Scheduler.new.tap do |scheduler|
15
16
  scheduler.every '1m' do
16
- ActiveRecord::Base.connection_pool.with_connection do
17
- collect_data
18
- end
17
+ scheduled_collect_data
19
18
  end
20
19
  end.join
21
20
  end
@@ -69,7 +68,7 @@ module Zabbix
69
68
  result = `zabbix_sender -c #{config.config_file_path} -s "#{config.host_name}" -k #{key} -o #{value}`
70
69
  case $?.to_i
71
70
  when 0 # SUCCESS
72
- Zabbix.logger.info "[Monitor] successfully sended rule: '#{key}' to zabbix server: '#{config.host_name}'"
71
+ Zabbix.logger.info "[Monitor] successfully sent rule: '#{key}' with value: '#{value}' to zabbix server: '#{config.host_name}'"
73
72
  else
74
73
  Zabbix.logger.error "[Monitor] failed sending rule: '#{key}' with value: '#{value}' to zabbix server: '#{config.host_name}'"
75
74
  end
@@ -103,5 +102,11 @@ module Zabbix
103
102
  def to_stdout key, value
104
103
  $stdout.puts "#{key}: #{value}"
105
104
  end
105
+
106
+ def scheduled_collect_data
107
+ ActiveRecord::Base.connection_pool.with_connection do
108
+ collect_data
109
+ end
110
+ end
106
111
  end
107
112
  end
data/spec/monitor_spec.rb CHANGED
@@ -6,18 +6,37 @@ describe Zabbix::Monitor do
6
6
  let(:config) { Zabbix::Config.new }
7
7
 
8
8
  before :each do
9
- Zabbix.stub(:config) { config }
9
+ allow(Zabbix).to receive(:config).and_return(config)
10
10
  end
11
11
 
12
12
  describe "#config" do
13
13
  it 'returns the Zabbix monitor instance config' do
14
- monitor.send(:config).should eq config
14
+ expect(Zabbix).to receive(:config)
15
+ monitor.send(:config)
16
+ end
17
+ end
18
+
19
+ describe '#scheduled_collect_data' do
20
+ it 'calls the #collect_data with an ActiveRecord connection from the pool' do
21
+ fake_connection = double
22
+ allow(fake_connection).to receive(:with_connection).and_yield
23
+ allow(ActiveRecord::Base).to receive(:connection_pool).and_return fake_connection
24
+ expect(monitor).to receive(:collect_data).once
25
+ monitor.send(:scheduled_collect_data)
15
26
  end
16
27
  end
17
28
 
18
29
  describe '#schedule' do
30
+ let(:fake_rufus) { double }
31
+ let(:fake_collect_data) { double }
32
+
19
33
  it 'schedule the data collector to run every minute' do
20
- pending 'add scheduler test magic here'
34
+ allow(fake_collect_data).to receive(:join)
35
+ allow(fake_rufus).to receive(:every).and_yield
36
+
37
+ expect_any_instance_of(Rufus::Scheduler).to receive(:tap).and_yield fake_rufus
38
+ expect(monitor).to receive(:scheduled_collect_data).once.and_return fake_collect_data
39
+ monitor.schedule
21
40
  end
22
41
  end
23
42
 
@@ -26,9 +45,9 @@ describe Zabbix::Monitor do
26
45
  # 'raise exception invalid rule, invalid command, no command'
27
46
  describe "one rule" do
28
47
  before :each do
29
- config.stub(:rules) {[
48
+ allow(config).to receive(:rules).and_return([
30
49
  { :command => 'cmd', :zabbix_key => 'some.key' }
31
- ]}
50
+ ])
32
51
  end
33
52
  it 'executes the command once and passes it to process' do
34
53
  expect(monitor).to receive(:eval).once.and_return("result")
@@ -45,10 +64,11 @@ describe Zabbix::Monitor do
45
64
  end
46
65
  describe "two rules" do
47
66
  before :each do
48
- config.stub(:rules) {[
67
+ rules = [
49
68
  { :command => 'cmd', :zabbix_key => 'some.key' },
50
69
  { :command => 'cmd', :zabbix_key => 'another.key' }
51
- ]}
70
+ ]
71
+ allow(config).to receive(:rules).and_return rules
52
72
  end
53
73
  it 'executes the command once and passes it to process' do
54
74
  expect(monitor).to receive(:eval).twice.and_return("result")
@@ -87,16 +107,16 @@ describe Zabbix::Monitor do
87
107
  end
88
108
  it 'executes the zabbix_sender command with the correct arguments' do
89
109
  expect(monitor).to receive(:'`').once.with('zabbix_sender -c /zabbix.conf -s "servername" -k key -o value')
90
- monitor.stub(:puts) {}
110
+ allow(monitor).to receive(:puts)
91
111
  monitor.send(:to_zabbix, 'key', 'value')
92
112
  end
93
113
  it 'outputs GREAT if the command is executed without errors' do
94
- monitor.stub(:'`') { `(exit 0)` }
95
- expect(logger).to receive(:info).with(/successfully sended rule: 'key' to zabbix server: 'servername'/)
114
+ allow(monitor).to receive(:'`').and_return(`(exit 0)`)
115
+ expect(logger).to receive(:info).with(/successfully sent rule: 'key' with value: 'value' to zabbix server: 'servername'/)
96
116
  monitor.send(:to_zabbix, 'key', 'value')
97
117
  end
98
118
  it 'outputs BUMMER if the command is executed with an error' do
99
- monitor.stub(:'`') { `(exit 1)` }
119
+ allow(monitor).to receive(:'`').and_return(`(exit 1)`)
100
120
  expect(logger).to receive(:error).with(/failed sending rule: 'key' with value: 'value' to zabbix server: 'servername'/)
101
121
  monitor.send(:to_zabbix, 'key', 'value')
102
122
  end
@@ -104,8 +124,8 @@ describe Zabbix::Monitor do
104
124
 
105
125
  describe "#to_file" do
106
126
  before :each do
107
- File.stub(:exists?) { false }
108
- File.stub(:open).with('tmp/zabbix-stats.yml', 'w')
127
+ allow(File).to receive(:exists?).and_return false
128
+ allow(File).to receive(:open).with('tmp/zabbix-stats.yml', 'w')
109
129
  end
110
130
  it 'creates the tmp folder if it does not exist' do
111
131
  expect(Dir).to receive(:mkdir).once.with('tmp')
@@ -118,11 +138,11 @@ describe Zabbix::Monitor do
118
138
  monitor.send(:to_file, 'key', 'value')
119
139
  end
120
140
  before :each do
121
- Dir.stub(:exists?) { true }
141
+ allow(Dir).to receive(:exists?).and_return true
122
142
  end
123
143
  describe 'writeing and reading' do
124
144
  it 'writes the result to "tmp/zabbix-stats.yml"' do
125
- File.stub(:exists?) { false }
145
+ allow(File).to receive(:exists?).and_return false
126
146
  file = double('file')
127
147
  yml = {'statistics' => {'created_at' => Time.now.to_i, 'key' => 'value'}}
128
148
 
@@ -131,7 +151,7 @@ describe Zabbix::Monitor do
131
151
  monitor.send(:to_file, 'key', 'value')
132
152
  end
133
153
  it 'adds the key and value to the output file if it already exists' do
134
- File.stub(:exists?) { true }
154
+ allow(File).to receive(:exists?).and_return true
135
155
  file = double('file')
136
156
  yml = {'statistics' => {'created_at' => Time.now.to_i, 'old_key' => 'old_value'}}
137
157
 
data/spec/reader_spec.rb CHANGED
@@ -22,8 +22,8 @@ describe Zabbix::Reader do
22
22
 
23
23
  describe 'get_value' do
24
24
  before :each do
25
- File.stub(:exists?) { true }
26
- YAML.stub(:load_file) { {'statistics' => {'test' => 'OK'}} }
25
+ expect(File).to receive(:exists?).and_return true
26
+ expect(YAML).to receive(:load_file).and_return({'statistics' => {'test' => 'OK'}})
27
27
  end
28
28
  let(:reader) { Zabbix::Reader.new }
29
29
 
data/spec/zabbix_spec.rb CHANGED
@@ -10,7 +10,7 @@ describe Zabbix do
10
10
  describe "basic config vars and behaviour" do
11
11
 
12
12
  it 'creates a new config for the Zabbix monitor instance' do
13
- Zabbix.config.should be_kind_of(Zabbix::Config)
13
+ expect(Zabbix.config).to be_kind_of(Zabbix::Config)
14
14
  end
15
15
  it 'set the correct config values' do
16
16
  Zabbix.configure do |config|
@@ -19,18 +19,18 @@ describe Zabbix do
19
19
  config.mode = :push
20
20
  end
21
21
 
22
- Zabbix.config.config_file_path.should eq '/etc/zabbix/zabbix_agentd.conf'
23
- Zabbix.config.log_file_path.should be_nil
24
- Zabbix.config.host_name.should eq 'servername'
25
- Zabbix.config.mode.should eq :push
22
+ expect(Zabbix.config.config_file_path).to eq '/etc/zabbix/zabbix_agentd.conf'
23
+ expect(Zabbix.config.log_file_path).to be_nil
24
+ expect(Zabbix.config.host_name).to eq 'servername'
25
+ expect(Zabbix.config.mode).to eq :push
26
26
  pending 'should rules be initialized as an empty array?'
27
- Zabbix.config.rules.count.should eq 0
27
+ expect(Zabbix.config.rules.count).to eq 0
28
28
  end
29
29
  it 'returns the correct log_file_path if specified' do
30
30
  Zabbix.configure do |config|
31
31
  config.log_file_path = '/var/log/monitor.log'
32
32
  end
33
- Zabbix.config.log_file_path.should eq '/var/log/monitor.log'
33
+ expect(Zabbix.config.log_file_path).to eq '/var/log/monitor.log'
34
34
  end
35
35
  end
36
36
 
@@ -40,7 +40,7 @@ describe Zabbix do
40
40
  Zabbix.configure do |config|
41
41
  config.rules = [rule]
42
42
  end
43
- Zabbix.config.rules.should eq [rule]
43
+ expect(Zabbix.config.rules).to eq [rule]
44
44
  end
45
45
  it 'has two rules' do
46
46
  ruleA = { :command => 'a', :zabbix_key => 'a' }
@@ -48,11 +48,9 @@ describe Zabbix do
48
48
  Zabbix.configure do |config|
49
49
  config.rules = [ruleA, ruleB]
50
50
  end
51
- Zabbix.config.rules.should eq [ruleA, ruleB]
52
- end
53
- it 'validates if the format of a rule from config is valid' do
54
- pending 'todo'
51
+ expect(Zabbix.config.rules).to eq [ruleA, ruleB]
55
52
  end
53
+ it 'validates if the format of a rule from config is valid'
56
54
  end
57
55
  end
58
56
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'zabbix-monitor'
7
- spec.version = '0.0.8'
7
+ spec.version = '0.0.9'
8
8
  spec.authors = ['Robert Jan de Gelder', 'Manuel van Rijn']
9
9
  spec.email = ['r.degelder@sping.nl', 'm.vanrijn@sping.nl']
10
10
  spec.description = 'Zabbix application monitoring'
@@ -20,10 +20,11 @@ Gem::Specification.new do |spec|
20
20
  spec.add_dependency 'rufus-scheduler', '~> 3.0'
21
21
  spec.add_dependency 'yell', '~> 2.0'
22
22
  spec.add_dependency 'dante', '~> 0.2.0'
23
+ spec.add_dependency 'activerecord', '>= 4.0'
23
24
 
24
25
  spec.add_development_dependency 'rake'
25
26
  spec.add_development_dependency 'bundler', '~> 1.3'
26
- spec.add_development_dependency 'rspec', '~> 2.14'
27
+ spec.add_development_dependency 'rspec', '~> 3.1'
27
28
  spec.add_development_dependency 'pry'
28
29
  spec.add_development_dependency 'pry-nav'
29
30
  spec.add_development_dependency 'yard'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Jan de Gelder
@@ -9,160 +9,174 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-16 00:00:00.000000000 Z
12
+ date: 2014-12-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rufus-scheduler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: yell
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '2.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '2.0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: dante
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.2.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.2.0
56
+ - !ruby/object:Gem::Dependency
57
+ name: activerecord
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '4.0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '4.0'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: rake
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
- - - '>='
74
+ - - ">="
61
75
  - !ruby/object:Gem::Version
62
76
  version: '0'
63
77
  type: :development
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
- - - '>='
81
+ - - ">="
68
82
  - !ruby/object:Gem::Version
69
83
  version: '0'
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: bundler
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
- - - ~>
88
+ - - "~>"
75
89
  - !ruby/object:Gem::Version
76
90
  version: '1.3'
77
91
  type: :development
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
- - - ~>
95
+ - - "~>"
82
96
  - !ruby/object:Gem::Version
83
97
  version: '1.3'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: rspec
86
100
  requirement: !ruby/object:Gem::Requirement
87
101
  requirements:
88
- - - ~>
102
+ - - "~>"
89
103
  - !ruby/object:Gem::Version
90
- version: '2.14'
104
+ version: '3.1'
91
105
  type: :development
92
106
  prerelease: false
93
107
  version_requirements: !ruby/object:Gem::Requirement
94
108
  requirements:
95
- - - ~>
109
+ - - "~>"
96
110
  - !ruby/object:Gem::Version
97
- version: '2.14'
111
+ version: '3.1'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: pry
100
114
  requirement: !ruby/object:Gem::Requirement
101
115
  requirements:
102
- - - '>='
116
+ - - ">="
103
117
  - !ruby/object:Gem::Version
104
118
  version: '0'
105
119
  type: :development
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
108
122
  requirements:
109
- - - '>='
123
+ - - ">="
110
124
  - !ruby/object:Gem::Version
111
125
  version: '0'
112
126
  - !ruby/object:Gem::Dependency
113
127
  name: pry-nav
114
128
  requirement: !ruby/object:Gem::Requirement
115
129
  requirements:
116
- - - '>='
130
+ - - ">="
117
131
  - !ruby/object:Gem::Version
118
132
  version: '0'
119
133
  type: :development
120
134
  prerelease: false
121
135
  version_requirements: !ruby/object:Gem::Requirement
122
136
  requirements:
123
- - - '>='
137
+ - - ">="
124
138
  - !ruby/object:Gem::Version
125
139
  version: '0'
126
140
  - !ruby/object:Gem::Dependency
127
141
  name: yard
128
142
  requirement: !ruby/object:Gem::Requirement
129
143
  requirements:
130
- - - '>='
144
+ - - ">="
131
145
  - !ruby/object:Gem::Version
132
146
  version: '0'
133
147
  type: :development
134
148
  prerelease: false
135
149
  version_requirements: !ruby/object:Gem::Requirement
136
150
  requirements:
137
- - - '>='
151
+ - - ">="
138
152
  - !ruby/object:Gem::Version
139
153
  version: '0'
140
154
  - !ruby/object:Gem::Dependency
141
155
  name: simplecov
142
156
  requirement: !ruby/object:Gem::Requirement
143
157
  requirements:
144
- - - '>='
158
+ - - ">="
145
159
  - !ruby/object:Gem::Version
146
160
  version: '0'
147
161
  type: :development
148
162
  prerelease: false
149
163
  version_requirements: !ruby/object:Gem::Requirement
150
164
  requirements:
151
- - - '>='
165
+ - - ">="
152
166
  - !ruby/object:Gem::Version
153
167
  version: '0'
154
168
  - !ruby/object:Gem::Dependency
155
169
  name: codeclimate-test-reporter
156
170
  requirement: !ruby/object:Gem::Requirement
157
171
  requirements:
158
- - - '>='
172
+ - - ">="
159
173
  - !ruby/object:Gem::Version
160
174
  version: '0'
161
175
  type: :development
162
176
  prerelease: false
163
177
  version_requirements: !ruby/object:Gem::Requirement
164
178
  requirements:
165
- - - '>='
179
+ - - ">="
166
180
  - !ruby/object:Gem::Version
167
181
  version: '0'
168
182
  description: Zabbix application monitoring
@@ -174,9 +188,9 @@ executables:
174
188
  extensions: []
175
189
  extra_rdoc_files: []
176
190
  files:
177
- - .gitignore
178
- - .travis.yml
179
- - .yardopts
191
+ - ".gitignore"
192
+ - ".travis.yml"
193
+ - ".yardopts"
180
194
  - CHANGELOG.md
181
195
  - Gemfile
182
196
  - LICENSE.txt
@@ -207,17 +221,17 @@ require_paths:
207
221
  - lib
208
222
  required_ruby_version: !ruby/object:Gem::Requirement
209
223
  requirements:
210
- - - '>='
224
+ - - ">="
211
225
  - !ruby/object:Gem::Version
212
226
  version: '0'
213
227
  required_rubygems_version: !ruby/object:Gem::Requirement
214
228
  requirements:
215
- - - '>='
229
+ - - ">="
216
230
  - !ruby/object:Gem::Version
217
231
  version: '0'
218
232
  requirements: []
219
233
  rubyforge_project:
220
- rubygems_version: 2.1.11
234
+ rubygems_version: 2.2.2
221
235
  signing_key:
222
236
  specification_version: 4
223
237
  summary: Let the Zabbix agent read your application monitoring