Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #365 from mozilla/bump_for_0.0.20_release
Browse files Browse the repository at this point in the history
Bump for 0.0.20 release
  • Loading branch information
Jonathan Claudius authored May 12, 2017
2 parents f073f92 + a858483 commit 6e14e9b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions bin/ssh_scan
Original file line number Diff line number Diff line change
Expand Up @@ -226,25 +226,25 @@ unless File.exist?(options["policy"])
end

# Check to see if we're running the latest released version
if !options["suppress_update_status"]
update = SSHScan::Update.new
if update.newer_gem_available?
options["logger"].warn(
"You're NOT using the latest version of ssh_scan, try 'gem update \
ssh_scan' to get the latest"
)
else
if update.errors.any?
update.errors.each do |error|
options["logger"].error(error)
end
else
options["logger"].info(
"You're using the latest version of ssh_scan #{SSHScan::VERSION}"
)
end
end
end
#if !options["suppress_update_status"]
# update = SSHScan::Update.new
# if update.newer_gem_available?
# options["logger"].warn(
# "You're NOT using the latest version of ssh_scan, try 'gem update \
#ssh_scan' to get the latest"
# )
# else
# if update.errors.any?
# update.errors.each do |error|
# options["logger"].error(error)
# end
# else
# options["logger"].info(
# "You're using the latest version of ssh_scan #{SSHScan::VERSION}"
# )
# end
# end
#end

# Limit scope of fingerprints DB to (per scan)
if options["fingerprint_database"] && File.exists?(options["fingerprint_database"])
Expand Down
2 changes: 1 addition & 1 deletion lib/ssh_scan/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SSHScan
VERSION = '0.0.19'
VERSION = '0.0.20'
end

0 comments on commit 6e14e9b

Please sign in to comment.