grafeas 1.1.2 → 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: 955ba1337d6140db8974c673c030a004f1720a8a5ef8554bc750a50fbd75b082
4
- data.tar.gz: bbfb82b9059bf3e0f3f34467263a4f9efde449050b63d0fcc78f3f5fa09c7586
3
+ metadata.gz: 15078c6d11818df6b566ea6d75ec36bb2b7a785cec1804122dbb6016755b344b
4
+ data.tar.gz: 431625f54ee88560518208e6144a30accc53d5673d7fed960d861241ad9453e8
5
5
  SHA512:
6
- metadata.gz: 04be466788eaa839917f39384508d49d1d4bfdee4446a3c5aefea9d12b350cf673c10382cc15d418f2c8673c65f5e2a8c0f6d41291e39fdd6527516c963ed1e4
7
- data.tar.gz: c93beb13423baed5c2aa3f564f280ba2c420eca6e521c7d15e92ba7ae63c81ce24869e1d676a516b9390643f7c2d7441fde0ec3ad8bce322fa779830504bc7dd
6
+ metadata.gz: 1fbfa2053b47dfe8f523225269066b21023b017587aa02449e27d707f0e06a342c2a8bacd41f0c6ce99a4aa18a0eb42f80ac3f7ee94152fdb5fe0799210a61f7
7
+ data.tar.gz: 18e82d179d9f2d1a1e343867a4cd08c0937071a1d552d425f28595244a881a9641a71bfa0bb3f2d97f1eb1b2f52d48dee1895c53ed692ba8b3e2c9b131f9028e
data/README.md CHANGED
@@ -11,12 +11,12 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/grafeas/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/grafeas/latest)
15
15
  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
 
@@ -63,14 +63,14 @@ end
63
63
 
64
64
  ## Supported Ruby Versions
65
65
 
66
- This library is supported on Ruby 2.5+.
66
+ This library is supported on Ruby 2.6+.
67
67
 
68
68
  Google provides official support for Ruby versions that are actively supported
69
69
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
70
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
71
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
72
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
73
- about the Ruby support schedule.
70
+ in security maintenance, and not end of life. Older versions of Ruby _may_
71
+ still work, but are unsupported and not recommended. See
72
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
73
+ support schedule.
74
74
 
75
75
  ## Which client should I use?
76
76
 
@@ -18,5 +18,5 @@
18
18
 
19
19
 
20
20
  module Grafeas
21
- VERSION = "1.1.2"
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.1.2
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-01-11 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
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -181,14 +181,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
182
  - - ">="
183
183
  - !ruby/object:Gem::Version
184
- version: '2.5'
184
+ version: '2.6'
185
185
  required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubygems_version: 3.3.4
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