google-cloud-recommender 0.1.2 → 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: ecd7582ba37b4e477c3d3b652167de95a4ee1e0db39720b95cf4784dee1dc6c3
4
- data.tar.gz: 18754cd08ca4d156ca44090dba06c4bca439c6c1c588d6d361a47586a07ecff3
3
+ metadata.gz: 4a88816229a893ade1165a7e1bbdd99de343691939acfbd5287e27b150d562d4
4
+ data.tar.gz: 4e13c5d9af6471b05ecb2032759e84edc81c901874ede8bb168ca1a19897f96b
5
5
  SHA512:
6
- metadata.gz: c1774aeb0b374274cb04d8ac269952885e06eb0be13d871611faa9657c5521672c4e9db98e49a3acffd851c5eb04804509400be9343df3718531a7c1422d65c0
7
- data.tar.gz: 7df2bb17bfb3cbc4a6fa25c6ba6e16113377a41eded3ba891ae86d58a5f5873129ca517b77c93efba3e0e90cf54275509bf305eba1194889790489a8921945a3
6
+ metadata.gz: 849aebdfa017c2960efd1fb1c123b88e1158cd65d7c69eca01b3c6124f7c1f9f38e3afeaa64d7d761b2ad7440e1b188d28355c1d4b153225c871744da51835ce
7
+ data.tar.gz: de9384859f900b31ad3cc97e7e0b6a743a780d16a88693a954bab6cb95c8403b2a2d7e071ebd60ca0139856f0463b4e0a3574d0073ba61d6e7e6e40c1402846c
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! :recommender 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/recommender/version"
19
+ require "google/cloud/recommender"
@@ -16,7 +16,22 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google-cloud-recommender"
19
+ require "google/cloud/recommender/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! :recommender 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 Recommender
19
- VERSION = "0.1.2".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-recommender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
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-25 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