lib/hu/common.rb in hu-1.3.12 vs lib/hu/common.rb in hu-1.3.13
- old
+ new
@@ -13,9 +13,10 @@
end
unless ENV['SKIP_VERSION_CHECK']
version_info = BB::Gem.version_info(check_interval: 900)
unless version_info[:installed_is_latest] == true
+ puts
puts "\e[33;1mWoops! \e[0mA newer version of #{version_info[:gem_name]} is available."
puts " Please type '\e[1mgem install #{version_info[:gem_name]}\e[0m' to upgrade (v#{version_info[:gem_installed_version]} -> v#{version_info[:gem_latest_version]})."
sleep 1
puts
exit 1