google-cloud-service_directory 0.1.0 → 0.2.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: 399aa2697450e0b250faa7d09a2c48b521477761e328c9819b2d0c2f84b6def0
4
- data.tar.gz: 5a84221d0560c29e8c2448000c64477060f12bcefd5a097b47d53550c7d7142c
3
+ metadata.gz: d157b8618bd3403a31740a6d49c344b801a3ad14ce8340f303da9f164eceb129
4
+ data.tar.gz: 61a0639420d528e50ff84268fa1d6cbed6c52e0e99173c180df632737e3fc94c
5
5
  SHA512:
6
- metadata.gz: 8ef9dbbb9ac22f129e1cbe7242fc8afd5e2d831a54782dc1053779c3c71799c84f0d8f1a3db4e1bfa29c4ac2b984cf7d242cd3881d98371e32f57e6649788091
7
- data.tar.gz: d395dee30ae9711ad66829cb2304bdb6f58364dc155b7b1120a3ee09d209cb6db4fe00e1ac8c96f8bf6c8751cb1bff62db4c0b521013d9eb9bfd66286293dd4c
6
+ metadata.gz: 66d293e28ef7f9bc856949b8dfea1a055ff39850765ffd85d4b2bc597196eebe4b994e57bbba410e8351b07199d94c02a60f41651d339f84fa264bc2fa34a1e1
7
+ data.tar.gz: d0d9426c1af39392f9c2a2e24e358643d965a4a30bdde78c979c3e5e936c313637918bda997e42a914234fd5381285f55d99f5de553a75893441e127da363653
data/README.md CHANGED
@@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps:
38
38
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
39
39
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
40
40
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
41
- that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
41
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
42
42
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
43
43
 
44
44
  Configuring a Ruby stdlib logger:
@@ -16,20 +16,4 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- gem "google-cloud-core"
20
- require "google/cloud" unless defined? Google::Cloud.new
21
- require "google/cloud/config"
22
- require "googleauth"
23
-
24
- # Set the default configuration
25
- Google::Cloud.configure.add_config! :service_directory do |config|
26
- config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
27
- config.add_field! :lib_name, nil, match: String
28
- config.add_field! :lib_version, nil, match: String
29
- config.add_field! :interceptors, nil, match: Array
30
- config.add_field! :timeout, nil, match: Numeric
31
- config.add_field! :metadata, nil, match: Hash
32
- config.add_field! :retry_policy, nil, match: [Hash, Proc]
33
- end
34
-
35
- require "google/cloud/service_directory/version"
19
+ require "google/cloud/service_directory"
@@ -16,7 +16,22 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google-cloud-service_directory"
19
+ require "google/cloud/service_directory/version"
20
+ require "googleauth"
21
+ gem "google-cloud-core"
22
+ require "google/cloud" unless defined? Google::Cloud.new
23
+ require "google/cloud/config"
24
+
25
+ # Set the default configuration
26
+ Google::Cloud.configure.add_config! :service_directory 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]
34
+ end
20
35
 
21
36
  module Google
22
37
  module Cloud
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ServiceDirectory
19
- VERSION = "0.1.0".freeze
19
+ VERSION = "0.2.0".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-service_directory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
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-03-24 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core