mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
add gem dependencies
This commit is contained in:
parent
deece5654c
commit
5a83da1a93
2 changed files with 12 additions and 0 deletions
3
Rakefile
3
Rakefile
|
@ -7,6 +7,9 @@ require "#{current_directory}/lib/fog"
|
|||
begin
|
||||
require 'jeweler'
|
||||
Jeweler::Tasks.new do |gem|
|
||||
gem.add_dependency('mime-types')
|
||||
gem.add_dependency('nokogiri')
|
||||
gem.add_dependency('ruby-hmac')
|
||||
gem.name = "fog"
|
||||
gem.summary = %Q{brings clouds to you}
|
||||
gem.email = "me@geemus.com"
|
||||
|
|
|
@ -250,8 +250,17 @@ Gem::Specification.new do |s|
|
|||
s.specification_version = 3
|
||||
|
||||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
||||
s.add_runtime_dependency(%q<mime-types>, [">= 0"])
|
||||
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
||||
s.add_runtime_dependency(%q<ruby-hmac>, [">= 0"])
|
||||
else
|
||||
s.add_dependency(%q<mime-types>, [">= 0"])
|
||||
s.add_dependency(%q<nokogiri>, [">= 0"])
|
||||
s.add_dependency(%q<ruby-hmac>, [">= 0"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<mime-types>, [">= 0"])
|
||||
s.add_dependency(%q<nokogiri>, [">= 0"])
|
||||
s.add_dependency(%q<ruby-hmac>, [">= 0"])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue