grafeas 1.2.0 → 1.3.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: 5ffc384c6754fdb8fcf6881a4d75a2ff1812581a2f41074e2bb083efed5bbd8d
4
- data.tar.gz: 040a661e2795570f7b6a1f228bbeec55857a0d1cbf663613f2d0c583f5f94c97
3
+ metadata.gz: 15078c6d11818df6b566ea6d75ec36bb2b7a785cec1804122dbb6016755b344b
4
+ data.tar.gz: 431625f54ee88560518208e6144a30accc53d5673d7fed960d861241ad9453e8
5
5
  SHA512:
6
- metadata.gz: 81b0347c63066ff04c030e08cd3fd685d6b2b4fa5261355e56458c44489792445181a49a7e89914c4aa17e53a42088c6dfe6569ac6b136537c90152129ccde5c
7
- data.tar.gz: c6cfbc02633b840685c09fe4eefb9c452e0df07d13a7492c5fbe36d93ef3048d7664fe0a9ef45c5a447fa38099721beec4ef0afcf43043e92b63e4911b166093
6
+ metadata.gz: 1fbfa2053b47dfe8f523225269066b21023b017587aa02449e27d707f0e06a342c2a8bacd41f0c6ce99a4aa18a0eb42f80ac3f7ee94152fdb5fe0799210a61f7
7
+ data.tar.gz: 18e82d179d9f2d1a1e343867a4cd08c0937071a1d552d425f28595244a881a9641a71bfa0bb3f2d97f1eb1b2f52d48dee1895c53ed692ba8b3e2c9b131f9028e
data/README.md CHANGED
@@ -16,7 +16,7 @@ for this library, grafeas, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
18
18
  client gems:
19
- [grafeas-v1](https://googleapis.dev/ruby/grafeas-v1/latest).
19
+ [grafeas-v1](https://cloud.google.com/ruby/docs/reference/grafeas-v1/latest).
20
20
 
21
21
  See also the [Product Documentation](https://grafeas.io)
22
22
  for more usage information.
@@ -38,8 +38,8 @@ See the {file:MIGRATING.md MIGRATING.md} document for more information.
38
38
  ## Enabling Logging
39
39
 
40
40
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
41
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
42
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
41
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
42
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
43
43
  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)
44
44
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
45
45
 
@@ -18,5 +18,5 @@
18
18
 
19
19
 
20
20
  module Grafeas
21
- VERSION = "1.2.0"
21
+ VERSION = "1.3.0"
22
22
  end
data/lib/grafeas.rb CHANGED
@@ -29,9 +29,9 @@ module Grafeas
29
29
  # Create a new client object for Grafeas.
30
30
  #
31
31
  # By default, this returns an instance of
32
- # [Grafeas::V1::Grafeas::Client](https://googleapis.dev/ruby/grafeas-v1/latest/Grafeas/V1/Grafeas/Client.html)
33
- # for version V1 of the API.
34
- # However, you can specify specify a different API version by passing it in the
32
+ # [Grafeas::V1::Grafeas::Client](https://cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Grafeas-Client)
33
+ # for a gRPC client for version V1 of the API.
34
+ # However, you can specify a different API version by passing it in the
35
35
  # `version` parameter. If the Grafeas service is
36
36
  # supported by that API version, and the corresponding gem is available, the
37
37
  # appropriate versioned client will be returned.
@@ -55,7 +55,7 @@ module Grafeas
55
55
  #
56
56
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
57
57
  # Defaults to `:v1`.
58
- # @return [Grafeas::Client] A client object for the specified version.
58
+ # @return [::Object] A client object for the specified version.
59
59
  #
60
60
  def self.grafeas version: :v1, &block
61
61
  require "grafeas/#{version.to_s.downcase}"
@@ -64,8 +64,8 @@ module Grafeas
64
64
  .constants
65
65
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
66
66
  .first
67
- package_module = Grafeas.const_get package_name
68
- package_module.const_get(:Grafeas).const_get(:Client).new(&block)
67
+ service_module = Grafeas.const_get(package_name).const_get(:Grafeas)
68
+ service_module.const_get(:Client).new(&block)
69
69
  end
70
70
  end
71
71
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grafeas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2022-07-08 00:00:00.000000000 Z
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.0'
33
+ version: '0.14'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 2.a
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '0.0'
43
+ version: '0.14'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.a
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.3.14
191
+ rubygems_version: 3.5.3
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: API Client library for the Grafeas API