cf-uaac 4.5.0 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36488b9610f3cc86a06d229903f29beda0e6394d533894390199e89851e225de
4
- data.tar.gz: 00b0ea7818b49c8871e78ebb1286982dcd569ac33decd42a96d9fa10cec0aea7
3
+ metadata.gz: 9b0ccc68333fba77918370b92678e803a339d2efd0bf80415f06a469015f69ca
4
+ data.tar.gz: 15fd888cb1d7beeb64df62f9393a6d148daa76377e8af02eb9b531b43b39afe5
5
5
  SHA512:
6
- metadata.gz: 349d0003eb1dba666f54fadc9017b644269d15cf89edb83cf210e22c5fac38b4faf70e0b12b07afeec378572c158ea8db77cb7242f998ad73d1258b75d285c4a
7
- data.tar.gz: b669538c9b836c36ac8f493c3e0539303c0269c08fa3a6704e7f4f26140333016ec748e6e594b54932f04f993ecfaf259800c294e1f727c00b249dc060ff1476
6
+ metadata.gz: 6f37d4c1122288ebad48fdc0612c1263a8eebcedca8a12e467ca2b625bddf0cf5136fe11511e085a8f8f0ca6a03bc4283a2b580e30a79b626c13779d4888355b
7
+ data.tar.gz: f22f6149a3b769a9b3428def9568091a2f9cac5a99042c9c9a9bce76e9fc5984849fa1393ca3966f9e81952abac84c4b35f66b70f9a8c89a599de371cad6049e
data/README.md CHANGED
@@ -3,6 +3,11 @@
3
3
  ![Build status](https://github.com/cloudfoundry/cf-uaac/actions/workflows/ruby.yml/badge.svg)
4
4
  [![Gem Version](https://badge.fury.io/rb/cf-uaac.png)](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.2.3'
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'
@@ -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.5.0
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.5.0
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-01-21 00:00:00.000000000 Z
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.2.3
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.2.3
98
+ version: 0.3.0
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: ci_reporter
101
101
  requirement: !ruby/object:Gem::Requirement