Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #387 from r4um/fix_339

Closes #339 Add minitest to spec, fix rspec test breakage.
  • Loading branch information...
commit a0108327738681adab58e9722f6de97a7ac6cf39 2 parents e252d91 + 7f93096
@jordansissel authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  fpm.gemspec
  2. +1 −1  lib/fpm/package.rb
View
1  fpm.gemspec
@@ -46,6 +46,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency("rspec") # license: MIT (according to wikipedia)
spec.add_development_dependency("insist", "~> 0.0.5") # license: ???
+ spec.add_development_dependency("minitest")
spec.files = files
spec.require_paths << "lib"
View
2  lib/fpm/package.rb
@@ -487,7 +487,7 @@ def output_check(output_path)
if !File.directory?(File.dirname(output_path))
raise ParentDirectoryMissing.new(output_path)
end
- if File.exists?(output_path)
+ if File.file?(output_path)
if attributes[:force?]
@logger.warn("--force flag given, overwriting package at #{output_path}")
else
Please sign in to comment.
Something went wrong with that request. Please try again.