ansi-select 0.2.2 → 0.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e13d49ad9fbd68444bd57285be4ccf3f5e1f49ee
4
- data.tar.gz: 19fcdc33f820048defbf9e5c0bb0dfc91f8c0e27
3
+ metadata.gz: 58781cb6a3547007b0393b85fd16529ecdf27bc2
4
+ data.tar.gz: 4a02d0117df598572ef704527283102f6396b40f
5
5
  SHA512:
6
- metadata.gz: d529cbf8212e712a8b6cbf143e4ed871ee522068fb241a24e6e62bdb1c964263d1e86908dd09a955843a0708d5edd1761e950dc8a51957f9312227be435946cf
7
- data.tar.gz: 06b4b56d99357bdaabb9d3abb3c26cfb666276aa8f0a34ab0c6c63a790bee6317fca537c219afcba35248b98def8ef62039a7e32fa48ec5e5a99ef4867744757
6
+ metadata.gz: 0b8655e2789ad87ae8dee69497abe8ef5da20f9dc86df88964c49a7623a5b643e3dc71cab22232c53292bde4201a348fddbb735de1e13300668d616350208c8e
7
+ data.tar.gz: 17a68928b7f109864bf39e9caa7c492fc8007a37410fe499d375d065d41da92b1632d66d2b8b3cf7bef5a294bd153ef4b997f8a84b5065874cd71c56705db98e
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.2.2
1
+ ### 0.2.3
2
2
 
3
3
  * Ability to pass a custom formatter.
4
4
 
@@ -90,9 +90,9 @@ module Ansi
90
90
  go_to_line(index)
91
91
 
92
92
  if highlight
93
- tty.print(CODES[:standout_mode] + prefix(index) + formatter.call(@options[index]) + CODES[:exit_standout_mode])
93
+ tty.print(CODES[:standout_mode] + prefix(index) + @formatter.call(@options[index]) + CODES[:exit_standout_mode])
94
94
  else
95
- tty.print(prefix(index) + formatter.call(@options[index]))
95
+ tty.print(prefix(index) + @formatter.call(@options[index]))
96
96
  end
97
97
  end
98
98
 
@@ -1,5 +1,5 @@
1
1
  module Ansi
2
2
  class Selector
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansi-select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodymyr Shatskyi