stormpath-sdk 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stormpath-sdk/auth/authentication_result.rb +15 -0
- data/lib/stormpath-sdk/auth/basic_authenticator.rb +17 -2
- data/lib/stormpath-sdk/auth/basic_login_attempt.rb +15 -0
- data/lib/stormpath-sdk/auth/username_password_request.rb +15 -0
- data/lib/stormpath-sdk/client/api_key.rb +15 -0
- data/lib/stormpath-sdk/client/client.rb +15 -0
- data/lib/stormpath-sdk/client/client_builder.rb +17 -2
- data/lib/stormpath-sdk/ds/data_store.rb +26 -1
- data/lib/stormpath-sdk/ds/resource_factory.rb +15 -0
- data/lib/stormpath-sdk/http/authc/sauthc1_signer.rb +15 -0
- data/lib/stormpath-sdk/http/http_client_request_executor.rb +15 -0
- data/lib/stormpath-sdk/http/request.rb +15 -0
- data/lib/stormpath-sdk/http/response.rb +15 -0
- data/lib/stormpath-sdk/resource/account.rb +15 -0
- data/lib/stormpath-sdk/resource/account_list.rb +15 -0
- data/lib/stormpath-sdk/resource/application.rb +115 -11
- data/lib/stormpath-sdk/resource/application_list.rb +15 -0
- data/lib/stormpath-sdk/resource/collection_resource.rb +15 -0
- data/lib/stormpath-sdk/resource/directory.rb +15 -0
- data/lib/stormpath-sdk/resource/directory_list.rb +15 -0
- data/lib/stormpath-sdk/resource/email_verification_token.rb +15 -0
- data/lib/stormpath-sdk/resource/error.rb +15 -0
- data/lib/stormpath-sdk/resource/group.rb +15 -0
- data/lib/stormpath-sdk/resource/group_list.rb +15 -0
- data/lib/stormpath-sdk/resource/group_membership.rb +16 -1
- data/lib/stormpath-sdk/resource/group_membership_list.rb +15 -0
- data/lib/stormpath-sdk/resource/instance_resource.rb +15 -0
- data/lib/stormpath-sdk/resource/password_reset_token.rb +15 -0
- data/lib/stormpath-sdk/resource/resource.rb +15 -0
- data/lib/stormpath-sdk/resource/resource_error.rb +15 -0
- data/lib/stormpath-sdk/resource/status.rb +15 -0
- data/lib/stormpath-sdk/resource/tenant.rb +15 -0
- data/lib/stormpath-sdk/resource/utils.rb +15 -0
- data/lib/stormpath-sdk/util/assert.rb +15 -0
- data/lib/stormpath-sdk/util/hash.rb +15 -0
- data/lib/stormpath-sdk/util/request_utils.rb +15 -0
- data/lib/stormpath-sdk/version.rb +17 -2
- data/test/client/write_spec.rb +59 -11
- metadata +121 -123
metadata
CHANGED
@@ -1,150 +1,143 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: stormpath-sdk
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
version: 0.2.0
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Elder Crisostomo
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
|
17
|
+
date: 2012-08-20 00:00:00 -07:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: multi_json
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.3.6
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 3
|
30
|
+
- 6
|
29
31
|
version: 1.3.6
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: httpclient
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 2.2.5
|
38
32
|
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: httpclient
|
39
36
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 2
|
44
|
+
- 5
|
45
45
|
version: 2.2.5
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: uuidtools
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.1.3
|
54
46
|
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: uuidtools
|
55
50
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 2
|
57
|
+
- 1
|
58
|
+
- 3
|
61
59
|
version: 2.1.3
|
62
|
-
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 0.9.2
|
70
|
-
type: :development
|
71
64
|
prerelease: false
|
72
|
-
|
73
|
-
|
74
|
-
requirements:
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
75
67
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
- 9
|
72
|
+
- 2
|
77
73
|
version: 0.9.2
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rspec-core
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ~>
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 2.10.1
|
86
74
|
type: :development
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: rspec-core
|
87
78
|
prerelease: false
|
88
|
-
|
89
|
-
|
90
|
-
requirements:
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
91
81
|
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 2
|
85
|
+
- 10
|
86
|
+
- 1
|
93
87
|
version: 2.10.1
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: rspec-expectations
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ~>
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: 2.10.0
|
102
88
|
type: :development
|
89
|
+
version_requirements: *id005
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rspec-expectations
|
103
92
|
prerelease: false
|
104
|
-
|
105
|
-
|
106
|
-
requirements:
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
107
95
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
segments:
|
98
|
+
- 2
|
99
|
+
- 10
|
100
|
+
- 0
|
109
101
|
version: 2.10.0
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: rspec-mocks
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 2.10.1
|
118
102
|
type: :development
|
103
|
+
version_requirements: *id006
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: rspec-mocks
|
119
106
|
prerelease: false
|
120
|
-
|
121
|
-
|
122
|
-
requirements:
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
123
109
|
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
segments:
|
112
|
+
- 2
|
113
|
+
- 10
|
114
|
+
- 1
|
125
115
|
version: 2.10.1
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rack
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - ~>
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: 1.4.1
|
134
116
|
type: :development
|
117
|
+
version_requirements: *id007
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: rack
|
135
120
|
prerelease: false
|
136
|
-
|
137
|
-
|
138
|
-
requirements:
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
139
123
|
- - ~>
|
140
|
-
- !ruby/object:Gem::Version
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
segments:
|
126
|
+
- 1
|
127
|
+
- 4
|
128
|
+
- 1
|
141
129
|
version: 1.4.1
|
130
|
+
type: :development
|
131
|
+
version_requirements: *id008
|
142
132
|
description: Stormpath SDK used to interact with the Stormpath REST API
|
143
133
|
email: elder@stormpath.com
|
144
134
|
executables: []
|
135
|
+
|
145
136
|
extensions: []
|
137
|
+
|
146
138
|
extra_rdoc_files: []
|
147
|
-
|
139
|
+
|
140
|
+
files:
|
148
141
|
- Gemfile
|
149
142
|
- README.md
|
150
143
|
- Rakefile
|
@@ -191,36 +184,41 @@ files:
|
|
191
184
|
- test/client/clientbuilder_spec.rb
|
192
185
|
- test/client/read_spec.rb
|
193
186
|
- test/client/write_spec.rb
|
187
|
+
has_rdoc: true
|
194
188
|
homepage: https://github.com/stormpath/stormpath-sdk-ruby
|
195
189
|
licenses: []
|
190
|
+
|
196
191
|
post_install_message:
|
197
|
-
rdoc_options:
|
192
|
+
rdoc_options:
|
198
193
|
- --line-numbers
|
199
194
|
- --inline-source
|
200
195
|
- --title
|
201
196
|
- stormpath-sdk
|
202
197
|
- --main
|
203
|
-
require_paths:
|
198
|
+
require_paths:
|
204
199
|
- lib
|
205
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
requirements:
|
214
|
-
- -
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
|
200
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
version: "0"
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
segments:
|
212
|
+
- 0
|
213
|
+
version: "0"
|
217
214
|
requirements: []
|
215
|
+
|
218
216
|
rubyforge_project:
|
219
|
-
rubygems_version: 1.
|
217
|
+
rubygems_version: 1.3.6
|
220
218
|
signing_key:
|
221
219
|
specification_version: 3
|
222
220
|
summary: Stormpath SDK
|
223
|
-
test_files:
|
221
|
+
test_files:
|
224
222
|
- test/client/clientbuilder_spec.rb
|
225
223
|
- test/client/read_spec.rb
|
226
224
|
- test/client/write_spec.rb
|