stormpath-sdk 1.0.0.beta.5 → 1.0.0.beta.6

Sign up to get free protection for your applications and to get access to all the features.
data/support/api.rb CHANGED
@@ -38,7 +38,7 @@ module Stormpath
38
38
  begin
39
39
  account.delete
40
40
  rescue Stormpath::Error => e
41
- raise e if e.message != "The account cannot be deleted because the account is marked as not deletable."
41
+ raise e unless e.code == 4001
42
42
  end
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stormpath-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.5
5
- prerelease: 6
4
+ version: 1.0.0.beta.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Stormpath, Inc
@@ -10,326 +9,286 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-03-03 00:00:00.000000000 Z
12
+ date: 2014-07-07 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: multi_json
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: 1.3.6
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: 1.3.6
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: httpclient
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: 2.2.5
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: 2.2.5
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: uuidtools
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: 2.1.3
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - ">="
61
54
  - !ruby/object:Gem::Version
62
55
  version: 2.1.3
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: activesupport
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - ">="
69
61
  - !ruby/object:Gem::Version
70
62
  version: 3.2.8
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - ">="
77
68
  - !ruby/object:Gem::Version
78
69
  version: 3.2.8
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: properties-ruby
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ~>
74
+ - - "~>"
85
75
  - !ruby/object:Gem::Version
86
76
  version: 0.0.4
87
77
  type: :runtime
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ~>
81
+ - - "~>"
93
82
  - !ruby/object:Gem::Version
94
83
  version: 0.0.4
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: java_properties
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - ">="
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :runtime
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - ">="
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: rake
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
- - - ~>
102
+ - - "~>"
117
103
  - !ruby/object:Gem::Version
118
104
  version: 0.9.2
119
105
  type: :development
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
- - - ~>
109
+ - - "~>"
125
110
  - !ruby/object:Gem::Version
126
111
  version: 0.9.2
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: rspec-core
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
- - - ~>
116
+ - - "~>"
133
117
  - !ruby/object:Gem::Version
134
118
  version: 2.14rc1
135
119
  type: :development
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
- - - ~>
123
+ - - "~>"
141
124
  - !ruby/object:Gem::Version
142
125
  version: 2.14rc1
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: rspec-expectations
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
- - - ~>
130
+ - - "~>"
149
131
  - !ruby/object:Gem::Version
150
132
  version: 2.14rc1
151
133
  type: :development
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
- - - ~>
137
+ - - "~>"
157
138
  - !ruby/object:Gem::Version
158
139
  version: 2.14rc1
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: rspec-mocks
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
- - - ~>
144
+ - - "~>"
165
145
  - !ruby/object:Gem::Version
166
146
  version: 2.14rc1
167
147
  type: :development
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
150
  requirements:
172
- - - ~>
151
+ - - "~>"
173
152
  - !ruby/object:Gem::Version
174
153
  version: 2.14rc1
175
154
  - !ruby/object:Gem::Dependency
176
155
  name: guard-rspec
177
156
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
157
  requirements:
180
- - - ~>
158
+ - - "~>"
181
159
  - !ruby/object:Gem::Version
182
160
  version: 3.0.3
183
161
  type: :development
184
162
  prerelease: false
185
163
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
164
  requirements:
188
- - - ~>
165
+ - - "~>"
189
166
  - !ruby/object:Gem::Version
190
167
  version: 3.0.3
191
168
  - !ruby/object:Gem::Dependency
192
169
  name: rack
193
170
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
171
  requirements:
196
- - - ~>
172
+ - - "~>"
197
173
  - !ruby/object:Gem::Version
198
174
  version: 1.4.1
199
175
  type: :development
200
176
  prerelease: false
201
177
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
178
  requirements:
204
- - - ~>
179
+ - - "~>"
205
180
  - !ruby/object:Gem::Version
206
181
  version: 1.4.1
207
182
  - !ruby/object:Gem::Dependency
208
183
  name: webmock
209
184
  requirement: !ruby/object:Gem::Requirement
210
- none: false
211
185
  requirements:
212
- - - ~>
186
+ - - "~>"
213
187
  - !ruby/object:Gem::Version
214
188
  version: 1.11.0
215
189
  type: :development
216
190
  prerelease: false
217
191
  version_requirements: !ruby/object:Gem::Requirement
218
- none: false
219
192
  requirements:
220
- - - ~>
193
+ - - "~>"
221
194
  - !ruby/object:Gem::Version
222
195
  version: 1.11.0
223
196
  - !ruby/object:Gem::Dependency
224
197
  name: simplecov
225
198
  requirement: !ruby/object:Gem::Requirement
226
- none: false
227
199
  requirements:
228
- - - ~>
200
+ - - "~>"
229
201
  - !ruby/object:Gem::Version
230
202
  version: 0.7.1
231
203
  type: :development
232
204
  prerelease: false
233
205
  version_requirements: !ruby/object:Gem::Requirement
234
- none: false
235
206
  requirements:
236
- - - ~>
207
+ - - "~>"
237
208
  - !ruby/object:Gem::Version
238
209
  version: 0.7.1
239
210
  - !ruby/object:Gem::Dependency
240
211
  name: pry
241
212
  requirement: !ruby/object:Gem::Requirement
242
- none: false
243
213
  requirements:
244
- - - ~>
214
+ - - "~>"
245
215
  - !ruby/object:Gem::Version
246
216
  version: 0.9.12.1
247
217
  type: :development
248
218
  prerelease: false
249
219
  version_requirements: !ruby/object:Gem::Requirement
250
- none: false
251
220
  requirements:
252
- - - ~>
221
+ - - "~>"
253
222
  - !ruby/object:Gem::Version
254
223
  version: 0.9.12.1
255
224
  - !ruby/object:Gem::Dependency
256
225
  name: pry-debugger
257
226
  requirement: !ruby/object:Gem::Requirement
258
- none: false
259
227
  requirements:
260
- - - ~>
228
+ - - "~>"
261
229
  - !ruby/object:Gem::Version
262
230
  version: 0.2.2
263
231
  type: :development
264
232
  prerelease: false
265
233
  version_requirements: !ruby/object:Gem::Requirement
266
- none: false
267
234
  requirements:
268
- - - ~>
235
+ - - "~>"
269
236
  - !ruby/object:Gem::Version
270
237
  version: 0.2.2
271
238
  - !ruby/object:Gem::Dependency
272
239
  name: pry-stack_explorer
273
240
  requirement: !ruby/object:Gem::Requirement
274
- none: false
275
241
  requirements:
276
- - - ~>
242
+ - - "~>"
277
243
  - !ruby/object:Gem::Version
278
244
  version: 0.4.9
279
245
  type: :development
280
246
  prerelease: false
281
247
  version_requirements: !ruby/object:Gem::Requirement
282
- none: false
283
248
  requirements:
284
- - - ~>
249
+ - - "~>"
285
250
  - !ruby/object:Gem::Version
286
251
  version: 0.4.9
287
252
  - !ruby/object:Gem::Dependency
288
253
  name: vcr
289
254
  requirement: !ruby/object:Gem::Requirement
290
- none: false
291
255
  requirements:
292
- - - ~>
256
+ - - "~>"
293
257
  - !ruby/object:Gem::Version
294
258
  version: 2.4.0
295
259
  type: :development
296
260
  prerelease: false
297
261
  version_requirements: !ruby/object:Gem::Requirement
298
- none: false
299
262
  requirements:
300
- - - ~>
263
+ - - "~>"
301
264
  - !ruby/object:Gem::Version
302
265
  version: 2.4.0
303
266
  - !ruby/object:Gem::Dependency
304
267
  name: timecop
305
268
  requirement: !ruby/object:Gem::Requirement
306
- none: false
307
269
  requirements:
308
- - - ~>
270
+ - - "~>"
309
271
  - !ruby/object:Gem::Version
310
272
  version: 0.6.1
311
273
  type: :development
312
274
  prerelease: false
313
275
  version_requirements: !ruby/object:Gem::Requirement
314
- none: false
315
276
  requirements:
316
- - - ~>
277
+ - - "~>"
317
278
  - !ruby/object:Gem::Version
318
279
  version: 0.6.1
319
280
  - !ruby/object:Gem::Dependency
320
281
  name: redis
321
282
  requirement: !ruby/object:Gem::Requirement
322
- none: false
323
283
  requirements:
324
- - - ~>
284
+ - - "~>"
325
285
  - !ruby/object:Gem::Version
326
286
  version: 3.0.4
327
287
  type: :development
328
288
  prerelease: false
329
289
  version_requirements: !ruby/object:Gem::Requirement
330
- none: false
331
290
  requirements:
332
- - - ~>
291
+ - - "~>"
333
292
  - !ruby/object:Gem::Version
334
293
  version: 3.0.4
335
294
  description: Stormpath SDK used to interact with the Stormpath REST API
@@ -338,10 +297,9 @@ executables: []
338
297
  extensions: []
339
298
  extra_rdoc_files: []
340
299
  files:
341
- - .gitignore
342
- - .ruby-gemset
343
- - .ruby-version
344
- - .travis.yml
300
+ - ".gitignore"
301
+ - ".ruby-gemset"
302
+ - ".travis.yml"
345
303
  - CHANGES.md
346
304
  - Gemfile
347
305
  - README.md
@@ -356,6 +314,7 @@ files:
356
314
  - lib/stormpath-sdk/cache/cache_entry.rb
357
315
  - lib/stormpath-sdk/cache/cache_manager.rb
358
316
  - lib/stormpath-sdk/cache/cache_stats.rb
317
+ - lib/stormpath-sdk/cache/disabled_cache_store.rb
359
318
  - lib/stormpath-sdk/cache/memory_store.rb
360
319
  - lib/stormpath-sdk/cache/redis_store.rb
361
320
  - lib/stormpath-sdk/client.rb
@@ -414,6 +373,7 @@ files:
414
373
  - spec/resource/status_spec.rb
415
374
  - spec/resource/tenant_spec.rb
416
375
  - spec/spec_helper.rb
376
+ - spec/support/custom_data_storage_behavior.rb
417
377
  - spec/support/resource_factory.rb
418
378
  - spec/support/resource_matchers.rb
419
379
  - spec/support/test_cache_stores.rb
@@ -422,31 +382,30 @@ files:
422
382
  - support/api.rb
423
383
  homepage: https://github.com/stormpath/stormpath-sdk-ruby
424
384
  licenses: []
385
+ metadata: {}
425
386
  post_install_message:
426
387
  rdoc_options:
427
- - --line-numbers
428
- - --inline-source
429
- - --title
388
+ - "--line-numbers"
389
+ - "--inline-source"
390
+ - "--title"
430
391
  - stormpath-sdk
431
- - --main
392
+ - "--main"
432
393
  require_paths:
433
394
  - lib
434
395
  required_ruby_version: !ruby/object:Gem::Requirement
435
- none: false
436
396
  requirements:
437
- - - ! '>='
397
+ - - ">="
438
398
  - !ruby/object:Gem::Version
439
399
  version: '0'
440
400
  required_rubygems_version: !ruby/object:Gem::Requirement
441
- none: false
442
401
  requirements:
443
- - - ! '>'
402
+ - - ">"
444
403
  - !ruby/object:Gem::Version
445
404
  version: 1.3.1
446
405
  requirements: []
447
406
  rubyforge_project:
448
- rubygems_version: 1.8.25
407
+ rubygems_version: 2.2.2
449
408
  signing_key:
450
- specification_version: 3
409
+ specification_version: 4
451
410
  summary: Stormpath SDK
452
411
  test_files: []