google-apis-generator 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e7a2826690578f136208702c38e8c7170439bbe2478fbed139260aefe0a531b
4
- data.tar.gz: 0f5f9953b30d46eded9732556a87e9fd8eba648d92bad004c8d3caba8a57b532
3
+ metadata.gz: 41ef8d4ff004218fb8347f4593f59f36022687334c13cccbb6260b0accf03757
4
+ data.tar.gz: 982caa150241ea0f4cbdb16d4deece0406b093314024a70d1c5598b787e4c576
5
5
  SHA512:
6
- metadata.gz: 2725c8298a1ec6b416488bfd54b96bdb8c2e245bd9bd565a78044fdcb7fa11be90fc12347b6b6f8472ad08b9b9d6003982b1ef1889b6287d8752f93d01fd3edd
7
- data.tar.gz: 8ba05d11ed6c16f8dfd042f65f41ff2c5ee852cb3f680ec3c7c09b9734b65b965c9497278887bc591d5ed2c578a8c44549a0aa3a231ffe3cfcdbf38ff2562249
6
+ metadata.gz: c49811b04de99f073d8ff506fb7fcfe7f1ea199abb2bd745b4d5bc2a48345514fa8ba391755471af9f3f744ab704e6e0f7c5bc6d7fe6af0ba3bccd8b7d36ac1b
7
+ data.tar.gz: 2a40dd2d9541d419f706b2ebc10bdb87c13718cce4db50af65612bd85f984a8acac35a5bcc51a18a12288c31486519f803f70a05ee1caec6043a8b54558b1218
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ### 0.12.0 (2023-02-14)
4
10
 
5
11
  #### Features
@@ -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.11.0", "< 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.12.0"
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.12.0
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-02-15 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.11.0
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.11.0
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.12.0
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.4.2
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