cf-uaac 4.5.0 → 4.7.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: 50782c2e4677fd05e68b91b6ef05db02e7d047e18d1116e37d2562281373a4b0
4
+ data.tar.gz: 8018af4f9602a593a28b816a503de5c52c32a9b285fa69fe9b17e531e9633ea4
5
5
  SHA512:
6
- metadata.gz: 349d0003eb1dba666f54fadc9017b644269d15cf89edb83cf210e22c5fac38b4faf70e0b12b07afeec378572c158ea8db77cb7242f998ad73d1258b75d285c4a
7
- data.tar.gz: b669538c9b836c36ac8f493c3e0539303c0269c08fa3a6704e7f4f26140333016ec748e6e594b54932f04f993ecfaf259800c294e1f727c00b249dc060ff1476
6
+ metadata.gz: de4a2b48df536e7090d284671fa29103c39104b36317afc3a3d9f6c7616b592232881e7a69ad463bac307e75accf7fa6eeb981aacd58ebfb0caa6d3c773e4c4b
7
+ data.tar.gz: 8cf52ec78ed29db90231403cc20aa0b2cf25547732ae6566b9f68a95e305aa13333dc01bad5807151302f818afd048bb6023defaf2f3253ff1fcf4f5d79cb1e9
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'
@@ -43,5 +43,5 @@ Gem::Specification.new do |s|
43
43
  s.add_runtime_dependency 'launchy', '~> 2.4', '>= 2.4.2'
44
44
  s.add_runtime_dependency 'em-http-request', '~> 1.1', '>= 1.1.2'
45
45
  s.add_runtime_dependency 'json_pure', '>= 1.8.1', '< 3.0'
46
- s.add_runtime_dependency 'rack', '>= 1.5.2', '< 3.0'
46
+ s.add_runtime_dependency 'rack', '>= 1.5.2', '< 4.0'
47
47
  end
@@ -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.7.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.7.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-10-19 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
@@ -233,7 +233,7 @@ dependencies:
233
233
  version: 1.5.2
234
234
  - - "<"
235
235
  - !ruby/object:Gem::Version
236
- version: '3.0'
236
+ version: '4.0'
237
237
  type: :runtime
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
@@ -243,7 +243,7 @@ dependencies:
243
243
  version: 1.5.2
244
244
  - - "<"
245
245
  - !ruby/object:Gem::Version
246
- version: '3.0'
246
+ version: '4.0'
247
247
  description: Client command line tools for interacting with the CloudFoundry User
248
248
  Account and Authorization (UAA) server. The UAA is an OAuth2 Authorization Server
249
249
  so it can be used by webapps and command line apps to obtain access tokens to act