jfoundry 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,8 @@ module JFoundry
17
17
  str = [
18
18
  method.downcase,
19
19
  req['content-md5'],
20
- req['content-type'],
20
+ #req['content-type'],
21
+ "",
21
22
  req['date'],
22
23
  req['path']
23
24
  ].join("\n")
@@ -1,4 +1,4 @@
1
1
  module JFoundry # :nodoc:
2
2
  # JFoundry library version number.
3
- VERSION = "0.1.4".freeze
3
+ VERSION = "0.1.6".freeze
4
4
  end
@@ -437,34 +437,3 @@
437
437
  name: ServiceBrokerUrlTaken
438
438
  http_code: 400
439
439
  message: "The service broker url is taken: %s"
440
-
441
- 280001:
442
- name: RequestParameterError
443
- http_code: 400
444
- message: "Request parameters error"
445
-
446
- 280002:
447
- name: Forbidden
448
- http_code: 400
449
- message: "No authority"
450
-
451
- 280003:
452
- name: UserNotExist
453
- http_code: 400
454
- message: "No user exist"
455
-
456
- 280004:
457
- name: MethodNotAllowed
458
- http_code: 400
459
- message: "The method is not allowed"
460
-
461
- 280005:
462
- name: VerifyServerError
463
- http_code: 400
464
- message: "The verify server error"
465
-
466
- 280005:
467
- name: UnknowError
468
- http_code: 400
469
- message: "Unknow error"
470
-
metadata CHANGED
@@ -1,269 +1,347 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jfoundry
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.4
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 6
10
+ version: 0.1.6
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jing Dong Cloud Team
9
14
  - jae
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2013-09-16 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2014-02-18 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: activemodel
17
- requirement: &7065000 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
18
25
  none: false
19
- requirements:
26
+ requirements:
20
27
  - - <
21
- - !ruby/object:Gem::Version
28
+ - !ruby/object:Gem::Version
29
+ hash: 55
30
+ segments:
31
+ - 5
32
+ - 0
33
+ - 0
22
34
  version: 5.0.0
23
- - - ! '>='
24
- - !ruby/object:Gem::Version
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ hash: 29
38
+ segments:
39
+ - 3
40
+ - 2
41
+ - 9
25
42
  version: 3.2.9
26
43
  type: :runtime
27
- prerelease: false
28
- version_requirements: *7065000
29
- - !ruby/object:Gem::Dependency
44
+ version_requirements: *id001
45
+ - !ruby/object:Gem::Dependency
30
46
  name: multi_json
31
- requirement: &7064240 !ruby/object:Gem::Requirement
47
+ prerelease: false
48
+ requirement: &id002 !ruby/object:Gem::Requirement
32
49
  none: false
33
- requirements:
50
+ requirements:
34
51
  - - ~>
35
- - !ruby/object:Gem::Version
36
- version: '1.7'
52
+ - !ruby/object:Gem::Version
53
+ hash: 1
54
+ segments:
55
+ - 1
56
+ - 7
57
+ version: "1.7"
37
58
  type: :runtime
38
- prerelease: false
39
- version_requirements: *7064240
40
- - !ruby/object:Gem::Dependency
59
+ version_requirements: *id002
60
+ - !ruby/object:Gem::Dependency
41
61
  name: multipart-post
42
- requirement: &7063780 !ruby/object:Gem::Requirement
62
+ prerelease: false
63
+ requirement: &id003 !ruby/object:Gem::Requirement
43
64
  none: false
44
- requirements:
65
+ requirements:
45
66
  - - ~>
46
- - !ruby/object:Gem::Version
47
- version: '1.1'
67
+ - !ruby/object:Gem::Version
68
+ hash: 13
69
+ segments:
70
+ - 1
71
+ - 1
72
+ version: "1.1"
48
73
  type: :runtime
49
- prerelease: false
50
- version_requirements: *7063780
51
- - !ruby/object:Gem::Dependency
74
+ version_requirements: *id003
75
+ - !ruby/object:Gem::Dependency
52
76
  name: rubyzip
53
- requirement: &7063320 !ruby/object:Gem::Requirement
77
+ prerelease: false
78
+ requirement: &id004 !ruby/object:Gem::Requirement
54
79
  none: false
55
- requirements:
80
+ requirements:
56
81
  - - ~>
57
- - !ruby/object:Gem::Version
58
- version: '0.9'
82
+ - !ruby/object:Gem::Version
83
+ hash: 25
84
+ segments:
85
+ - 0
86
+ - 9
87
+ version: "0.9"
59
88
  type: :runtime
60
- prerelease: false
61
- version_requirements: *7063320
62
- - !ruby/object:Gem::Dependency
89
+ version_requirements: *id004
90
+ - !ruby/object:Gem::Dependency
63
91
  name: anchorman
64
- requirement: &7062940 !ruby/object:Gem::Requirement
92
+ prerelease: false
93
+ requirement: &id005 !ruby/object:Gem::Requirement
65
94
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ hash: 3
99
+ segments:
100
+ - 0
101
+ version: "0"
70
102
  type: :development
71
- prerelease: false
72
- version_requirements: *7062940
73
- - !ruby/object:Gem::Dependency
103
+ version_requirements: *id005
104
+ - !ruby/object:Gem::Dependency
74
105
  name: factory_girl
75
- requirement: &6050260 !ruby/object:Gem::Requirement
106
+ prerelease: false
107
+ requirement: &id006 !ruby/object:Gem::Requirement
76
108
  none: false
77
- requirements:
78
- - - ! '>='
79
- - !ruby/object:Gem::Version
80
- version: '0'
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ hash: 3
113
+ segments:
114
+ - 0
115
+ version: "0"
81
116
  type: :development
82
- prerelease: false
83
- version_requirements: *6050260
84
- - !ruby/object:Gem::Dependency
117
+ version_requirements: *id006
118
+ - !ruby/object:Gem::Dependency
85
119
  name: gem-release
86
- requirement: &6049040 !ruby/object:Gem::Requirement
120
+ prerelease: false
121
+ requirement: &id007 !ruby/object:Gem::Requirement
87
122
  none: false
88
- requirements:
89
- - - ! '>='
90
- - !ruby/object:Gem::Version
91
- version: '0'
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 3
127
+ segments:
128
+ - 0
129
+ version: "0"
92
130
  type: :development
93
- prerelease: false
94
- version_requirements: *6049040
95
- - !ruby/object:Gem::Dependency
131
+ version_requirements: *id007
132
+ - !ruby/object:Gem::Dependency
96
133
  name: json_pure
97
- requirement: &6046780 !ruby/object:Gem::Requirement
134
+ prerelease: false
135
+ requirement: &id008 !ruby/object:Gem::Requirement
98
136
  none: false
99
- requirements:
137
+ requirements:
100
138
  - - ~>
101
- - !ruby/object:Gem::Version
102
- version: '1.8'
139
+ - !ruby/object:Gem::Version
140
+ hash: 31
141
+ segments:
142
+ - 1
143
+ - 8
144
+ version: "1.8"
103
145
  type: :development
104
- prerelease: false
105
- version_requirements: *6046780
106
- - !ruby/object:Gem::Dependency
146
+ version_requirements: *id008
147
+ - !ruby/object:Gem::Dependency
107
148
  name: rake
108
- requirement: &6045400 !ruby/object:Gem::Requirement
149
+ prerelease: false
150
+ requirement: &id009 !ruby/object:Gem::Requirement
109
151
  none: false
110
- requirements:
111
- - - ! '>='
112
- - !ruby/object:Gem::Version
113
- version: '0.9'
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ hash: 25
156
+ segments:
157
+ - 0
158
+ - 9
159
+ version: "0.9"
114
160
  type: :development
115
- prerelease: false
116
- version_requirements: *6045400
117
- - !ruby/object:Gem::Dependency
161
+ version_requirements: *id009
162
+ - !ruby/object:Gem::Dependency
118
163
  name: rspec
119
- requirement: &7221680 !ruby/object:Gem::Requirement
164
+ prerelease: false
165
+ requirement: &id010 !ruby/object:Gem::Requirement
120
166
  none: false
121
- requirements:
167
+ requirements:
122
168
  - - ~>
123
- - !ruby/object:Gem::Version
124
- version: '2.14'
169
+ - !ruby/object:Gem::Version
170
+ hash: 31
171
+ segments:
172
+ - 2
173
+ - 14
174
+ version: "2.14"
125
175
  type: :development
126
- prerelease: false
127
- version_requirements: *7221680
128
- - !ruby/object:Gem::Dependency
176
+ version_requirements: *id010
177
+ - !ruby/object:Gem::Dependency
129
178
  name: shoulda-matchers
130
- requirement: &7221220 !ruby/object:Gem::Requirement
179
+ prerelease: false
180
+ requirement: &id011 !ruby/object:Gem::Requirement
131
181
  none: false
132
- requirements:
182
+ requirements:
133
183
  - - ~>
134
- - !ruby/object:Gem::Version
184
+ - !ruby/object:Gem::Version
185
+ hash: 15
186
+ segments:
187
+ - 1
188
+ - 5
189
+ - 6
135
190
  version: 1.5.6
136
191
  type: :development
137
- prerelease: false
138
- version_requirements: *7221220
139
- - !ruby/object:Gem::Dependency
192
+ version_requirements: *id011
193
+ - !ruby/object:Gem::Dependency
140
194
  name: timecop
141
- requirement: &7220760 !ruby/object:Gem::Requirement
195
+ prerelease: false
196
+ requirement: &id012 !ruby/object:Gem::Requirement
142
197
  none: false
143
- requirements:
198
+ requirements:
144
199
  - - ~>
145
- - !ruby/object:Gem::Version
200
+ - !ruby/object:Gem::Version
201
+ hash: 5
202
+ segments:
203
+ - 0
204
+ - 6
205
+ - 1
146
206
  version: 0.6.1
147
207
  type: :development
148
- prerelease: false
149
- version_requirements: *7220760
150
- - !ruby/object:Gem::Dependency
208
+ version_requirements: *id012
209
+ - !ruby/object:Gem::Dependency
151
210
  name: webmock
152
- requirement: &7220300 !ruby/object:Gem::Requirement
211
+ prerelease: false
212
+ requirement: &id013 !ruby/object:Gem::Requirement
153
213
  none: false
154
- requirements:
214
+ requirements:
155
215
  - - ~>
156
- - !ruby/object:Gem::Version
157
- version: '1.9'
216
+ - !ruby/object:Gem::Version
217
+ hash: 29
218
+ segments:
219
+ - 1
220
+ - 9
221
+ version: "1.9"
158
222
  type: :development
159
- prerelease: false
160
- version_requirements: *7220300
161
- - !ruby/object:Gem::Dependency
223
+ version_requirements: *id013
224
+ - !ruby/object:Gem::Dependency
162
225
  name: putsinator
163
- requirement: &7219920 !ruby/object:Gem::Requirement
226
+ prerelease: false
227
+ requirement: &id014 !ruby/object:Gem::Requirement
164
228
  none: false
165
- requirements:
166
- - - ! '>='
167
- - !ruby/object:Gem::Version
168
- version: '0'
229
+ requirements:
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ hash: 3
233
+ segments:
234
+ - 0
235
+ version: "0"
169
236
  type: :development
170
- prerelease: false
171
- version_requirements: *7219920
237
+ version_requirements: *id014
172
238
  description:
173
- email:
239
+ email:
174
240
  - jae@jd.com
175
241
  executables: []
242
+
176
243
  extensions: []
244
+
177
245
  extra_rdoc_files: []
178
- files:
246
+
247
+ files:
179
248
  - LICENSE
180
249
  - Rakefile
181
- - lib/jfoundry.rb
182
- - lib/cc_api_stub/services.rb
183
- - lib/cc_api_stub/organizations.rb
184
- - lib/cc_api_stub/routes.rb
185
- - lib/cc_api_stub/service_bindings.rb
186
- - lib/cc_api_stub/organization_users.rb
187
- - lib/cc_api_stub/runtimes.rb
188
- - lib/cc_api_stub/login.rb
189
- - lib/cc_api_stub/spaces.rb
190
- - lib/cc_api_stub/frameworks.rb
191
- - lib/cc_api_stub/service_instances.rb
192
- - lib/cc_api_stub/helper.rb
193
- - lib/cc_api_stub/users.rb
194
- - lib/cc_api_stub/applications.rb
195
- - lib/cc_api_stub/domains.rb
196
- - lib/jfoundry/upload_helpers.rb
197
- - lib/jfoundry/validator.rb
250
+ - lib/jfoundry/baseclient.rb
198
251
  - lib/jfoundry/chatty_hash.rb
199
252
  - lib/jfoundry/zip.rb
200
- - lib/jfoundry/rest_client.rb
201
- - lib/jfoundry/errors.rb
202
- - lib/jfoundry/trace_helpers.rb
203
- - lib/jfoundry/auth_token.rb
204
- - lib/jfoundry/test_support.rb
205
- - lib/jfoundry/client.rb
206
- - lib/jfoundry/baseclient.rb
207
253
  - lib/jfoundry/signature/version.rb
208
- - lib/jfoundry/concerns/proxy_options.rb
209
- - lib/jfoundry/v2/service_plan.rb
210
- - lib/jfoundry/v2/service_binding.rb
211
- - lib/jfoundry/v2/route.rb
212
- - lib/jfoundry/v2/user.rb
254
+ - lib/jfoundry/client.rb
255
+ - lib/jfoundry/auth_token.rb
256
+ - lib/jfoundry/version.rb
213
257
  - lib/jfoundry/v2/app.rb
214
- - lib/jfoundry/v2/domain.rb
215
- - lib/jfoundry/v2/model.rb
258
+ - lib/jfoundry/v2/stack.rb
216
259
  - lib/jfoundry/v2/service.rb
260
+ - lib/jfoundry/v2/model.rb
261
+ - lib/jfoundry/v2/model_magic.rb
262
+ - lib/jfoundry/v2/managed_service_instance.rb
263
+ - lib/jfoundry/v2/service_binding.rb
264
+ - lib/jfoundry/v2/service_plan.rb
265
+ - lib/jfoundry/v2/service_broker.rb
266
+ - lib/jfoundry/v2/client.rb
267
+ - lib/jfoundry/v2/organization.rb
268
+ - lib/jfoundry/v2/domain.rb
269
+ - lib/jfoundry/v2/app_event.rb
270
+ - lib/jfoundry/v2/base.rb
271
+ - lib/jfoundry/v2/user.rb
217
272
  - lib/jfoundry/v2/quota_definition.rb
218
- - lib/jfoundry/v2/model_magic/to_one.rb
219
- - lib/jfoundry/v2/model_magic/attribute.rb
220
273
  - lib/jfoundry/v2/model_magic/to_many.rb
221
274
  - lib/jfoundry/v2/model_magic/has_summary.rb
222
275
  - lib/jfoundry/v2/model_magic/client_extensions.rb
223
276
  - lib/jfoundry/v2/model_magic/queryable_by.rb
224
- - lib/jfoundry/v2/user_provided_service_instance.rb
277
+ - lib/jfoundry/v2/model_magic/attribute.rb
278
+ - lib/jfoundry/v2/model_magic/to_one.rb
279
+ - lib/jfoundry/v2/service_auth_token.rb
225
280
  - lib/jfoundry/v2/service_instance.rb
226
- - lib/jfoundry/v2/stack.rb
227
- - lib/jfoundry/v2/app_event.rb
228
- - lib/jfoundry/v2/client.rb
229
- - lib/jfoundry/v2/managed_service_instance.rb
281
+ - lib/jfoundry/v2/route.rb
230
282
  - lib/jfoundry/v2/space.rb
231
- - lib/jfoundry/v2/model_magic.rb
232
- - lib/jfoundry/v2/service_auth_token.rb
233
- - lib/jfoundry/v2/service_broker.rb
234
- - lib/jfoundry/v2/base.rb
235
- - lib/jfoundry/v2/organization.rb
236
- - lib/jfoundry/signer.rb
283
+ - lib/jfoundry/v2/user_provided_service_instance.rb
284
+ - lib/jfoundry/rest_client.rb
285
+ - lib/jfoundry/concerns/proxy_options.rb
286
+ - lib/jfoundry/test_support.rb
287
+ - lib/jfoundry/trace_helpers.rb
288
+ - lib/jfoundry/upload_helpers.rb
289
+ - lib/jfoundry/validator.rb
290
+ - lib/jfoundry/errors.rb
237
291
  - lib/jfoundry/timer.rb
238
- - lib/jfoundry/version.rb
292
+ - lib/jfoundry/signer.rb
293
+ - lib/jfoundry.rb
294
+ - lib/cc_api_stub/login.rb
295
+ - lib/cc_api_stub/spaces.rb
296
+ - lib/cc_api_stub/users.rb
297
+ - lib/cc_api_stub/domains.rb
298
+ - lib/cc_api_stub/runtimes.rb
299
+ - lib/cc_api_stub/applications.rb
300
+ - lib/cc_api_stub/frameworks.rb
301
+ - lib/cc_api_stub/services.rb
302
+ - lib/cc_api_stub/organizations.rb
303
+ - lib/cc_api_stub/helper.rb
304
+ - lib/cc_api_stub/organization_users.rb
305
+ - lib/cc_api_stub/service_instances.rb
306
+ - lib/cc_api_stub/service_bindings.rb
307
+ - lib/cc_api_stub/routes.rb
239
308
  - lib/cc_api_stub.rb
240
309
  - lib/tasks/gem_release.rake
241
- - vendor/errors/v1.yml
242
- - vendor/errors/v2.yml
243
310
  - vendor/errors/README.md
311
+ - vendor/errors/v2.yml
312
+ - vendor/errors/v1.yml
244
313
  homepage: https://code.jd.com/jae_m/jfoundry
245
- licenses:
314
+ licenses:
246
315
  - Apache 2.0
247
316
  post_install_message:
248
317
  rdoc_options: []
249
- require_paths:
318
+
319
+ require_paths:
250
320
  - lib
251
- required_ruby_version: !ruby/object:Gem::Requirement
321
+ required_ruby_version: !ruby/object:Gem::Requirement
252
322
  none: false
253
- requirements:
254
- - - ! '>='
255
- - !ruby/object:Gem::Version
256
- version: '0'
257
- required_rubygems_version: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - ">="
325
+ - !ruby/object:Gem::Version
326
+ hash: 3
327
+ segments:
328
+ - 0
329
+ version: "0"
330
+ required_rubygems_version: !ruby/object:Gem::Requirement
258
331
  none: false
259
- requirements:
260
- - - ! '>='
261
- - !ruby/object:Gem::Version
262
- version: '0'
332
+ requirements:
333
+ - - ">="
334
+ - !ruby/object:Gem::Version
335
+ hash: 3
336
+ segments:
337
+ - 0
338
+ version: "0"
263
339
  requirements: []
340
+
264
341
  rubyforge_project: jfoundry
265
- rubygems_version: 1.8.11
342
+ rubygems_version: 1.8.24
266
343
  signing_key:
267
344
  specification_version: 3
268
345
  summary: High-level library for working with the Jing Dong Foundry API.
269
346
  test_files: []
347
+