google-apis-generator 0.13.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/generator/template.rb +1 -1
- data/lib/google/apis/generator/templates/gemspec.tmpl +2 -2
- data/lib/google/apis/generator/templates/overview.md.tmpl +2 -2
- data/lib/google/apis/generator/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a0c558f4693c496757e2e5bb89367ecda931c96ca3d7fa1e2b163d5c65267ac
|
|
4
|
+
data.tar.gz: a32e0734afa7d23e0d44a2ea580efd4ee22c83950f7806972af47551c840043b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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),
|
|
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.
|
|
32
|
-
gem.add_runtime_dependency "google-apis-core", ">= 0.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|