mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2574 from maestrodev/travis-fix
Update rubygems to fix travis in ruby 1.8
This commit is contained in:
commit
8e393db3f9
3 changed files with 5 additions and 2 deletions
|
@ -50,3 +50,6 @@ notifications:
|
||||||
on_success: always
|
on_success: always
|
||||||
on_failure: always
|
on_failure: always
|
||||||
use_notice: false
|
use_notice: false
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763
|
||||||
|
|
|
@ -12,7 +12,7 @@ module Fog
|
||||||
:method => 'GET',
|
:method => 'GET',
|
||||||
:path => "droplets/#{id}/destroy",
|
:path => "droplets/#{id}/destroy",
|
||||||
# We scrub data so future users can't read our disks.
|
# We scrub data so future users can't read our disks.
|
||||||
:query => {:scrub_data => '1' },
|
:query => {:scrub_data => '1' }
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Fog
|
||||||
result = self.build_result(
|
result = self.build_result(
|
||||||
api_method,
|
api_method,
|
||||||
parameters,
|
parameters,
|
||||||
body_object=body_object,
|
body_object=body_object
|
||||||
)
|
)
|
||||||
response = self.build_response(result)
|
response = self.build_response(result)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue