grafeas 1.2.0 → 1.4.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: 59a357d6fabe73010d485eb77a50947f09e26d7eb6844de6dc09c4ad646e834e
4
+ data.tar.gz: 36150ec7fc51e4931c00af9528ecd0181957ed06b857abeed429088c80694862
5
5
  SHA512:
6
- metadata.gz: 81b0347c63066ff04c030e08cd3fd685d6b2b4fa5261355e56458c44489792445181a49a7e89914c4aa17e53a42088c6dfe6569ac6b136537c90152129ccde5c
7
- data.tar.gz: c6cfbc02633b840685c09fe4eefb9c452e0df07d13a7492c5fbe36d93ef3048d7664fe0a9ef45c5a447fa38099721beec4ef0afcf43043e92b63e4911b166093
6
+ metadata.gz: 8d6f658f0d8c88a01e882f7641bb29060a0a80eb39ec7e3146ca429249e68e606a35077699408917f6724cf42468202d5e79cdc39abd5df1a31c96266efcbffc
7
+ data.tar.gz: 65ac518f4b933128e26216dd66b719c91063d1189755834b02bd1f7f3daad1008443eed7948ce56628acfe4afc6b9d5e130ff48f93a46235158b3cbdd6f48ffe
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
 
@@ -63,7 +63,7 @@ end
63
63
 
64
64
  ## Supported Ruby Versions
65
65
 
66
- This library is supported on Ruby 2.6+.
66
+ This library is supported on Ruby 2.7+.
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
@@ -18,5 +18,5 @@
18
18
 
19
19
 
20
20
  module Grafeas
21
- VERSION = "1.2.0"
21
+ VERSION = "1.4.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.4.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-02-26 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,122 +40,10 @@ 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
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.1
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.1
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.9'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.9'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: The Grafeas API stores, and enables querying and retrieval of, critical
160
48
  metadata about all of your software artifacts.
161
49
  email: googleapis-packages@google.com
@@ -181,14 +69,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
69
  requirements:
182
70
  - - ">="
183
71
  - !ruby/object:Gem::Version
184
- version: '2.6'
72
+ version: '2.7'
185
73
  required_rubygems_version: !ruby/object:Gem::Requirement
186
74
  requirements:
187
75
  - - ">="
188
76
  - !ruby/object:Gem::Version
189
77
  version: '0'
190
78
  requirements: []
191
- rubygems_version: 3.3.14
79
+ rubygems_version: 3.5.6
192
80
  signing_key:
193
81
  specification_version: 4
194
82
  summary: API Client library for the Grafeas API