gapic-generator-cloud 0.6.0 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/bin/protoc-gen-ruby_cloud +1 -0
- data/bin/ruby-cloud-docker-entrypoint +2 -0
- data/lib/gapic/generator/cloud/version.rb +1 -1
- data/lib/gapic/presenters/wrapper_gem_presenter.rb +3 -2
- data/templates/cloud/gem/authentication.erb +1 -1
- data/templates/cloud/gem/rakefile.erb +1 -1
- data/templates/cloud/gem/readme.erb +2 -2
- data/templates/cloud/gem/repo-metadata.erb +17 -2
- data/templates/cloud/wrapper_gem/gemfile.erb +0 -3
- data/templates/cloud/wrapper_gem/readme.erb +1 -1
- metadata +6 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9702682ae24bee4bef6ed80a4390004d36cda7556128c721425379ea57e4f02
|
4
|
+
data.tar.gz: d32cd24f704afed2e17cdc12378b9dc08089378872d59359da297e8c6301fb07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c130a15311ab2e14bc92817819c2fb3b594cac52d0dcd5cda241558675f15558d501d66ad4ab541c7dbd16835cb5aa73b4d02d8ab8e4522318698118f8a2a1a
|
7
|
+
data.tar.gz: f5343224c9a8bac01b2266d2a6a150140a02eaed1eea5e32d4958ad6829ca2ce8325d1e9b81fc271614554d34f5d2ecd25b3bceb87dbf031b33ea905edda47a5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release History for gapic-generator-cloud
|
2
2
|
|
3
|
+
### 0.6.5 / 2020-07-16
|
4
|
+
|
5
|
+
* Includes changes from gapic-generator 0.6.5.
|
6
|
+
|
7
|
+
### 0.6.4 / 2020-07-13
|
8
|
+
|
9
|
+
* Includes changes from gapic-generator 0.6.4.
|
10
|
+
|
11
|
+
### 0.6.3 / 2020-06-27
|
12
|
+
|
13
|
+
* Includes changes from gapic-generator 0.6.3.
|
14
|
+
|
15
|
+
### 0.6.2 / 2020-06-18
|
16
|
+
|
17
|
+
* Includes changes from gapic-generator 0.6.2.
|
18
|
+
|
19
|
+
### 0.6.1 / 2020-06-16
|
20
|
+
|
21
|
+
* Includes changes from gapic-generator 0.6.1.
|
22
|
+
* Populate additional repo-metadata fields.
|
23
|
+
* Remove authentication file from the gemspec for generic wrappers.
|
24
|
+
|
3
25
|
### 0.6.0 / 2020-06-02
|
4
26
|
|
5
27
|
* Includes changes from gapic-generator 0.6.0.
|
data/bin/protoc-gen-ruby_cloud
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
|
18
|
+
$LOAD_PATH.unshift ::File.expand_path("../lib", __dir__)
|
18
19
|
gem "gapic-generator"
|
19
20
|
require "gapic/runner"
|
20
21
|
require "google/protobuf/compiler/plugin.pb"
|
@@ -38,7 +38,9 @@ value_option_map = {
|
|
38
38
|
":gem.:version_dependencies" => "ruby-cloud-wrapper-of",
|
39
39
|
":gem.:migration_version" => "ruby-cloud-migration-version",
|
40
40
|
":gem.:product_documentation_url" => "ruby-cloud-product-url",
|
41
|
+
":gem.:issue_tracker_url" => "ruby-cloud-issues-url",
|
41
42
|
":gem.:api_id" => "ruby-cloud-api-id",
|
43
|
+
":gem.:api_shortname" => "ruby-cloud-api-shortname",
|
42
44
|
":gem.:factory_method_suffix" => "ruby-cloud-factory-method-suffix"
|
43
45
|
}
|
44
46
|
|
@@ -79,8 +79,9 @@ module Gapic
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def extra_files
|
82
|
-
files = ["README.md", "
|
83
|
-
files
|
82
|
+
files = ["README.md", "LICENSE.md", ".yardopts"]
|
83
|
+
files.insert 1, "AUTHENTICATION.md" unless generic_endpoint?
|
84
|
+
files.append "MIGRATING.md" if migration?
|
84
85
|
files
|
85
86
|
end
|
86
87
|
|
@@ -26,7 +26,7 @@ In order to use this library, you first need to go through the following steps:
|
|
26
26
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
27
27
|
<%- end -%>
|
28
28
|
<%- if gem.api_id -%>
|
29
|
-
1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id
|
29
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id %>)
|
30
30
|
<%- end -%>
|
31
31
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
32
32
|
|
@@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps:
|
|
36
36
|
<%- if gem.packages? -%>
|
37
37
|
```ruby
|
38
38
|
require "<%= gem.entrypoint_require %>"
|
39
|
-
<%- service = gem.
|
39
|
+
<%- service = gem.first_non_common_service -%>
|
40
40
|
<%- method = service&.methods.first -%>
|
41
41
|
<%- if service && method -%>
|
42
42
|
|
@@ -1,6 +1,21 @@
|
|
1
1
|
<%- assert_locals gem -%>
|
2
2
|
{
|
3
|
-
|
3
|
+
<%- if gem.api_id -%>
|
4
|
+
"api_id": "<%= gem.api_id %>",
|
5
|
+
<%- end -%>
|
6
|
+
"client_documentation": "<%= gem.library_documentation_url %>",
|
4
7
|
"distribution_name": "<%= gem.name %>",
|
5
|
-
|
8
|
+
<%- if gem.issue_tracker_url -%>
|
9
|
+
"issue_tracker": "<%= gem.issue_tracker_url %>",
|
10
|
+
<%- end -%>
|
11
|
+
"language": "ruby",
|
12
|
+
<%- if gem.api_shortname -%>
|
13
|
+
"name": "<%= gem.api_shortname %>",
|
14
|
+
<%- end -%>
|
15
|
+
"name_pretty": "<%= gem.title %> API",
|
16
|
+
<%- if gem.product_documentation_url -%>
|
17
|
+
"product_documentation": "<%= gem.product_documentation_url %>",
|
18
|
+
<%- end -%>
|
19
|
+
"repo": "googleapis/google-cloud-ruby",
|
20
|
+
"requires_billing": <%= !gem.free_tier? %>
|
6
21
|
}
|
@@ -6,6 +6,3 @@ gemspec
|
|
6
6
|
<%- gem.versioned_gems.each do |name| -%>
|
7
7
|
gem "<%= name %>", path: "../<%= name %>"
|
8
8
|
<%- end -%>
|
9
|
-
|
10
|
-
# google-protobuf 3.12.0 requires Ruby 2.5 or later, so pin to 3.11 on older Rubies
|
11
|
-
gem "google-protobuf", (RUBY_VERSION < "2.5" ? "~> 3.11.4" : "~> 3.12")
|
@@ -44,7 +44,7 @@ In order to use this library, you first need to go through the following steps:
|
|
44
44
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
45
45
|
<%- end -%>
|
46
46
|
<%- if gem.api_id -%>
|
47
|
-
1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id
|
47
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/<%= gem.api_id %>)
|
48
48
|
<%- end -%>
|
49
49
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
50
50
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gapic-generator-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernest Landrito
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.6.
|
35
|
+
version: 0.6.5
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.6.
|
42
|
+
version: 0.6.5
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: google-style
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,34 +68,20 @@ dependencies:
|
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '3.8'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: bundler
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.1'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - "~>"
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '2.1'
|
85
71
|
- !ruby/object:Gem::Dependency
|
86
72
|
name: grpc-tools
|
87
73
|
requirement: !ruby/object:Gem::Requirement
|
88
74
|
requirements:
|
89
75
|
- - "~>"
|
90
76
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
77
|
+
version: 1.30.1
|
92
78
|
type: :development
|
93
79
|
prerelease: false
|
94
80
|
version_requirements: !ruby/object:Gem::Requirement
|
95
81
|
requirements:
|
96
82
|
- - "~>"
|
97
83
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
84
|
+
version: 1.30.1
|
99
85
|
- !ruby/object:Gem::Dependency
|
100
86
|
name: minitest
|
101
87
|
requirement: !ruby/object:Gem::Requirement
|