Skip to content

Commit

Permalink
new release check var name bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchadwick committed Aug 17, 2015
1 parent 8b9d060 commit 295dcfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/gemwarrior/repl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def display_log_of_attempts

def check_for_new_release
puts 'Checking releases...'
remote_version = Gems.versions('gemwarrior').first['number']
local_version = Gemwarrior::VERSION
remote_release = Gems.versions('gemwarrior').first['number']
local_release = Gemwarrior::VERSION

if remote_release != local_release
puts "GW v#{remote_release} available! Please (E)xit and run 'gem update' before continuing."
Expand Down
2 changes: 1 addition & 1 deletion lib/gemwarrior/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Version of Gem Warrior

module Gemwarrior
VERSION = '0.10.1'
VERSION = '0.10.2'
end

0 comments on commit 295dcfa

Please sign in to comment.