stormpath-sdk 1.0.0.beta.6 → 1.0.0.beta.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -0
- data/CHANGES.md +10 -0
- data/lib/stormpath-sdk.rb +15 -0
- data/lib/stormpath-sdk/data_store.rb +30 -14
- data/lib/stormpath-sdk/http/request.rb +5 -25
- data/lib/stormpath-sdk/http/response.rb +0 -5
- data/lib/stormpath-sdk/provider/account_access.rb +28 -0
- data/lib/stormpath-sdk/provider/account_request.rb +30 -0
- data/lib/stormpath-sdk/provider/account_resolver.rb +43 -0
- data/lib/stormpath-sdk/provider/account_result.rb +27 -0
- data/lib/stormpath-sdk/provider/facebook/facebook_provider.rb +18 -0
- data/lib/stormpath-sdk/provider/facebook/facebook_provider_data.rb +18 -0
- data/lib/stormpath-sdk/provider/google/google_provider.rb +18 -0
- data/lib/stormpath-sdk/provider/google/google_provider_data.rb +19 -0
- data/lib/stormpath-sdk/provider/provider.rb +18 -0
- data/lib/stormpath-sdk/provider/provider_data.rb +18 -0
- data/lib/stormpath-sdk/provider/stormpath/stormpath_provider.rb +17 -0
- data/lib/stormpath-sdk/provider/stormpath/stormpath_provider_data.rb +17 -0
- data/lib/stormpath-sdk/resource/account.rb +15 -0
- data/lib/stormpath-sdk/resource/application.rb +5 -2
- data/lib/stormpath-sdk/resource/associations.rb +7 -5
- data/lib/stormpath-sdk/resource/directory.rb +15 -0
- data/lib/stormpath-sdk/version.rb +2 -2
- data/spec/auth/basic_authenticator_spec.rb +5 -5
- data/spec/cache/cache_entry_spec.rb +3 -3
- data/spec/client_spec.rb +27 -20
- data/spec/provider/account_resolver_spec.rb +25 -0
- data/spec/provider/provider_spec.rb +152 -0
- data/spec/resource/account_spec.rb +26 -30
- data/spec/resource/account_store_mapping_spec.rb +28 -27
- data/spec/resource/account_store_spec.rb +7 -7
- data/spec/resource/application_spec.rb +34 -26
- data/spec/resource/collection_spec.rb +34 -34
- data/spec/resource/custom_data_spec.rb +2 -2
- data/spec/resource/directory_spec.rb +25 -23
- data/spec/resource/group_membership_spec.rb +3 -3
- data/spec/resource/group_spec.rb +16 -17
- data/spec/resource/status_spec.rb +16 -16
- data/spec/resource/tenant_spec.rb +10 -8
- data/spec/spec_helper.rb +37 -18
- data/spec/support/custom_data_storage_behavior.rb +19 -19
- data/spec/support/mocked_provider_accounts.rb +72 -0
- data/stormpath-sdk.gemspec +5 -9
- metadata +104 -111
- checksums.yaml +0 -7
@@ -0,0 +1,72 @@
|
|
1
|
+
module Stormpath
|
2
|
+
module Test
|
3
|
+
def self.mocked_account(provider)
|
4
|
+
if provider.to_sym == :google
|
5
|
+
MultiJson.dump(GOOGLE_ACCOUNT)
|
6
|
+
elsif provider.to_sym == :facebook
|
7
|
+
MultiJson.dump(FACEBOOK_ACCOUNT)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.mocked_provider_data(provider)
|
12
|
+
if provider.to_sym == :google
|
13
|
+
MultiJson.dump(GOOGLE_PROVIDER_DATA)
|
14
|
+
elsif provider.to_sym == :facebook
|
15
|
+
MultiJson.dump(FACEBOOK_PROVIDER_DATA)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
FACEBOOK_ACCOUNT = {
|
20
|
+
href: "https://api.stormpath.com/v1/accounts/7jdiPam0PWES317hwRR5a7",
|
21
|
+
username: "damir.svrtan",
|
22
|
+
email: "hladnidamir@hotmail.com",
|
23
|
+
givenName: "Damir",
|
24
|
+
middleName: nil,
|
25
|
+
surname: "Svrtan",
|
26
|
+
fullName: "Damir Svrtan",
|
27
|
+
status: "ENABLED",
|
28
|
+
emailVerificationToken: nil,
|
29
|
+
customData: { href: "https://api.stormpath.com/v1/accounts/7jdiPam0PWES317hwRR5a7/customData"},
|
30
|
+
providerData: { href:"https://api.stormpath.com/v1/accounts/7jdiPam0PWES317hwRR5a7/providerData"},
|
31
|
+
directory: { href: "https://api.stormpath.com/v1/directories/7ibyn2idP1d9p3qJOomeNP"},
|
32
|
+
tenant: { href: "https://api.stormpath.com/v1/tenants/60bD3bKLej6JoFhyKFHiOk"},
|
33
|
+
groups: { href: "https://api.stormpath.com/v1/accounts/7jdiPam0PWES317hwRR5a7/groups"},
|
34
|
+
groupMemberships: { href: "https://api.stormpath.com/v1/accounts/7jdiPam0PWES317hwRR5a7/groupMemberships"}
|
35
|
+
}
|
36
|
+
|
37
|
+
FACEBOOK_PROVIDER_DATA = {
|
38
|
+
href: "https://api.stormpath.com/v1/accounts/7jdiPam0PWES317hwRR5a7/providerData",
|
39
|
+
createdAt: "2014-05-19T13:32:16.884Z",
|
40
|
+
modifiedAt: "2014-05-19T13:32:16.927Z",
|
41
|
+
accessToken: "CAATmZBgxF6rMBAPYbfBhGrVPRw27nn9fAz6bR0DBV1XGfOcSYXSBrhZCkE1y1lWue348fboRxqX7nz88KBYi05qCHw4AQoZCqyIaWedEXrV2vFVzVHo2glq6Vb1ofAWcEHva7baZAaojA8KN5DVz4UTToKgvoIMa1kjyvZCmFZBpYXoG7H3aIKoyWJzUGCDIUrcFjvjnNZBvAZDZD",
|
42
|
+
providerId: "facebook"
|
43
|
+
}
|
44
|
+
|
45
|
+
GOOGLE_ACCOUNT = {
|
46
|
+
href: "https://api.stormpath.com/v1/accounts/2XdHmcyFG8HJCYBTEL1dJj",
|
47
|
+
username: "damir.svrtan@gmail.com",
|
48
|
+
email: "damir.svrtan@gmail.com",
|
49
|
+
givenName: "Damir",
|
50
|
+
middleName: nil,
|
51
|
+
surname: "Svrtan",
|
52
|
+
fullName: "Damir Svrtan",
|
53
|
+
status: "ENABLED",
|
54
|
+
emailVerificationToken: nil,
|
55
|
+
customData: { href: "https://api.stormpath.com/v1/accounts/2XdHmcyFG8HJCYBTEL1dJj/customData" },
|
56
|
+
providerData: { href: "https://api.stormpath.com/v1/accounts/2XdHmcyFG8HJCYBTEL1dJj/providerData" },
|
57
|
+
directory: { href: "https://api.stormpath.com/v1/directories/2WU9sRpSn5jpVADlQTAltT" },
|
58
|
+
tenant: { href: "https://api.stormpath.com/v1/tenants/60bD3bKLej6JoFhyKFHiOk" },
|
59
|
+
groups: { href: "https://api.stormpath.com/v1/accounts/2XdHmcyFG8HJCYBTEL1dJj/groups" },
|
60
|
+
groupMemberships: { href: "https://api.stormpath.com/v1/accounts/2XdHmcyFG8HJCYBTEL1dJj/groupMemberships" }
|
61
|
+
}
|
62
|
+
|
63
|
+
GOOGLE_PROVIDER_DATA = {
|
64
|
+
href: "https://api.stormpath.com/v1/accounts/2XdHmcyFG8HJCYBTEL1dJj/providerData",
|
65
|
+
createdAt: "2014-05-19T13:34:40.131Z",
|
66
|
+
modifiedAt: "2014-05-19T13:34:40.172Z",
|
67
|
+
accessToken: "ya29.GwCFxf7GuqpKOx8AAACnZZvl-TR_UAqpwVHHfUlt-nM_yjVel2FiqjMgAoOtxQ",
|
68
|
+
providerId: "google",
|
69
|
+
refreshToken: "Ox8AAACn"
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
data/stormpath-sdk.gemspec
CHANGED
@@ -22,19 +22,15 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_dependency('java_properties')
|
23
23
|
|
24
24
|
s.add_development_dependency 'rake', '~> 0.9.2'
|
25
|
-
s.add_development_dependency 'rspec
|
26
|
-
s.add_development_dependency 'rspec
|
27
|
-
s.add_development_dependency 'rspec-mocks', '~> 2.14rc1'
|
28
|
-
s.add_development_dependency 'guard-rspec', '~> 3.0.3'
|
25
|
+
s.add_development_dependency 'rspec', '~> 3.0.0'
|
26
|
+
s.add_development_dependency 'guard-rspec', '~> 4.2.10'
|
29
27
|
s.add_development_dependency 'rack', '~> 1.4.1'
|
30
|
-
s.add_development_dependency 'webmock', '~> 1.
|
28
|
+
s.add_development_dependency 'webmock', '~> 1.17.4'
|
31
29
|
s.add_development_dependency 'simplecov', '~> 0.7.1'
|
32
30
|
s.add_development_dependency 'pry', '~> 0.9.12.1'
|
33
|
-
s.add_development_dependency '
|
34
|
-
s.add_development_dependency 'pry-stack_explorer', '~> 0.4.9'
|
35
|
-
s.add_development_dependency 'vcr', '~> 2.4.0'
|
31
|
+
s.add_development_dependency 'vcr', '~> 2.9.2'
|
36
32
|
s.add_development_dependency 'timecop', '~> 0.6.1'
|
37
33
|
s.add_development_dependency 'redis', '~> 3.0.4'
|
38
34
|
|
39
35
|
s.rdoc_options = ['--line-numbers', '--inline-source', '--title', 'stormpath-sdk', '--main']
|
40
|
-
end
|
36
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stormpath-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.beta.
|
4
|
+
version: 1.0.0.beta.7
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Stormpath, Inc
|
@@ -9,286 +10,262 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
13
|
+
date: 2014-07-21 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: multi_json
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
|
-
- -
|
20
|
+
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: 1.3.6
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
|
-
- -
|
28
|
+
- - ! '>='
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: 1.3.6
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: httpclient
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
|
-
- -
|
36
|
+
- - ! '>='
|
33
37
|
- !ruby/object:Gem::Version
|
34
38
|
version: 2.2.5
|
35
39
|
type: :runtime
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
|
-
- -
|
44
|
+
- - ! '>='
|
40
45
|
- !ruby/object:Gem::Version
|
41
46
|
version: 2.2.5
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: uuidtools
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
|
-
- -
|
52
|
+
- - ! '>='
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: 2.1.3
|
49
55
|
type: :runtime
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
|
-
- -
|
60
|
+
- - ! '>='
|
54
61
|
- !ruby/object:Gem::Version
|
55
62
|
version: 2.1.3
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: activesupport
|
58
65
|
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
59
67
|
requirements:
|
60
|
-
- -
|
68
|
+
- - ! '>='
|
61
69
|
- !ruby/object:Gem::Version
|
62
70
|
version: 3.2.8
|
63
71
|
type: :runtime
|
64
72
|
prerelease: false
|
65
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
66
75
|
requirements:
|
67
|
-
- -
|
76
|
+
- - ! '>='
|
68
77
|
- !ruby/object:Gem::Version
|
69
78
|
version: 3.2.8
|
70
79
|
- !ruby/object:Gem::Dependency
|
71
80
|
name: properties-ruby
|
72
81
|
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
73
83
|
requirements:
|
74
|
-
- -
|
84
|
+
- - ~>
|
75
85
|
- !ruby/object:Gem::Version
|
76
86
|
version: 0.0.4
|
77
87
|
type: :runtime
|
78
88
|
prerelease: false
|
79
89
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
80
91
|
requirements:
|
81
|
-
- -
|
92
|
+
- - ~>
|
82
93
|
- !ruby/object:Gem::Version
|
83
94
|
version: 0.0.4
|
84
95
|
- !ruby/object:Gem::Dependency
|
85
96
|
name: java_properties
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
87
99
|
requirements:
|
88
|
-
- -
|
100
|
+
- - ! '>='
|
89
101
|
- !ruby/object:Gem::Version
|
90
102
|
version: '0'
|
91
103
|
type: :runtime
|
92
104
|
prerelease: false
|
93
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
94
107
|
requirements:
|
95
|
-
- -
|
108
|
+
- - ! '>='
|
96
109
|
- !ruby/object:Gem::Version
|
97
110
|
version: '0'
|
98
111
|
- !ruby/object:Gem::Dependency
|
99
112
|
name: rake
|
100
113
|
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
101
115
|
requirements:
|
102
|
-
- -
|
116
|
+
- - ~>
|
103
117
|
- !ruby/object:Gem::Version
|
104
118
|
version: 0.9.2
|
105
119
|
type: :development
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
108
123
|
requirements:
|
109
|
-
- -
|
124
|
+
- - ~>
|
110
125
|
- !ruby/object:Gem::Version
|
111
126
|
version: 0.9.2
|
112
127
|
- !ruby/object:Gem::Dependency
|
113
|
-
name: rspec
|
128
|
+
name: rspec
|
114
129
|
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
115
131
|
requirements:
|
116
|
-
- -
|
132
|
+
- - ~>
|
117
133
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
134
|
+
version: 3.0.0
|
119
135
|
type: :development
|
120
136
|
prerelease: false
|
121
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
122
139
|
requirements:
|
123
|
-
- -
|
140
|
+
- - ~>
|
124
141
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rspec-expectations
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 2.14rc1
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: 2.14rc1
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: rspec-mocks
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 2.14rc1
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 2.14rc1
|
142
|
+
version: 3.0.0
|
154
143
|
- !ruby/object:Gem::Dependency
|
155
144
|
name: guard-rspec
|
156
145
|
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
157
147
|
requirements:
|
158
|
-
- -
|
148
|
+
- - ~>
|
159
149
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
150
|
+
version: 4.2.10
|
161
151
|
type: :development
|
162
152
|
prerelease: false
|
163
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
164
155
|
requirements:
|
165
|
-
- -
|
156
|
+
- - ~>
|
166
157
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
158
|
+
version: 4.2.10
|
168
159
|
- !ruby/object:Gem::Dependency
|
169
160
|
name: rack
|
170
161
|
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
171
163
|
requirements:
|
172
|
-
- -
|
164
|
+
- - ~>
|
173
165
|
- !ruby/object:Gem::Version
|
174
166
|
version: 1.4.1
|
175
167
|
type: :development
|
176
168
|
prerelease: false
|
177
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
178
171
|
requirements:
|
179
|
-
- -
|
172
|
+
- - ~>
|
180
173
|
- !ruby/object:Gem::Version
|
181
174
|
version: 1.4.1
|
182
175
|
- !ruby/object:Gem::Dependency
|
183
176
|
name: webmock
|
184
177
|
requirement: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
185
179
|
requirements:
|
186
|
-
- -
|
180
|
+
- - ~>
|
187
181
|
- !ruby/object:Gem::Version
|
188
|
-
version: 1.
|
182
|
+
version: 1.17.4
|
189
183
|
type: :development
|
190
184
|
prerelease: false
|
191
185
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
192
187
|
requirements:
|
193
|
-
- -
|
188
|
+
- - ~>
|
194
189
|
- !ruby/object:Gem::Version
|
195
|
-
version: 1.
|
190
|
+
version: 1.17.4
|
196
191
|
- !ruby/object:Gem::Dependency
|
197
192
|
name: simplecov
|
198
193
|
requirement: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
199
195
|
requirements:
|
200
|
-
- -
|
196
|
+
- - ~>
|
201
197
|
- !ruby/object:Gem::Version
|
202
198
|
version: 0.7.1
|
203
199
|
type: :development
|
204
200
|
prerelease: false
|
205
201
|
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
206
203
|
requirements:
|
207
|
-
- -
|
204
|
+
- - ~>
|
208
205
|
- !ruby/object:Gem::Version
|
209
206
|
version: 0.7.1
|
210
207
|
- !ruby/object:Gem::Dependency
|
211
208
|
name: pry
|
212
209
|
requirement: !ruby/object:Gem::Requirement
|
210
|
+
none: false
|
213
211
|
requirements:
|
214
|
-
- -
|
212
|
+
- - ~>
|
215
213
|
- !ruby/object:Gem::Version
|
216
214
|
version: 0.9.12.1
|
217
215
|
type: :development
|
218
216
|
prerelease: false
|
219
217
|
version_requirements: !ruby/object:Gem::Requirement
|
218
|
+
none: false
|
220
219
|
requirements:
|
221
|
-
- -
|
220
|
+
- - ~>
|
222
221
|
- !ruby/object:Gem::Version
|
223
222
|
version: 0.9.12.1
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: pry-debugger
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
227
|
-
requirements:
|
228
|
-
- - "~>"
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: 0.2.2
|
231
|
-
type: :development
|
232
|
-
prerelease: false
|
233
|
-
version_requirements: !ruby/object:Gem::Requirement
|
234
|
-
requirements:
|
235
|
-
- - "~>"
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: 0.2.2
|
238
|
-
- !ruby/object:Gem::Dependency
|
239
|
-
name: pry-stack_explorer
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
241
|
-
requirements:
|
242
|
-
- - "~>"
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: 0.4.9
|
245
|
-
type: :development
|
246
|
-
prerelease: false
|
247
|
-
version_requirements: !ruby/object:Gem::Requirement
|
248
|
-
requirements:
|
249
|
-
- - "~>"
|
250
|
-
- !ruby/object:Gem::Version
|
251
|
-
version: 0.4.9
|
252
223
|
- !ruby/object:Gem::Dependency
|
253
224
|
name: vcr
|
254
225
|
requirement: !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
255
227
|
requirements:
|
256
|
-
- -
|
228
|
+
- - ~>
|
257
229
|
- !ruby/object:Gem::Version
|
258
|
-
version: 2.
|
230
|
+
version: 2.9.2
|
259
231
|
type: :development
|
260
232
|
prerelease: false
|
261
233
|
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
none: false
|
262
235
|
requirements:
|
263
|
-
- -
|
236
|
+
- - ~>
|
264
237
|
- !ruby/object:Gem::Version
|
265
|
-
version: 2.
|
238
|
+
version: 2.9.2
|
266
239
|
- !ruby/object:Gem::Dependency
|
267
240
|
name: timecop
|
268
241
|
requirement: !ruby/object:Gem::Requirement
|
242
|
+
none: false
|
269
243
|
requirements:
|
270
|
-
- -
|
244
|
+
- - ~>
|
271
245
|
- !ruby/object:Gem::Version
|
272
246
|
version: 0.6.1
|
273
247
|
type: :development
|
274
248
|
prerelease: false
|
275
249
|
version_requirements: !ruby/object:Gem::Requirement
|
250
|
+
none: false
|
276
251
|
requirements:
|
277
|
-
- -
|
252
|
+
- - ~>
|
278
253
|
- !ruby/object:Gem::Version
|
279
254
|
version: 0.6.1
|
280
255
|
- !ruby/object:Gem::Dependency
|
281
256
|
name: redis
|
282
257
|
requirement: !ruby/object:Gem::Requirement
|
258
|
+
none: false
|
283
259
|
requirements:
|
284
|
-
- -
|
260
|
+
- - ~>
|
285
261
|
- !ruby/object:Gem::Version
|
286
262
|
version: 3.0.4
|
287
263
|
type: :development
|
288
264
|
prerelease: false
|
289
265
|
version_requirements: !ruby/object:Gem::Requirement
|
266
|
+
none: false
|
290
267
|
requirements:
|
291
|
-
- -
|
268
|
+
- - ~>
|
292
269
|
- !ruby/object:Gem::Version
|
293
270
|
version: 3.0.4
|
294
271
|
description: Stormpath SDK used to interact with the Stormpath REST API
|
@@ -297,9 +274,9 @@ executables: []
|
|
297
274
|
extensions: []
|
298
275
|
extra_rdoc_files: []
|
299
276
|
files:
|
300
|
-
-
|
301
|
-
-
|
302
|
-
-
|
277
|
+
- .gitignore
|
278
|
+
- .ruby-gemset
|
279
|
+
- .travis.yml
|
303
280
|
- CHANGES.md
|
304
281
|
- Gemfile
|
305
282
|
- README.md
|
@@ -326,6 +303,18 @@ files:
|
|
326
303
|
- lib/stormpath-sdk/http/request.rb
|
327
304
|
- lib/stormpath-sdk/http/response.rb
|
328
305
|
- lib/stormpath-sdk/http/utils.rb
|
306
|
+
- lib/stormpath-sdk/provider/account_access.rb
|
307
|
+
- lib/stormpath-sdk/provider/account_request.rb
|
308
|
+
- lib/stormpath-sdk/provider/account_resolver.rb
|
309
|
+
- lib/stormpath-sdk/provider/account_result.rb
|
310
|
+
- lib/stormpath-sdk/provider/facebook/facebook_provider.rb
|
311
|
+
- lib/stormpath-sdk/provider/facebook/facebook_provider_data.rb
|
312
|
+
- lib/stormpath-sdk/provider/google/google_provider.rb
|
313
|
+
- lib/stormpath-sdk/provider/google/google_provider_data.rb
|
314
|
+
- lib/stormpath-sdk/provider/provider.rb
|
315
|
+
- lib/stormpath-sdk/provider/provider_data.rb
|
316
|
+
- lib/stormpath-sdk/provider/stormpath/stormpath_provider.rb
|
317
|
+
- lib/stormpath-sdk/provider/stormpath/stormpath_provider_data.rb
|
329
318
|
- lib/stormpath-sdk/resource/account.rb
|
330
319
|
- lib/stormpath-sdk/resource/account_membership.rb
|
331
320
|
- lib/stormpath-sdk/resource/account_status.rb
|
@@ -359,6 +348,8 @@ files:
|
|
359
348
|
- spec/cache/cache_stats_spec.rb
|
360
349
|
- spec/client_spec.rb
|
361
350
|
- spec/data_store_spec.rb
|
351
|
+
- spec/provider/account_resolver_spec.rb
|
352
|
+
- spec/provider/provider_spec.rb
|
362
353
|
- spec/resource/account_spec.rb
|
363
354
|
- spec/resource/account_store_mapping_spec.rb
|
364
355
|
- spec/resource/account_store_spec.rb
|
@@ -374,6 +365,7 @@ files:
|
|
374
365
|
- spec/resource/tenant_spec.rb
|
375
366
|
- spec/spec_helper.rb
|
376
367
|
- spec/support/custom_data_storage_behavior.rb
|
368
|
+
- spec/support/mocked_provider_accounts.rb
|
377
369
|
- spec/support/resource_factory.rb
|
378
370
|
- spec/support/resource_matchers.rb
|
379
371
|
- spec/support/test_cache_stores.rb
|
@@ -382,30 +374,31 @@ files:
|
|
382
374
|
- support/api.rb
|
383
375
|
homepage: https://github.com/stormpath/stormpath-sdk-ruby
|
384
376
|
licenses: []
|
385
|
-
metadata: {}
|
386
377
|
post_install_message:
|
387
378
|
rdoc_options:
|
388
|
-
-
|
389
|
-
-
|
390
|
-
-
|
379
|
+
- --line-numbers
|
380
|
+
- --inline-source
|
381
|
+
- --title
|
391
382
|
- stormpath-sdk
|
392
|
-
-
|
383
|
+
- --main
|
393
384
|
require_paths:
|
394
385
|
- lib
|
395
386
|
required_ruby_version: !ruby/object:Gem::Requirement
|
387
|
+
none: false
|
396
388
|
requirements:
|
397
|
-
- -
|
389
|
+
- - ! '>='
|
398
390
|
- !ruby/object:Gem::Version
|
399
391
|
version: '0'
|
400
392
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
393
|
+
none: false
|
401
394
|
requirements:
|
402
|
-
- -
|
395
|
+
- - ! '>'
|
403
396
|
- !ruby/object:Gem::Version
|
404
397
|
version: 1.3.1
|
405
398
|
requirements: []
|
406
399
|
rubyforge_project:
|
407
|
-
rubygems_version:
|
400
|
+
rubygems_version: 1.8.25
|
408
401
|
signing_key:
|
409
|
-
specification_version:
|
402
|
+
specification_version: 3
|
410
403
|
summary: Stormpath SDK
|
411
404
|
test_files: []
|