right_develop 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.2.2
@@ -333,9 +333,22 @@ module RightDevelop::Testing::Recording
333
333
  when nil
334
334
  # do nothing
335
335
  when 'application/x-www-form-urlencoded'
336
- return parse_query_string(body)
336
+ begin
337
+ return parse_query_string(body)
338
+ rescue ::TypeError => e
339
+ # see remark below. example of bad form data: "a=b&a[]=b"
340
+ logger.warn("Failed to parse form data from #{body.inspect}: #{e.class} #{e.message}")
341
+ end
337
342
  when 'application/json'
338
- return ::JSON.load(body)
343
+ begin
344
+ return ::JSON.load(body)
345
+ rescue ::JSON::ParserError => e
346
+ # note that we never want to fail to proxy back a response because
347
+ # the server doesn't know what JSON is; log a warning and continue.
348
+ # this actually happens with Right API 1.5 health-check saying
349
+ # response is 'application/json' but returning "ok"
350
+ logger.warn("Failed to parse JSON data from #{body.inspect}: #{e.class} #{e.message}")
351
+ end
339
352
  else
340
353
  # try-parse for other application/* content types to avoid having to
341
354
  # specify anything more here. modern formats are JSONish and we
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{right_develop}
8
- s.version = "2.2.1"
8
+ s.version = "2.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tony Spataro"]
12
- s.date = %q{2014-05-13}
12
+ s.date = %q{2014-06-03}
13
13
  s.default_executable = %q{right_develop}
14
14
  s.description = %q{A toolkit of development tools created by RightScale.}
15
15
  s.email = %q{support@rightscale.com}
metadata CHANGED
@@ -1,241 +1,245 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: right_develop
3
- version: !ruby/object:Gem::Version
4
- version: 2.2.1
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 3
5
+ prerelease: false
6
+ segments:
7
+ - 2
8
+ - 2
9
+ - 2
10
+ version: 2.2.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Tony Spataro
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2014-05-15 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rake
16
- requirement: !ruby/object:Gem::Requirement
17
+
18
+ date: 2014-06-03 00:00:00 -07:00
19
+ default_executable: right_develop
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ requirement: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
19
- - - <
20
- - !ruby/object:Gem::Version
21
- version: '0.10'
22
- - - ! '>='
23
- - !ruby/object:Gem::Version
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 49
28
+ segments:
29
+ - 0
30
+ - 8
31
+ - 7
24
32
  version: 0.8.7
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ hash: 31
36
+ segments:
37
+ - 0
38
+ - 10
39
+ version: "0.10"
40
+ name: rake
25
41
  type: :runtime
26
42
  prerelease: false
27
- version_requirements: !ruby/object:Gem::Requirement
43
+ version_requirements: *id001
44
+ - !ruby/object:Gem::Dependency
45
+ requirement: &id002 !ruby/object:Gem::Requirement
28
46
  none: false
29
- requirements:
30
- - - <
31
- - !ruby/object:Gem::Version
32
- version: '0.10'
33
- - - ! '>='
34
- - !ruby/object:Gem::Version
35
- version: 0.8.7
36
- - !ruby/object:Gem::Dependency
37
- name: right_support
38
- requirement: !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
47
+ requirements:
41
48
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '2.0'
49
+ - !ruby/object:Gem::Version
50
+ hash: 3
51
+ segments:
52
+ - 2
53
+ - 0
54
+ version: "2.0"
55
+ name: right_support
44
56
  type: :runtime
45
57
  prerelease: false
46
- version_requirements: !ruby/object:Gem::Requirement
58
+ version_requirements: *id002
59
+ - !ruby/object:Gem::Dependency
60
+ requirement: &id003 !ruby/object:Gem::Requirement
47
61
  none: false
48
- requirements:
62
+ requirements:
49
63
  - - ~>
50
- - !ruby/object:Gem::Version
51
- version: '2.0'
52
- - !ruby/object:Gem::Dependency
64
+ - !ruby/object:Gem::Version
65
+ hash: 7
66
+ segments:
67
+ - 3
68
+ - 0
69
+ version: "3.0"
53
70
  name: builder
54
- requirement: !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
57
- - - ~>
58
- - !ruby/object:Gem::Version
59
- version: '3.0'
60
71
  type: :runtime
61
72
  prerelease: false
62
- version_requirements: !ruby/object:Gem::Requirement
73
+ version_requirements: *id003
74
+ - !ruby/object:Gem::Dependency
75
+ requirement: &id004 !ruby/object:Gem::Requirement
63
76
  none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: '3.0'
68
- - !ruby/object:Gem::Dependency
69
- name: rspec
70
- requirement: !ruby/object:Gem::Requirement
71
- none: false
72
- requirements:
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ hash: 9
81
+ segments:
82
+ - 1
83
+ - 3
84
+ version: "1.3"
73
85
  - - <
74
- - !ruby/object:Gem::Version
75
- version: '3.0'
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: '1.3'
86
+ - !ruby/object:Gem::Version
87
+ hash: 7
88
+ segments:
89
+ - 3
90
+ - 0
91
+ version: "3.0"
92
+ name: rspec
79
93
  type: :runtime
80
94
  prerelease: false
81
- version_requirements: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - <
85
- - !ruby/object:Gem::Version
86
- version: '3.0'
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: '1.3'
90
- - !ruby/object:Gem::Dependency
91
- name: cucumber
92
- requirement: !ruby/object:Gem::Requirement
95
+ version_requirements: *id004
96
+ - !ruby/object:Gem::Dependency
97
+ requirement: &id005 !ruby/object:Gem::Requirement
93
98
  none: false
94
- requirements:
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ hash: 15
103
+ segments:
104
+ - 1
105
+ - 0
106
+ version: "1.0"
95
107
  - - <
96
- - !ruby/object:Gem::Version
108
+ - !ruby/object:Gem::Version
109
+ hash: 29
110
+ segments:
111
+ - 1
112
+ - 3
113
+ - 3
97
114
  version: 1.3.3
98
- - - ~>
99
- - !ruby/object:Gem::Version
100
- version: '1.0'
115
+ name: cucumber
101
116
  type: :runtime
102
117
  prerelease: false
103
- version_requirements: !ruby/object:Gem::Requirement
118
+ version_requirements: *id005
119
+ - !ruby/object:Gem::Dependency
120
+ requirement: &id006 !ruby/object:Gem::Requirement
104
121
  none: false
105
- requirements:
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ hash: 15
126
+ segments:
127
+ - 1
128
+ - 0
129
+ version: "1.0"
106
130
  - - <
107
- - !ruby/object:Gem::Version
108
- version: 1.3.3
109
- - - ~>
110
- - !ruby/object:Gem::Version
111
- version: '1.0'
112
- - !ruby/object:Gem::Dependency
131
+ - !ruby/object:Gem::Version
132
+ hash: 7
133
+ segments:
134
+ - 3
135
+ - 0
136
+ version: "3.0"
113
137
  name: trollop
114
- requirement: !ruby/object:Gem::Requirement
115
- none: false
116
- requirements:
117
- - - <
118
- - !ruby/object:Gem::Version
119
- version: '3.0'
120
- - - ! '>='
121
- - !ruby/object:Gem::Version
122
- version: '1.0'
123
138
  type: :runtime
124
139
  prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- none: false
127
- requirements:
128
- - - <
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '1.0'
134
- - !ruby/object:Gem::Dependency
135
- name: right_git
136
- requirement: !ruby/object:Gem::Requirement
140
+ version_requirements: *id006
141
+ - !ruby/object:Gem::Dependency
142
+ requirement: &id007 !ruby/object:Gem::Requirement
137
143
  none: false
138
- requirements:
144
+ requirements:
139
145
  - - ~>
140
- - !ruby/object:Gem::Version
146
+ - !ruby/object:Gem::Version
147
+ hash: 27
148
+ segments:
149
+ - 0
150
+ - 1
151
+ - 0
141
152
  version: 0.1.0
153
+ name: right_git
142
154
  type: :runtime
143
155
  prerelease: false
144
- version_requirements: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: 0.1.0
150
- - !ruby/object:Gem::Dependency
151
- name: right_aws
152
- requirement: !ruby/object:Gem::Requirement
156
+ version_requirements: *id007
157
+ - !ruby/object:Gem::Dependency
158
+ requirement: &id008 !ruby/object:Gem::Requirement
153
159
  none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ hash: 11
164
+ segments:
165
+ - 2
166
+ - 1
167
+ - 0
157
168
  version: 2.1.0
169
+ name: right_aws
158
170
  type: :runtime
159
171
  prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
172
+ version_requirements: *id008
173
+ - !ruby/object:Gem::Dependency
174
+ requirement: &id009 !ruby/object:Gem::Requirement
161
175
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: 2.1.0
166
- - !ruby/object:Gem::Dependency
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ hash: 3
180
+ segments:
181
+ - 0
182
+ version: "0"
167
183
  name: extlib
168
- requirement: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
184
  type: :runtime
175
185
  prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
186
+ version_requirements: *id009
187
+ - !ruby/object:Gem::Dependency
188
+ requirement: &id010 !ruby/object:Gem::Requirement
177
189
  none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- - !ruby/object:Gem::Dependency
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ hash: 3
194
+ segments:
195
+ - 0
196
+ version: "0"
183
197
  name: rack
184
- requirement: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
198
  type: :runtime
191
199
  prerelease: false
192
- version_requirements: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- - !ruby/object:Gem::Dependency
199
- name: jeweler
200
- requirement: !ruby/object:Gem::Requirement
200
+ version_requirements: *id010
201
+ - !ruby/object:Gem::Dependency
202
+ requirement: &id011 !ruby/object:Gem::Requirement
201
203
  none: false
202
- requirements:
204
+ requirements:
203
205
  - - ~>
204
- - !ruby/object:Gem::Version
206
+ - !ruby/object:Gem::Version
207
+ hash: 49
208
+ segments:
209
+ - 1
210
+ - 8
211
+ - 3
205
212
  version: 1.8.3
213
+ name: jeweler
206
214
  type: :development
207
215
  prerelease: false
208
- version_requirements: !ruby/object:Gem::Requirement
209
- none: false
210
- requirements:
211
- - - ~>
212
- - !ruby/object:Gem::Version
213
- version: 1.8.3
214
- - !ruby/object:Gem::Dependency
215
- name: rdoc
216
- requirement: !ruby/object:Gem::Requirement
216
+ version_requirements: *id011
217
+ - !ruby/object:Gem::Dependency
218
+ requirement: &id012 !ruby/object:Gem::Requirement
217
219
  none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ hash: 27
224
+ segments:
225
+ - 2
226
+ - 4
227
+ - 2
221
228
  version: 2.4.2
229
+ name: rdoc
222
230
  type: :development
223
231
  prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- none: false
226
- requirements:
227
- - - ! '>='
228
- - !ruby/object:Gem::Version
229
- version: 2.4.2
232
+ version_requirements: *id012
230
233
  description: A toolkit of development tools created by RightScale.
231
234
  email: support@rightscale.com
232
- executables:
235
+ executables:
233
236
  - right_develop
234
237
  extensions: []
235
- extra_rdoc_files:
238
+
239
+ extra_rdoc_files:
236
240
  - LICENSE
237
241
  - README.rdoc
238
- files:
242
+ files:
239
243
  - CHANGELOG.rdoc
240
244
  - LICENSE
241
245
  - README.rdoc
@@ -287,32 +291,39 @@ files:
287
291
  - lib/right_develop/utility/versioning.rb
288
292
  - right_develop.gemspec
289
293
  - right_develop.rconf
294
+ has_rdoc: true
290
295
  homepage: https://github.com/rightscale/right_develop
291
- licenses:
296
+ licenses:
292
297
  - MIT
293
298
  post_install_message:
294
299
  rdoc_options: []
295
- require_paths:
300
+
301
+ require_paths:
296
302
  - lib
297
- required_ruby_version: !ruby/object:Gem::Requirement
303
+ required_ruby_version: !ruby/object:Gem::Requirement
298
304
  none: false
299
- requirements:
300
- - - ! '>='
301
- - !ruby/object:Gem::Version
302
- version: '0'
303
- segments:
305
+ requirements:
306
+ - - ">="
307
+ - !ruby/object:Gem::Version
308
+ hash: 3
309
+ segments:
304
310
  - 0
305
- hash: -307522925874421181
306
- required_rubygems_version: !ruby/object:Gem::Requirement
311
+ version: "0"
312
+ required_rubygems_version: !ruby/object:Gem::Requirement
307
313
  none: false
308
- requirements:
309
- - - ! '>='
310
- - !ruby/object:Gem::Version
311
- version: '0'
314
+ requirements:
315
+ - - ">="
316
+ - !ruby/object:Gem::Version
317
+ hash: 3
318
+ segments:
319
+ - 0
320
+ version: "0"
312
321
  requirements: []
322
+
313
323
  rubyforge_project:
314
- rubygems_version: 1.8.23
324
+ rubygems_version: 1.3.7
315
325
  signing_key:
316
326
  specification_version: 3
317
327
  summary: Reusable dev & test code.
318
328
  test_files: []
329
+