Skip to content

Commit

Permalink
fix(core): remove rexml from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Jul 29, 2024
1 parent 91392a7 commit a87db85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions generated/google-apis-discovery_v1/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ platforms :ruby do
gem "redcarpet", "~> 3.5"
end
end

gem "google-apis-core", path: "../../google-apis-core"
4 changes: 2 additions & 2 deletions google-apis-core/google-apis-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency "addressable", "~> 2.5", ">= 2.5.1"
gem.add_runtime_dependency "mini_mime", "~> 1.0"
gem.add_runtime_dependency "googleauth", "~> 1.9"
gem.add_runtime_dependency "httpclient", ">= 2.8.1", "< 3.a"
gem.add_runtime_dependency "rexml"
gem.add_runtime_dependency "httpclient", ">= 2.8.3", "< 3.a"
gem.add_runtime_dependency "mutex_m" # used by httpclient
end
2 changes: 2 additions & 0 deletions google-apis-generator/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ platforms :ruby do
gem 'pry-byebug', '~> 3.2'
end
end

gem "google-apis-core", path: "../google-apis-core"
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def <%= api_method.generated_name %>(<% for param in api_method.required_paramet
<% for param in api.parameters.values.reject {|p| p.name == 'key'} -%>
command.query['<%= param.name %>'] = <%= param.generated_name %> unless <%= param.generated_name %>.nil?
<% end -%>
<% unless api_method.api_version.empty? -%>
<% if api_method.api_version && !api_method.api_version.empty? -%>
command.set_api_version_header "<%= api_method.api_version %>"
<% end -%>
execute_or_queue_command(command, &block)
Expand Down

0 comments on commit a87db85

Please sign in to comment.