cf-uaac 4.5.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +28 -0
- data/cf-uaac.gemspec +1 -1
- data/lib/uaa/cli/client_reg.rb +2 -1
- data/version.txt +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b0ccc68333fba77918370b92678e803a339d2efd0bf80415f06a469015f69ca
|
|
4
|
+
data.tar.gz: 15fd888cb1d7beeb64df62f9393a6d148daa76377e8af02eb9b531b43b39afe5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f37d4c1122288ebad48fdc0612c1263a8eebcedca8a12e467ca2b625bddf0cf5136fe11511e085a8f8f0ca6a03bc4283a2b580e30a79b626c13779d4888355b
|
|
7
|
+
data.tar.gz: f22f6149a3b769a9b3428def9568091a2f9cac5a99042c9c9a9bce76e9fc5984849fa1393ca3966f9e81952abac84c4b35f66b70f9a8c89a599de371cad6049e
|
data/README.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|

|
|
4
4
|
[](https://rubygems.org/gems/cf-uaac)
|
|
5
5
|
|
|
6
|
+
## Operating system compatibility
|
|
7
|
+
|
|
8
|
+
The `uaac` CLI is tested on Linux and Mac OS, and is supported on these systems.
|
|
9
|
+
It is not tested or supported on Windows, though it has been known to work at some point.
|
|
10
|
+
|
|
6
11
|
## Installation
|
|
7
12
|
|
|
8
13
|
From Rubygems:
|
|
@@ -17,6 +22,24 @@ gem build cf-uaac.gemspec
|
|
|
17
22
|
gem install cf-uaac*.gem
|
|
18
23
|
```
|
|
19
24
|
|
|
25
|
+
### Troubleshooting possible installation issues
|
|
26
|
+
|
|
27
|
+
You may encounter some errors when building native extentions of the required
|
|
28
|
+
Gems. We redirect you to the documentation of those Gem dependencies, as many
|
|
29
|
+
different compilation/linking issue may occur.
|
|
30
|
+
|
|
31
|
+
Typical issues with x86 Darwin systems (i.e. macOS) may involve the following
|
|
32
|
+
`cflags` and `ldflags` options, for the `bundler` Gem to properly build the
|
|
33
|
+
required Gems native extensions. You should not use them blindly without
|
|
34
|
+
knowing what you're doing. If you don't want persistent workarounds in your
|
|
35
|
+
Bundler config, those settings can also be passed to one-off `gem install`
|
|
36
|
+
invocations. Please refer to `gem help install` and `man bundle-config`.
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
bundle config build.eventmachine --with-cflags="-fms-extensions"
|
|
40
|
+
bundle config build.mysql2 --with-ldflags="-L/usr/local/opt/openssl@1.1/lib"
|
|
41
|
+
bundle config build.thin --with-cflags="-fms-extensions -Wno-error=implicit-function-declaration"
|
|
42
|
+
```
|
|
20
43
|
|
|
21
44
|
## Concepts
|
|
22
45
|
|
|
@@ -35,6 +58,11 @@ Now that UAAC has your token, you're able to run commands and hit the endpoints
|
|
|
35
58
|
|
|
36
59
|
To use the APIs, see: https://github.com/cloudfoundry/cf-uaa-lib
|
|
37
60
|
|
|
61
|
+
### Caveats in connecting
|
|
62
|
+
|
|
63
|
+
When necessary, the `--skip-ssl-validation` flag should be used once only,
|
|
64
|
+
along with the `uaac target` invocation. See `uaac target -h`.
|
|
65
|
+
|
|
38
66
|
|
|
39
67
|
## Creating clients
|
|
40
68
|
|
data/cf-uaac.gemspec
CHANGED
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
|
35
35
|
s.add_development_dependency 'rake', '>= 10.3.1', '~> 13.0'
|
|
36
36
|
s.add_development_dependency 'rspec', '>= 2.14.1', '~> 3.9'
|
|
37
37
|
s.add_development_dependency 'simplecov', '~> 0.21.2'
|
|
38
|
-
s.add_development_dependency 'simplecov-rcov', '~> 0.
|
|
38
|
+
s.add_development_dependency 'simplecov-rcov', '~> 0.3.0'
|
|
39
39
|
s.add_development_dependency 'ci_reporter', '>= 1.9.2', '~> 2.0'
|
|
40
40
|
s.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
|
|
41
41
|
s.add_runtime_dependency 'highline', '~> 2.0'
|
data/lib/uaa/cli/client_reg.rb
CHANGED
|
@@ -28,6 +28,7 @@ class ClientCli < CommonCli
|
|
|
28
28
|
:refresh_token_validity => 'seconds',
|
|
29
29
|
:redirect_uri => 'list',
|
|
30
30
|
:autoapprove => 'list',
|
|
31
|
+
:allowpublic => 'list',
|
|
31
32
|
:allowedproviders => 'list',
|
|
32
33
|
:'signup_redirect_url' => 'url'
|
|
33
34
|
}
|
|
@@ -46,7 +47,7 @@ class ClientCli < CommonCli
|
|
|
46
47
|
info[k] = opts[:interact] ?
|
|
47
48
|
info[k] = askd("#{k.to_s.gsub('_', ' ')} (#{p})", default): default
|
|
48
49
|
end
|
|
49
|
-
if k == :autoapprove && (info[k] == 'true' || info[k] == 'false')
|
|
50
|
+
if (k == :autoapprove || k == :allowpublic) && (info[k] == 'true' || info[k] == 'false')
|
|
50
51
|
info[k] = !!(info[k] == 'true')
|
|
51
52
|
else
|
|
52
53
|
info[k] = Util.arglist(info[k]) if p == 'list'
|
data/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.
|
|
1
|
+
4.6.0
|
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: 4.
|
|
4
|
+
version: 4.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dave Syer
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2022-
|
|
15
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: cf-uaa-lib
|
|
@@ -88,14 +88,14 @@ dependencies:
|
|
|
88
88
|
requirements:
|
|
89
89
|
- - "~>"
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
|
-
version: 0.
|
|
91
|
+
version: 0.3.0
|
|
92
92
|
type: :development
|
|
93
93
|
prerelease: false
|
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements:
|
|
96
96
|
- - "~>"
|
|
97
97
|
- !ruby/object:Gem::Version
|
|
98
|
-
version: 0.
|
|
98
|
+
version: 0.3.0
|
|
99
99
|
- !ruby/object:Gem::Dependency
|
|
100
100
|
name: ci_reporter
|
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|