Gemspec whitespace & tighter version constraints

Pessimistic versioning means that Faraday 0.11.0 will be installed if
the constraint is "~> 0.9", and that will break spec tests due to
newer restrictions in Faraday around how HTTP requests are handled by
rspec. We don't want to break tests.
This commit is contained in:
Ryan McKern 2017-03-01 12:39:22 -08:00
parent 21c42dbffa
commit 0380b5fc9a

View file

@ -7,11 +7,13 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/briancain/vmfloaty' s.homepage = 'https://github.com/briancain/vmfloaty'
s.description = 'A helper tool for vmpooler to help you stay afloat' s.description = 'A helper tool for vmpooler to help you stay afloat'
s.summary = 'CLI application to interface with vmpooler' s.summary = 'CLI application to interface with vmpooler'
s.executables = ['floaty'] s.executables = ['floaty']
s.files = Dir['LICENSE', 'README.md', 'lib/**/*'] s.files = Dir['LICENSE', 'README.md', 'lib/**/*']
s.test_files = Dir['spec/**/*'] s.test_files = Dir['spec/**/*']
s.require_path = 'lib' s.require_path = 'lib'
s.add_dependency 'commander', '~> 4.3'
s.add_dependency 'faraday', '~> 0.9' s.add_dependency 'commander', '~> 4.3.0'
s.add_dependency 'colorize', '0.8.1' s.add_dependency 'faraday', '~> 0.9.0'
s.add_dependency 'colorize', '~> 0.8.1'
end end