mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
update Gemfile and change interface for delay setting
This commit is contained in:
parent
92827a487d
commit
3b55ee9a62
2 changed files with 4 additions and 4 deletions
2
Gemfile
2
Gemfile
|
@ -2,10 +2,10 @@ source 'http://gemcutter.org'
|
||||||
|
|
||||||
gem 'rake'
|
gem 'rake'
|
||||||
gem 'excon', '>= 0.0.21'
|
gem 'excon', '>= 0.0.21'
|
||||||
gem 'excon', ">= 0.0.21"
|
|
||||||
gem 'formatador', ">= 0.0.10"
|
gem 'formatador', ">= 0.0.10"
|
||||||
gem 'json', ">= 0"
|
gem 'json', ">= 0"
|
||||||
gem 'mime-types', ">= 0"
|
gem 'mime-types', ">= 0"
|
||||||
gem 'nokogiri', ">= 0"
|
gem 'nokogiri', ">= 0"
|
||||||
gem 'ruby-hmac', ">= 0"
|
gem 'ruby-hmac', ">= 0"
|
||||||
gem 'rspec', '>= 0'
|
gem 'rspec', '>= 0'
|
||||||
|
gem 'shindo', '>= 0'
|
||||||
|
|
|
@ -34,9 +34,9 @@ module Fog
|
||||||
@delay
|
@delay
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.set_delay(delay)
|
def self.delay=(new_delay)
|
||||||
raise ArgumentError, "delay must be non-negative" unless delay >= 0
|
raise ArgumentError, "delay must be non-negative" unless new_delay >= 0
|
||||||
@delay = delay
|
@delay = new_delay
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue