google-apis-generator 0.11.1 → 0.13.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: d112bf5ef17c677ba3dc00e10370cc4084a97d9434b97793128826603cf0915e
4
- data.tar.gz: db12d66289c70e8bca72bd1531b58dedd3e380cab00b3123ccb18431a71c5d4a
3
+ metadata.gz: 41ef8d4ff004218fb8347f4593f59f36022687334c13cccbb6260b0accf03757
4
+ data.tar.gz: 982caa150241ea0f4cbdb16d4deece0406b093314024a70d1c5598b787e4c576
5
5
  SHA512:
6
- metadata.gz: 9f5890f933866be0152ef0d999301195f2162bffa4c36e0ca25e675620eb316ef23c3bdf3805907e479cb8360d05e2445cabc55c421e11c0c2dbc548e7d524eb
7
- data.tar.gz: 0355ebd7b8c181e7a3b50186811c3153bb5caf1eef5e7257442d60edc865704f38c9495d24bc693510ddb7f5bf7fe80b9bce965737975566d94daa74ec63b372
6
+ metadata.gz: c49811b04de99f073d8ff506fb7fcfe7f1ea199abb2bd745b4d5bc2a48345514fa8ba391755471af9f3f744ab704e6e0f7c5bc6d7fe6af0ba3bccd8b7d36ac1b
7
+ data.tar.gz: 2a40dd2d9541d419f706b2ebc10bdb87c13718cce4db50af65612bd85f984a8acac35a5bcc51a18a12288c31486519f803f70a05ee1caec6043a8b54558b1218
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 0.13.0 (2024-01-22)
4
+
5
+ #### Features
6
+
7
+ * Support for universe_domain in generated clients ([#17132](https://github.com/googleapis/google-api-ruby-client/issues/17132))
8
+
9
+ ### 0.12.0 (2023-02-14)
10
+
11
+ #### Features
12
+
13
+ * Update core dependency to at least 0.11.0 ([#13572](https://github.com/googleapis/google-api-ruby-client/issues/13572))
14
+
3
15
  ### 0.11.1 (2023-01-04)
4
16
 
5
17
  #### Bug Fixes
@@ -29,5 +29,5 @@ Gem::Specification.new do |gem|
29
29
  gem.require_paths = ["lib"]
30
30
 
31
31
  gem.required_ruby_version = '>= 2.5'
32
- gem.add_runtime_dependency "google-apis-core", ">= 0.9.1", "< 2.a"
32
+ gem.add_runtime_dependency "google-apis-core", ">= 0.12.0", "< 2.a"
33
33
  end
@@ -34,6 +34,8 @@ module Google
34
34
  # @see <%= api.documentation_link %>
35
35
  <% end -%>
36
36
  class <%= api.service_name %> < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "<%= api.root_url.to_s.sub '.googleapis.com', '.$UNIVERSE_DOMAIN$' %>"
38
+
37
39
  <% for param in api.parameters.values.reject {|p| p.name == 'fields'} -%>
38
40
  # @return [<%= param.generated_type %>]
39
41
  # <%= block_comment(param.description, 8, 2) %>
@@ -41,7 +43,7 @@ module Google
41
43
 
42
44
  <% end -%>
43
45
  def initialize
44
- super('<%= api.root_url %>', '<%= api.service_path %>',
46
+ super(DEFAULT_ENDPOINT_TEMPLATE, '<%= api.service_path %>',
45
47
  client_name: '<%= api.gem_name %>',
46
48
  client_version: <%= api.qualified_name %>::GEM_VERSION)
47
49
  @batch_path = '<%= api.batch_path %>'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  class Generator
18
- VERSION = "0.11.1"
18
+ VERSION = "0.13.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.11.1
4
+ version: 0.13.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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-22 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.9.1
47
+ version: 0.12.0
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.9.1
57
+ version: 0.12.0
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: 2.a
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.5'
67
+ version: '0.14'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.5'
74
+ version: '0.14'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: thor
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ licenses:
138
138
  metadata:
139
139
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
140
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.11.1
141
+ documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.13.0
142
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: []
@@ -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.3.14
158
+ rubygems_version: 3.5.3
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Code generator for legacy Google REST clients