google-apis-generator 0.3.0 → 0.5.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: 707d4ebc19ee66b5716e401c9c217d6c3944d0c79b0ad30fa4779a9604d6dc79
4
- data.tar.gz: 83ba7a76915d987241fb24d5689f2330eab96a2848e1a922cc81e38a40cf5f16
3
+ metadata.gz: 72031f2da3dd40532cf714ff009cf66a398033af1f5bf76cf0963172e82ad2f1
4
+ data.tar.gz: a1e0c5819cfa59976c56487c80a84a1929fe6a484810ed8ae12c771842a7c5f3
5
5
  SHA512:
6
- metadata.gz: 6571980158ba118f497afa8eb20452c3dbd2643e558ff533c10701bc45b2f02f7bf229d42b58d2e8dbf3846da877ad607aab5511a6015986993a4e553b3e4a90
7
- data.tar.gz: 112715ece08df5d3f1b6948ca1c0728a88150c2fd81eced7849eab0ba20aa86b1c33a8573ebfdc6605f3120f7798e70c64a901887294d286d5f114cbc644a6d8
6
+ metadata.gz: 53e5e44f5e3e7d6e832f821b919c596276f7236981d66845e5a72f3d6e654edd449db5282f9a9cd37b0a0d62edd1bd339a8d442cb4b02345c41cf5d93eaaf5bd
7
+ data.tar.gz: ee6aa21d96b499527211bd83435c1532aad15e684776ab4aeb565abf8e50bce6fa7b4febb18571d77f7e7f6011330e14194abe6fa5e0253813da11fbdf91b5e3
data/CHANGELOG.md CHANGED
@@ -1,28 +1,42 @@
1
1
  # Release History
2
2
 
3
- ## [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)
3
+ ### 0.5.0 (2022-06-02)
4
4
 
5
+ #### Features
5
6
 
6
- ### Features
7
+ * Update core dependency to at least 0.5
7
8
 
8
- * Include repo-metadata.json in generated libraries ([91b0f2c](https://www.github.com/googleapis/google-api-ruby-client/commit/91b0f2c17d76fedf8aa3f7c905c424fe8b64a970))
9
+ ### 0.4.1 (2022-01-11)
9
10
 
10
- ## [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)
11
+ #### Bug Fixes
11
12
 
12
- ### Features
13
+ * Fix field name in authorization example
13
14
 
14
- * 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))
15
+ ### 0.4.0 (2021-06-28)
15
16
 
16
- ### Fixes
17
+ * Update core dependency to require at least 0.4 and allow 1.x versions
17
18
 
18
- * Include templates in the gem distribution.
19
+ ### 0.3.0 (2021-06-01)
20
+
21
+ #### Features
22
+
23
+ * Include repo-metadata.json in generated libraries
24
+
25
+ ### 0.2.0 (2021-03-07)
19
26
 
20
- ### [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)
27
+ #### Features
28
+
29
+ * Drop support for Ruby 2.4 and add support for Ruby 3.0
30
+
31
+ #### Fixes
32
+
33
+ * Include templates in the gem distribution.
21
34
 
35
+ ### 0.1.2 (2021-01-19)
22
36
 
23
- ### Bug Fixes
37
+ #### Bug Fixes
24
38
 
25
- * **generator:** Update thor dependency to allow 1.x ([6d8b7a4](https://www.github.com/googleapis/google-api-ruby-client/commit/6d8b7a4a5fb7ad524aa5083beac7a67a248526fa))
39
+ * Update thor dependency to allow 1.x
26
40
 
27
41
  ### v0.1.1 (2021-01-06)
28
42
 
@@ -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.1"
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.3.0"
18
+ VERSION = "0.5.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.3.0
4
+ version: 0.5.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-01 00:00:00.000000000 Z
11
+ date: 2022-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -42,30 +42,36 @@ dependencies:
42
42
  name: google-apis-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.1'
47
+ version: '0.5'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: 2.a
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
- version: '0.1'
57
+ version: '0.5'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: 2.a
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: google-apis-discovery_v1
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0.0'
67
+ version: '0.5'
62
68
  type: :runtime
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0.0'
74
+ version: '0.5'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: thor
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -131,9 +137,9 @@ licenses:
131
137
  - Apache-2.0
132
138
  metadata:
133
139
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
134
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/google-apis-generator/CHANGELOG.md
135
- documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.3.0
136
- 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.5.0
142
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator
137
143
  post_install_message:
138
144
  rdoc_options: []
139
145
  require_paths:
@@ -149,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
155
  - !ruby/object:Gem::Version
150
156
  version: '0'
151
157
  requirements: []
152
- rubygems_version: 3.2.17
158
+ rubygems_version: 3.3.14
153
159
  signing_key:
154
160
  specification_version: 4
155
161
  summary: Code generator for legacy Google REST clients