cf-uaac 3.6.0 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/cf-uaac.gemspec +22 -22
- data/lib/uaa/cli/version.rb +1 -1
- data/spec/http_spec.rb +1 -1
- metadata +86 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2c47fc2a63912509e7a7f93db88dabf44977723
|
4
|
+
data.tar.gz: 46c51d49fd1eed01bf3422f1dd1a796845327b84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5be63a794cae0457dd1071f6cc1250d6fe6949f0752f646737ee0998639d2e0161dca12cd92cc7a5bef4fb5f762e76fd5fde4fa680193cb6d9b95ebb97a1e75c
|
7
|
+
data.tar.gz: 7e1e37f6ac860ac099e974eb11fa5b9d489ff977f382d5b8af1c1826549a4a19dc55bd8ba8f7f5f5d430ca8dfada8a3e839c5707f72c0bb59ad8196b2f10f146
|
data/Gemfile
CHANGED
data/cf-uaac.gemspec
CHANGED
@@ -12,38 +12,38 @@
|
|
12
12
|
# subcomponent's license, as noted in the LICENSE file.
|
13
13
|
#++
|
14
14
|
|
15
|
-
$:.push File.expand_path(
|
16
|
-
require
|
15
|
+
$:.push File.expand_path('../lib', __FILE__)
|
16
|
+
require 'uaa/cli/version'
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
|
-
s.name =
|
19
|
+
s.name = 'cf-uaac'
|
20
20
|
s.version = CF::UAA::CLI_VERSION
|
21
|
-
s.authors = [
|
22
|
-
s.email = [
|
23
|
-
s.homepage =
|
21
|
+
s.authors = ['Dave Syer', 'Dale Olds', 'Joel D\'sa', 'Vidya Valmikinathan', 'Luke Taylor']
|
22
|
+
s.email = ['dsyer@vmware.com', 'olds@vmware.com', 'jdsa@vmware.com', 'vidya@vmware.com', 'ltaylor@vmware.com']
|
23
|
+
s.homepage = 'https://github.com/cloudfoundry/cf-uaac'
|
24
24
|
s.summary = %q{Command line interface for CloudFoundry UAA}
|
25
25
|
s.description = %q{Client command line tools for interacting with the CloudFoundry User Account and Authorization (UAA) server. The UAA is an OAuth2 Authorization Server so it can be used by webapps and command line apps to obtain access tokens to act on behalf of users. The tokens can then be used to access protected resources in a Resource Server. This library can be used by clients (as a convenient wrapper for mainstream oauth gems) or by resource servers.}
|
26
26
|
|
27
|
-
s.rubyforge_project =
|
27
|
+
s.rubyforge_project = 'cf-uaac'
|
28
28
|
|
29
|
-
s.license =
|
29
|
+
s.license = 'Apache-2.0'
|
30
30
|
s.files = `git ls-files`.split("\n")
|
31
31
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
32
32
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
33
|
-
s.require_paths = [
|
33
|
+
s.require_paths = ['lib']
|
34
34
|
|
35
35
|
# dependencies
|
36
|
-
s.
|
37
|
-
s.add_development_dependency
|
38
|
-
s.add_development_dependency
|
39
|
-
s.add_development_dependency
|
40
|
-
s.add_development_dependency
|
41
|
-
s.add_development_dependency
|
42
|
-
s.
|
43
|
-
s.add_runtime_dependency
|
44
|
-
s.add_runtime_dependency
|
45
|
-
s.add_runtime_dependency
|
46
|
-
s.add_runtime_dependency
|
47
|
-
s.add_runtime_dependency
|
48
|
-
s.add_runtime_dependency
|
36
|
+
s.add_runtime_dependency 'cf-uaa-lib', '~> 3.9.0', '>= 3.9.0'
|
37
|
+
s.add_development_dependency 'bundler', '~> 1.14.0', '>= 1.14.3'
|
38
|
+
s.add_development_dependency 'rake', '~> 10.3', '>= 10.3.1'
|
39
|
+
s.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
|
40
|
+
s.add_development_dependency 'simplecov', '~> 0.8.2'
|
41
|
+
s.add_development_dependency 'simplecov-rcov', '~> 0.2.3'
|
42
|
+
s.add_development_dependency 'ci_reporter', '~> 1.9', '>= 1.9.2'
|
43
|
+
s.add_runtime_dependency 'highline', '~> 1.6', '>= 1.6.21'
|
44
|
+
s.add_runtime_dependency 'eventmachine', '~> 1.0', '>= 1.0.3'
|
45
|
+
s.add_runtime_dependency 'launchy', '~> 2.4', '>= 2.4.2'
|
46
|
+
s.add_runtime_dependency 'em-http-request', '~> 1.1', '>= 1.1.2'
|
47
|
+
s.add_runtime_dependency 'json_pure', '~> 1.8', '>= 1.8.1'
|
48
|
+
s.add_runtime_dependency 'rack', '~> 1.5', '>= 1.5.2'
|
49
49
|
end
|
data/lib/uaa/cli/version.rb
CHANGED
data/spec/http_spec.rb
CHANGED
@@ -145,7 +145,7 @@ describe Http do
|
|
145
145
|
if result[0] == :error
|
146
146
|
raise BadTarget, "connection failed" unless result[1] && result[1] != ""
|
147
147
|
raise BadTarget, "connection refused" if result[1].to_s =~ /ECONNREFUSED/
|
148
|
-
raise BadTarget, "unable to resolve address" if /unable.*
|
148
|
+
raise BadTarget, "unable to resolve address" if /unable.*resolve.*address/.match result[1]
|
149
149
|
raise HTTPException, result[1]
|
150
150
|
end
|
151
151
|
[result[0], result[1], Util.hash_keys!(result[2], :dash)]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf-uaac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Syer
|
@@ -12,27 +12,56 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2017-
|
15
|
+
date: 2017-03-21 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: cf-uaa-lib
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - "~>"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 3.9.0
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.9.0
|
27
|
+
type: :runtime
|
28
|
+
prerelease: false
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.9.0
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 3.9.0
|
17
37
|
- !ruby/object:Gem::Dependency
|
18
38
|
name: bundler
|
19
39
|
requirement: !ruby/object:Gem::Requirement
|
20
40
|
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.14.0
|
21
44
|
- - ">="
|
22
45
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
46
|
+
version: 1.14.3
|
24
47
|
type: :development
|
25
48
|
prerelease: false
|
26
49
|
version_requirements: !ruby/object:Gem::Requirement
|
27
50
|
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.14.0
|
28
54
|
- - ">="
|
29
55
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
56
|
+
version: 1.14.3
|
31
57
|
- !ruby/object:Gem::Dependency
|
32
58
|
name: rake
|
33
59
|
requirement: !ruby/object:Gem::Requirement
|
34
60
|
requirements:
|
35
61
|
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '10.3'
|
64
|
+
- - ">="
|
36
65
|
- !ruby/object:Gem::Version
|
37
66
|
version: 10.3.1
|
38
67
|
type: :development
|
@@ -40,6 +69,9 @@ dependencies:
|
|
40
69
|
version_requirements: !ruby/object:Gem::Requirement
|
41
70
|
requirements:
|
42
71
|
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '10.3'
|
74
|
+
- - ">="
|
43
75
|
- !ruby/object:Gem::Version
|
44
76
|
version: 10.3.1
|
45
77
|
- !ruby/object:Gem::Dependency
|
@@ -47,6 +79,9 @@ dependencies:
|
|
47
79
|
requirement: !ruby/object:Gem::Requirement
|
48
80
|
requirements:
|
49
81
|
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '2.14'
|
84
|
+
- - ">="
|
50
85
|
- !ruby/object:Gem::Version
|
51
86
|
version: 2.14.1
|
52
87
|
type: :development
|
@@ -54,6 +89,9 @@ dependencies:
|
|
54
89
|
version_requirements: !ruby/object:Gem::Requirement
|
55
90
|
requirements:
|
56
91
|
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.14'
|
94
|
+
- - ">="
|
57
95
|
- !ruby/object:Gem::Version
|
58
96
|
version: 2.14.1
|
59
97
|
- !ruby/object:Gem::Dependency
|
@@ -89,6 +127,9 @@ dependencies:
|
|
89
127
|
requirement: !ruby/object:Gem::Requirement
|
90
128
|
requirements:
|
91
129
|
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.9'
|
132
|
+
- - ">="
|
92
133
|
- !ruby/object:Gem::Version
|
93
134
|
version: 1.9.2
|
94
135
|
type: :development
|
@@ -97,26 +138,18 @@ dependencies:
|
|
97
138
|
requirements:
|
98
139
|
- - "~>"
|
99
140
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.9
|
101
|
-
-
|
102
|
-
name: cf-uaa-lib
|
103
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
-
requirements:
|
105
|
-
- - "~>"
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: 3.8.0
|
108
|
-
type: :runtime
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: !ruby/object:Gem::Requirement
|
111
|
-
requirements:
|
112
|
-
- - "~>"
|
141
|
+
version: '1.9'
|
142
|
+
- - ">="
|
113
143
|
- !ruby/object:Gem::Version
|
114
|
-
version:
|
144
|
+
version: 1.9.2
|
115
145
|
- !ruby/object:Gem::Dependency
|
116
146
|
name: highline
|
117
147
|
requirement: !ruby/object:Gem::Requirement
|
118
148
|
requirements:
|
119
149
|
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '1.6'
|
152
|
+
- - ">="
|
120
153
|
- !ruby/object:Gem::Version
|
121
154
|
version: 1.6.21
|
122
155
|
type: :runtime
|
@@ -124,6 +157,9 @@ dependencies:
|
|
124
157
|
version_requirements: !ruby/object:Gem::Requirement
|
125
158
|
requirements:
|
126
159
|
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '1.6'
|
162
|
+
- - ">="
|
127
163
|
- !ruby/object:Gem::Version
|
128
164
|
version: 1.6.21
|
129
165
|
- !ruby/object:Gem::Dependency
|
@@ -131,6 +167,9 @@ dependencies:
|
|
131
167
|
requirement: !ruby/object:Gem::Requirement
|
132
168
|
requirements:
|
133
169
|
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '1.0'
|
172
|
+
- - ">="
|
134
173
|
- !ruby/object:Gem::Version
|
135
174
|
version: 1.0.3
|
136
175
|
type: :runtime
|
@@ -138,6 +177,9 @@ dependencies:
|
|
138
177
|
version_requirements: !ruby/object:Gem::Requirement
|
139
178
|
requirements:
|
140
179
|
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '1.0'
|
182
|
+
- - ">="
|
141
183
|
- !ruby/object:Gem::Version
|
142
184
|
version: 1.0.3
|
143
185
|
- !ruby/object:Gem::Dependency
|
@@ -145,6 +187,9 @@ dependencies:
|
|
145
187
|
requirement: !ruby/object:Gem::Requirement
|
146
188
|
requirements:
|
147
189
|
- - "~>"
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '2.4'
|
192
|
+
- - ">="
|
148
193
|
- !ruby/object:Gem::Version
|
149
194
|
version: 2.4.2
|
150
195
|
type: :runtime
|
@@ -152,6 +197,9 @@ dependencies:
|
|
152
197
|
version_requirements: !ruby/object:Gem::Requirement
|
153
198
|
requirements:
|
154
199
|
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '2.4'
|
202
|
+
- - ">="
|
155
203
|
- !ruby/object:Gem::Version
|
156
204
|
version: 2.4.2
|
157
205
|
- !ruby/object:Gem::Dependency
|
@@ -159,6 +207,9 @@ dependencies:
|
|
159
207
|
requirement: !ruby/object:Gem::Requirement
|
160
208
|
requirements:
|
161
209
|
- - "~>"
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '1.1'
|
212
|
+
- - ">="
|
162
213
|
- !ruby/object:Gem::Version
|
163
214
|
version: 1.1.2
|
164
215
|
type: :runtime
|
@@ -166,6 +217,9 @@ dependencies:
|
|
166
217
|
version_requirements: !ruby/object:Gem::Requirement
|
167
218
|
requirements:
|
168
219
|
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.1'
|
222
|
+
- - ">="
|
169
223
|
- !ruby/object:Gem::Version
|
170
224
|
version: 1.1.2
|
171
225
|
- !ruby/object:Gem::Dependency
|
@@ -173,6 +227,9 @@ dependencies:
|
|
173
227
|
requirement: !ruby/object:Gem::Requirement
|
174
228
|
requirements:
|
175
229
|
- - "~>"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '1.8'
|
232
|
+
- - ">="
|
176
233
|
- !ruby/object:Gem::Version
|
177
234
|
version: 1.8.1
|
178
235
|
type: :runtime
|
@@ -180,6 +237,9 @@ dependencies:
|
|
180
237
|
version_requirements: !ruby/object:Gem::Requirement
|
181
238
|
requirements:
|
182
239
|
- - "~>"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '1.8'
|
242
|
+
- - ">="
|
183
243
|
- !ruby/object:Gem::Version
|
184
244
|
version: 1.8.1
|
185
245
|
- !ruby/object:Gem::Dependency
|
@@ -187,6 +247,9 @@ dependencies:
|
|
187
247
|
requirement: !ruby/object:Gem::Requirement
|
188
248
|
requirements:
|
189
249
|
- - "~>"
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '1.5'
|
252
|
+
- - ">="
|
190
253
|
- !ruby/object:Gem::Version
|
191
254
|
version: 1.5.2
|
192
255
|
type: :runtime
|
@@ -194,6 +257,9 @@ dependencies:
|
|
194
257
|
version_requirements: !ruby/object:Gem::Requirement
|
195
258
|
requirements:
|
196
259
|
- - "~>"
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '1.5'
|
262
|
+
- - ">="
|
197
263
|
- !ruby/object:Gem::Version
|
198
264
|
version: 1.5.2
|
199
265
|
description: Client command line tools for interacting with the CloudFoundry User
|
@@ -259,7 +325,7 @@ files:
|
|
259
325
|
- spec/user_spec.rb
|
260
326
|
homepage: https://github.com/cloudfoundry/cf-uaac
|
261
327
|
licenses:
|
262
|
-
- Apache
|
328
|
+
- Apache-2.0
|
263
329
|
metadata: {}
|
264
330
|
post_install_message:
|
265
331
|
rdoc_options: []
|
@@ -281,15 +347,4 @@ rubygems_version: 2.5.1
|
|
281
347
|
signing_key:
|
282
348
|
specification_version: 4
|
283
349
|
summary: Command line interface for CloudFoundry UAA
|
284
|
-
test_files:
|
285
|
-
- spec/client_reg_spec.rb
|
286
|
-
- spec/common_spec.rb
|
287
|
-
- spec/curl_spec.rb
|
288
|
-
- spec/group_spec.rb
|
289
|
-
- spec/http_spec.rb
|
290
|
-
- spec/info_spec.rb
|
291
|
-
- spec/setup_helper.rb
|
292
|
-
- spec/spec_helper.rb
|
293
|
-
- spec/ssl_integration_spec.rb
|
294
|
-
- spec/token_spec.rb
|
295
|
-
- spec/user_spec.rb
|
350
|
+
test_files: []
|