my_utilities.gemspec in my_utilities-1.2.0 vs my_utilities.gemspec in my_utilities-1.3.0
- old
+ new
@@ -16,10 +16,12 @@
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(spec)/})
spec.require_paths = ["lib"]
- spec.add_dependency 'getoptlong'
+ if !(RUBY_VERSION =~ /^2.1/)
+ spec.add_dependency 'getopt'
+ end
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency 'rspec'
spec.add_development_dependency "rake"
end