cosm-rb 0.2.07 → 0.2.09

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,17 +8,17 @@ def trigger_as_(format, options = {})
8
8
  data = {"threshold_value"=>"44", "notified_at"=>"", "url"=>"http://www.postbin.org/zc9sca", "trigger_type"=>"eq", "id"=>40, "stream_id"=>"1", "environment_id"=>424, "user"=>"lebreeze"}
9
9
  when 'xml'
10
10
  data = <<XML
11
- <?xml version="1.0" encoding="UTF-8"?>
12
- <datastream-trigger>
13
- <id type="integer">40</id>
14
- <url>http://www.postbin.org/zc9sca</url>
15
- <trigger-type>eq</trigger-type>
16
- <threshold-value type="float">44</threshold-value>
17
- <notified-at type="datetime"></notified-at>
18
- <user>lebreeze</user>
19
- <environment-id type="integer">424</environment-id>
20
- <stream-id>1</stream-id>
21
- </datastream-trigger>
11
+ <?xml version="1.0" encoding="UTF-8"?>
12
+ <datastream-trigger>
13
+ <id type="integer">40</id>
14
+ <url>http://www.postbin.org/zc9sca</url>
15
+ <trigger-type>eq</trigger-type>
16
+ <threshold-value type="float">44</threshold-value>
17
+ <notified-at type="datetime"></notified-at>
18
+ <user>lebreeze</user>
19
+ <environment-id type="integer">424</environment-id>
20
+ <stream-id>1</stream-id>
21
+ </datastream-trigger>
22
22
  XML
23
23
  end
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosm-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.07
4
+ version: 0.2.09
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-01-28 00:00:00.000000000 Z
14
+ date: 2013-03-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: multi_json
@@ -109,70 +109,6 @@ dependencies:
109
109
  - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
111
  version: 1.5.9
112
- - !ruby/object:Gem::Dependency
113
- name: debugger
114
- requirement: !ruby/object:Gem::Requirement
115
- none: false
116
- requirements:
117
- - - ! '>='
118
- - !ruby/object:Gem::Version
119
- version: '0'
120
- type: :development
121
- prerelease: false
122
- version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
- requirements:
125
- - - ! '>='
126
- - !ruby/object:Gem::Version
127
- version: '0'
128
- - !ruby/object:Gem::Dependency
129
- name: simplecov
130
- requirement: !ruby/object:Gem::Requirement
131
- none: false
132
- requirements:
133
- - - ! '>='
134
- - !ruby/object:Gem::Version
135
- version: 0.7.1
136
- type: :development
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- none: false
140
- requirements:
141
- - - ! '>='
142
- - !ruby/object:Gem::Version
143
- version: 0.7.1
144
- - !ruby/object:Gem::Dependency
145
- name: rake
146
- requirement: !ruby/object:Gem::Requirement
147
- none: false
148
- requirements:
149
- - - '='
150
- - !ruby/object:Gem::Version
151
- version: 0.8.7
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- none: false
156
- requirements:
157
- - - '='
158
- - !ruby/object:Gem::Version
159
- version: 0.8.7
160
- - !ruby/object:Gem::Dependency
161
- name: rspec
162
- requirement: !ruby/object:Gem::Requirement
163
- none: false
164
- requirements:
165
- - - '='
166
- - !ruby/object:Gem::Version
167
- version: 2.6.0
168
- type: :development
169
- prerelease: false
170
- version_requirements: !ruby/object:Gem::Requirement
171
- none: false
172
- requirements:
173
- - - '='
174
- - !ruby/object:Gem::Version
175
- version: 2.6.0
176
112
  description: A library for communicating with the Cosm REST API, parsing and rendering
177
113
  Cosm feed formats
178
114
  email:
@@ -324,7 +260,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
324
260
  version: '0'
325
261
  segments:
326
262
  - 0
327
- hash: -1496334543805275150
263
+ hash: 3327607932389145325
328
264
  required_rubygems_version: !ruby/object:Gem::Requirement
329
265
  none: false
330
266
  requirements:
@@ -333,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
269
  version: '0'
334
270
  segments:
335
271
  - 0
336
- hash: -1496334543805275150
272
+ hash: 3327607932389145325
337
273
  requirements: []
338
274
  rubyforge_project:
339
275
  rubygems_version: 1.8.23