zabbix-cloudwatch 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA512:
3
- metadata.gz: 668006ca05ddcdb72c2be727e55fd9ca3f02436b55ad05d79188bceb689d8c6abd612ab8eed200a40d1485ae191ac505be1293ff3747b494f17573d4aeba9738
4
- data.tar.gz: 50b14743250d4aa4fa48a9b217039225e29157daa2024da499f6ef29a13f80c8ed1ae68b78757bace3977e22d4d3c1bb9e53246f585c377e4b38591c7a98f724
5
2
  SHA1:
6
- metadata.gz: 53a2da88f161acb42a0b710ba66e2fc2ecadb86c
7
- data.tar.gz: 7d8cc21d6177256adf7e29f002f1c73f7a88b3ed
3
+ metadata.gz: c3de7b652898294134861700a6ebe84a99346bad
4
+ data.tar.gz: 65a24623c54b1cd2bb9e67f08b2200765a9f7041
5
+ SHA512:
6
+ metadata.gz: 8d37c39ea94de703766308a0881f39c4b91f223e16579b07f4cf53d7472fd3945093c194a52f22e4a12e8f94eb36fab1586732ab53d0c1194325f59901069b85
7
+ data.tar.gz: f56830b4100dbfa199f05866d906ed975764eadce1624f55b3e935ce2b978678c6082464b32e60b619278218908553282ae984dead24bd32b29ce42bb8c834b0
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.3
5
+ - 2.0.0
@@ -1,21 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zabbix-cloudwatch (0.0.5)
5
- aws-sdk (~> 1.21.0)
4
+ zabbix-cloudwatch (0.0.6)
5
+ aws-sdk (~> 1.23.0)
6
6
  getopt (~> 1.4.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- aws-sdk (1.21.0)
11
+ aws-sdk (1.23.0)
12
12
  json (~> 1.4)
13
13
  nokogiri (>= 1.4.4, < 1.6.0)
14
14
  uuidtools (~> 2.1)
15
+ coveralls (0.7.0)
16
+ multi_json (~> 1.3)
17
+ rest-client
18
+ simplecov (>= 0.7)
19
+ term-ansicolor
20
+ thor
15
21
  diff-lcs (1.2.4)
16
22
  getopt (1.4.1)
17
- json (1.8.0)
23
+ json (1.8.1)
24
+ mime-types (1.25)
25
+ multi_json (1.8.2)
18
26
  nokogiri (1.5.10)
27
+ rake (10.1.0)
28
+ rest-client (1.6.7)
29
+ mime-types (>= 1.16)
19
30
  rspec (2.14.1)
20
31
  rspec-core (~> 2.14.0)
21
32
  rspec-expectations (~> 2.14.0)
@@ -24,11 +35,22 @@ GEM
24
35
  rspec-expectations (2.14.3)
25
36
  diff-lcs (>= 1.1.3, < 2.0)
26
37
  rspec-mocks (2.14.3)
38
+ simplecov (0.7.1)
39
+ multi_json (~> 1.0)
40
+ simplecov-html (~> 0.7.1)
41
+ simplecov-html (0.7.1)
42
+ term-ansicolor (1.2.2)
43
+ tins (~> 0.8)
44
+ thor (0.18.1)
45
+ tins (0.12.0)
27
46
  uuidtools (2.1.4)
28
47
 
29
48
  PLATFORMS
30
49
  ruby
31
50
 
32
51
  DEPENDENCIES
52
+ coveralls
53
+ mime-types (~> 1.0)
54
+ rake
33
55
  rspec
34
56
  zabbix-cloudwatch!
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # zabbix-cloudwatch
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/zabbix-cloudwatch.png)](http://badge.fury.io/rb/zabbix-cloudwatch)
4
+ [![Code Climate](https://codeclimate.com/github/randywallace/zabbix-cloudwatch.png)](https://codeclimate.com/github/randywallace/zabbix-cloudwatch)
5
+ [![Dependency Status](https://gemnasium.com/randywallace/zabbix-cloudwatch.png)](https://gemnasium.com/randywallace/zabbix-cloudwatch)
6
+ [![Build Status](https://travis-ci.org/randywallace/zabbix-cloudwatch.png?branch=master)](https://travis-ci.org/randywallace/zabbix-cloudwatch)
7
+ [![Coverage Status](https://coveralls.io/repos/randywallace/zabbix-cloudwatch/badge.png)](https://coveralls.io/r/randywallace/zabbix-cloudwatch)
4
8
 
5
9
  An external script for getting cloudwatch metrics into Zabbix
6
10
 
@@ -21,7 +25,7 @@ Usage: zabbix-cloudwatch
21
25
 
22
26
  ## Getting it running
23
27
 
24
- * It is only guaranteed to work on ruby 1.8.7 at this time and will throw an Exception on other rubies.
28
+ * Currently tested against ruby 1.8.7, 1.9.3, and 2.0.0
25
29
  * for some of the gem dependencies, you will need the ruby development packages, gcc, libxml2, and libxslt
26
30
 
27
31
  Modify these steps to taste (examples given running on the Amazon AMI 2013.03):
@@ -0,0 +1,5 @@
1
+ require 'rspec/core/rake_task'
2
+
3
+ RSpec::Core::RakeTask.new(:spec)
4
+
5
+ task :default => :spec
@@ -13,11 +13,6 @@ end
13
13
  @@aws_secret_key=''
14
14
  @@aws_region=''
15
15
 
16
-
17
- class RubyVersionException < StandardError; end
18
-
19
- raise RubyVersionException, "Ruby version must be 1.8.7" unless RUBY_VERSION == "1.8.7"
20
-
21
16
  opts = Getopt::Long.getopts(
22
17
  ["--help"],
23
18
  ["--namespace", Getopt::REQUIRED],
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ZabbixCloudwatch
3
- VERSION = "0.0.6"
3
+ VERSION = "0.1.0"
4
4
  end
@@ -1,2 +1,5 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
1
4
  require 'zabbix-cloudwatch'
2
5
 
@@ -17,9 +17,12 @@ A library for getting cloudwatch metrics into Zabbix
17
17
  Please see http://github.com/randywallace/zabbix-cloudwatch for more details
18
18
  EOF
19
19
 
20
- s.add_runtime_dependency "aws-sdk", "~> 1.21.0"
20
+ s.add_runtime_dependency "aws-sdk", "~> 1.23.0"
21
21
  s.add_runtime_dependency "getopt", "~> 1.4.1"
22
+ s.add_development_dependency "rake"
22
23
  s.add_development_dependency "rspec"
24
+ s.add_development_dependency "mime-types", "~> 1.0"
25
+ s.add_development_dependency "coveralls"
23
26
 
24
27
  s.files = `git ls-files`.split("\n")
25
28
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Randy D. Wallace Jr.
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.21.0
21
+ version: 1.23.0
22
22
  type: :runtime
23
23
  version_requirements: *id001
24
24
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  type: :runtime
33
33
  version_requirements: *id002
34
34
  - !ruby/object:Gem::Dependency
35
- name: rspec
35
+ name: rake
36
36
  prerelease: false
37
37
  requirement: &id003 !ruby/object:Gem::Requirement
38
38
  requirements:
@@ -42,6 +42,32 @@ dependencies:
42
42
  version: "0"
43
43
  type: :development
44
44
  version_requirements: *id003
45
+ - !ruby/object:Gem::Dependency
46
+ name: rspec
47
+ prerelease: false
48
+ requirement: &id005 !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - *id004
51
+ type: :development
52
+ version_requirements: *id005
53
+ - !ruby/object:Gem::Dependency
54
+ name: mime-types
55
+ prerelease: false
56
+ requirement: &id006 !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: "1.0"
61
+ type: :development
62
+ version_requirements: *id006
63
+ - !ruby/object:Gem::Dependency
64
+ name: coveralls
65
+ prerelease: false
66
+ requirement: &id007 !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - *id004
69
+ type: :development
70
+ version_requirements: *id007
45
71
  description: |
46
72
  A library for getting cloudwatch metrics into Zabbix
47
73
 
@@ -57,10 +83,12 @@ extra_rdoc_files: []
57
83
 
58
84
  files:
59
85
  - .gitignore
86
+ - .travis.yml
60
87
  - Gemfile
61
88
  - Gemfile.lock
62
89
  - LICENSE
63
90
  - README.md
91
+ - Rakefile
64
92
  - bin/zabbix-cloudwatch
65
93
  - lib/zabbix-cloudwatch.rb
66
94
  - lib/zabbix-cloudwatch/version.rb