зеркало из https://github.com/microsoft/fog.git
update Gemfile and change interface for delay setting
This commit is contained in:
Родитель
92827a487d
Коммит
3b55ee9a62
2
Gemfile
2
Gemfile
|
@ -2,10 +2,10 @@ source 'http://gemcutter.org'
|
|||
|
||||
gem 'rake'
|
||||
gem 'excon', '>= 0.0.21'
|
||||
gem 'excon', ">= 0.0.21"
|
||||
gem 'formatador', ">= 0.0.10"
|
||||
gem 'json', ">= 0"
|
||||
gem 'mime-types', ">= 0"
|
||||
gem 'nokogiri', ">= 0"
|
||||
gem 'ruby-hmac', ">= 0"
|
||||
gem 'rspec', '>= 0'
|
||||
gem 'shindo', '>= 0'
|
||||
|
|
|
@ -34,9 +34,9 @@ module Fog
|
|||
@delay
|
||||
end
|
||||
|
||||
def self.set_delay(delay)
|
||||
raise ArgumentError, "delay must be non-negative" unless delay >= 0
|
||||
@delay = delay
|
||||
def self.delay=(new_delay)
|
||||
raise ArgumentError, "delay must be non-negative" unless new_delay >= 0
|
||||
@delay = new_delay
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче