aws-sdk-cloudwatch 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -2,3 +2,5 @@
2
2
  0.0.2: Fixed the case when the range is only milliseconds longer than acceptable batch size.
3
3
  0.0.3: #get trivially returns [] if range is shorter than period
4
4
  0.0.4: Use 'monitoring' as the service name. Either AWS changed it or just started checking it.
5
+ 0.0.5: Some fixes for PutMetricData; prohibit aws-sdk >= 1.5.7 (for now).
6
+ 0.0.6: Fixed some permission (400) problems in the gemball [why does that even happen?]
@@ -1,6 +1,8 @@
1
1
  = AWS SDK for Ruby -- CloudWatch API support
2
2
 
3
3
  This gem adds rudimentary support for the CloudWatch API to the official AWS SDK for Ruby.
4
+ *Please note*: the official SDK adds support for CloudWatch in 1.5.7, with a slightly different interface.
5
+ Currently this gem doesn't work with that; I plan to make it use that and leave only sugar here.
4
6
 
5
7
  == SYNOPSIS
6
8
 
data/Rakefile CHANGED
@@ -16,6 +16,8 @@ require 'bundler/gem_tasks'
16
16
  require 'rspec/core/rake_task'
17
17
 
18
18
  RSpec::Core::RakeTask.new :spec do |t|
19
+ require 'rubygems'
20
+ require 'bundler/setup'
19
21
  end
20
22
 
21
23
  task :default => :spec
@@ -17,7 +17,7 @@ $:.push File.expand_path("../lib", __FILE__)
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = "aws-sdk-cloudwatch"
20
- s.version = '0.0.4'
20
+ s.version = '0.0.6'
21
21
  s.authors = ["Rafał Rzepecki"]
22
22
  s.email = ["divided.mind@gmail.com"]
23
23
  s.homepage = "https://github.com/inscitiv/aws-sdk-cloudwatch"
@@ -29,7 +29,8 @@ Gem::Specification.new do |s|
29
29
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
30
30
  s.require_paths = ["lib"]
31
31
 
32
- s.add_runtime_dependency 'aws-sdk', '~> 1.3', '>= 1.3.9'
32
+ s.add_runtime_dependency 'aws-sdk', '~> 1.3', '>= 1.3.9', '< 1.5.7'
33
33
  s.add_development_dependency 'bundler', '~> 1.0', '>= 1.0.15'
34
34
  s.add_development_dependency 'rspec', '~> 2.10'
35
+ s.add_development_dependency 'rake'
35
36
  end
@@ -333,6 +333,16 @@
333
333
  Namespace:
334
334
  - :string
335
335
  - :required
336
+ :outputs:
337
+ :children:
338
+ PutMetricDataResponse:
339
+ :ignore: true
340
+ :children:
341
+ ResponseMetadata:
342
+ :ignore: true
343
+ :children:
344
+ RequestId:
345
+ :ignore: true
336
346
  - :name: SetAlarmState
337
347
  :method: :set_alarm_state
338
348
  :inputs:
@@ -13,6 +13,7 @@
13
13
  # limitations under the License.
14
14
 
15
15
  require 'aws/core'
16
+ require 'aws/core/client/query_xml'
16
17
  require 'aws/core/option_grammar/double'
17
18
  require 'yaml'
18
19
 
metadata CHANGED
@@ -1,93 +1,106 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 4
10
- version: 0.0.4
11
6
  platform: ruby
12
- authors:
13
- - "Rafa\xC5\x82 Rzepecki"
7
+ authors:
8
+ - Rafał Rzepecki
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: aws-sdk
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 9
29
- segments:
30
- - 1
31
- - 3
32
- version: "1.3"
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- hash: 9
36
- segments:
37
- - 1
38
- - 3
39
- - 9
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ - - ! '>='
23
+ - !ruby/object:Gem::Version
40
24
  version: 1.3.9
25
+ - - <
26
+ - !ruby/object:Gem::Version
27
+ version: 1.5.7
41
28
  type: :runtime
42
- version_requirements: *id001
43
- - !ruby/object:Gem::Dependency
44
- name: bundler
45
29
  prerelease: false
46
- requirement: &id002 !ruby/object:Gem::Requirement
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: '1.3'
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 1.3.9
39
+ - - <
40
+ - !ruby/object:Gem::Version
41
+ version: 1.5.7
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ requirement: !ruby/object:Gem::Requirement
47
45
  none: false
48
- requirements:
46
+ requirements:
49
47
  - - ~>
50
- - !ruby/object:Gem::Version
51
- hash: 15
52
- segments:
53
- - 1
54
- - 0
55
- version: "1.0"
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 9
59
- segments:
60
- - 1
61
- - 0
62
- - 15
48
+ - !ruby/object:Gem::Version
49
+ version: '1.0'
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
63
52
  version: 1.0.15
64
53
  type: :development
65
- version_requirements: *id002
66
- - !ruby/object:Gem::Dependency
54
+ prerelease: false
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: '1.0'
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: 1.0.15
64
+ - !ruby/object:Gem::Dependency
67
65
  name: rspec
66
+ requirement: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ~>
70
+ - !ruby/object:Gem::Version
71
+ version: '2.10'
72
+ type: :development
68
73
  prerelease: false
69
- requirement: &id003 !ruby/object:Gem::Requirement
74
+ version_requirements: !ruby/object:Gem::Requirement
70
75
  none: false
71
- requirements:
76
+ requirements:
72
77
  - - ~>
73
- - !ruby/object:Gem::Version
74
- hash: 23
75
- segments:
76
- - 2
77
- - 10
78
- version: "2.10"
78
+ - !ruby/object:Gem::Version
79
+ version: '2.10'
80
+ - !ruby/object:Gem::Dependency
81
+ name: rake
82
+ requirement: !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
79
88
  type: :development
80
- version_requirements: *id003
81
- description: Extends the original aws-sdk gem from Amazon with support for the CloudWatch API
82
- email:
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ description: Extends the original aws-sdk gem from Amazon with support for the CloudWatch
97
+ API
98
+ email:
83
99
  - divided.mind@gmail.com
84
100
  executables: []
85
-
86
101
  extensions: []
87
-
88
102
  extra_rdoc_files: []
89
-
90
- files:
103
+ files:
91
104
  - .gitignore
92
105
  - CHANGELOG
93
106
  - Gemfile
@@ -115,40 +128,27 @@ files:
115
128
  - spec/metric_spec.rb
116
129
  homepage: https://github.com/inscitiv/aws-sdk-cloudwatch
117
130
  licenses: []
118
-
119
131
  post_install_message:
120
132
  rdoc_options: []
121
-
122
- require_paths:
133
+ require_paths:
123
134
  - lib
124
- required_ruby_version: !ruby/object:Gem::Requirement
135
+ required_ruby_version: !ruby/object:Gem::Requirement
125
136
  none: false
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- hash: 3
130
- segments:
131
- - 0
132
- version: "0"
133
- required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
142
  none: false
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- hash: 3
139
- segments:
140
- - 0
141
- version: "0"
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
142
147
  requirements: []
143
-
144
148
  rubyforge_project:
145
149
  rubygems_version: 1.8.24
146
150
  signing_key:
147
151
  specification_version: 3
148
152
  summary: AWS CloudWatch API support
149
- test_files:
150
- - spec/cloud_watch_client_spec.rb
151
- - spec/cloud_watch_ec2_spec.rb
152
- - spec/metric_base_spec.rb
153
- - spec/metric_collection_spec.rb
154
- - spec/metric_spec.rb
153
+ test_files: []
154
+ has_rdoc: