googleapis-common-protos 1.3.10 → 1.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2abe86cc5c8ccf05d63439069732c796d174e4ce4524fd3e4427a411f145772b
4
- data.tar.gz: 6d8d3b86cd295a0e1c0584664f94293593b3190e918d9d0447fe74f542e2932a
3
+ metadata.gz: bbf77912892bdc106cf41b31d115e9aab9eea496b5e8f283a55b187c40f23a58
4
+ data.tar.gz: f2830fb7a233db9653c448688ba30b89311ebb30fa30b3f0a3c927884e13c9ee
5
5
  SHA512:
6
- metadata.gz: 19c3c4d0fafdf67dce603a4fb950d14c3cd76244f2166bddf5e458397c37d85d275a0da8dda86e35d4f68f42a8537f29a7d14a1e8d2b9a73b07eaa1b72f99937
7
- data.tar.gz: ff164a4e7d34081e749be68e52263c91f2956690eacdae1c0fc421aaea3ff179cf34789bf2d904725f5e8787b9720de0d82c95cf99e7847d239f57c99112a9a6
6
+ metadata.gz: 076f91b3766d048c598871c57f8a7a627decca268e8e9b1ecf4e2cca8982df6c5a67db3b91b71a9149521ed07f05863282c6fa0cf07e8ab5a5563e4f4071ea19
7
+ data.tar.gz: 8d9cf9ccc1a1df37bc4c328f809ea491babbd2558d4481dcca812d3fc4a99e36d34c26183bd32455ff965cfa13db01ac4c80b2fe5a9979120553deb44de0c10b
data/CHANGELOG.md CHANGED
@@ -1,9 +1,15 @@
1
1
  # Release History
2
2
 
3
+ ### 1.3.11 / 2021-02-01
4
+
5
+ * Fully qualify proto names internally.
6
+ * Update googleapis-common-protos-types dependency to 1.0.6.
7
+ * Require protobuf 3.14.
8
+
3
9
  ### 1.3.10 / 2020-04-08
4
10
 
5
11
  * Update googleapis-common-protos-types dependency to 1.0.5.
6
- * Require protobuf 3.11 and grpc 1.27.
12
+ * Require protobuf 3.11.
7
13
 
8
14
  ### 1.3.9 / 2019-04-03
9
15
 
data/Rakefile CHANGED
@@ -36,6 +36,15 @@ task :compile_protos do
36
36
  system full_command
37
37
  end
38
38
 
39
+ desc "Test loading all proto files"
40
+ task :test_loading do
41
+ puts "\nLoading proto files"
42
+ Dir.glob("lib/google/**/*_pb.rb") do |path|
43
+ puts path
44
+ require_relative path
45
+ end
46
+ end
47
+
39
48
  desc "Remove the compiled protos."
40
49
  task :clean_protos do
41
50
  FileUtils.rm_rf "lib"
@@ -45,6 +54,7 @@ desc "Run the CI build"
45
54
  task :ci do
46
55
  puts "\nCompiling Protos\n"
47
56
  Rake::Task[:compile_protos].invoke
57
+ Rake::Task[:test_loading].invoke
48
58
  end
49
59
 
50
60
  Rake::Task[:build].enhance [:compile_protos]
@@ -16,7 +16,7 @@
16
16
 
17
17
  Gem::Specification.new do |spec|
18
18
  spec.name = "googleapis-common-protos"
19
- spec.version = "1.3.10"
19
+ spec.version = "1.3.11"
20
20
  spec.authors = ["Google Inc"]
21
21
  spec.email = ["googleapis-packages@google.com"]
22
22
  spec.licenses = ["Apache-2.0"]
@@ -34,8 +34,8 @@ Gem::Specification.new do |spec|
34
34
  spec.files += Dir.glob "lib/**/*_pb.rb"
35
35
  spec.require_paths = ["lib"]
36
36
 
37
- spec.add_dependency "googleapis-common-protos-types", ">= 1.0.5", "< 2.0"
38
- spec.add_dependency "google-protobuf", "~> 3.11"
37
+ spec.add_dependency "googleapis-common-protos-types", ">= 1.0.6", "< 2.0"
38
+ spec.add_dependency "google-protobuf", "~> 3.14"
39
39
  spec.add_dependency "grpc", "~> 1.27"
40
40
 
41
41
  spec.add_development_dependency "bundler", "~> 2.1"
@@ -49,16 +49,16 @@ module Google
49
49
  # For backwards compatibility, the default name includes the operations
50
50
  # collection id, however overriding users must ensure the name binding
51
51
  # is the parent resource, without the operations collection id.
52
- rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
52
+ rpc :ListOperations, ::Google::Longrunning::ListOperationsRequest, ::Google::Longrunning::ListOperationsResponse
53
53
  # Gets the latest state of a long-running operation. Clients can use this
54
54
  # method to poll the operation result at intervals as recommended by the API
55
55
  # service.
56
- rpc :GetOperation, GetOperationRequest, Operation
56
+ rpc :GetOperation, ::Google::Longrunning::GetOperationRequest, ::Google::Longrunning::Operation
57
57
  # Deletes a long-running operation. This method indicates that the client is
58
58
  # no longer interested in the operation result. It does not cancel the
59
59
  # operation. If the server doesn't support this method, it returns
60
60
  # `google.rpc.Code.UNIMPLEMENTED`.
61
- rpc :DeleteOperation, DeleteOperationRequest, Google::Protobuf::Empty
61
+ rpc :DeleteOperation, ::Google::Longrunning::DeleteOperationRequest, ::Google::Protobuf::Empty
62
62
  # Starts asynchronous cancellation on a long-running operation. The server
63
63
  # makes a best effort to cancel the operation, but success is not
64
64
  # guaranteed. If the server doesn't support this method, it returns
@@ -69,7 +69,7 @@ module Google
69
69
  # the operation is not deleted; instead, it becomes an operation with
70
70
  # an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
71
71
  # corresponding to `Code.CANCELLED`.
72
- rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
72
+ rpc :CancelOperation, ::Google::Longrunning::CancelOperationRequest, ::Google::Protobuf::Empty
73
73
  # Waits for the specified long-running operation until it is done or reaches
74
74
  # at most a specified timeout, returning the latest state. If the operation
75
75
  # is already done, the latest state is immediately returned. If the timeout
@@ -79,7 +79,7 @@ module Google
79
79
  # Note that this method is on a best-effort basis. It may return the latest
80
80
  # state before the specified timeout (including immediately), meaning even an
81
81
  # immediate response is no guarantee that the operation is done.
82
- rpc :WaitOperation, WaitOperationRequest, Operation
82
+ rpc :WaitOperation, ::Google::Longrunning::WaitOperationRequest, ::Google::Longrunning::Operation
83
83
  end
84
84
 
85
85
  Stub = Service.rpc_stub_class
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.10
4
+ version: 1.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2021-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.5
19
+ version: 1.0.6
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2.0'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.5
29
+ version: 1.0.6
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2.0'
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '3.11'
39
+ version: '3.14'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '3.11'
46
+ version: '3.14'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: grpc
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubygems_version: 3.1.2
136
+ rubygems_version: 3.1.4
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Common gRPC and protocol buffer classes used in Google APIs