google-apis-generator 0.15.0 → 0.15.1

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: e7ae10ea9397b32a9f875aab52e76afb290e77cc6bdcf725b55bbbd37bc44cec
4
- data.tar.gz: 50c0575fb6de5e2ac17a511cc909e991fc9458c8e933db890de9bb962ddf6b49
3
+ metadata.gz: 567f0da957689c657e3be0a741d2b23ba6ca830ea5e1db3a50bcb411109eaeb0
4
+ data.tar.gz: 3f1762a7e0a852c7280ae53ade6e462581eef693bd8d2ce5dd4ba8f737b44dc0
5
5
  SHA512:
6
- metadata.gz: 9ca6cb0de63dc094bbc0ef94ba83eec49d5626fa44bc8bc73276489ab244db6a9fdd283ed8e35e147f2a3c5c6bb800a2aec0d47398178246ffb632d3258534bc
7
- data.tar.gz: 488fd5355004ca8efe3690c92fc05df94a774563ebb8982c6b6e369dd78c85b8e86a933bc2f0295b155d4e31bebdf5c71758931514d4050caaff57e3e2151a82
6
+ metadata.gz: '0686b00cb282e2318cc0f570ab7261256b83fb9ad35bf386284f49c138c3b29404bde2a9c56335b1b95334c3ed4dd12caa1f840cf88e1bb2168f55f059fa42b1'
7
+ data.tar.gz: c788fff1be00f7a7a75cc84344baade826f5265423298452523ba3b6c190ee94a504e466868b6de1083f422dd18b111d1165500397b973236b996381726e2fa1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ### 0.15.1 (2024-07-29)
4
+
5
+ #### Bug Fixes
6
+
7
+ * remove rexml from dependencies ([#19971](https://github.com/googleapis/google-api-ruby-client/issues/19971))
8
+ * Remove temporary discovery patch ([#19972](https://github.com/googleapis/google-api-ruby-client/issues/19972))
9
+
3
10
  ### 0.15.0 (2024-05-13)
4
11
 
5
12
  #### Features
@@ -103,7 +103,7 @@ def <%= api_method.generated_name %>(<% for param in api_method.required_paramet
103
103
  <% for param in api.parameters.values.reject {|p| p.name == 'key'} -%>
104
104
  command.query['<%= param.name %>'] = <%= param.generated_name %> unless <%= param.generated_name %>.nil?
105
105
  <% end -%>
106
- <% unless api_method.api_version.empty? -%>
106
+ <% unless api_method.api_version.to_s.empty? -%>
107
107
  command.set_api_version_header "<%= api_method.api_version %>"
108
108
  <% end -%>
109
109
  execute_or_queue_command(command, &block)
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  class Generator
18
- VERSION = "0.15.0"
18
+ VERSION = "0.15.1"
19
19
  end
20
20
  end
21
21
  end
@@ -18,7 +18,6 @@ require 'google/apis/generator/model'
18
18
  require 'google/apis/generator/template'
19
19
  require 'google/apis/generator/updater'
20
20
  require 'google/apis/generator/version'
21
- require 'google/apis/generator/patch'
22
21
  require 'active_support'
23
22
  require 'active_support/core_ext'
24
23
  require 'active_support/inflector'
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.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-14 00:00:00.000000000 Z
11
+ date: 2024-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.14'
67
+ version: '0.18'
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.14'
74
+ version: '0.18'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: thor
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,6 @@ files:
108
108
  - lib/google/apis/generator/annotator.rb
109
109
  - lib/google/apis/generator/helpers.rb
110
110
  - lib/google/apis/generator/model.rb
111
- - lib/google/apis/generator/patch.rb
112
111
  - lib/google/apis/generator/template.rb
113
112
  - lib/google/apis/generator/templates/_class.tmpl
114
113
  - lib/google/apis/generator/templates/_method.tmpl
@@ -139,7 +138,7 @@ licenses:
139
138
  metadata:
140
139
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
141
140
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator/CHANGELOG.md
142
- documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.15.0
141
+ documentation_uri: https://googleapis.dev/ruby/google-apis-generator/v0.15.1
143
142
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-generator
144
143
  post_install_message:
145
144
  rdoc_options: []
@@ -1,35 +0,0 @@
1
- require 'google/apis/discovery_v1'
2
-
3
- # Extend the DiscoveryV1 API classes with additional fields for code generation,
4
- # supporting features which are not present in the schema itself.
5
- unless Google::Apis::DiscoveryV1::RestMethod.method_defined? :api_version
6
- module Google
7
- module Apis
8
- module DiscoveryV1
9
- class RestMethod
10
- # The `apiVersion` for this method, or empty if not present.
11
- # @return [String]
12
- attr_accessor :api_version
13
-
14
- # @private
15
- # The original DiscoveryV1::RestMethod `update!` method to be called
16
- # after applying patches to this schema.
17
- alias_method :update_discovery!, :update!
18
-
19
- # Update properties of this object.
20
- def update!(**args)
21
- @api_version = args.key?(:api_version) ? args[:api_version] : ""
22
- update_discovery!(**args)
23
- end
24
-
25
- # @private
26
- class Representation
27
- # @private
28
- # The api_version based on the JSON key value.
29
- property :api_version, as: 'apiVersion'
30
- end
31
- end
32
- end
33
- end
34
- end
35
- end