gapic-generator 0.54.0 → 0.55.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: 0cf4423015d3c281b84f8248dc5188957816a8ea124ff4b5321e4e4b4ff8af41
4
- data.tar.gz: d408386d426ad08176ee7ed9086b18dd5a5b3ac25d82a69a99906ddee75bd849
3
+ metadata.gz: 14e2e943ae9062e485a9bab4abc28aaed52305a54129f00e2e41a7ad612e8d87
4
+ data.tar.gz: 6be37e797d53d9dd428bb1703b4eb6b5e5052857130d5029aff933e45d247589
5
5
  SHA512:
6
- metadata.gz: 3bdd1e740acd5a3707be9cc9400401a9a77d5480d629d7c34f6d1ea01133eed280b7f4ae9f8b255ae743e18ea0b92a3db6add7e28acdf0ba62d3ac136e914fbf
7
- data.tar.gz: d890c902e3e64344d8547c061b60ea10e9d4c39ca6920a8b8db7d32d5aac82fbcdeb9ba8a09f9c67f17609c0ca5b3302c67046ffe23a58ad28147fb6cd783bbd
6
+ metadata.gz: 40c7dc16481db1a47f9ff1bed257187e5e79ed8d3c63250680ecf518862d77a500736d9a5f02b70a418deb8c072b608d128130f091229b168daee3810d7aecf6
7
+ data.tar.gz: ceb17d3e646fbcd58e0b2d7598d4d5483377acd906727f0d41e1bfa2f2671118d9bdaba16f54309c552adc2ae07874946928e24c8acbd8d01fe5cffd5cb22272
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History for gapic-generator
2
2
 
3
+ ### 0.55.0 / 2026-11-02
4
+
5
+ * Feature: add option to disable rubocop formatting during generation
6
+
3
7
  ### 0.54.0 / 2026-10-22
4
8
 
5
9
  * Feature: update gapic-common for generated libraries to 1.6
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Gapic
18
18
  module Generator
19
- VERSION = "0.54.0"
19
+ VERSION = "0.55.0"
20
20
  end
21
21
  end
@@ -74,6 +74,7 @@ module Gapic
74
74
  alias_method :g, :generate_file
75
75
 
76
76
  def format_files files
77
+ return files unless @api.format?
77
78
  FileFormatter.new(format_config, files).files
78
79
  end
79
80
 
@@ -21,6 +21,7 @@ module Gapic
21
21
  # Contains the default generator's parameters
22
22
  module DefaultGeneratorParameters
23
23
  BOOL_PARAMETERS = [
24
+ ":format",
24
25
  ":gem.:free_tier",
25
26
  ":gem.:yard_strict",
26
27
  ":gem.:generic_endpoint",
@@ -289,6 +289,12 @@ module Gapic
289
289
  configuration.fetch :generate_yardoc_snippets, true
290
290
  end
291
291
 
292
+ # Whether to format generated files
293
+ # @return [Boolean]
294
+ def format?
295
+ configuration.fetch :format, true
296
+ end
297
+
292
298
  # Whether to generate gapic metadata (drift manifest) file
293
299
  # @return [Boolean]
294
300
  def generate_metadata
@@ -34,9 +34,7 @@ response = client.<%= method.name %> request
34
34
 
35
35
  This library is supported on Ruby 3.2+.
36
36
 
37
- Google provides official support for Ruby versions that are actively supported
38
- by Ruby Core—that is, Ruby versions that are either in normal maintenance or
39
- in security maintenance, and not end of life. Older versions of Ruby _may_
40
- still work, but are unsupported and not recommended. See
41
- https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
42
- support schedule.
37
+ Google provides official support for Ruby versions as described in the
38
+ [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions)
39
+ policy. Older versions of Ruby _may_ still work, but are unsupported and not
40
+ recommended.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gapic-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernest Landrito