1
0
Fork 0
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:
geemus (Wesley Beary) 2010-04-13 14:06:12 -07:00
parent 92827a487d
commit 3b55ee9a62
2 changed files with 4 additions and 4 deletions

View file

@ -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'

View file

@ -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