highline 1.6.5 → 1.6.6
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.
- data/CHANGELOG +4 -0
- data/lib/highline.rb +3 -3
- metadata +2 -2
    
        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.6
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Fixed old style references causing <tt>HighLine::String</tt> errors (by Aaron Gifford).
         | 
| 8 | 
            +
             | 
| 5 9 | 
             
            == 1.6.5
         | 
| 6 10 |  | 
| 7 11 | 
             
            * HighLine#list() now correctly handles empty lists (fix by Lachlan Dowding).
         | 
    
        data/lib/highline.rb
    CHANGED
    
    | @@ -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. | 
| 33 | 
            +
              VERSION = "1.6.6".freeze
         | 
| 34 34 |  | 
| 35 35 | 
             
              # An internal HighLine error.  User code does not need to trap this.
         | 
| 36 36 | 
             
              class QuestionError < StandardError
         | 
| @@ -820,7 +820,7 @@ class HighLine | |
| 820 820 | 
             
                      restore_mode if stty
         | 
| 821 821 | 
             
                    end
         | 
| 822 822 | 
             
                    if @question.overwrite
         | 
| 823 | 
            -
                      @output.print("\r#{ | 
| 823 | 
            +
                      @output.print("\r#{HighLine.Style('erase_line').code}")
         | 
| 824 824 | 
             
                      @output.flush
         | 
| 825 825 | 
             
                    else
         | 
| 826 826 | 
             
                      say("\n")
         | 
| @@ -833,7 +833,7 @@ class HighLine | |
| 833 833 | 
             
                else
         | 
| 834 834 | 
             
                  response = get_character(@input).chr
         | 
| 835 835 | 
             
                  if @question.overwrite
         | 
| 836 | 
            -
                    @output.print("\r#{ | 
| 836 | 
            +
                    @output.print("\r#{HighLine.Style('erase_line').code}")
         | 
| 837 837 | 
             
                    @output.flush
         | 
| 838 838 | 
             
                  else
         | 
| 839 839 | 
             
                    echo = if @question.echo == true
         | 
    
        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. | 
| 4 | 
            +
              version: 1.6.6
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2011-11- | 
| 12 | 
            +
            date: 2011-11-14 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies: []
         | 
| 14 14 | 
             
            description: ! 'A high-level IO library that provides validation, type conversion,
         | 
| 15 15 | 
             
              and more for
         |