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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3b3ebbc7732ba43bd59827bb83762589fa5f95ac37aa644d68d6f4b9b8547bd
4
- data.tar.gz: e870d4229bb7b5a3b04ba7b32c61e1c5924556e280f4ae197364e1b02daceba7
3
+ metadata.gz: d4bffd3280586491e1757835aa38ca85b373970d5ecb88a0fda8d5ea6e259fdf
4
+ data.tar.gz: 18bfa846048015823c294f296486862adf5a722c8a762d461b87c47f854ac83f
5
5
  SHA512:
6
- metadata.gz: d8297b2952f6ad21170822930d8e85a219bb33c4040b2748ffac6ae17e4543657176066dfd43d0fb01cd29c428235f80cf62bde55406430f98d0cfd293a9c266
7
- data.tar.gz: 2641b83f2217f920e543928db606930d6201134b53a46cefd4b423542f00bff6502f8326efb3f5bace1f54029b4d9b581d44aab1b179c82490d18fedc57ba4f6
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.
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env -S ruby -E UTF-8
1
+ #!/usr/bin/env -S ruby -EUTF-8
2
2
  # frozen_string_literal: true
3
3
 
4
4
  # Copyright 2020 Google LLC
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env -S ruby -E UTF-8
1
+ #!/usr/bin/env -S ruby -EUTF-8
2
2
  # frozen_string_literal: true
3
3
 
4
4
  # Copyright 2018 Google LLC
data/cloud-rubocop.yml CHANGED
@@ -12,3 +12,6 @@ AllCops:
12
12
  - "Rakefile"
13
13
  - "support/**/*"
14
14
  - "test/**/*"
15
+
16
+ Layout/LineLength:
17
+ Enabled: false
@@ -18,7 +18,7 @@
18
18
  module Gapic
19
19
  module Generator
20
20
  module Cloud
21
- VERSION = "0.6.13"
21
+ VERSION = "0.7.2"
22
22
  end
23
23
  end
24
24
  end
@@ -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.4+.
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.4
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&.respond_to? :configure
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.4"
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.24.0"
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.4+.
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.4
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.6.13
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-02-23 00:00:00.000000000 Z
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.6.13
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.6.13
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.24.0
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.24.0
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.30.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.30.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: '0'
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.1.4
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!