cf-uaa-lib 3.14.1 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +11 -0
- data/.github/workflows/gem-push.yml +29 -0
- data/.github/workflows/ruby.yml +27 -0
- data/README.md +116 -14
- data/cf-uaa-lib.gemspec +9 -9
- data/examples/password_grant_and_decode_token.rb +53 -0
- data/lib/uaa/http.rb +2 -0
- data/lib/uaa/info.rb +2 -10
- data/lib/uaa/scim.rb +11 -11
- data/lib/uaa/token_coder.rb +25 -8
- data/lib/uaa/token_issuer.rb +20 -13
- data/lib/uaa/util.rb +1 -1
- data/lib/uaa/version.rb +1 -1
- data/spec/info_spec.rb +3 -3
- data/spec/integration_spec.rb +19 -19
- data/spec/scim_spec.rb +11 -11
- data/spec/spec_helper.rb +7 -1
- data/spec/token_coder_spec.rb +20 -14
- data/spec/token_issuer_spec.rb +57 -25
- metadata +75 -46
- data/.travis.yml +0 -10
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf-uaa-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Syer
|
@@ -12,28 +12,28 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2022-01-28 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: multi_json
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "~>"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.12.0
|
24
21
|
- - ">="
|
25
22
|
- !ruby/object:Gem::Version
|
26
23
|
version: 1.12.1
|
24
|
+
- - "<"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
27
|
type: :runtime
|
28
28
|
prerelease: false
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.12.0
|
34
31
|
- - ">="
|
35
32
|
- !ruby/object:Gem::Version
|
36
33
|
version: 1.12.1
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '1.16'
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: httpclient
|
39
39
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,74 +54,94 @@ dependencies:
|
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.8.2.4
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: addressable
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 2.8.0
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '2.8'
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.8.0
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '2.8'
|
57
77
|
- !ruby/object:Gem::Dependency
|
58
78
|
name: bundler
|
59
79
|
requirement: !ruby/object:Gem::Requirement
|
60
80
|
requirements:
|
61
81
|
- - "~>"
|
62
82
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
83
|
+
version: '2.2'
|
64
84
|
type: :development
|
65
85
|
prerelease: false
|
66
86
|
version_requirements: !ruby/object:Gem::Requirement
|
67
87
|
requirements:
|
68
88
|
- - "~>"
|
69
89
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
90
|
+
version: '2.2'
|
71
91
|
- !ruby/object:Gem::Dependency
|
72
92
|
name: rake
|
73
93
|
requirement: !ruby/object:Gem::Requirement
|
74
94
|
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '10.3'
|
78
95
|
- - ">="
|
79
96
|
- !ruby/object:Gem::Version
|
80
97
|
version: 10.3.2
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '13.0'
|
81
101
|
type: :development
|
82
102
|
prerelease: false
|
83
103
|
version_requirements: !ruby/object:Gem::Requirement
|
84
104
|
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '10.3'
|
88
105
|
- - ">="
|
89
106
|
- !ruby/object:Gem::Version
|
90
107
|
version: 10.3.2
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '13.0'
|
91
111
|
- !ruby/object:Gem::Dependency
|
92
112
|
name: rspec
|
93
113
|
requirement: !ruby/object:Gem::Requirement
|
94
114
|
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '2.14'
|
98
115
|
- - ">="
|
99
116
|
- !ruby/object:Gem::Version
|
100
117
|
version: 2.14.1
|
118
|
+
- - "~>"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '3.9'
|
101
121
|
type: :development
|
102
122
|
prerelease: false
|
103
123
|
version_requirements: !ruby/object:Gem::Requirement
|
104
124
|
requirements:
|
105
|
-
- - "~>"
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: '2.14'
|
108
125
|
- - ">="
|
109
126
|
- !ruby/object:Gem::Version
|
110
127
|
version: 2.14.1
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '3.9'
|
111
131
|
- !ruby/object:Gem::Dependency
|
112
132
|
name: simplecov
|
113
133
|
requirement: !ruby/object:Gem::Requirement
|
114
134
|
requirements:
|
115
135
|
- - "~>"
|
116
136
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
137
|
+
version: 0.21.2
|
118
138
|
type: :development
|
119
139
|
prerelease: false
|
120
140
|
version_requirements: !ruby/object:Gem::Requirement
|
121
141
|
requirements:
|
122
142
|
- - "~>"
|
123
143
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
144
|
+
version: 0.21.2
|
125
145
|
- !ruby/object:Gem::Dependency
|
126
146
|
name: simplecov-rcov
|
127
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,42 +160,56 @@ dependencies:
|
|
140
160
|
name: ci_reporter
|
141
161
|
requirement: !ruby/object:Gem::Requirement
|
142
162
|
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '1.9'
|
146
163
|
- - ">="
|
147
164
|
- !ruby/object:Gem::Version
|
148
165
|
version: 1.9.2
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '2.0'
|
149
169
|
type: :development
|
150
170
|
prerelease: false
|
151
171
|
version_requirements: !ruby/object:Gem::Requirement
|
152
172
|
requirements:
|
153
|
-
- - "~>"
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '1.9'
|
156
173
|
- - ">="
|
157
174
|
- !ruby/object:Gem::Version
|
158
175
|
version: 1.9.2
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '2.0'
|
159
179
|
- !ruby/object:Gem::Dependency
|
160
180
|
name: json_pure
|
161
181
|
requirement: !ruby/object:Gem::Requirement
|
162
182
|
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 1.8.1
|
163
186
|
- - "~>"
|
164
187
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
188
|
+
version: '2.5'
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
166
193
|
- - ">="
|
167
194
|
- !ruby/object:Gem::Version
|
168
195
|
version: 1.8.1
|
196
|
+
- - "~>"
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '2.5'
|
199
|
+
- !ruby/object:Gem::Dependency
|
200
|
+
name: ci_reporter_rspec
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - "~>"
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '1.0'
|
169
206
|
type: :development
|
170
207
|
prerelease: false
|
171
208
|
version_requirements: !ruby/object:Gem::Requirement
|
172
209
|
requirements:
|
173
210
|
- - "~>"
|
174
211
|
- !ruby/object:Gem::Version
|
175
|
-
version: '1.
|
176
|
-
- - ">="
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: 1.8.1
|
212
|
+
version: '1.0'
|
179
213
|
description: Client library for interacting with the CloudFoundry User Account and
|
180
214
|
Authorization (UAA) server. The UAA is an OAuth2 Authorization Server so it can
|
181
215
|
be used by webapps and command line apps to obtain access tokens to act on behalf
|
@@ -191,8 +225,10 @@ executables: []
|
|
191
225
|
extensions: []
|
192
226
|
extra_rdoc_files: []
|
193
227
|
files:
|
228
|
+
- ".github/dependabot.yml"
|
229
|
+
- ".github/workflows/gem-push.yml"
|
230
|
+
- ".github/workflows/ruby.yml"
|
194
231
|
- ".gitignore"
|
195
|
-
- ".travis.yml"
|
196
232
|
- ".yardopts"
|
197
233
|
- CHANGELOG.md
|
198
234
|
- Gemfile
|
@@ -201,6 +237,7 @@ files:
|
|
201
237
|
- README.md
|
202
238
|
- Rakefile
|
203
239
|
- cf-uaa-lib.gemspec
|
240
|
+
- examples/password_grant_and_decode_token.rb
|
204
241
|
- lib/uaa.rb
|
205
242
|
- lib/uaa/http.rb
|
206
243
|
- lib/uaa/info.rb
|
@@ -235,16 +272,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
272
|
- !ruby/object:Gem::Version
|
236
273
|
version: '0'
|
237
274
|
requirements: []
|
238
|
-
|
239
|
-
rubygems_version: 2.5.1
|
275
|
+
rubygems_version: 3.0.3.1
|
240
276
|
signing_key:
|
241
277
|
specification_version: 4
|
242
278
|
summary: Client library for CloudFoundry UAA
|
243
|
-
test_files:
|
244
|
-
- spec/http_spec.rb
|
245
|
-
- spec/info_spec.rb
|
246
|
-
- spec/integration_spec.rb
|
247
|
-
- spec/scim_spec.rb
|
248
|
-
- spec/spec_helper.rb
|
249
|
-
- spec/token_coder_spec.rb
|
250
|
-
- spec/token_issuer_spec.rb
|
279
|
+
test_files: []
|