highline 1.6.7 → 1.6.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/highline.rb +2 -2
  3. metadata +1 -1
data/CHANGELOG CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Below is a complete listing of changes for each revision of HighLine.
4
4
 
5
+ == 1.6.8
6
+
7
+ * Fix missing <tt>ERASE_CHAR</tt> reference (by Aaron Gifford).
8
+
5
9
  == 1.6.7
6
10
 
7
11
  * Fixed bug introduced in 1.6.6 attempted fix (by Aaron Gifford).
@@ -30,7 +30,7 @@ require "highline/style"
30
30
  #
31
31
  class HighLine
32
32
  # The version of the installed library.
33
- VERSION = "1.6.7".freeze
33
+ VERSION = "1.6.8".freeze
34
34
 
35
35
  # An internal HighLine error. User code does not need to trap this.
36
36
  class QuestionError < StandardError
@@ -802,7 +802,7 @@ class HighLine
802
802
  # only backspace if we have characters on the line to
803
803
  # eliminate, otherwise we'll tromp over the prompt
804
804
  if backspace_limit >= 0 then
805
- @output.print("\b#{ERASE_CHAR}")
805
+ @output.print("\b#{HighLine.Style(:erase_char).code}")
806
806
  else
807
807
  # do nothing
808
808
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.7
4
+ version: 1.6.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: