zabbix-ruby-client 0.0.23 → 0.1.0

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: 126a127637fb0e712e06f76438aaa8e3b839bbff
4
- data.tar.gz: e020f56411cc5cc484e97c7556972c10f028e4da
3
+ metadata.gz: a00e6c08a6c633012028308f6fb481d0bd140e82
4
+ data.tar.gz: 0305423334d9fd419226e89d3a9b0baebed4cf00
5
5
  SHA512:
6
- metadata.gz: 8179e15473b6224531325ebe70b2e977790488e986a824e5848efe7ee503435a6ed0a4aacce3945768125e003ef521ad36081945f2ebc534cfcc90f0a4fc3c31
7
- data.tar.gz: 4ba4851115241c23b247b3bb3cf91975ad5933dd4c31ab579eb423361df6664963358e1f01bb75825f23c1ca99b5f2d6da9bcbab01ecc42bc249a043d219a2e2
6
+ metadata.gz: a69549770427fc33324aeb4ccfb52a61dff7df69609befde900b076cdcd3aac585fa8084c7a96893a2a1222ab6f9779dd6265e397003952d0f91c719e46f0cd3
7
+ data.tar.gz: aa84d40d45845214813d9b14de1b381b74b9b9b2ec1c4d564975efa58ad5d4d3471dc04023460f28c10ed5bdc2253126d3cf9bc313743dc46b733ad7f44321a3
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
1
  *.gem
2
2
  .bundle
3
3
  .config
4
- Gemfile.lock
5
4
  InstalledFiles
6
5
  coverage
7
6
  doc/
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.0.0
4
+ - 1.9.3
5
+ - 2.1.1
@@ -1,122 +1,106 @@
1
1
  Zabbbix Ruby Client Changelog
2
2
  -----------------------------
3
3
 
4
- ### v0.0.23 - 2014-08-09
4
+ ### v0.1.0 - 2014-08-22
5
+ - remove bundler dependency
6
+ - minor code refactoring
5
7
 
6
- * oops, buggy mysqlcommand fixed
8
+ ### v0.0.23 - 2014-08-09
9
+ - oops, buggy mysqlcommand fixed
7
10
 
8
11
  ### v0.0.22 - 2014-08-09
9
-
10
- * added RabbitMQ plugin
11
- * added mysqlcommand plugin for graphing arbitrary mysql commands
12
+ - added RabbitMQ plugin
13
+ - added mysqlcommand plugin for graphing arbitrary mysql commands
12
14
 
13
15
  ### v0.0.21 - 2014-08-01
14
-
15
- * fix zabbix_sender return code 256
16
- * update all templates with shorter history
17
- * added a simple openvpn plugin + template
18
- * small fix on network template
19
- * improved postgres template
20
- * add cisco template
16
+ - fix zabbix_sender return code 256
17
+ - update all templates with shorter history
18
+ - added a simple openvpn plugin + template
19
+ - small fix on network template
20
+ - improved postgres template
21
+ - add cisco template
21
22
 
22
23
  ### v0.0.20 - 2013-12-25
23
-
24
- * fix network plugin
25
- * fix new return code handling from zabbix_sender 2.2.x
26
- * more debugging info when loglevel: debug
24
+ - fix network plugin
25
+ - fix new return code handling from zabbix_sender 2.2.x
26
+ - more debugging info when loglevel: debug
27
27
 
28
28
  ### v0.0.19 - 2013-12-24
29
-
30
- * fix on logger when zabbix-sender command fails
31
- * fix on the disk plugin handling of third argument
29
+ - fix on logger when zabbix-sender command fails
30
+ - fix on the disk plugin handling of third argument
32
31
 
33
32
  ### v0.0.18 - 2013-12-13
34
-
35
- * total fix on CPU usage plugin
36
- * added a postgres plugin (per database)
37
- * refactoring of plugins
38
- * fixed typo on count of start processes in apache plugin
39
- * made plugin collection optional, so you can have a plugin for only discovery
40
- * more tests and coverage
33
+ - total fix on CPU usage plugin
34
+ - added a postgres plugin (per database)
35
+ - refactoring of plugins
36
+ - fixed typo on count of start processes in apache plugin
37
+ - made plugin collection optional, so you can have a plugin for only discovery
38
+ - more tests and coverage
41
39
 
42
40
  ### v0.0.17 - 2013-10-31
43
-
44
- * bugfix on requires
41
+ - bugfix on requires
45
42
 
46
43
  ### v0.0.16 - 2013-10-31
47
-
48
- * _if you have custom plugins_ the class ZabbixRubyClient is now a module just for namespacing, update your code!
49
- * fix the logger
50
- * refactoring and more tests
51
- * adding travis and coverall to stimulate testing, also added gemnasium
44
+ - _if you have custom plugins_ the class ZabbixRubyClient is now a module just for namespacing, update your code!
45
+ - fix the logger
46
+ - refactoring and more tests
47
+ - adding travis and coverall to stimulate testing, also added gemnasium
52
48
 
53
49
  ### v0.0.15 - 2013-10-23
54
-
55
- * prototype of a way to keep data when sending fails and sending it again at next iteration
56
- * refactoring in several classes for better testability and nicer code
57
- * add port in the zabbix-sender command that was forgotten there
58
- * fix disk template alarm subject
59
- * fix datafile naming for when you get different task files ran at same time
60
- * improve cpu and disk triggers with dependencies (but waiting for ZBXNEXT-1229)
50
+ - prototype of a way to keep data when sending fails and sending it again at next iteration
51
+ - refactoring in several classes for better testability and nicer code
52
+ - add port in the zabbix-sender command that was forgotten there
53
+ - fix disk template alarm subject
54
+ - fix datafile naming for when you get different task files ran at same time
55
+ - improve cpu and disk triggers with dependencies (but waiting for ZBXNEXT-1229)
61
56
 
62
57
  ### v0.0.14 - 2013-10-14
63
-
64
- * better explanation about how to make custom plugins
65
- * note on the readme about security and ssh tunnels
66
- * added a redis plugin and template
58
+ - better explanation about how to make custom plugins
59
+ - note on the readme about security and ssh tunnels
60
+ - added a redis plugin and template
67
61
 
68
62
  ### v0.0.13 - 2013-10-08
69
-
70
- * added an nginx plugin
63
+ - added an nginx plugin
71
64
 
72
65
  ### v0.0.12 - 2013-10-07
73
-
74
- * bugfix on memory calculation
66
+ - bugfix on memory calculation
75
67
 
76
68
  ### v0.0.11 - 2013-10-07
77
-
78
- * fix on the memory statistiics collection
79
- * added a who plugin, but not happy about it. I need to have a use of the API to reate graphs from the client, to list who is logged in. Sounds like an interesting way to get processes list up there too.
80
- * added an option in disk plugin in case it's a loop device, then using args [ "", /tmp, "loop0" ] in config
69
+ - fix on the memory statistiics collection
70
+ - added a who plugin, but not happy about it. I need to have a use of the API to reate graphs from the client, to list who is logged in. Sounds like an interesting way to get processes list up there too.
71
+ - added an option in disk plugin in case it's a loop device, then using args [ "", /tmp, "loop0" ] in config
81
72
 
82
73
  ### v0.0.10 - 2013-10-04
83
-
84
- * added a mysql plugin (basic version, more will come on that one)
74
+ - added a mysql plugin (basic version, more will come on that one)
85
75
 
86
76
  ### v0.0.9 - 2013-10-02
87
-
88
- * split configuration to have several upload frequencies
89
- * added a -t option for specifying the list of plugins to run, default minutely.yml
90
- * handled compatibility with previous configuration that includes list of plugins in config.yml
91
- * added a sysinfo plugin for populating the hosts informations, including arbitrary information declared as plugin arguments
92
- * started a mysql plugin but this one is not ready yet
93
- * added an apt plugin to get the pending apt upgrades
77
+ - split configuration to have several upload frequencies
78
+ - added a -t option for specifying the list of plugins to run, default minutely.yml
79
+ - handled compatibility with previous configuration that includes list of plugins in config.yml
80
+ - added a sysinfo plugin for populating the hosts informations, including arbitrary information declared as plugin arguments
81
+ - started a mysql plugin but this one is not ready yet
82
+ - added an apt plugin to get the pending apt upgrades
94
83
 
95
84
  ### v0.0.8 - 2013-09-28
96
-
97
- * adding load stats
98
- * fix calcuation of percent of cpu used
99
- * fix disk plugin to use proc rather than iostat
100
- * various fixes in zabbix templates for disk io
85
+ - adding load stats
86
+ - fix calcuation of percent of cpu used
87
+ - fix disk plugin to use proc rather than iostat
88
+ - various fixes in zabbix templates for disk io
101
89
 
102
90
  ### v0.0.7 - 2013-09-25
103
-
104
- * fix network plugin
105
- * added disk plugin and tepmlate
106
- * various small templates fixes
91
+ - fix network plugin
92
+ - added disk plugin and tepmlate
93
+ - various small templates fixes
107
94
 
108
95
  ### v0.0.6 - 2013-09-25
109
-
110
- * added a discover method in plugin for pushed discoveries on network interfaces
111
- ** change your config file, args are now arrays for plugins
112
- * change memory reports to Bytes rather than KBytes
96
+ - added a discover method in plugin for pushed discoveries on network interfaces
97
+ - change your config file, args are now arrays for plugins
98
+ - change memory reports to Bytes rather than KBytes
113
99
 
114
100
  ### v0.0.5 - 2013-09-23
115
-
116
- * fix generated gemfile
117
- * fixes on readme
118
- * adding a changelog
101
+ - fix generated gemfile
102
+ - fixes on readme
103
+ - adding a changelog
119
104
 
120
105
  ### v0.0.4 - 2013-09-21
121
-
122
- * initial release
106
+ - initial release
@@ -0,0 +1,63 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ zabbix-ruby-client (0.1.0)
5
+ thor
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.3.6)
11
+ coveralls (0.7.1)
12
+ multi_json (~> 1.3)
13
+ rest-client
14
+ simplecov (>= 0.7)
15
+ term-ansicolor
16
+ thor
17
+ crack (0.4.2)
18
+ safe_yaml (~> 1.0.0)
19
+ diff-lcs (1.2.5)
20
+ docile (1.1.5)
21
+ mime-types (2.3)
22
+ multi_json (1.10.1)
23
+ netrc (0.7.7)
24
+ rake (10.3.2)
25
+ rest-client (1.7.2)
26
+ mime-types (>= 1.16, < 3.0)
27
+ netrc (~> 0.7)
28
+ rspec (3.0.0)
29
+ rspec-core (~> 3.0.0)
30
+ rspec-expectations (~> 3.0.0)
31
+ rspec-mocks (~> 3.0.0)
32
+ rspec-core (3.0.4)
33
+ rspec-support (~> 3.0.0)
34
+ rspec-expectations (3.0.4)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.0.0)
37
+ rspec-mocks (3.0.4)
38
+ rspec-support (~> 3.0.0)
39
+ rspec-support (3.0.4)
40
+ safe_yaml (1.0.3)
41
+ simplecov (0.9.0)
42
+ docile (~> 1.1.0)
43
+ multi_json
44
+ simplecov-html (~> 0.8.0)
45
+ simplecov-html (0.8.0)
46
+ term-ansicolor (1.3.0)
47
+ tins (~> 1.0)
48
+ thor (0.19.1)
49
+ tins (1.3.2)
50
+ webmock (1.18.0)
51
+ addressable (>= 2.3.6)
52
+ crack (>= 0.3.2)
53
+
54
+ PLATFORMS
55
+ ruby
56
+
57
+ DEPENDENCIES
58
+ bundler (~> 1.3)
59
+ coveralls
60
+ rake
61
+ rspec (~> 3.0)
62
+ webmock
63
+ zabbix-ruby-client!
data/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  Zabbix Ruby Client
2
2
  ====================
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/zabbix-ruby-client.png)](http://rubygems.org/gems/zabbix-ruby-client)
5
- [![Build Status](https://travis-ci.org/eduvo/zabbix-ruby-client.png?branch=master)](https://travis-ci.org/eduvo/zabbix-ruby-client)
6
- [![Coverage Status](https://coveralls.io/repos/eduvo/zabbix-ruby-client/badge.png)](https://coveralls.io/r/eduvo/zabbix-ruby-client)
4
+ [![Gem Version](https://img.shields.io/gem/v/zabbix-ruby-client.svg)](http://rubygems.org/gems/zabbix-ruby-client)
5
+ [![Downloads](http://img.shields.io/gem/dt/zabbix-ruby-client.svg)](https://rubygems.org/gems/zabbix-ruby-client)
6
+ [![Build Status](https://img.shields.io/travis/eduvo/zabbix-ruby-client.svg)](https://travis-ci.org/eduvo/zabbix-ruby-client)
7
+ [![Coverage Status](https://img.shields.io/coveralls/eduvo/zabbix-ruby-client.svg)](https://coveralls.io/r/eduvo/zabbix-ruby-client?branch=master)
7
8
  [![Dependency Status](https://gemnasium.com/eduvo/zabbix-ruby-client.png)](https://gemnasium.com/eduvo/zabbix-ruby-client)
8
- [![Code Climate](https://codeclimate.com/github/eduvo/zabbix-ruby-client.png)](https://codeclimate.com/github/eduvo/zabbix-ruby-client)
9
+ [![Code Climate](https://img.shields.io/codeclimate/github/eduvo/zabbix-ruby-client.svg)](https://codeclimate.com/github/eduvo/zabbix-ruby-client)
9
10
 
10
11
  ----
11
12
 
data/Rakefile CHANGED
@@ -1,10 +1,9 @@
1
1
  #!/usr/bin/env rake
2
- begin
3
- require 'bundler/setup'
4
- rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
- end
7
- require 'bundler/setup'
2
+ # begin
3
+ # require 'bundler/setup'
4
+ # rescue LoadError
5
+ # puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ # end
8
7
  require "bundler/gem_tasks"
9
8
  require "rake/testtask"
10
9
  require "rspec/core/rake_task" # RSpec 2.0
data/bin/zrc CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler"
4
3
  require "zabbix-ruby-client/version"
5
4
  require "zabbix-ruby-client/cli"
6
5
 
@@ -29,38 +29,28 @@ module ZabbixRubyClient
29
29
 
30
30
  desc "show", "Displays in console what are the collected data ready to be sent"
31
31
  def show
32
- begin
33
- Bundler.require
34
- rescue Bundler::GemfileNotFound
35
- say "No Gemfile found", :red
36
- abort
37
- end
38
- config = YAML::load_file(options[:configfile])
39
- if File.exists? options[:taskfile]
40
- tasks = YAML::load_file(options[:taskfile])
41
- else
42
- tasks = config['plugins']
43
- end
44
- config['server'] = File.basename(options[:configfile],'.yml')
45
- config['taskfile'] = File.basename(options[:taskfile],'.yml')
46
- zrc = ZabbixRubyClient::Runner.new(config, tasks)
47
- zrc.collect
48
- zrc.show
32
+ collect(options).show
49
33
  end
50
34
 
51
35
  desc "upload", "Collects and sends data to the zabbix server"
52
36
  def upload
53
- config = YAML::load_file(options[:configfile])
54
- if File.exists? options[:taskfile]
55
- tasks = YAML::load_file(options[:taskfile])
56
- else
57
- tasks = config['plugins']
37
+ collect(options).upload
38
+ end
39
+
40
+ no_commands do
41
+ def collect(options)
42
+ config = YAML::load_file(options[:configfile])
43
+ if File.exists? options[:taskfile]
44
+ tasks = YAML::load_file(options[:taskfile])
45
+ else
46
+ tasks = config['plugins']
47
+ end
48
+ config['server'] = File.basename(options[:configfile],'.yml')
49
+ config['taskfile'] = File.basename(options[:taskfile],'.yml')
50
+ zrc = ZabbixRubyClient::Runner.new(config, tasks)
51
+ zrc.collect
52
+ zrc
58
53
  end
59
- config['server'] = File.basename(options[:configfile],'.yml')
60
- config['taskfile'] = File.basename(options[:taskfile],'.yml')
61
- zrc = ZabbixRubyClient::Runner.new(config, tasks)
62
- zrc.collect
63
- zrc.upload
64
54
  end
65
55
 
66
56
  end
@@ -19,9 +19,9 @@ module ZabbixRubyClient
19
19
  if info
20
20
  time = Time.now.to_i
21
21
  back = []
22
- back << "#{host} disk.space[#{mapped},size] #{time} #{info[1].to_i * 1000}"
23
- back << "#{host} disk.space[#{mapped},used] #{time} #{info[2].to_i * 1000}"
24
- back << "#{host} disk.space[#{mapped},available] #{time} #{info[3].to_i * 1000}"
22
+ back << "#{host} disk.space[#{mapped},size] #{time} #{to_m(info[1])}"
23
+ back << "#{host} disk.space[#{mapped},used] #{time} #{to_m(info[2])}"
24
+ back << "#{host} disk.space[#{mapped},available] #{time} #{to_m(info[3])}"
25
25
  back << "#{host} disk.space[#{mapped},percent_used] #{time} #{info[4].gsub(/%/,'')}"
26
26
  back << "#{host} disk.io[#{mapped},read_ok] #{time} #{info[9]}"
27
27
  back << "#{host} disk.io[#{mapped},read_merged] #{time} #{info[10]}"
@@ -41,13 +41,17 @@ module ZabbixRubyClient
41
41
  device = args[0]
42
42
  mount = args[1]
43
43
  mapped = args[2] || device
44
- [ "disk.dev.discovery",
45
- "{\"{#DISK_DEVICE}\": \"#{mapped}\", \"{#DISK_MOUNT}\": \"#{mount}\"}"
44
+ [ "disk.dev.discovery",
45
+ "{\"{#DISK_DEVICE}\": \"#{mapped}\", \"{#DISK_MOUNT}\": \"#{mount}\"}"
46
46
  ]
47
47
  end
48
48
 
49
49
  private
50
50
 
51
+ def to_m(s)
52
+ s.to_i * 1000
53
+ end
54
+
51
55
  def get_info(disk, device)
52
56
  info = diskinfo(device)
53
57
  if info
@@ -18,27 +18,37 @@ module ZabbixRubyClient
18
18
  back = []
19
19
  if info
20
20
  time = Time.now.to_i
21
+ back << "#{host} rabbitmq.version #{time} #{info['rabbitmq_version']}"
21
22
  back << "#{host} rabbitmq.erlang.version #{time} #{info['erlang_version']}"
22
- back << "#{host} rabbitmq.message.ack #{time} #{info['message_stats']['ack']}"
23
- back << "#{host} rabbitmq.message.ack.rate #{time} #{info['message_stats']['ack_details']['rate'].round}"
24
- back << "#{host} rabbitmq.message.deliver #{time} #{info['message_stats']['deliver']}"
25
- back << "#{host} rabbitmq.message.deliver.rate #{time} #{info['message_stats']['deliver_details']['rate'].round}"
26
- back << "#{host} rabbitmq.message.deliver_get #{time} #{info['message_stats']['deliver_get']}"
27
- back << "#{host} rabbitmq.message.deliver_get.rate #{time} #{info['message_stats']['deliver_get_details']['rate'].round}"
28
- back << "#{host} rabbitmq.message.publish #{time} #{info['message_stats']['publish']}"
29
- back << "#{host} rabbitmq.message.publish.rate #{time} #{info['message_stats']['publish_details']['rate'].round}"
30
- back << "#{host} rabbitmq.message.redeliver #{time} #{info['message_stats']['redeliver']}"
31
- back << "#{host} rabbitmq.message.redeliver.rate #{time} #{info['message_stats']['redeliver_details']['rate'].round}"
32
- back << "#{host} rabbitmq.queue.total.messages #{time} #{info['queue_totals']['messages']}"
33
- back << "#{host} rabbitmq.queue.total.messages_ready #{time} #{info['queue_totals']['messages_ready']}"
34
- back << "#{host} rabbitmq.queue.total.messages_unacknowledged #{time} #{info['queue_totals']['messages_unacknowledged']}"
35
- back << "#{host} rabbitmq.total.channels #{time} #{info['object_totals']['channels']}"
36
- back << "#{host} rabbitmq.total.connections #{time} #{info['object_totals']['connections']}"
37
- back << "#{host} rabbitmq.total.consumers #{time} #{info['object_totals']['consumers']}"
38
- back << "#{host} rabbitmq.total.exchanges #{time} #{info['object_totals']['exchanges']}"
23
+ %w(ack deliver deliver_get publish redeliver).each do |i|
24
+ back << "#{host} rabbitmq.message.#{i} #{time} #{info['message_stats'][i]}"
25
+ back << "#{host} rabbitmq.message.#{i}.rate #{time} #{info['message_stats']["#{i}_details"]['rate'].round}"
26
+ end
27
+ # back << "#{host} rabbitmq.message.ack #{time} #{info['message_stats']['ack']}"
28
+ # back << "#{host} rabbitmq.message.ack.rate #{time} #{info['message_stats']['ack_details']['rate'].round}"
29
+ # back << "#{host} rabbitmq.message.deliver #{time} #{info['message_stats']['deliver']}"
30
+ # back << "#{host} rabbitmq.message.deliver.rate #{time} #{info['message_stats']['deliver_details']['rate'].round}"
31
+ # back << "#{host} rabbitmq.message.deliver_get #{time} #{info['message_stats']['deliver_get']}"
32
+ # back << "#{host} rabbitmq.message.deliver_get.rate #{time} #{info['message_stats']['deliver_get_details']['rate'].round}"
33
+ # back << "#{host} rabbitmq.message.publish #{time} #{info['message_stats']['publish']}"
34
+ # back << "#{host} rabbitmq.message.publish.rate #{time} #{info['message_stats']['publish_details']['rate'].round}"
35
+ # back << "#{host} rabbitmq.message.redeliver #{time} #{info['message_stats']['redeliver']}"
36
+ # back << "#{host} rabbitmq.message.redeliver.rate #{time} #{info['message_stats']['redeliver_details']['rate'].round}"
37
+ %w(messages messages_ready messages_unacknowledged).each do |i|
38
+ back << "#{host} rabbitmq.queue.total.#{i} #{time} #{info['queue_totals'][i]}"
39
+ end
40
+ # back << "#{host} rabbitmq.queue.total.messages #{time} #{info['queue_totals']['messages']}"
41
+ # back << "#{host} rabbitmq.queue.total.messages_ready #{time} #{info['queue_totals']['messages_ready']}"
42
+ # back << "#{host} rabbitmq.queue.total.messages_unacknowledged #{time} #{info['queue_totals']['messages_unacknowledged']}"
43
+ %w(channels connections consumers exchanges queues).each do |i|
44
+ back << "#{host} rabbitmq.total.#{i} #{time} #{info['object_totals'][i]}"
45
+ end
46
+ # back << "#{host} rabbitmq.total.channels #{time} #{info['object_totals']['channels']}"
47
+ # back << "#{host} rabbitmq.total.connections #{time} #{info['object_totals']['connections']}"
48
+ # back << "#{host} rabbitmq.total.consumers #{time} #{info['object_totals']['consumers']}"
49
+ # back << "#{host} rabbitmq.total.exchanges #{time} #{info['object_totals']['exchanges']}"
50
+ # back << "#{host} rabbitmq.total.queues #{time} #{info['object_totals']['queues']}"
39
51
  back << "#{host} rabbitmq.total.listeners #{time} #{info['listeners'].count}"
40
- back << "#{host} rabbitmq.total.queues #{time} #{info['object_totals']['queues']}"
41
- back << "#{host} rabbitmq.version #{time} #{info['rabbitmq_version']}"
42
52
  end
43
53
  back
44
54
  end
@@ -1,3 +1,3 @@
1
1
  module ZabbixRubyClient
2
- VERSION ||= "0.0.23"
2
+ VERSION ||= "0.1.0"
3
3
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.3"
24
24
  spec.add_development_dependency "rake"
25
- spec.add_development_dependency "rspec"
25
+ spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_development_dependency "webmock"
27
27
  spec.add_development_dependency "coveralls"
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-09 00:00:00.000000000 Z
11
+ date: 2014-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '3.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: '0'
68
+ version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: webmock
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +108,7 @@ files:
108
108
  - ".travis.yml"
109
109
  - CHANGELOG.md
110
110
  - Gemfile
111
+ - Gemfile.lock
111
112
  - LICENSE.txt
112
113
  - README.md
113
114
  - Rakefile