vimgolf 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,7 @@ module VimGolf
90
90
  VimGolf.ui.error "Your score for this failed attempt was: #{log.score}"
91
91
 
92
92
  loop do
93
- VimGolf.ui.warn "[d] Show a diff"
93
+ VimGolf.ui.warn "[d] Show diff"
94
94
  VimGolf.ui.warn "[r] Retry the current challenge"
95
95
  VimGolf.ui.warn "[q] Quit vimgolf"
96
96
 
@@ -150,9 +150,9 @@ module VimGolf
150
150
  retry
151
151
  end
152
152
 
153
- rescue Interrupt, StandardError
153
+ rescue Interrupt
154
154
  VimGolf.ui.info "\nThanks for playing!"
155
- rescue Exception => e
155
+ rescue RuntimeError, Exception => e
156
156
  VimGolf.ui.error "Uh oh, something went wrong! Error: #{e}"
157
157
  VimGolf.ui.error "If the error persists, please report it to github.com/igrigorik/vimgolf"
158
158
  end
@@ -1,3 +1,3 @@
1
1
  module Vimgolf
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vimgolf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -137,7 +137,7 @@ post_install_message: ! '
137
137
 
138
138
  ------------------------------------------------------------------------------
139
139
 
140
- Thank you for installing vimgolf-0.4.4.
140
+ Thank you for installing vimgolf-0.4.5.
141
141
 
142
142
 
143
143
  0.1.3: custom vimgolf .vimrc file to help level the playing field