googleapis-common-protos-types 1.1.0 → 1.2.0

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: 687aa867cd2de8009e6b13cce00566b218e2196e8781f0f6a8ff35cc4c7c50ca
4
- data.tar.gz: 708ab35ca94aefe30181aed7dfe3ae6dd3670f4e8e032c1cdc6671cf2eda4a1d
3
+ metadata.gz: 13e79b7972d8b03b9c2eb527c4c37fb6c987f93b4698ae4fcdf49ff7c90d48d3
4
+ data.tar.gz: 85d4a34500cd7cd402c0636f8294152405e2c62dce58483f5b4192308d977c49
5
5
  SHA512:
6
- metadata.gz: 3e967f57b9c3502b9a7e22aa8a2a122601749c3afded23243ce7bb929addef34ddd3bbbd0ebd2371b7fbec80a705b034ffea477215d6b7ebcd6fcd77038b8124
7
- data.tar.gz: 9c0fa0bad8c31811a0e469a978708371743e5a53cb80f92602c1031f42d34830601961bcffa923a82e31d8a3293ea77e244fa954d7be0ac0ea5c24131d7dc24e
6
+ metadata.gz: 16605eb07436672e9f6e544278cbe26337a676ad8fc638562adb341ce161bc82f20d836c4827956436f93dc64a2f2450664b265cb3948b7118537f4cb2329cc8
7
+ data.tar.gz: c027d70989eadf417a9f04cf1174e11203c9812692a9c69ddf73f2546695fb9df1447bb60dbfc9bd844efcceeb6f96bb185200f3457cece9666be71a1b1cb94f
data/CHANGELOG.md CHANGED
@@ -1,13 +1,18 @@
1
1
  # Release History
2
2
 
3
- ### 1.1.0 / 2021-07-07
3
+ ## 1.2.0 (2021-09-03)
4
+
5
+ * Add Google::Cloud::OperationResponseMapping and the extended_operations_pb file
6
+ * Removed unnecessary files from the gem package
7
+
8
+ ## 1.1.0 / 2021-07-07
4
9
 
5
10
  * Add Google::Api::ErrorReason
6
11
  * Add Google::Api::Visibility and Google::Api::VisibilityRule
7
12
  * Add Google::Type::Decimal
8
13
  * Add NON_EMPTY_DEFAULT value to Google::Api::FieldBehavior.
9
14
 
10
- ### 1.0.6 / 2021-02-01
15
+ ## 1.0.6 / 2021-02-01
11
16
 
12
17
  * Add Google::Type::Interval type.
13
18
  * Add Google::Type::LocalizedText type.
@@ -21,7 +26,7 @@
21
26
  * Remove internal "features" field from Google::Api::Endpoint.
22
27
  * Require protobuf 3.14.
23
28
 
24
- ### 1.0.5 / 2020-04-08
29
+ ## 1.0.5 / 2020-04-08
25
30
 
26
31
  * Add JWT location support in Google::Api::AuthProvider.
27
32
  * Add "protocol" field and a "disable_auth" option to Google::Api::BackendRule.
@@ -32,7 +37,7 @@
32
37
  * Add Google::Type::DateTime, Google::Type::Month, and Google::Type::TimeZone types.
33
38
  * Require protobuf 3.11.
34
39
 
35
- ### 1.0.4 / 2019-04-03
40
+ ## 1.0.4 / 2019-04-03
36
41
 
37
42
  * Add WaitOperation RPC to operations_pb.rb and update documentation.
38
43
  * Add new common types for:
@@ -41,4 +46,3 @@
41
46
  + google/type/expr.proto
42
47
  + google/type/fraction.proto
43
48
  + google/type/quaternion.proto
44
-
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/extended_operations.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/extended_operations.proto", :syntax => :proto3) do
8
+ add_enum "google.cloud.OperationResponseMapping" do
9
+ value :UNDEFINED, 0
10
+ value :NAME, 1
11
+ value :STATUS, 2
12
+ value :ERROR_CODE, 3
13
+ value :ERROR_MESSAGE, 4
14
+ end
15
+ end
16
+ end
17
+
18
+ module Google
19
+ module Cloud
20
+ OperationResponseMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.OperationResponseMapping").enummodule
21
+ end
22
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module Google
18
+ module CommonProtos
19
+ module Types
20
+ VERSION = "1.2.0".freeze
21
+ end
22
+ end
23
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - Google Inc
7
+ - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -31,13 +31,8 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - ".gitignore"
35
- - ".repo-metadata.json"
36
- - ".toys.rb"
37
34
  - CHANGELOG.md
38
- - Gemfile
39
35
  - README.md
40
- - googleapis-common-protos-types.gemspec
41
36
  - lib/google/api/annotations_pb.rb
42
37
  - lib/google/api/auth_pb.rb
43
38
  - lib/google/api/backend_pb.rb
@@ -68,6 +63,7 @@ files:
68
63
  - lib/google/api/system_parameter_pb.rb
69
64
  - lib/google/api/usage_pb.rb
70
65
  - lib/google/api/visibility_pb.rb
66
+ - lib/google/cloud/extended_operations_pb.rb
71
67
  - lib/google/logging/type/http_request_pb.rb
72
68
  - lib/google/logging/type/log_severity_pb.rb
73
69
  - lib/google/longrunning/operations_pb.rb
@@ -91,6 +87,7 @@ files:
91
87
  - lib/google/type/postal_address_pb.rb
92
88
  - lib/google/type/quaternion_pb.rb
93
89
  - lib/google/type/timeofday_pb.rb
90
+ - lib/googleapis/common/protos/types/version.rb
94
91
  homepage: https://github.com/googleapis/common-protos-ruby
95
92
  licenses:
96
93
  - Apache-2.0
@@ -103,15 +100,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
100
  requirements:
104
101
  - - ">="
105
102
  - !ruby/object:Gem::Version
106
- version: '0'
103
+ version: '2.3'
107
104
  required_rubygems_version: !ruby/object:Gem::Requirement
108
105
  requirements:
109
106
  - - ">="
110
107
  - !ruby/object:Gem::Version
111
108
  version: '0'
112
109
  requirements: []
113
- rubygems_version: 3.1.6
110
+ rubygems_version: 3.2.17
114
111
  signing_key:
115
112
  specification_version: 4
116
- summary: Common protobuf types used in Google APIs
113
+ summary: Common protocol buffer types used in Google APIs
117
114
  test_files: []
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- Gemfile.lock
2
- .DS_STORE
3
- /.bundle/
4
- /.yardoc
5
- /_yardoc/
6
- /coverage/
7
- /doc/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
data/.repo-metadata.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "distribution-name": "googleapis-common-protos-types",
3
- "language": "ruby",
4
- "library_type": "OTHER"
5
- }
data/.toys.rb DELETED
@@ -1,84 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2021 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- PROTO_GLOBS = [
18
- "../googleapis/google/api/*.proto",
19
- "../googleapis/google/logging/type/*.proto",
20
- "../googleapis/google/longrunning/*.proto",
21
- "../googleapis/google/rpc/*.proto",
22
- "../googleapis/google/type/*.proto",
23
- ]
24
-
25
- tool "compile" do
26
- flag :clean, "--[no-]clean", default: true
27
-
28
- include :fileutils
29
- include :exec, e: true
30
- include :gems
31
-
32
- def run
33
- cd context_directory
34
- gem "grpc-tools", "~> 1.37"
35
- if clean
36
- rm_rf "lib"
37
- mkdir "lib"
38
- end
39
- cmd = [
40
- "grpc_tools_ruby_protoc",
41
- "--ruby_out=lib",
42
- "-I", "../googleapis"
43
- ] + PROTO_GLOBS.flat_map { |glob| Dir.glob glob }
44
- exec cmd
45
- postprocess_protos
46
- end
47
-
48
- # Perform post-compile steps on a couple of protos to install backward
49
- # compatibility aliases.
50
- def postprocess_protos
51
- File.open "lib/google/logging/type/http_request_pb.rb", "a" do |file|
52
- file.puts "\nmodule Google\n module Logging\n module Type\n HttpRequest = ::Google::Cloud::Logging::Type::HttpRequest\n end\n end\nend"
53
- end
54
- File.open "lib/google/logging/type/log_severity_pb.rb", "a" do |file|
55
- file.puts "\nmodule Google\n module Logging\n module Type\n LogSeverity = ::Google::Cloud::Logging::Type::LogSeverity\n end\n end\nend"
56
- end
57
- end
58
- end
59
-
60
- tool "test" do
61
- include :fileutils
62
- include :exec, e: true
63
- include :bundler
64
-
65
- def run
66
- cd context_directory
67
- exec_ruby [], in: :controller do |controller|
68
- controller.in.puts "puts 'Loading proto files'"
69
- controller.in.puts "$LOAD_PATH.unshift File.expand_path 'lib'"
70
- cd "lib" do
71
- Dir.glob("google/**/*_pb.rb") do |path|
72
- controller.in.puts "puts #{path.inspect}"
73
- controller.in.puts "require #{path.inspect}"
74
- end
75
- end
76
- end
77
- end
78
- end
79
-
80
- expand :clean, paths: :gitignore
81
-
82
- expand :gem_build
83
-
84
- expand :gem_build, name: "release", push_gem: true
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- gemspec
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2018 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- Gem::Specification.new do |spec|
18
- spec.name = "googleapis-common-protos-types"
19
- spec.version = "1.1.0"
20
- spec.authors = ["Google Inc"]
21
- spec.email = ["googleapis-packages@google.com"]
22
- spec.licenses = ["Apache-2.0"]
23
-
24
- spec.description = "Common protocol buffer types used by Google APIs"
25
- spec.summary = "Common protobuf types used in Google APIs"
26
- spec.homepage = "https://github.com/googleapis/common-protos-ruby"
27
-
28
- # Specify which files should be added to the gem when it is released. The `git
29
- # ls-files -z` loads the files in the RubyGem that have been added into git.
30
- spec.files = Dir.chdir File.expand_path(__dir__) do
31
- `git ls-files -z`.split("\x0").reject do |f|
32
- f.match %r{^(test|spec|features)/}
33
- end
34
- end
35
- spec.files += Dir.glob "lib/**/*_pb.rb"
36
- spec.require_paths = ["lib"]
37
-
38
- spec.add_dependency "google-protobuf", "~> 3.14"
39
- end