tty-prompt 0.19.0 → 0.23.1

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.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +485 -233
  5. data/lib/tty-prompt.rb +1 -2
  6. data/lib/tty/prompt.rb +159 -147
  7. data/lib/tty/prompt/answers_collector.rb +5 -5
  8. data/lib/tty/prompt/block_paginator.rb +1 -1
  9. data/lib/tty/prompt/choice.rb +31 -13
  10. data/lib/tty/prompt/choices.rb +30 -12
  11. data/lib/tty/prompt/confirm_question.rb +42 -16
  12. data/lib/tty/prompt/const.rb +17 -0
  13. data/lib/tty/prompt/converter_dsl.rb +6 -7
  14. data/lib/tty/prompt/converter_registry.rb +31 -26
  15. data/lib/tty/prompt/converters.rb +139 -32
  16. data/lib/tty/prompt/enum_list.rb +58 -25
  17. data/lib/tty/prompt/errors.rb +31 -0
  18. data/lib/tty/prompt/evaluator.rb +2 -2
  19. data/lib/tty/prompt/expander.rb +27 -15
  20. data/lib/tty/prompt/keypress.rb +5 -3
  21. data/lib/tty/prompt/list.rb +101 -38
  22. data/lib/tty/prompt/mask_question.rb +9 -5
  23. data/lib/tty/prompt/multi_list.rb +108 -29
  24. data/lib/tty/prompt/multiline.rb +9 -7
  25. data/lib/tty/prompt/paginator.rb +1 -1
  26. data/lib/tty/prompt/question.rb +67 -36
  27. data/lib/tty/prompt/question/checks.rb +20 -2
  28. data/lib/tty/prompt/question/modifier.rb +4 -2
  29. data/lib/tty/prompt/question/validation.rb +3 -3
  30. data/lib/tty/prompt/selected_choices.rb +77 -0
  31. data/lib/tty/prompt/slider.rb +110 -23
  32. data/lib/tty/prompt/statement.rb +3 -3
  33. data/lib/tty/prompt/suggestion.rb +7 -6
  34. data/lib/tty/prompt/symbols.rb +58 -58
  35. data/lib/tty/prompt/test.rb +36 -0
  36. data/lib/tty/prompt/utils.rb +1 -3
  37. data/lib/tty/prompt/version.rb +1 -1
  38. metadata +27 -196
  39. data/Rakefile +0 -8
  40. data/examples/ask.rb +0 -7
  41. data/examples/ask_blank.rb +0 -9
  42. data/examples/ask_valid.rb +0 -12
  43. data/examples/collect.rb +0 -21
  44. data/examples/echo.rb +0 -11
  45. data/examples/enum_select.rb +0 -7
  46. data/examples/enum_select_disabled.rb +0 -16
  47. data/examples/enum_select_paged.rb +0 -9
  48. data/examples/enum_select_wrapped.rb +0 -15
  49. data/examples/expand.rb +0 -29
  50. data/examples/expand_auto.rb +0 -29
  51. data/examples/in.rb +0 -9
  52. data/examples/inputs.rb +0 -10
  53. data/examples/key_events.rb +0 -15
  54. data/examples/keypress.rb +0 -9
  55. data/examples/mask.rb +0 -13
  56. data/examples/multi_select.rb +0 -8
  57. data/examples/multi_select_disabled.rb +0 -17
  58. data/examples/multi_select_disabled_paged.rb +0 -22
  59. data/examples/multi_select_paged.rb +0 -9
  60. data/examples/multi_select_wrapped.rb +0 -15
  61. data/examples/multiline.rb +0 -9
  62. data/examples/pause.rb +0 -9
  63. data/examples/select.rb +0 -24
  64. data/examples/select_disabled.rb +0 -18
  65. data/examples/select_disabled_paged.rb +0 -22
  66. data/examples/select_enum.rb +0 -8
  67. data/examples/select_filtered.rb +0 -11
  68. data/examples/select_paginated.rb +0 -11
  69. data/examples/select_wrapped.rb +0 -15
  70. data/examples/slider.rb +0 -6
  71. data/examples/validation.rb +0 -9
  72. data/examples/yes_no.rb +0 -7
  73. data/lib/tty/prompt/messages.rb +0 -49
  74. data/lib/tty/test_prompt.rb +0 -20
  75. data/spec/spec_helper.rb +0 -61
  76. data/spec/unit/ask_spec.rb +0 -173
  77. data/spec/unit/block_paginator_spec.rb +0 -84
  78. data/spec/unit/choice/eql_spec.rb +0 -22
  79. data/spec/unit/choice/from_spec.rb +0 -112
  80. data/spec/unit/choices/add_spec.rb +0 -12
  81. data/spec/unit/choices/each_spec.rb +0 -13
  82. data/spec/unit/choices/find_by_spec.rb +0 -10
  83. data/spec/unit/choices/new_spec.rb +0 -10
  84. data/spec/unit/choices/pluck_spec.rb +0 -9
  85. data/spec/unit/collect_spec.rb +0 -96
  86. data/spec/unit/converters/convert_bool_spec.rb +0 -58
  87. data/spec/unit/converters/convert_char_spec.rb +0 -11
  88. data/spec/unit/converters/convert_custom_spec.rb +0 -14
  89. data/spec/unit/converters/convert_date_spec.rb +0 -34
  90. data/spec/unit/converters/convert_file_spec.rb +0 -18
  91. data/spec/unit/converters/convert_number_spec.rb +0 -39
  92. data/spec/unit/converters/convert_path_spec.rb +0 -15
  93. data/spec/unit/converters/convert_range_spec.rb +0 -22
  94. data/spec/unit/converters/convert_regex_spec.rb +0 -12
  95. data/spec/unit/converters/convert_string_spec.rb +0 -21
  96. data/spec/unit/converters/on_error_spec.rb +0 -9
  97. data/spec/unit/distance/distance_spec.rb +0 -73
  98. data/spec/unit/enum_select_spec.rb +0 -518
  99. data/spec/unit/error_spec.rb +0 -20
  100. data/spec/unit/evaluator_spec.rb +0 -67
  101. data/spec/unit/expand_spec.rb +0 -290
  102. data/spec/unit/keypress_spec.rb +0 -66
  103. data/spec/unit/mask_spec.rb +0 -140
  104. data/spec/unit/multi_select_spec.rb +0 -741
  105. data/spec/unit/multiline_spec.rb +0 -77
  106. data/spec/unit/new_spec.rb +0 -20
  107. data/spec/unit/ok_spec.rb +0 -10
  108. data/spec/unit/paginator_spec.rb +0 -92
  109. data/spec/unit/question/checks_spec.rb +0 -97
  110. data/spec/unit/question/default_spec.rb +0 -31
  111. data/spec/unit/question/echo_spec.rb +0 -38
  112. data/spec/unit/question/in_spec.rb +0 -115
  113. data/spec/unit/question/initialize_spec.rb +0 -12
  114. data/spec/unit/question/modifier/apply_to_spec.rb +0 -24
  115. data/spec/unit/question/modifier/letter_case_spec.rb +0 -41
  116. data/spec/unit/question/modifier/whitespace_spec.rb +0 -51
  117. data/spec/unit/question/modify_spec.rb +0 -41
  118. data/spec/unit/question/required_spec.rb +0 -92
  119. data/spec/unit/question/validate_spec.rb +0 -115
  120. data/spec/unit/question/validation/call_spec.rb +0 -31
  121. data/spec/unit/question/validation/coerce_spec.rb +0 -30
  122. data/spec/unit/result_spec.rb +0 -40
  123. data/spec/unit/say_spec.rb +0 -67
  124. data/spec/unit/select_spec.rb +0 -942
  125. data/spec/unit/slider_spec.rb +0 -142
  126. data/spec/unit/statement/initialize_spec.rb +0 -15
  127. data/spec/unit/subscribe_spec.rb +0 -22
  128. data/spec/unit/suggest_spec.rb +0 -28
  129. data/spec/unit/timer_spec.rb +0 -29
  130. data/spec/unit/warn_spec.rb +0 -21
  131. data/spec/unit/yes_no_spec.rb +0 -251
  132. data/tasks/console.rake +0 -11
  133. data/tasks/coverage.rake +0 -11
  134. data/tasks/spec.rake +0 -29
  135. data/tty-prompt.gemspec +0 -31
@@ -7,67 +7,67 @@ module TTY
7
7
  # @api public
8
8
  module Symbols
9
9
  KEYS = {
10
- tick: '',
11
- cross: '',
12
- star: '',
13
- square: '',
14
- square_empty: '',
15
- dot: '',
16
- bullet: '',
17
- bullet_empty: '',
18
- marker: '',
19
- line: '',
20
- pipe: '|',
21
- ellipsis: '',
22
- radio_on: '',
23
- radio_off: '',
24
- checkbox_on: '',
25
- checkbox_off: '',
26
- circle: '',
27
- circle_on: '',
28
- circle_off: '',
29
- arrow_up: '',
30
- arrow_down: '',
31
- arrow_up_down: '',
32
- arrow_left: '',
33
- arrow_right: '',
34
- arrow_left_right: '',
35
- heart: '',
36
- diamond: '',
37
- club: '',
38
- spade: ''
10
+ tick: "",
11
+ cross: "",
12
+ star: "",
13
+ square: "",
14
+ square_empty: "",
15
+ dot: "",
16
+ bullet: "",
17
+ bullet_empty: "",
18
+ marker: "",
19
+ line: "",
20
+ pipe: "|",
21
+ ellipsis: "",
22
+ radio_on: "",
23
+ radio_off: "",
24
+ checkbox_on: "",
25
+ checkbox_off: "",
26
+ circle: "",
27
+ circle_on: "",
28
+ circle_off: "",
29
+ arrow_up: "",
30
+ arrow_down: "",
31
+ arrow_up_down: "",
32
+ arrow_left: "",
33
+ arrow_right: "",
34
+ arrow_left_right: "",
35
+ heart: "",
36
+ diamond: "",
37
+ club: "",
38
+ spade: ""
39
39
  }.freeze
40
40
 
41
41
  WIN_KEYS = {
42
- tick: '',
43
- cross: 'x',
44
- star: '*',
45
- square: '[█]',
46
- square_empty: '[ ]',
47
- dot: '.',
48
- bullet: 'O',
49
- bullet_empty: '',
50
- marker: '>',
51
- line: '-',
52
- pipe: '|',
53
- ellipsis: '...',
54
- radio_on: '(*)',
55
- radio_off: '( )',
56
- checkbox_on: '[×]',
57
- checkbox_off: '[ ]',
58
- circle: '( )',
59
- circle_on: '(x)',
60
- circle_off: '( )',
61
- arrow_up: '',
62
- arrow_down: '',
63
- arrow_up_down: '',
64
- arrow_left: '',
65
- arrow_right: '',
66
- arrow_left_right: '',
67
- heart: '',
68
- diamond: '',
69
- club: '',
70
- spade: ''
42
+ tick: "",
43
+ cross: "x",
44
+ star: "*",
45
+ square: "[█]",
46
+ square_empty: "[ ]",
47
+ dot: ".",
48
+ bullet: "O",
49
+ bullet_empty: "",
50
+ marker: ">",
51
+ line: "-",
52
+ pipe: "|",
53
+ ellipsis: "...",
54
+ radio_on: "(*)",
55
+ radio_off: "( )",
56
+ checkbox_on: "[×]",
57
+ checkbox_off: "[ ]",
58
+ circle: "( )",
59
+ circle_on: "(x)",
60
+ circle_off: "( )",
61
+ arrow_up: "",
62
+ arrow_down: "",
63
+ arrow_up_down: "",
64
+ arrow_left: "",
65
+ arrow_right: "",
66
+ arrow_left_right: "",
67
+ heart: "",
68
+ diamond: "",
69
+ club: "",
70
+ spade: ""
71
71
  }.freeze
72
72
 
73
73
  def symbols
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "stringio"
4
+
5
+ require_relative "../prompt"
6
+
7
+ module TTY
8
+ # Used for initializing test cases
9
+ class Prompt
10
+ module StringIOExtensions
11
+ def wait_readable(*)
12
+ true
13
+ end
14
+
15
+ def ioctl(*)
16
+ 80
17
+ end
18
+ end
19
+
20
+ class Test < TTY::Prompt
21
+ def initialize(**options)
22
+ @input = StringIO.new
23
+ @input.extend(StringIOExtensions)
24
+ @output = StringIO.new
25
+
26
+ options.merge!({
27
+ input: @input,
28
+ output: @output,
29
+ env: { "TTY_TEST" => true },
30
+ enable_color: options.fetch(:enable_color, true)
31
+ })
32
+ super(**options)
33
+ end
34
+ end # Test
35
+ end # Prompt
36
+ end # TTY
@@ -29,9 +29,7 @@ module TTY
29
29
  #
30
30
  # @api public
31
31
  def blank?(value)
32
- value.nil? ||
33
- value.respond_to?(:empty?) && value.empty? ||
34
- BLANK_REGEX === value
32
+ value.nil? || BLANK_REGEX === value
35
33
  end
36
34
 
37
35
  # Deep copy object
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  class Prompt
5
- VERSION = '0.19.0'
5
+ VERSION = "0.23.1"
6
6
  end # Prompt
7
7
  end # TTY
metadata CHANGED
@@ -1,71 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-prompt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-27 00:00:00.000000000 Z
11
+ date: 2021-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: necromancer
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.5.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.5.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: pastel
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: 0.7.0
19
+ version: '0.8'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: 0.7.0
26
+ version: '0.8'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: tty-reader
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 0.6.0
33
+ version: '0.8'
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 0.6.0
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: 1.5.0
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: 1.5.0
40
+ version: '0.8'
69
41
  - !ruby/object:Gem::Dependency
70
42
  name: rake
71
43
  requirement: !ruby/object:Gem::Requirement
@@ -84,61 +56,30 @@ dependencies:
84
56
  name: rspec
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
- - - "~>"
59
+ - - ">="
88
60
  - !ruby/object:Gem::Version
89
61
  version: '3.0'
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
- - - "~>"
66
+ - - ">="
95
67
  - !ruby/object:Gem::Version
96
68
  version: '3.0'
97
69
  description: A beautiful and powerful interactive command line prompt with a robust
98
70
  API for getting and validating complex inputs.
99
71
  email:
100
- - me@piotrmurach.com
72
+ - piotr@piotrmurach.com
101
73
  executables: []
102
74
  extensions: []
103
- extra_rdoc_files: []
75
+ extra_rdoc_files:
76
+ - README.md
77
+ - CHANGELOG.md
78
+ - LICENSE.txt
104
79
  files:
105
80
  - CHANGELOG.md
106
81
  - LICENSE.txt
107
82
  - README.md
108
- - Rakefile
109
- - examples/ask.rb
110
- - examples/ask_blank.rb
111
- - examples/ask_valid.rb
112
- - examples/collect.rb
113
- - examples/echo.rb
114
- - examples/enum_select.rb
115
- - examples/enum_select_disabled.rb
116
- - examples/enum_select_paged.rb
117
- - examples/enum_select_wrapped.rb
118
- - examples/expand.rb
119
- - examples/expand_auto.rb
120
- - examples/in.rb
121
- - examples/inputs.rb
122
- - examples/key_events.rb
123
- - examples/keypress.rb
124
- - examples/mask.rb
125
- - examples/multi_select.rb
126
- - examples/multi_select_disabled.rb
127
- - examples/multi_select_disabled_paged.rb
128
- - examples/multi_select_paged.rb
129
- - examples/multi_select_wrapped.rb
130
- - examples/multiline.rb
131
- - examples/pause.rb
132
- - examples/select.rb
133
- - examples/select_disabled.rb
134
- - examples/select_disabled_paged.rb
135
- - examples/select_enum.rb
136
- - examples/select_filtered.rb
137
- - examples/select_paginated.rb
138
- - examples/select_wrapped.rb
139
- - examples/slider.rb
140
- - examples/validation.rb
141
- - examples/yes_no.rb
142
83
  - lib/tty-prompt.rb
143
84
  - lib/tty/prompt.rb
144
85
  - lib/tty/prompt/answers_collector.rb
@@ -146,17 +87,18 @@ files:
146
87
  - lib/tty/prompt/choice.rb
147
88
  - lib/tty/prompt/choices.rb
148
89
  - lib/tty/prompt/confirm_question.rb
90
+ - lib/tty/prompt/const.rb
149
91
  - lib/tty/prompt/converter_dsl.rb
150
92
  - lib/tty/prompt/converter_registry.rb
151
93
  - lib/tty/prompt/converters.rb
152
94
  - lib/tty/prompt/distance.rb
153
95
  - lib/tty/prompt/enum_list.rb
96
+ - lib/tty/prompt/errors.rb
154
97
  - lib/tty/prompt/evaluator.rb
155
98
  - lib/tty/prompt/expander.rb
156
99
  - lib/tty/prompt/keypress.rb
157
100
  - lib/tty/prompt/list.rb
158
101
  - lib/tty/prompt/mask_question.rb
159
- - lib/tty/prompt/messages.rb
160
102
  - lib/tty/prompt/multi_list.rb
161
103
  - lib/tty/prompt/multiline.rb
162
104
  - lib/tty/prompt/paginator.rb
@@ -165,79 +107,25 @@ files:
165
107
  - lib/tty/prompt/question/modifier.rb
166
108
  - lib/tty/prompt/question/validation.rb
167
109
  - lib/tty/prompt/result.rb
110
+ - lib/tty/prompt/selected_choices.rb
168
111
  - lib/tty/prompt/slider.rb
169
112
  - lib/tty/prompt/statement.rb
170
113
  - lib/tty/prompt/suggestion.rb
171
114
  - lib/tty/prompt/symbols.rb
115
+ - lib/tty/prompt/test.rb
172
116
  - lib/tty/prompt/timer.rb
173
117
  - lib/tty/prompt/utils.rb
174
118
  - lib/tty/prompt/version.rb
175
- - lib/tty/test_prompt.rb
176
- - spec/spec_helper.rb
177
- - spec/unit/ask_spec.rb
178
- - spec/unit/block_paginator_spec.rb
179
- - spec/unit/choice/eql_spec.rb
180
- - spec/unit/choice/from_spec.rb
181
- - spec/unit/choices/add_spec.rb
182
- - spec/unit/choices/each_spec.rb
183
- - spec/unit/choices/find_by_spec.rb
184
- - spec/unit/choices/new_spec.rb
185
- - spec/unit/choices/pluck_spec.rb
186
- - spec/unit/collect_spec.rb
187
- - spec/unit/converters/convert_bool_spec.rb
188
- - spec/unit/converters/convert_char_spec.rb
189
- - spec/unit/converters/convert_custom_spec.rb
190
- - spec/unit/converters/convert_date_spec.rb
191
- - spec/unit/converters/convert_file_spec.rb
192
- - spec/unit/converters/convert_number_spec.rb
193
- - spec/unit/converters/convert_path_spec.rb
194
- - spec/unit/converters/convert_range_spec.rb
195
- - spec/unit/converters/convert_regex_spec.rb
196
- - spec/unit/converters/convert_string_spec.rb
197
- - spec/unit/converters/on_error_spec.rb
198
- - spec/unit/distance/distance_spec.rb
199
- - spec/unit/enum_select_spec.rb
200
- - spec/unit/error_spec.rb
201
- - spec/unit/evaluator_spec.rb
202
- - spec/unit/expand_spec.rb
203
- - spec/unit/keypress_spec.rb
204
- - spec/unit/mask_spec.rb
205
- - spec/unit/multi_select_spec.rb
206
- - spec/unit/multiline_spec.rb
207
- - spec/unit/new_spec.rb
208
- - spec/unit/ok_spec.rb
209
- - spec/unit/paginator_spec.rb
210
- - spec/unit/question/checks_spec.rb
211
- - spec/unit/question/default_spec.rb
212
- - spec/unit/question/echo_spec.rb
213
- - spec/unit/question/in_spec.rb
214
- - spec/unit/question/initialize_spec.rb
215
- - spec/unit/question/modifier/apply_to_spec.rb
216
- - spec/unit/question/modifier/letter_case_spec.rb
217
- - spec/unit/question/modifier/whitespace_spec.rb
218
- - spec/unit/question/modify_spec.rb
219
- - spec/unit/question/required_spec.rb
220
- - spec/unit/question/validate_spec.rb
221
- - spec/unit/question/validation/call_spec.rb
222
- - spec/unit/question/validation/coerce_spec.rb
223
- - spec/unit/result_spec.rb
224
- - spec/unit/say_spec.rb
225
- - spec/unit/select_spec.rb
226
- - spec/unit/slider_spec.rb
227
- - spec/unit/statement/initialize_spec.rb
228
- - spec/unit/subscribe_spec.rb
229
- - spec/unit/suggest_spec.rb
230
- - spec/unit/timer_spec.rb
231
- - spec/unit/warn_spec.rb
232
- - spec/unit/yes_no_spec.rb
233
- - tasks/console.rake
234
- - tasks/coverage.rake
235
- - tasks/spec.rake
236
- - tty-prompt.gemspec
237
- homepage: https://piotrmurach.github.io/tty
119
+ homepage: https://ttytoolkit.org
238
120
  licenses:
239
121
  - MIT
240
- metadata: {}
122
+ metadata:
123
+ allowed_push_host: https://rubygems.org
124
+ bug_tracker_uri: https://github.com/piotrmurach/tty-prompt/issues
125
+ changelog_uri: https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md
126
+ documentation_uri: https://www.rubydoc.info/gems/tty-prompt
127
+ homepage_uri: https://ttytoolkit.org
128
+ source_code_uri: https://github.com/piotrmurach/tty-prompt
241
129
  post_install_message:
242
130
  rdoc_options: []
243
131
  require_paths:
@@ -253,65 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
141
  - !ruby/object:Gem::Version
254
142
  version: '0'
255
143
  requirements: []
256
- rubygems_version: 3.0.3
144
+ rubygems_version: 3.1.2
257
145
  signing_key:
258
146
  specification_version: 4
259
147
  summary: A beautiful and powerful interactive command line prompt.
260
- test_files:
261
- - spec/spec_helper.rb
262
- - spec/unit/ask_spec.rb
263
- - spec/unit/block_paginator_spec.rb
264
- - spec/unit/choice/eql_spec.rb
265
- - spec/unit/choice/from_spec.rb
266
- - spec/unit/choices/add_spec.rb
267
- - spec/unit/choices/each_spec.rb
268
- - spec/unit/choices/find_by_spec.rb
269
- - spec/unit/choices/new_spec.rb
270
- - spec/unit/choices/pluck_spec.rb
271
- - spec/unit/collect_spec.rb
272
- - spec/unit/converters/convert_bool_spec.rb
273
- - spec/unit/converters/convert_char_spec.rb
274
- - spec/unit/converters/convert_custom_spec.rb
275
- - spec/unit/converters/convert_date_spec.rb
276
- - spec/unit/converters/convert_file_spec.rb
277
- - spec/unit/converters/convert_number_spec.rb
278
- - spec/unit/converters/convert_path_spec.rb
279
- - spec/unit/converters/convert_range_spec.rb
280
- - spec/unit/converters/convert_regex_spec.rb
281
- - spec/unit/converters/convert_string_spec.rb
282
- - spec/unit/converters/on_error_spec.rb
283
- - spec/unit/distance/distance_spec.rb
284
- - spec/unit/enum_select_spec.rb
285
- - spec/unit/error_spec.rb
286
- - spec/unit/evaluator_spec.rb
287
- - spec/unit/expand_spec.rb
288
- - spec/unit/keypress_spec.rb
289
- - spec/unit/mask_spec.rb
290
- - spec/unit/multi_select_spec.rb
291
- - spec/unit/multiline_spec.rb
292
- - spec/unit/new_spec.rb
293
- - spec/unit/ok_spec.rb
294
- - spec/unit/paginator_spec.rb
295
- - spec/unit/question/checks_spec.rb
296
- - spec/unit/question/default_spec.rb
297
- - spec/unit/question/echo_spec.rb
298
- - spec/unit/question/in_spec.rb
299
- - spec/unit/question/initialize_spec.rb
300
- - spec/unit/question/modifier/apply_to_spec.rb
301
- - spec/unit/question/modifier/letter_case_spec.rb
302
- - spec/unit/question/modifier/whitespace_spec.rb
303
- - spec/unit/question/modify_spec.rb
304
- - spec/unit/question/required_spec.rb
305
- - spec/unit/question/validate_spec.rb
306
- - spec/unit/question/validation/call_spec.rb
307
- - spec/unit/question/validation/coerce_spec.rb
308
- - spec/unit/result_spec.rb
309
- - spec/unit/say_spec.rb
310
- - spec/unit/select_spec.rb
311
- - spec/unit/slider_spec.rb
312
- - spec/unit/statement/initialize_spec.rb
313
- - spec/unit/subscribe_spec.rb
314
- - spec/unit/suggest_spec.rb
315
- - spec/unit/timer_spec.rb
316
- - spec/unit/warn_spec.rb
317
- - spec/unit/yes_no_spec.rb
148
+ test_files: []