google-apis-generator 0.4.0 → 0.6.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: a053a57192abe9fee7568daffff6e10f20221d7d9ecd62e09c43c4ccb33fd764
4
- data.tar.gz: 6a2131c20b9b13b00950aff9e7b4f643cdca84f0a15f1f9155128dc581506c55
3
+ metadata.gz: 2359ed67c806fe73e0544eee4162d6fc631f567064c277750e16f3e0c1632738
4
+ data.tar.gz: cd7498b4d74fe360f4811922c60c776b5b528bc75c746a5af5ce673ab8baca78
5
5
  SHA512:
6
- metadata.gz: 9a1cf35144ef0f38024c7d4cda45406bd1081b396df58eac484850bd71ca763322c839c6702ed2fb7c989986ce1973f7a4cbb296a010a677fca0ddb309cd0c6d
7
- data.tar.gz: f97e4df628b8323b8149cab271c0841858e804acfdfcd08c77f0d9efc1d066856c225823c01453100b2fd71e3678e38fee1a6f18caeaf9747e004fc536a7aeca
6
+ metadata.gz: 575e5e0e9e1b18b64a92801e133a5da0d6b480c4f3df1601248438d67729ed16b9c9d67ba710b8d58641aec78af72a75e650fa913b3c54eab246afa4dafef58f
7
+ data.tar.gz: 3fa6f498a606a23dd6d311b6bbd41e18abf01cf4ec4ce3b2660d59d5eb80ec18305d94237f50cacd045900e7eed34693f64c60062618a5cd9d0f234fff9a06d2
data/CHANGELOG.md CHANGED
@@ -1,32 +1,48 @@
1
1
  # Release History
2
2
 
3
- ## 0.4.0 (2021-06-28)
3
+ ### 0.6.0 (2022-06-06)
4
4
 
5
- * Update core dependency to require at least 0.4 and allow 1.x versions
5
+ #### Features
6
6
 
7
- ## [0.3.0](https://www.github.com/googleapis/google-api-ruby-client/compare/google-apis-generator/v0.2.0...google-apis-generator/v0.3.0) (2021-06-01)
7
+ * Update core dependency to at least 0.5
8
8
 
9
+ ### 0.5.0 (2022-06-02)
9
10
 
10
- ### Features
11
+ #### Features
11
12
 
12
- * Include repo-metadata.json in generated libraries ([91b0f2c](https://www.github.com/googleapis/google-api-ruby-client/commit/91b0f2c17d76fedf8aa3f7c905c424fe8b64a970))
13
+ * Update core dependency to at least 0.5
13
14
 
14
- ## [0.2.0](https://www.github.com/googleapis/google-api-ruby-client/compare/google-apis-generator/v0.1.2...v0.2.0) (2021-03-07)
15
+ ### 0.4.1 (2022-01-11)
15
16
 
16
- ### Features
17
+ #### Bug Fixes
17
18
 
18
- * Drop support for Ruby 2.4 and add support for Ruby 3.0 ([d871146](https://www.github.com/googleapis/google-api-ruby-client/commit/d871146916f3dd19a12820c03068b3861a4bc879))
19
+ * Fix field name in authorization example
19
20
 
20
- ### Fixes
21
+ ### 0.4.0 (2021-06-28)
21
22
 
22
- * Include templates in the gem distribution.
23
+ * Update core dependency to require at least 0.4 and allow 1.x versions
24
+
25
+ ### 0.3.0 (2021-06-01)
26
+
27
+ #### Features
28
+
29
+ * Include repo-metadata.json in generated libraries
23
30
 
24
- ### [0.1.2](https://www.github.com/googleapis/google-api-ruby-client/compare/google-apis-generator/v0.1.1...v0.1.2) (2021-01-19)
31
+ ### 0.2.0 (2021-03-07)
32
+
33
+ #### Features
34
+
35
+ * Drop support for Ruby 2.4 and add support for Ruby 3.0
36
+
37
+ #### Fixes
38
+
39
+ * Include templates in the gem distribution.
25
40
 
41
+ ### 0.1.2 (2021-01-19)
26
42
 
27
- ### Bug Fixes
43
+ #### Bug Fixes
28
44
 
29
- * **generator:** Update thor dependency to allow 1.x ([6d8b7a4](https://www.github.com/googleapis/google-api-ruby-client/commit/6d8b7a4a5fb7ad524aa5083beac7a67a248526fa))
45
+ * Update thor dependency to allow 1.x
30
46
 
31
47
  ### v0.1.1 (2021-01-06)
32
48
 
@@ -1,8 +1,9 @@
1
1
  require File.expand_path("lib/<%= api.base_path %>/gem_version", __dir__)
2
+ gem_version = <%= api.qualified_name %>::GEM_VERSION
2
3
 
3
4
  Gem::Specification.new do |gem|
4
5
  gem.name = "<%= api.gem_name %>"
5
- gem.version = <%= api.qualified_name %>::GEM_VERSION
6
+ gem.version = gem_version
6
7
  gem.authors = ["Google LLC"]
7
8
  gem.email = "googleapis-packages@google.com"
8
9
  gem.summary = "Simple REST client for <%= api.title %> <%= api.version %>"
@@ -19,14 +20,14 @@ Gem::Specification.new do |gem|
19
20
  gem.license = "Apache-2.0"
20
21
  gem.metadata = {
21
22
  "bug_tracker_uri" => "https://github.com/googleapis/google-api-ruby-client/issues",
22
- "changelog_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/master/generated/<%= api.gem_name %>/CHANGELOG.md",
23
- "documentation_uri" => "https://googleapis.dev/ruby/<%= api.gem_name %>/v#{<%= api.qualified_name %>::GEM_VERSION}",
24
- "source_code_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/master/generated/<%= api.gem_name %>"
23
+ "changelog_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/main/generated/<%= api.gem_name %>/CHANGELOG.md",
24
+ "documentation_uri" => "https://googleapis.dev/ruby/<%= api.gem_name %>/v#{gem_version}",
25
+ "source_code_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/main/generated/<%= api.gem_name %>"
25
26
  }
26
27
 
27
28
  gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
28
29
  gem.require_paths = ["lib"]
29
30
 
30
31
  gem.required_ruby_version = '>= 2.5'
31
- gem.add_runtime_dependency "google-apis-core", ">= 0.4", "< 2.a"
32
+ gem.add_runtime_dependency "google-apis-core", ">= 0.5", "< 2.a"
32
33
  end
@@ -51,7 +51,7 @@ require "<%= api.base_path %>"
51
51
  client = <%= api.qualified_name %>::<%= api.service_name %>.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the <%= api.name %> service in particular.)
67
67
 
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  class Generator
18
- VERSION = "0.4.0"
18
+ VERSION = "0.6.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.4.0
4
+ version: 0.6.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: 2021-06-29 00:00:00.000000000 Z
11
+ date: 2022-06-14 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.4'
47
+ version: '0.5'
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.4'
57
+ version: '0.5'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: 2.a
@@ -137,9 +137,9 @@ licenses:
137
137
  - Apache-2.0
138
138
  metadata:
139
139
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
140
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/google-apis-generator/CHANGELOG.md
141
- documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.4.0
142
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/google-apis-generator
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.6.0
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: []
145
145
  require_paths:
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.2.17
158
+ rubygems_version: 3.3.14
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Code generator for legacy Google REST clients