google-apis-generator 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41ef8d4ff004218fb8347f4593f59f36022687334c13cccbb6260b0accf03757
4
- data.tar.gz: 982caa150241ea0f4cbdb16d4deece0406b093314024a70d1c5598b787e4c576
3
+ metadata.gz: 9a0c558f4693c496757e2e5bb89367ecda931c96ca3d7fa1e2b163d5c65267ac
4
+ data.tar.gz: a32e0734afa7d23e0d44a2ea580efd4ee22c83950f7806972af47551c840043b
5
5
  SHA512:
6
- metadata.gz: c49811b04de99f073d8ff506fb7fcfe7f1ea199abb2bd745b4d5bc2a48345514fa8ba391755471af9f3f744ab704e6e0f7c5bc6d7fe6af0ba3bccd8b7d36ac1b
7
- data.tar.gz: 2a40dd2d9541d419f706b2ebc10bdb87c13718cce4db50af65612bd85f984a8acac35a5bcc51a18a12288c31486519f803f70a05ee1caec6043a8b54558b1218
6
+ metadata.gz: 86fffa7aa94941c2dba72faa1dee6b0cb3f2d6443926aba5b90389a1e471ce2f33aa5ef2885c81512060e88d5ad38ce25278e77d4bc3628892745ae0d15ce824
7
+ data.tar.gz: c38fd9750d2154e132725c4e53df985bd3dc60325ff93f94787ecadfa5d861913609b2cff59743c55141ecf24ee5416c70824105519e05f85af0b1e4f43dfa64
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 0.14.0 (2024-02-23)
4
+
5
+ #### Features
6
+
7
+ * Update generated clients to require Ruby 2.7 or later ([#17898](https://github.com/googleapis/google-api-ruby-client/issues/17898))
8
+
9
+ ### 0.13.1 (2024-01-22)
10
+
11
+ #### Bug Fixes
12
+
13
+ * Eliminate erb warning ([#17141](https://github.com/googleapis/google-api-ruby-client/issues/17141))
14
+
3
15
  ### 0.13.0 (2024-01-22)
4
16
 
5
17
  #### Features
@@ -159,7 +159,7 @@ module Google
159
159
  end
160
160
 
161
161
  # Modifies an API description to support ruby code generation. Primarily does:
162
- # - Ensure all names follow appopriate ruby conventions
162
+ # - Ensure all names follow appropriate ruby conventions
163
163
  # - Maps types to ruby types, classes, and resolves $refs
164
164
  # - Attempts to simplify names where possible to make APIs more sensible
165
165
  class Annotator
@@ -106,7 +106,7 @@ module Google
106
106
  # Name of the template file
107
107
  def initialize(template_name)
108
108
  file = File.join(TEMPLATE_DIR, template_name)
109
- @erb = ERB.new(File.read(file), nil, '-')
109
+ @erb = ERB.new(File.read(file), trim_mode: "-")
110
110
  end
111
111
 
112
112
  # Render the template
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
28
28
  gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
29
29
  gem.require_paths = ["lib"]
30
30
 
31
- gem.required_ruby_version = '>= 2.5'
32
- gem.add_runtime_dependency "google-apis-core", ">= 0.12.0", "< 2.a"
31
+ gem.required_ruby_version = '>= 2.7'
32
+ gem.add_runtime_dependency "google-apis-core", ">= 0.14.0", "< 2.a"
33
33
  end
@@ -83,9 +83,9 @@ The [product documentation](<%= api.documentation_link %>) may provide guidance
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  class Generator
18
- VERSION = "0.13.0"
18
+ VERSION = "0.14.0"
19
19
  end
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-22 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.12.0
47
+ version: 0.14.0
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
50
  version: 2.a
@@ -54,7 +54,7 @@ dependencies:
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 0.12.0
57
+ version: 0.14.0
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: 2.a
@@ -138,7 +138,7 @@ licenses:
138
138
  metadata:
139
139
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
140
140
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator/CHANGELOG.md
141
- documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.13.0
141
+ documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.14.0
142
142
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator
143
143
  post_install_message:
144
144
  rdoc_options: []
@@ -148,14 +148,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: '2.5'
151
+ version: '2.7'
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.5.3
158
+ rubygems_version: 3.5.6
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Code generator for legacy Google REST clients