Skip to content

Commit

Permalink
fixes #13698 - update rest-client and rbovirt gems
Browse files Browse the repository at this point in the history
- update rest-client to 1.8.x
- update rbovirt to 0.1.x
  • Loading branch information
mmoll authored and domcleal committed May 25, 2016
1 parent d1e2948 commit 7635745
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -4,7 +4,7 @@ FOREMAN_GEMFILE = __FILE__ unless defined? FOREMAN_GEMFILE
source 'https://rubygems.org'

gem 'rails', '4.2.6'
gem 'rest-client', '~> 1.6.0', :require => 'rest_client'
gem 'rest-client', '~> 1.8.0', :require => 'rest_client'
gem 'audited-activerecord', '~> 4.0'
gem 'will_paginate', '~> 3.0'
gem 'ancestry', '~> 2.0'
Expand Down
2 changes: 1 addition & 1 deletion bundler.d/ovirt.rb
@@ -1,3 +1,3 @@
group :ovirt do
gem 'rbovirt', '~> 0.0.37'
gem 'rbovirt', '~> 0.1.1'
end
2 changes: 1 addition & 1 deletion test/lib/proxy_api/bmc_test.rb
Expand Up @@ -20,7 +20,7 @@ def teardown
def fake_response(data)
net_http_resp = Net::HTTPResponse.new(1.0, 200, "OK")
net_http_resp.add_field 'Set-Cookie', 'Monster'
RestClient::Response.create(JSON(data), net_http_resp, nil)
RestClient::Response.create(JSON(data), net_http_resp, nil, RestClient::Request.new(:method=>'get', :url=>'http://localhost:8443'))
end

test "constructor should complete" do
Expand Down
2 changes: 1 addition & 1 deletion test/lib/proxy_api/dhcp_test.rb
Expand Up @@ -9,7 +9,7 @@ def setup
def fake_response(data)
net_http_resp = Net::HTTPResponse.new(1.0, 200, "OK")
net_http_resp.add_field 'Set-Cookie', 'Monster'
RestClient::Response.create(JSON(data), net_http_resp, nil)
RestClient::Response.create(JSON(data), net_http_resp, nil, RestClient::Request.new(:method=>'get', :url=>'http://localhost:8443'))
end

test "constructor should complete" do
Expand Down
2 changes: 1 addition & 1 deletion test/lib/proxy_api/template_test.rb
Expand Up @@ -9,7 +9,7 @@ def setup
def fake_response(data)
net_http_resp = Net::HTTPResponse.new(1.0, 200, "OK")
net_http_resp.add_field 'Set-Cookie', 'Monster'
RestClient::Response.create(JSON(data), net_http_resp, nil)
RestClient::Response.create(JSON(data), net_http_resp, nil, RestClient::Request.new(:method=>'get', :url=>'http://localhost:8443'))
end

test "constructor sets url base path with /unattended" do
Expand Down

0 comments on commit 7635745

Please sign in to comment.