gapic-generator-cloud 0.6.13 → 0.7.2
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 +4 -4
- data/CHANGELOG.md +21 -0
- data/bin/protoc-gen-bazel_ruby_cloud +1 -1
- data/bin/protoc-gen-ruby_cloud +1 -1
- data/cloud-rubocop.yml +3 -0
- data/lib/gapic/generator/cloud/version.rb +1 -1
- data/lib/gapic/generators/cloud_generator.rb +1 -0
- data/templates/cloud/gem/readme.erb +2 -2
- data/templates/cloud/gem/rubocop.erb +2 -12
- data/templates/cloud/service/client/_self_configure.erb +1 -1
- data/templates/cloud/wrapper_gem/gemspec.erb +2 -2
- data/templates/cloud/wrapper_gem/readme.erb +2 -2
- data/templates/cloud/wrapper_gem/rubocop.erb +14 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4bffd3280586491e1757835aa38ca85b373970d5ecb88a0fda8d5ea6e259fdf
|
4
|
+
data.tar.gz: 18bfa846048015823c294f296486862adf5a722c8a762d461b87c47f854ac83f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a9824a7a6856ad8f21cb36548ac50c4336d9189c12a2e38e7f429459d6f480bc99d0fc8b721f4c23839c9d0c41ae95346d740eb3cddc91949ad30a1a8deadf7
|
7
|
+
data.tar.gz: 5935a2546b5f8eaa34511f554ca5080a0b3cd7fca8a4caac8267f0f7c59c964e1089f38ffbda8a777d8803f4a9f12e1bfcf2ff22a755661c273effd0160ade97
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release History for gapic-generator-cloud
|
2
2
|
|
3
|
+
### 0.7.2 / 2021-03-05
|
4
|
+
|
5
|
+
* Disable metrics-related rubocop checks in generated wrapper libraries.
|
6
|
+
|
7
|
+
### 0.7.1 / 2021-02-27
|
8
|
+
|
9
|
+
* Update generated readmes to reflect that Ruby 2.5 or later is now required.
|
10
|
+
|
11
|
+
### 0.7.0 / 2021-02-27
|
12
|
+
|
13
|
+
* Includes changes from gapic-generator 0.7.0, notably dropping Ruby 2.4 support.
|
14
|
+
* Generate special Cloud RAD yardopts file for GAPIC generated clients.
|
15
|
+
|
16
|
+
### 0.6.15 / 2021-02-22
|
17
|
+
|
18
|
+
* Really fixed encoding arguments in executable entrypoints
|
19
|
+
|
20
|
+
### 0.6.14 / 2021-02-22
|
21
|
+
|
22
|
+
* Fixed encoding arguments in executable entrypoints
|
23
|
+
|
3
24
|
### 0.6.13 / 2021-02-22
|
4
25
|
|
5
26
|
* Includes changes from gapic-generator 0.6.13.
|
data/bin/protoc-gen-ruby_cloud
CHANGED
data/cloud-rubocop.yml
CHANGED
@@ -54,6 +54,7 @@ module Gapic
|
|
54
54
|
# Additional Gem level files
|
55
55
|
cloud_files = []
|
56
56
|
cloud_files << g("gem/repo-metadata.erb", ".repo-metadata.json", gem: gem)
|
57
|
+
cloud_files << g("gem/yardopts-cloudrad.erb", ".yardopts-cloudrad", gem: gem)
|
57
58
|
unless gem.services.empty? || gem.generic_endpoint?
|
58
59
|
cloud_files << g("gem/authentication.erb", "AUTHENTICATION.md", gem: gem)
|
59
60
|
end
|
@@ -93,11 +93,11 @@ end
|
|
93
93
|
|
94
94
|
## Supported Ruby Versions
|
95
95
|
|
96
|
-
This library is supported on Ruby 2.
|
96
|
+
This library is supported on Ruby 2.5+.
|
97
97
|
|
98
98
|
Google provides official support for Ruby versions that are actively supported
|
99
99
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
100
|
-
in security maintenance, and not end of life. Currently, this means Ruby 2.
|
100
|
+
in security maintenance, and not end of life. Currently, this means Ruby 2.5
|
101
101
|
and later. Older versions of Ruby _may_ still work, but are unsupported and not
|
102
102
|
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
|
103
103
|
about the Ruby support schedule.
|
@@ -11,14 +11,14 @@ AllCops:
|
|
11
11
|
- "acceptance/**/*"
|
12
12
|
- "Rakefile"
|
13
13
|
|
14
|
+
Layout/LineLength:
|
15
|
+
Enabled: false
|
14
16
|
Metrics/AbcSize:
|
15
17
|
Enabled: false
|
16
18
|
Metrics/ClassLength:
|
17
19
|
Enabled: false
|
18
20
|
Metrics/CyclomaticComplexity:
|
19
21
|
Enabled: false
|
20
|
-
Metrics/LineLength:
|
21
|
-
Enabled: false
|
22
22
|
Metrics/MethodLength:
|
23
23
|
Enabled: false
|
24
24
|
Metrics/ModuleLength:
|
@@ -28,13 +28,3 @@ Metrics/PerceivedComplexity:
|
|
28
28
|
Naming/FileName:
|
29
29
|
Exclude:
|
30
30
|
- "lib/<%= gem.name %>.rb"
|
31
|
-
Naming/PredicateName:
|
32
|
-
Enabled: false
|
33
|
-
Style/AsciiComments:
|
34
|
-
Enabled: false
|
35
|
-
Style/CaseEquality:
|
36
|
-
Enabled: false
|
37
|
-
Style/IfUnlessModifier:
|
38
|
-
Enabled: false
|
39
|
-
Style/ModuleFunction:
|
40
|
-
Enabled: false
|
@@ -4,7 +4,7 @@
|
|
4
4
|
parent_config = while namespace.any?
|
5
5
|
parent_name = namespace.join "::"
|
6
6
|
parent_const = const_get parent_name
|
7
|
-
break parent_const.configure if parent_const
|
7
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
8
8
|
namespace.pop
|
9
9
|
end
|
10
10
|
default_config = <%= service.client_name %>::Configuration.new parent_config
|
@@ -21,13 +21,13 @@ Gem::Specification.new do |gem|
|
|
21
21
|
<%= gem.extra_files.inspect %>
|
22
22
|
gem.require_paths = ["lib"]
|
23
23
|
|
24
|
-
gem.required_ruby_version = ">= 2.
|
24
|
+
gem.required_ruby_version = ">= 2.5"
|
25
25
|
|
26
26
|
<%- gem.dependency_list.each do |name, requirements| -%>
|
27
27
|
gem.add_dependency <%= name.inspect %>, <%= requirements.map { |v| v.inspect }.join ", " %>
|
28
28
|
<%- end -%>
|
29
29
|
|
30
|
-
gem.add_development_dependency "google-style", "~> 1.
|
30
|
+
gem.add_development_dependency "google-style", "~> 1.25.1"
|
31
31
|
gem.add_development_dependency "minitest", "~> 5.14"
|
32
32
|
gem.add_development_dependency "minitest-focus", "~> 1.1"
|
33
33
|
gem.add_development_dependency "minitest-rg", "~> 5.2"
|
@@ -88,11 +88,11 @@ end
|
|
88
88
|
|
89
89
|
## Supported Ruby Versions
|
90
90
|
|
91
|
-
This library is supported on Ruby 2.
|
91
|
+
This library is supported on Ruby 2.5+.
|
92
92
|
|
93
93
|
Google provides official support for Ruby versions that are actively supported
|
94
94
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
95
|
-
in security maintenance, and not end of life. Currently, this means Ruby 2.
|
95
|
+
in security maintenance, and not end of life. Currently, this means Ruby 2.5
|
96
96
|
and later. Older versions of Ruby _may_ still work, but are unsupported and not
|
97
97
|
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
|
98
98
|
about the Ruby support schedule.
|
@@ -13,14 +13,24 @@ Bundler/OrderedGems:
|
|
13
13
|
Enabled: false
|
14
14
|
Documentation:
|
15
15
|
Enabled: false
|
16
|
-
|
16
|
+
Layout/LineLength:
|
17
|
+
Enabled: false
|
17
18
|
Metrics/BlockLength:
|
18
19
|
Exclude:
|
19
20
|
- "samples/**/acceptance/*.rb"
|
21
|
+
Metrics/AbcSize:
|
22
|
+
Enabled: false
|
23
|
+
Metrics/ClassLength:
|
24
|
+
Enabled: false
|
25
|
+
Metrics/CyclomaticComplexity:
|
26
|
+
Enabled: false
|
27
|
+
Metrics/MethodLength:
|
28
|
+
Enabled: false
|
29
|
+
Metrics/ModuleLength:
|
30
|
+
Enabled: false
|
31
|
+
Metrics/PerceivedComplexity:
|
32
|
+
Enabled: false
|
20
33
|
|
21
34
|
Naming/FileName:
|
22
35
|
Exclude:
|
23
36
|
- "lib/<%= gem.name %>.rb"
|
24
|
-
|
25
|
-
Style/AsciiComments:
|
26
|
-
Enabled: false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gapic-generator-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernest Landrito
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-03-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|
@@ -32,28 +32,28 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.7.2
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.7.2
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: google-style
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.
|
49
|
+
version: 1.25.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 1.
|
56
|
+
version: 1.25.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: protobuf
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,14 +74,14 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
77
|
+
version: 1.36.0
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 1.
|
84
|
+
version: 1.36.0
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: minitest
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -202,14 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
202
|
requirements:
|
203
203
|
- - ">="
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version: '
|
205
|
+
version: '2.5'
|
206
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
208
|
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.2.11
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: An API Client Generator for Ruby in Ruby!
|