Skip to content

Commit

Permalink
Update to use console_view_helper version 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ammancilla committed Jan 12, 2015
1 parent 578d793 commit 266ff0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/play_hangman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def display_game_banner(base_width, base_idt)
end

def display_game_board(hangman_game, base_width, base_idt, notice = {})
system('cls')
cls
display_game_banner(base_width, base_idt)
display_notice(notice)
putsi "Clue: '#{hangman_game.clue}'" + nl(3) if hangman_game.clue.length > 0
Expand Down Expand Up @@ -61,7 +61,7 @@ def display_lost(base_width)
# Read data
data_error = false
begin
system('cls')
cls
display_game_banner(base_width, base_idt)
display_notice(notice)
word = hidden_input('Word to guess (will be hidden):', base_idt)
Expand Down
4 changes: 2 additions & 2 deletions play_hangman.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.date = '2015-01-12'
spec.version = '0.0.1'
spec.version = '0.0.2'
spec.name = 'play_hangman'
spec.summary = %q(Play HANGMAN on your console! Install, run the command 'play_hangman' and enjoy.)
spec.description =
Expand All @@ -17,6 +17,6 @@ Gem::Specification.new do |spec|
spec.files = ['lib/play_hangman.rb']
spec.executables = 'play_hangman'

spec.add_runtime_dependency 'console_view_helper', ['~> 0.0.3']
spec.add_runtime_dependency 'console_view_helper', ['~> 0.0.4']
spec.add_runtime_dependency 'hangman_engine', ['~> 0.0.1']
end

0 comments on commit 266ff0f

Please sign in to comment.