google-cloud-os_login 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIGRATING.md +5 -5
- data/lib/google/cloud/os_login/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1be0b93f53d1b3f1454f14c6c788d10b31756bb70a9e71df2d5075b47e46d6e6
|
4
|
+
data.tar.gz: 1b546af1112e755da27d98190d60aa8c684e0ad49ff1df3c7942d6ca6bff4027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7f33931d7130451df8e8f8ba882b07a71da2d40f0931deda1f800235e8c8c8401a02638c38c7bf3c876cf6c7da954750103c088c709be98a38e53bfe90add83
|
7
|
+
data.tar.gz: 3b07984ddd24ed4a7e36a5ea181e038c81c612679d2401d9403b3bec1ea97050249653831073da93063db2e97e824b9a535c1624b12dd1fe34ea54f352b4571c
|
data/MIGRATING.md
CHANGED
@@ -11,7 +11,7 @@ To summarize:
|
|
11
11
|
|
12
12
|
* The library has been broken out into three libraries. The new gems
|
13
13
|
`google-cloud-os_login-v1` and `google-cloud-os_login-v1beta` contain the
|
14
|
-
actual client classes for versions V1 and V1beta of the
|
14
|
+
actual client classes for versions V1 and V1beta of the OS Login
|
15
15
|
service, and the gem `google-cloud-os_login` now simply provides a
|
16
16
|
convenience wrapper. See [Library Structure](#library-structure) for more
|
17
17
|
info.
|
@@ -36,7 +36,7 @@ To summarize:
|
|
36
36
|
### Library Structure
|
37
37
|
|
38
38
|
Older 0.x releases of the `google-cloud-os_login` gem were all-in-one gems that
|
39
|
-
included potentially multiple clients for multiple versions of the
|
39
|
+
included potentially multiple clients for multiple versions of the OS Login
|
40
40
|
service. The `Google::Cloud::OsLogin.new` factory method would
|
41
41
|
return you an instance of a `Google::Cloud::OsLogin::V1::OsLoginServiceClient`
|
42
42
|
object for the V1 version of the service, or a
|
@@ -70,7 +70,7 @@ constructor. It was also extremely difficult to customize the default settings.
|
|
70
70
|
With the 1.0 release, a configuration interface provides control over these
|
71
71
|
parameters, including defaults for all instances of a client, and settings for
|
72
72
|
each specific client instance. For example, to set default credentials and
|
73
|
-
timeout for all
|
73
|
+
timeout for all OS Login V1 clients:
|
74
74
|
|
75
75
|
```
|
76
76
|
Google::Cloud::OsLogin::V1::OsLoginService::Client.configure do |config|
|
@@ -88,11 +88,11 @@ Google::Cloud::OsLogin::V1::OsLoginService::Client.configure do |config|
|
|
88
88
|
end
|
89
89
|
```
|
90
90
|
|
91
|
-
Defaults for certain configurations can be set for all
|
91
|
+
Defaults for certain configurations can be set for all OS Login versions
|
92
92
|
globally:
|
93
93
|
|
94
94
|
```
|
95
|
-
Google::Cloud::
|
95
|
+
Google::Cloud::OsLogin.configure do |config|
|
96
96
|
config.credentials = "/path/to/credentials.json"
|
97
97
|
config.timeout = 10.0
|
98
98
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|