google-cloud-secret_manager 0.4.0 → 0.4.1

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: dd997305e4ea4ac3bfb9840cdbb4e3e48c06fcdf81aeba1e8aa9fe8600fec3b6
4
- data.tar.gz: 943eb163b2e729de37bd1e8ee02426c7e154701144468713b72475b6cebc0ae0
3
+ metadata.gz: 7e36f7b4635ba0a58c4f33e1a2f65a72ca26673ede86fd2c1adf08bb68036c57
4
+ data.tar.gz: e2c3366abd1c98b2bdc57f3a571004c6008a599ed91a1ad1c534c3a2c2d4a3ca
5
5
  SHA512:
6
- metadata.gz: 7bc3f8d42d90f81a8c81ce2f2780964b5f68ccd81035c31e7128c65bdd223d9ce9b7f6a556c0e01e72b5147617737a764cfa9a6dca2908e345421f3fda13b3a8
7
- data.tar.gz: 2e9bc323ec14069ab0b1edfd390ffb9015a6896880be2e38b3da4f02e408db73f63a63e28f15ea6e624abbfde83ed1d4a17342928472393554ef4dbe74350dd0
6
+ metadata.gz: 50bd267d9c63c7ab4f4b41fd143b5beccd5bd1dfa32edc0002510fa16fc272d9599905d9c040eb9e00dce8c91d22a013242ce9cd1ddd36cbda78106afffbf544
7
+ data.tar.gz: bf98de086e6db946df28000488f92ea2dd560209af4e6731f6688f57f339f144fcfa257d3fc1ef99847b7845725ff45f4574cef0745e91cde48b40097c0cd981
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-secret_manager
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- `Google::Cloud::SecretManager::V1::SecretManagerService::Credentials`):
67
+ `::Google::Cloud::SecretManager::V1::SecretManagerService::Credentials`):
68
68
 
69
69
  1. `SECRET_MANAGER_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `SECRET_MANAGER_KEYFILE` - Path to JSON file, or JSON contents
@@ -16,4 +16,4 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google/cloud/secret_manager"
19
+ require "google/cloud/secret_manager" unless defined? Google::Cloud::SecretManager::VERSION
@@ -16,21 +16,26 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
19
23
  require "google/cloud/secret_manager/version"
24
+
20
25
  require "googleauth"
21
26
  gem "google-cloud-core"
22
- require "google/cloud" unless defined? Google::Cloud.new
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
23
28
  require "google/cloud/config"
24
29
 
25
30
  # Set the default configuration
26
- Google::Cloud.configure.add_config! :secret_manager do |config|
27
- config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
28
- config.add_field! :lib_name, nil, match: String
29
- config.add_field! :lib_version, nil, match: String
30
- config.add_field! :interceptors, nil, match: Array
31
- config.add_field! :timeout, nil, match: Numeric
32
- config.add_field! :metadata, nil, match: Hash
33
- config.add_field! :retry_policy, nil, match: [Hash, Proc]
31
+ ::Google::Cloud.configure.add_config! :secret_manager do |config|
32
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
33
+ config.add_field! :lib_name, nil, match: ::String
34
+ config.add_field! :lib_version, nil, match: ::String
35
+ config.add_field! :interceptors, nil, match: ::Array
36
+ config.add_field! :timeout, nil, match: ::Numeric
37
+ config.add_field! :metadata, nil, match: ::Hash
38
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
34
39
  end
35
40
 
36
41
  module Google
@@ -57,7 +62,7 @@ module Google
57
62
  # * Secret
58
63
  # * SecretVersion
59
64
  #
60
- # @param version [String, Symbol] The API version to connect to. Optional.
65
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
61
66
  # Defaults to `:v1`.
62
67
  # @return [SecretManagerService::Client] A client object for the specified version.
63
68
  #
@@ -98,12 +103,12 @@ module Google
98
103
  # * `:retry_codes` (*type:* `Array<String>`) -
99
104
  # The error codes that should trigger a retry.
100
105
  #
101
- # @return [Google::Cloud::Config] The default configuration used by this library
106
+ # @return [::Google::Cloud::Config] The default configuration used by this library
102
107
  #
103
108
  def self.configure
104
- yield Google::Cloud.configure.secret_manager if block_given?
109
+ yield ::Google::Cloud.configure.secret_manager if block_given?
105
110
 
106
- Google::Cloud.configure.secret_manager
111
+ ::Google::Cloud.configure.secret_manager
107
112
  end
108
113
  end
109
114
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module SecretManager
19
- VERSION = "0.4.0".freeze
19
+ VERSION = "0.4.1".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-secret_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.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-04-13 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '5.10'
89
+ version: '5.14'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '5.10'
96
+ version: '5.14'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest-autotest
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '5.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '12.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '12.0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: redcarpet
141
155
  requirement: !ruby/object:Gem::Requirement