google-apis-generator 0.4.0 → 0.4.1

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: 8223f043b3a3d587c76c4c1a86462691265f14cf5ce034afddfa477e925c300c
4
+ data.tar.gz: 4f1f114fdee4a0b769aaeb3743b5494902ed62fe92f33865e15569062fbb1156
5
5
  SHA512:
6
- metadata.gz: 9a1cf35144ef0f38024c7d4cda45406bd1081b396df58eac484850bd71ca763322c839c6702ed2fb7c989986ce1973f7a4cbb296a010a677fca0ddb309cd0c6d
7
- data.tar.gz: f97e4df628b8323b8149cab271c0841858e804acfdfcd08c77f0d9efc1d066856c225823c01453100b2fd71e3678e38fee1a6f18caeaf9747e004fc536a7aeca
6
+ metadata.gz: 93beb78657bf583d2f4acf21c6bb4b61417fa761ca9cceb6a459864d98bd0844f6ba57b701b200055c54be270bdad2f44d06cea5b6db2dbb3aadb40966f3a961
7
+ data.tar.gz: bd04ed9cf86d4f4e9890d2f8906a17be3ce3e8a629b11e6832439f8ebf672a121ca513b0ec6f894bf1cbc0420bb7a80fcde9f06b02650e87566ca098ac7f9c73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ### [0.4.1](https://www.github.com/googleapis/google-api-ruby-client/compare/google-apis-generator/v0.4.0...google-apis-generator/v0.4.1) (2022-01-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **generator:** Fix field name in authorization example ([2ac44c2](https://www.github.com/googleapis/google-api-ruby-client/commit/2ac44c2145d111033cf344c624dad4c1d3188f25))
9
+
3
10
  ## 0.4.0 (2021-06-28)
4
11
 
5
12
  * Update core dependency to require at least 0.4 and allow 1.x versions
@@ -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,9 +20,9 @@ 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"]
@@ -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.4.1"
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.4.1
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-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -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.4.1
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.4
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Code generator for legacy Google REST clients