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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72031f2da3dd40532cf714ff009cf66a398033af1f5bf76cf0963172e82ad2f1
|
4
|
+
data.tar.gz: a1e0c5819cfa59976c56487c80a84a1929fe6a484810ed8ae12c771842a7c5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e5e44f5e3e7d6e832f821b919c596276f7236981d66845e5a72f3d6e654edd449db5282f9a9cd37b0a0d62edd1bd339a8d442cb4b02345c41cf5d93eaaf5bd
|
7
|
+
data.tar.gz: ee6aa21d96b499527211bd83435c1532aad15e684776ab4aeb565abf8e50bce6fa7b4febb18571d77f7e7f6011330e14194abe6fa5e0253813da11fbdf91b5e3
|
data/CHANGELOG.md
CHANGED
@@ -1,28 +1,42 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
-
|
3
|
+
### 0.5.0 (2022-06-02)
|
4
4
|
|
5
|
+
#### Features
|
5
6
|
|
6
|
-
|
7
|
+
* Update core dependency to at least 0.5
|
7
8
|
|
8
|
-
|
9
|
+
### 0.4.1 (2022-01-11)
|
9
10
|
|
10
|
-
|
11
|
+
#### Bug Fixes
|
11
12
|
|
12
|
-
|
13
|
+
* Fix field name in authorization example
|
13
14
|
|
14
|
-
|
15
|
+
### 0.4.0 (2021-06-28)
|
15
16
|
|
16
|
-
|
17
|
+
* Update core dependency to require at least 0.4 and allow 1.x versions
|
17
18
|
|
18
|
-
|
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
|
-
|
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
|
-
|
37
|
+
#### Bug Fixes
|
24
38
|
|
25
|
-
*
|
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 =
|
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/
|
23
|
-
"documentation_uri" => "https://googleapis.dev/ruby/<%= api.gem_name %>/v#{
|
24
|
-
"source_code_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/
|
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", "
|
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.
|
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
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.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:
|
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.
|
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.
|
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.
|
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.
|
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/
|
135
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.
|
136
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.
|
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
|