mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Reorganize and relax version dependencies.
- Make rdoc a development dependency. - Allow any rdoc through 4.x. - Relax version contstraints on ffi and netrc.
This commit is contained in:
parent
886f179264
commit
ee50db6fd1
2 changed files with 5 additions and 4 deletions
|
@ -16,13 +16,14 @@ Gem::Specification.new do |s|
|
||||||
s.homepage = 'https://github.com/rest-client/rest-client'
|
s.homepage = 'https://github.com/rest-client/rest-client'
|
||||||
s.summary = 'Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.'
|
s.summary = 'Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.'
|
||||||
|
|
||||||
s.add_dependency('mime-types', '~> 2.0')
|
|
||||||
s.add_development_dependency('webmock', '~> 1.4')
|
s.add_development_dependency('webmock', '~> 1.4')
|
||||||
s.add_development_dependency('rspec', '~> 2.4')
|
s.add_development_dependency('rspec', '~> 2.4')
|
||||||
s.add_development_dependency('pry')
|
s.add_development_dependency('pry')
|
||||||
s.add_development_dependency('pry-doc')
|
s.add_development_dependency('pry-doc')
|
||||||
s.add_dependency('netrc', '~> 0.7.7')
|
s.add_development_dependency('rdoc', '>= 2.4.2', '< 5.0')
|
||||||
s.add_dependency('rdoc', '>= 2.4.2')
|
|
||||||
|
s.add_dependency('mime-types', '~> 2.0')
|
||||||
|
s.add_dependency('netrc', '~> 0.7')
|
||||||
|
|
||||||
s.required_ruby_version = '>= 1.9.2'
|
s.required_ruby_version = '>= 1.9.2'
|
||||||
end
|
end
|
||||||
|
|
|
@ -12,7 +12,7 @@ platform = ENV['BUILD_PLATFORM'] || RUBY_PLATFORM
|
||||||
case platform
|
case platform
|
||||||
when /(mingw32|mswin32)/
|
when /(mingw32|mswin32)/
|
||||||
# ffi is needed for RestClient::Windows::RootCerts
|
# ffi is needed for RestClient::Windows::RootCerts
|
||||||
s.add_dependency('ffi', '~> 1.9.3')
|
s.add_dependency('ffi', '~> 1.9')
|
||||||
s.platform = platform
|
s.platform = platform
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue