tty-prompt 0.20.0 → 0.21.0

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 (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +29 -4
  4. data/lib/tty/prompt.rb +3 -3
  5. data/lib/tty/prompt/multi_list.rb +33 -10
  6. data/lib/tty/prompt/version.rb +1 -1
  7. metadata +11 -175
  8. data/Rakefile +0 -8
  9. data/examples/ask.rb +0 -7
  10. data/examples/ask_blank.rb +0 -9
  11. data/examples/ask_multiline.rb +0 -7
  12. data/examples/ask_valid.rb +0 -12
  13. data/examples/collect.rb +0 -21
  14. data/examples/echo.rb +0 -11
  15. data/examples/enum_select.rb +0 -7
  16. data/examples/enum_select_disabled.rb +0 -16
  17. data/examples/enum_select_paged.rb +0 -9
  18. data/examples/enum_select_wrapped.rb +0 -15
  19. data/examples/expand.rb +0 -29
  20. data/examples/expand_auto.rb +0 -29
  21. data/examples/in.rb +0 -9
  22. data/examples/inputs.rb +0 -10
  23. data/examples/key_events.rb +0 -15
  24. data/examples/keypress.rb +0 -9
  25. data/examples/mask.rb +0 -13
  26. data/examples/multi_select.rb +0 -8
  27. data/examples/multi_select_disabled.rb +0 -17
  28. data/examples/multi_select_disabled_paged.rb +0 -22
  29. data/examples/multi_select_paged.rb +0 -9
  30. data/examples/multi_select_wrapped.rb +0 -15
  31. data/examples/multiline.rb +0 -9
  32. data/examples/pause.rb +0 -9
  33. data/examples/select.rb +0 -24
  34. data/examples/select_disabled.rb +0 -18
  35. data/examples/select_disabled_paged.rb +0 -22
  36. data/examples/select_enum.rb +0 -8
  37. data/examples/select_filtered.rb +0 -11
  38. data/examples/select_paginated.rb +0 -11
  39. data/examples/select_wrapped.rb +0 -15
  40. data/examples/slider.rb +0 -6
  41. data/examples/validation.rb +0 -9
  42. data/examples/yes_no.rb +0 -7
  43. data/spec/spec_helper.rb +0 -61
  44. data/spec/unit/ask_spec.rb +0 -173
  45. data/spec/unit/block_paginator_spec.rb +0 -84
  46. data/spec/unit/choice/eql_spec.rb +0 -22
  47. data/spec/unit/choice/from_spec.rb +0 -130
  48. data/spec/unit/choices/add_spec.rb +0 -12
  49. data/spec/unit/choices/each_spec.rb +0 -13
  50. data/spec/unit/choices/find_by_spec.rb +0 -10
  51. data/spec/unit/choices/new_spec.rb +0 -10
  52. data/spec/unit/choices/pluck_spec.rb +0 -9
  53. data/spec/unit/collect_spec.rb +0 -96
  54. data/spec/unit/converters/convert_bool_spec.rb +0 -58
  55. data/spec/unit/converters/convert_char_spec.rb +0 -11
  56. data/spec/unit/converters/convert_custom_spec.rb +0 -14
  57. data/spec/unit/converters/convert_date_spec.rb +0 -34
  58. data/spec/unit/converters/convert_file_spec.rb +0 -18
  59. data/spec/unit/converters/convert_number_spec.rb +0 -39
  60. data/spec/unit/converters/convert_path_spec.rb +0 -15
  61. data/spec/unit/converters/convert_range_spec.rb +0 -22
  62. data/spec/unit/converters/convert_regex_spec.rb +0 -12
  63. data/spec/unit/converters/convert_string_spec.rb +0 -21
  64. data/spec/unit/converters/on_error_spec.rb +0 -9
  65. data/spec/unit/distance/distance_spec.rb +0 -73
  66. data/spec/unit/enum_select_spec.rb +0 -518
  67. data/spec/unit/error_spec.rb +0 -20
  68. data/spec/unit/evaluator_spec.rb +0 -67
  69. data/spec/unit/expand_spec.rb +0 -290
  70. data/spec/unit/keypress_spec.rb +0 -66
  71. data/spec/unit/mask_spec.rb +0 -140
  72. data/spec/unit/multi_select_spec.rb +0 -741
  73. data/spec/unit/multiline_spec.rb +0 -77
  74. data/spec/unit/new_spec.rb +0 -20
  75. data/spec/unit/ok_spec.rb +0 -10
  76. data/spec/unit/paginator_spec.rb +0 -92
  77. data/spec/unit/question/checks_spec.rb +0 -97
  78. data/spec/unit/question/default_spec.rb +0 -31
  79. data/spec/unit/question/echo_spec.rb +0 -38
  80. data/spec/unit/question/in_spec.rb +0 -115
  81. data/spec/unit/question/initialize_spec.rb +0 -12
  82. data/spec/unit/question/modifier/apply_to_spec.rb +0 -24
  83. data/spec/unit/question/modifier/letter_case_spec.rb +0 -41
  84. data/spec/unit/question/modifier/whitespace_spec.rb +0 -51
  85. data/spec/unit/question/modify_spec.rb +0 -41
  86. data/spec/unit/question/required_spec.rb +0 -92
  87. data/spec/unit/question/validate_spec.rb +0 -115
  88. data/spec/unit/question/validation/call_spec.rb +0 -31
  89. data/spec/unit/question/validation/coerce_spec.rb +0 -30
  90. data/spec/unit/result_spec.rb +0 -40
  91. data/spec/unit/say_spec.rb +0 -67
  92. data/spec/unit/select_spec.rb +0 -942
  93. data/spec/unit/slider_spec.rb +0 -142
  94. data/spec/unit/statement/initialize_spec.rb +0 -15
  95. data/spec/unit/subscribe_spec.rb +0 -22
  96. data/spec/unit/suggest_spec.rb +0 -28
  97. data/spec/unit/timer_spec.rb +0 -29
  98. data/spec/unit/warn_spec.rb +0 -21
  99. data/spec/unit/yes_no_spec.rb +0 -285
  100. data/tasks/console.rake +0 -11
  101. data/tasks/coverage.rake +0 -11
  102. data/tasks/spec.rake +0 -29
  103. data/tty-prompt.gemspec +0 -40
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c931430d3e829a2006e67517b24605d5761d401ab04824e6c1c26f33dee2253a
4
- data.tar.gz: b5a4b0bbe4ffe080719074bca1d9ef59f6c55490a3b1832aa8bfa3c7f045ab0f
3
+ metadata.gz: 74225735a9da1052c456e05e3af0b2da9868d99d745d11a7ef98417defdfc3d2
4
+ data.tar.gz: dd098e1da93e3a6650bdeebdf08d48b2f14aaf2a0482f31fa6a41b1ee6aea564
5
5
  SHA512:
6
- metadata.gz: c2daf65290416154a3734d22a08b3e3d93b518c963f5b735282835dd362ff6380c81cf0d1c5822d207eb3ff3b2717f3633fb82ab9941f0854849b893b775bc24
7
- data.tar.gz: 1aaeb2c66b87133c54d353a305d3798629f5b953ac4dd09971a3789f0647d97dec2dd4ae811d4dc7f4e07775eef9e1803aeb80e6829a8a8b40d3d9f32fabf1ab
6
+ metadata.gz: cf8f62a0aee96c25f19d577df3f96750e70b7e69b773976c649c1798d4ce18e79e97bf4ac8071cdd9765ead0af3bbec968061df7257a42a9a4398281b0b47962
7
+ data.tar.gz: a370177d6b67c1c35c4d7cd3fea678394f94641d7be154fc472b2b174bdc1bd6b042941a235cdcddabd111b71ebcec934b832368cbef22f20b428a41e643a27c
@@ -1,5 +1,16 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.21.0] - 2019-03-08
4
+
5
+ ### Added
6
+ * Add :min option to #multi_select prompt by Katelyn Schiesser(@slowbro)
7
+
8
+ ### Changed
9
+ * Change gemspec to remove test artifacts
10
+
11
+ ### Fixed
12
+ * Fix :help_color option for multi_selct prompt by @robbystk
13
+
3
14
  ## [v0.20.0] - 2019-11-24
4
15
 
5
16
  ### Changed
data/README.md CHANGED
@@ -88,7 +88,8 @@ Or install it yourself as:
88
88
  * [2.6.3.1 :disabled](#2631-disabled)
89
89
  * [2.6.3.2 :echo](#2632-echo)
90
90
  * [2.6.3.3 :filter](#2633-filter)
91
- * [2.6.3.4 :max](#2634-max)
91
+ * [2.6.3.4 :min](#2634-min)
92
+ * [2.6.3.5 :max](#2635-max)
92
93
  * [2.6.4 enum_select](#264-enum_select)
93
94
  * [2.6.4.1 :per_page](#2641-per_page)
94
95
  * [2.6.4.1 :disabled](#2641-disabled)
@@ -357,8 +358,10 @@ Available letter casing settings are:
357
358
  ```
358
359
 
359
360
  Available whitespace settings are:
361
+
360
362
  ```ruby
361
363
  :trim # remove whitespace from both ends of the input
364
+ :strip # same as :trim
362
365
  :chomp # remove whitespace at the end of input
363
366
  :collapse # reduce all whitespace to single character
364
367
  :remove # remove all whitespace
@@ -384,6 +387,12 @@ prompt.ask('What is your username?') do |q|
384
387
  end
385
388
  ```
386
389
 
390
+ ```ruby
391
+ prompt.ask('What is your username?') do |q|
392
+ q.validate { |input| input =~ /^[^\.]+\.[^\.]+/ }
393
+ end
394
+ ```
395
+
387
396
  The **TTY::Prompt** comes with built-in validations for `:email` and you can use them directly like so:
388
397
 
389
398
  ```ruby
@@ -663,7 +672,7 @@ end
663
672
  # ‣ Jax
664
673
  ```
665
674
 
666
- You can navigate the choices using the arrow keys or define your own key mappings (see [keyboard events](#212-keyboard-events). When reaching the top/bottom of the list, the selection does not cycle around by default. If you wish to enable cycling, you can pass `cycle: true` to `select` and `mutli_select`:
675
+ You can navigate the choices using the arrow keys or define your own key mappings (see [keyboard events](#212-keyboard-events). When reaching the top/bottom of the list, the selection does not cycle around by default. If you wish to enable cycling, you can pass `cycle: true` to `select` and `multi_select`:
667
676
 
668
677
  ```ruby
669
678
  prompt.select("Choose your destiny?", %w(Scorpion Kano Jax), cycle: true)
@@ -996,9 +1005,25 @@ If the user changes or deletes a filter, the choices previously selected remain
996
1005
 
997
1006
  The `filter` option is not compatible with `enum`.
998
1007
 
999
- #### 2.6.3.4 `:max`
1008
+ #### 2.6.3.4 `:min`
1009
+
1010
+ To force the minimum number of choices an user must select, use the `:min` option:
1011
+
1012
+ ```ruby
1013
+ choices = %w(vodka beer wine whisky bourbon)
1014
+ prompt.multi_select("Select drinks?", choices, min: 3)
1015
+ # =>
1016
+ # Select drinks? (min. 3) vodka, beer
1017
+ # ⬢ vodka
1018
+ # ⬢ beer
1019
+ # ⬡ wine
1020
+ # ⬡ wiskey
1021
+ # ‣ ⬡ bourbon
1022
+ ```
1023
+
1024
+ #### 2.6.3.5 `:max`
1000
1025
 
1001
- To limit the number of choices an user can select, use `:max` option:
1026
+ To limit the number of choices an user can select, use the `:max` option:
1002
1027
 
1003
1028
  ```ruby
1004
1029
  choices = %w(vodka beer wine whisky bourbon)
@@ -481,11 +481,11 @@ module TTY
481
481
  longest = messages.max_by(&:length).size
482
482
  width = TTY::Screen.width - longest
483
483
  print cursor.save
484
- messages.each_with_index do |msg, i|
485
- print cursor.move_to(width, i)
486
- print cursor.clear_line_after
484
+ messages.reverse_each.with_index do |msg, i|
485
+ print cursor.column(width) + cursor.up + cursor.clear_line_after
487
486
  print msg
488
487
  end
488
+ ensure
489
489
  print cursor.restore
490
490
  end
491
491
 
@@ -22,9 +22,17 @@ module TTY
22
22
  @selected = []
23
23
  @help = options[:help]
24
24
  @echo = options.fetch(:echo, true)
25
+ @min = options[:min]
25
26
  @max = options[:max]
26
27
  end
27
28
 
29
+ # Set a minimum number of choices
30
+ #
31
+ # @api public
32
+ def min(value)
33
+ @min = value
34
+ end
35
+
28
36
  # Set a maximum number of choices
29
37
  #
30
38
  # @api public
@@ -32,6 +40,18 @@ module TTY
32
40
  @max = value
33
41
  end
34
42
 
43
+ # Callback fired when enter/return key is pressed
44
+ #
45
+ # @api private
46
+ def keyenter(*)
47
+ if @min
48
+ super if @selected.size >= @min
49
+ else
50
+ super
51
+ end
52
+ end
53
+ alias keyreturn keyenter
54
+
35
55
  # Callback fired when space key is pressed
36
56
  #
37
57
  # @api private
@@ -71,34 +91,37 @@ module TTY
71
91
  @selected.map(&:name).join(', ')
72
92
  end
73
93
 
74
- # Header part showing the maximum number of choices
94
+ # Header part showing the minimum/maximum number of choices
75
95
  #
76
96
  # @return [String]
77
97
  #
78
98
  # @api private
79
- def max_help
80
- "(max. #{@max}) "
99
+ def minmax_help
100
+ help = []
101
+ help << "min. #{@min}" if @min
102
+ help << "max. #{@max}" if @max
103
+ "(%s) " % [ help.join(' ') ]
81
104
  end
82
105
 
83
106
  # Render initial help text and then currently selected choices
84
107
  #
85
108
  # @api private
86
109
  def render_header
87
- instructions = @prompt.decorate(help, :bright_black)
88
- max_suffix = @max ? max_help : ""
110
+ instructions = @prompt.decorate(help, @help_color)
111
+ minmax_suffix = @min || @max ? minmax_help : ""
89
112
 
90
113
  if @done && @echo
91
114
  @prompt.decorate(selected_names, @active_color)
92
115
  elsif @selected.size.nonzero? && @echo
93
116
  help_suffix = filterable? && @filter.any? ? " #{filter_help}" : ""
94
- max_suffix + selected_names +
117
+ minmax_suffix + selected_names +
95
118
  (@first_render ? " #{instructions}" : help_suffix)
96
119
  elsif @first_render
97
- max_suffix + instructions
120
+ minmax_suffix + instructions
98
121
  elsif filterable? && @filter.any?
99
- max_suffix + filter_help
100
- elsif @max
101
- max_help
122
+ minmax_suffix + filter_help
123
+ elsif @min || @max
124
+ minmax_help
102
125
  end
103
126
  end
104
127
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  class Prompt
5
- VERSION = '0.20.0'
5
+ VERSION = "0.21.0"
6
6
  end # Prompt
7
7
  end # TTY
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-prompt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
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-11-24 00:00:00.000000000 Z
11
+ date: 2020-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: necromancer
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.7.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
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -97,49 +83,17 @@ dependencies:
97
83
  description: A beautiful and powerful interactive command line prompt with a robust
98
84
  API for getting and validating complex inputs.
99
85
  email:
100
- - me@piotrmurach.com
86
+ - piotr@piotrmurach.com
101
87
  executables: []
102
88
  extensions: []
103
- extra_rdoc_files: []
89
+ extra_rdoc_files:
90
+ - README.md
91
+ - CHANGELOG.md
92
+ - LICENSE.txt
104
93
  files:
105
94
  - CHANGELOG.md
106
95
  - LICENSE.txt
107
96
  - README.md
108
- - Rakefile
109
- - examples/ask.rb
110
- - examples/ask_blank.rb
111
- - examples/ask_multiline.rb
112
- - examples/ask_valid.rb
113
- - examples/collect.rb
114
- - examples/echo.rb
115
- - examples/enum_select.rb
116
- - examples/enum_select_disabled.rb
117
- - examples/enum_select_paged.rb
118
- - examples/enum_select_wrapped.rb
119
- - examples/expand.rb
120
- - examples/expand_auto.rb
121
- - examples/in.rb
122
- - examples/inputs.rb
123
- - examples/key_events.rb
124
- - examples/keypress.rb
125
- - examples/mask.rb
126
- - examples/multi_select.rb
127
- - examples/multi_select_disabled.rb
128
- - examples/multi_select_disabled_paged.rb
129
- - examples/multi_select_paged.rb
130
- - examples/multi_select_wrapped.rb
131
- - examples/multiline.rb
132
- - examples/pause.rb
133
- - examples/select.rb
134
- - examples/select_disabled.rb
135
- - examples/select_disabled_paged.rb
136
- - examples/select_enum.rb
137
- - examples/select_filtered.rb
138
- - examples/select_paginated.rb
139
- - examples/select_wrapped.rb
140
- - examples/slider.rb
141
- - examples/validation.rb
142
- - examples/yes_no.rb
143
97
  - lib/tty-prompt.rb
144
98
  - lib/tty/prompt.rb
145
99
  - lib/tty/prompt/answers_collector.rb
@@ -174,68 +128,7 @@ files:
174
128
  - lib/tty/prompt/utils.rb
175
129
  - lib/tty/prompt/version.rb
176
130
  - lib/tty/test_prompt.rb
177
- - spec/spec_helper.rb
178
- - spec/unit/ask_spec.rb
179
- - spec/unit/block_paginator_spec.rb
180
- - spec/unit/choice/eql_spec.rb
181
- - spec/unit/choice/from_spec.rb
182
- - spec/unit/choices/add_spec.rb
183
- - spec/unit/choices/each_spec.rb
184
- - spec/unit/choices/find_by_spec.rb
185
- - spec/unit/choices/new_spec.rb
186
- - spec/unit/choices/pluck_spec.rb
187
- - spec/unit/collect_spec.rb
188
- - spec/unit/converters/convert_bool_spec.rb
189
- - spec/unit/converters/convert_char_spec.rb
190
- - spec/unit/converters/convert_custom_spec.rb
191
- - spec/unit/converters/convert_date_spec.rb
192
- - spec/unit/converters/convert_file_spec.rb
193
- - spec/unit/converters/convert_number_spec.rb
194
- - spec/unit/converters/convert_path_spec.rb
195
- - spec/unit/converters/convert_range_spec.rb
196
- - spec/unit/converters/convert_regex_spec.rb
197
- - spec/unit/converters/convert_string_spec.rb
198
- - spec/unit/converters/on_error_spec.rb
199
- - spec/unit/distance/distance_spec.rb
200
- - spec/unit/enum_select_spec.rb
201
- - spec/unit/error_spec.rb
202
- - spec/unit/evaluator_spec.rb
203
- - spec/unit/expand_spec.rb
204
- - spec/unit/keypress_spec.rb
205
- - spec/unit/mask_spec.rb
206
- - spec/unit/multi_select_spec.rb
207
- - spec/unit/multiline_spec.rb
208
- - spec/unit/new_spec.rb
209
- - spec/unit/ok_spec.rb
210
- - spec/unit/paginator_spec.rb
211
- - spec/unit/question/checks_spec.rb
212
- - spec/unit/question/default_spec.rb
213
- - spec/unit/question/echo_spec.rb
214
- - spec/unit/question/in_spec.rb
215
- - spec/unit/question/initialize_spec.rb
216
- - spec/unit/question/modifier/apply_to_spec.rb
217
- - spec/unit/question/modifier/letter_case_spec.rb
218
- - spec/unit/question/modifier/whitespace_spec.rb
219
- - spec/unit/question/modify_spec.rb
220
- - spec/unit/question/required_spec.rb
221
- - spec/unit/question/validate_spec.rb
222
- - spec/unit/question/validation/call_spec.rb
223
- - spec/unit/question/validation/coerce_spec.rb
224
- - spec/unit/result_spec.rb
225
- - spec/unit/say_spec.rb
226
- - spec/unit/select_spec.rb
227
- - spec/unit/slider_spec.rb
228
- - spec/unit/statement/initialize_spec.rb
229
- - spec/unit/subscribe_spec.rb
230
- - spec/unit/suggest_spec.rb
231
- - spec/unit/timer_spec.rb
232
- - spec/unit/warn_spec.rb
233
- - spec/unit/yes_no_spec.rb
234
- - tasks/console.rake
235
- - tasks/coverage.rake
236
- - tasks/spec.rake
237
- - tty-prompt.gemspec
238
- homepage: https://piotrmurach.github.io/tty
131
+ homepage: https://ttytoolkit.org
239
132
  licenses:
240
133
  - MIT
241
134
  metadata:
@@ -243,7 +136,7 @@ metadata:
243
136
  bug_tracker_uri: https://github.com/piotrmurach/tty-prompt/issues
244
137
  changelog_uri: https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md
245
138
  documentation_uri: https://www.rubydoc.info/gems/tty-prompt
246
- homepage_uri: https://piotrmurach.github.io/tty
139
+ homepage_uri: https://ttytoolkit.org
247
140
  source_code_uri: https://github.com/piotrmurach/tty-prompt
248
141
  post_install_message:
249
142
  rdoc_options: []
@@ -260,65 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
153
  - !ruby/object:Gem::Version
261
154
  version: '0'
262
155
  requirements: []
263
- rubygems_version: 3.0.6
156
+ rubygems_version: 3.1.2
264
157
  signing_key:
265
158
  specification_version: 4
266
159
  summary: A beautiful and powerful interactive command line prompt.
267
- test_files:
268
- - spec/spec_helper.rb
269
- - spec/unit/ask_spec.rb
270
- - spec/unit/block_paginator_spec.rb
271
- - spec/unit/choice/eql_spec.rb
272
- - spec/unit/choice/from_spec.rb
273
- - spec/unit/choices/add_spec.rb
274
- - spec/unit/choices/each_spec.rb
275
- - spec/unit/choices/find_by_spec.rb
276
- - spec/unit/choices/new_spec.rb
277
- - spec/unit/choices/pluck_spec.rb
278
- - spec/unit/collect_spec.rb
279
- - spec/unit/converters/convert_bool_spec.rb
280
- - spec/unit/converters/convert_char_spec.rb
281
- - spec/unit/converters/convert_custom_spec.rb
282
- - spec/unit/converters/convert_date_spec.rb
283
- - spec/unit/converters/convert_file_spec.rb
284
- - spec/unit/converters/convert_number_spec.rb
285
- - spec/unit/converters/convert_path_spec.rb
286
- - spec/unit/converters/convert_range_spec.rb
287
- - spec/unit/converters/convert_regex_spec.rb
288
- - spec/unit/converters/convert_string_spec.rb
289
- - spec/unit/converters/on_error_spec.rb
290
- - spec/unit/distance/distance_spec.rb
291
- - spec/unit/enum_select_spec.rb
292
- - spec/unit/error_spec.rb
293
- - spec/unit/evaluator_spec.rb
294
- - spec/unit/expand_spec.rb
295
- - spec/unit/keypress_spec.rb
296
- - spec/unit/mask_spec.rb
297
- - spec/unit/multi_select_spec.rb
298
- - spec/unit/multiline_spec.rb
299
- - spec/unit/new_spec.rb
300
- - spec/unit/ok_spec.rb
301
- - spec/unit/paginator_spec.rb
302
- - spec/unit/question/checks_spec.rb
303
- - spec/unit/question/default_spec.rb
304
- - spec/unit/question/echo_spec.rb
305
- - spec/unit/question/in_spec.rb
306
- - spec/unit/question/initialize_spec.rb
307
- - spec/unit/question/modifier/apply_to_spec.rb
308
- - spec/unit/question/modifier/letter_case_spec.rb
309
- - spec/unit/question/modifier/whitespace_spec.rb
310
- - spec/unit/question/modify_spec.rb
311
- - spec/unit/question/required_spec.rb
312
- - spec/unit/question/validate_spec.rb
313
- - spec/unit/question/validation/call_spec.rb
314
- - spec/unit/question/validation/coerce_spec.rb
315
- - spec/unit/result_spec.rb
316
- - spec/unit/say_spec.rb
317
- - spec/unit/select_spec.rb
318
- - spec/unit/slider_spec.rb
319
- - spec/unit/statement/initialize_spec.rb
320
- - spec/unit/subscribe_spec.rb
321
- - spec/unit/suggest_spec.rb
322
- - spec/unit/timer_spec.rb
323
- - spec/unit/warn_spec.rb
324
- - spec/unit/yes_no_spec.rb
160
+ test_files: []
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- FileList['tasks/**/*.rake'].each(&method(:import))
4
-
5
- desc 'Run all specs'
6
- task ci: %w[ spec ]
7
-
8
- task default: :spec