From 0380b5fc9addb570fc10eb163ff1ae5ca4c82819 Mon Sep 17 00:00:00 2001 From: Ryan McKern Date: Wed, 1 Mar 2017 12:39:22 -0800 Subject: [PATCH] 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. --- vmfloaty.gemspec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vmfloaty.gemspec b/vmfloaty.gemspec index 82e3f7a..2be8ab4 100644 --- a/vmfloaty.gemspec +++ b/vmfloaty.gemspec @@ -7,11 +7,13 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/briancain/vmfloaty' s.description = 'A helper tool for vmpooler to help you stay afloat' s.summary = 'CLI application to interface with vmpooler' + s.executables = ['floaty'] s.files = Dir['LICENSE', 'README.md', 'lib/**/*'] s.test_files = Dir['spec/**/*'] s.require_path = 'lib' - s.add_dependency 'commander', '~> 4.3' - s.add_dependency 'faraday', '~> 0.9' - s.add_dependency 'colorize', '0.8.1' + + s.add_dependency 'commander', '~> 4.3.0' + s.add_dependency 'faraday', '~> 0.9.0' + s.add_dependency 'colorize', '~> 0.8.1' end