highline_wrapper 2.0.0 → 3.0.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +52 -38
- data/lib/highline_wrapper/checkbox_question.rb +2 -6
- data/lib/highline_wrapper/version.rb +1 -1
- data/renovate.json +9 -1
- metadata +3 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3eeb8b00cd3dd627a655e2c096c3dfb40200abb9281fcd6685c9bbe936fcd0e1
|
|
4
|
+
data.tar.gz: 2c516eb8dfb4ca0954c2314198b0f706b8ee66a1391316db34d9bf04c00b6efd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7ac09db5089e8a47370b4fd7f28318a90a566e99e5035e9bc8b1652cfb18c867fc5f180e8bda11a90bef31b9e0fd6c1b1e11bea8ae03cee07493817bc6576b9
|
|
7
|
+
data.tar.gz: 4c64a5454a5242a3ccbd67209daa34dd8da5776d1fe46e2b4721018bd03f1f3a3cea973e4ed38ac02666031e2de51a47b4d93678434301bd2e0420ac135ef62d
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
highline_wrapper (
|
|
4
|
+
highline_wrapper (2.0.0)
|
|
5
5
|
abbrev (~> 0.1)
|
|
6
6
|
highline (~> 3.0)
|
|
7
7
|
|
|
@@ -9,20 +9,23 @@ GEM
|
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
11
|
abbrev (0.1.2)
|
|
12
|
-
ast (2.4.
|
|
12
|
+
ast (2.4.3)
|
|
13
13
|
coderay (1.1.3)
|
|
14
|
-
concurrent-ruby (1.
|
|
15
|
-
diff-lcs (1.
|
|
16
|
-
faker (3.2
|
|
14
|
+
concurrent-ruby (1.3.5)
|
|
15
|
+
diff-lcs (1.6.2)
|
|
16
|
+
faker (3.5.2)
|
|
17
17
|
i18n (>= 1.8.11, < 2)
|
|
18
|
-
ffi (1.
|
|
19
|
-
formatador (1.
|
|
20
|
-
|
|
18
|
+
ffi (1.17.2-arm64-darwin)
|
|
19
|
+
formatador (1.2.0)
|
|
20
|
+
reline
|
|
21
|
+
guard (2.19.1)
|
|
21
22
|
formatador (>= 0.2.4)
|
|
22
23
|
listen (>= 2.7, < 4.0)
|
|
24
|
+
logger (~> 1.6)
|
|
23
25
|
lumberjack (>= 1.0.12, < 2.0)
|
|
24
26
|
nenv (~> 0.1)
|
|
25
27
|
notiffany (~> 0.0)
|
|
28
|
+
ostruct (~> 0.6)
|
|
26
29
|
pry (>= 0.13.0)
|
|
27
30
|
shellany (~> 0.0)
|
|
28
31
|
thor (>= 0.18.1)
|
|
@@ -31,69 +34,80 @@ GEM
|
|
|
31
34
|
guard (~> 2.1)
|
|
32
35
|
guard-compat (~> 1.1)
|
|
33
36
|
rspec (>= 2.99.0, < 4.0)
|
|
34
|
-
highline (3.
|
|
35
|
-
|
|
37
|
+
highline (3.1.2)
|
|
38
|
+
reline
|
|
39
|
+
i18n (1.14.7)
|
|
36
40
|
concurrent-ruby (~> 1.0)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
io-console (0.8.1)
|
|
42
|
+
json (2.13.2)
|
|
43
|
+
language_server-protocol (3.17.0.5)
|
|
44
|
+
lint_roller (1.1.0)
|
|
45
|
+
listen (3.9.0)
|
|
40
46
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
41
47
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
logger (1.7.0)
|
|
49
|
+
lumberjack (1.4.0)
|
|
50
|
+
method_source (1.1.0)
|
|
44
51
|
nenv (0.3.0)
|
|
45
52
|
notiffany (0.1.3)
|
|
46
53
|
nenv (~> 0.1)
|
|
47
54
|
shellany (~> 0.0)
|
|
48
|
-
|
|
49
|
-
|
|
55
|
+
ostruct (0.6.3)
|
|
56
|
+
parallel (1.27.0)
|
|
57
|
+
parser (3.3.9.0)
|
|
50
58
|
ast (~> 2.4.1)
|
|
51
59
|
racc
|
|
52
|
-
|
|
60
|
+
prism (1.4.0)
|
|
61
|
+
pry (0.15.2)
|
|
53
62
|
coderay (~> 1.1)
|
|
54
63
|
method_source (~> 1.0)
|
|
55
|
-
racc (1.
|
|
64
|
+
racc (1.8.1)
|
|
56
65
|
rainbow (3.1.1)
|
|
57
66
|
rb-fsevent (0.11.2)
|
|
58
|
-
rb-inotify (0.
|
|
67
|
+
rb-inotify (0.11.1)
|
|
59
68
|
ffi (~> 1.0)
|
|
60
|
-
regexp_parser (2.
|
|
61
|
-
|
|
62
|
-
|
|
69
|
+
regexp_parser (2.11.1)
|
|
70
|
+
reline (0.6.2)
|
|
71
|
+
io-console (~> 0.5)
|
|
72
|
+
rspec (3.13.1)
|
|
63
73
|
rspec-core (~> 3.13.0)
|
|
64
74
|
rspec-expectations (~> 3.13.0)
|
|
65
75
|
rspec-mocks (~> 3.13.0)
|
|
66
|
-
rspec-core (3.13.
|
|
76
|
+
rspec-core (3.13.5)
|
|
67
77
|
rspec-support (~> 3.13.0)
|
|
68
|
-
rspec-expectations (3.13.
|
|
78
|
+
rspec-expectations (3.13.5)
|
|
69
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
70
80
|
rspec-support (~> 3.13.0)
|
|
71
|
-
rspec-mocks (3.13.
|
|
81
|
+
rspec-mocks (3.13.5)
|
|
72
82
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
73
83
|
rspec-support (~> 3.13.0)
|
|
74
|
-
rspec-support (3.13.
|
|
75
|
-
rubocop (1.
|
|
84
|
+
rspec-support (3.13.4)
|
|
85
|
+
rubocop (1.79.2)
|
|
76
86
|
json (~> 2.3)
|
|
77
|
-
language_server-protocol (
|
|
87
|
+
language_server-protocol (~> 3.17.0.2)
|
|
88
|
+
lint_roller (~> 1.1.0)
|
|
78
89
|
parallel (~> 1.10)
|
|
79
90
|
parser (>= 3.3.0.2)
|
|
80
91
|
rainbow (>= 2.2.2, < 4.0)
|
|
81
|
-
regexp_parser (>=
|
|
82
|
-
|
|
83
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
|
92
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
93
|
+
rubocop-ast (>= 1.46.0, < 2.0)
|
|
84
94
|
ruby-progressbar (~> 1.7)
|
|
85
|
-
unicode-display_width (>= 2.4.0, <
|
|
86
|
-
rubocop-ast (1.
|
|
87
|
-
parser (>= 3.
|
|
95
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
96
|
+
rubocop-ast (1.46.0)
|
|
97
|
+
parser (>= 3.3.7.2)
|
|
98
|
+
prism (~> 1.4)
|
|
88
99
|
ruby-progressbar (1.13.0)
|
|
89
100
|
shellany (0.0.1)
|
|
90
|
-
thor (1.
|
|
91
|
-
unicode-display_width (
|
|
101
|
+
thor (1.4.0)
|
|
102
|
+
unicode-display_width (3.1.4)
|
|
103
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
104
|
+
unicode-emoji (4.0.4)
|
|
92
105
|
|
|
93
106
|
PLATFORMS
|
|
94
107
|
arm64-darwin-21
|
|
95
108
|
arm64-darwin-22
|
|
96
109
|
arm64-darwin-23
|
|
110
|
+
arm64-darwin-24
|
|
97
111
|
|
|
98
112
|
DEPENDENCIES
|
|
99
113
|
bundler (~> 2.2)
|
|
@@ -105,4 +119,4 @@ DEPENDENCIES
|
|
|
105
119
|
rubocop (~> 1.10)
|
|
106
120
|
|
|
107
121
|
BUNDLED WITH
|
|
108
|
-
2.5.
|
|
122
|
+
2.5.6
|
|
@@ -16,9 +16,7 @@ class HighlineWrapper
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
private def ask_highline(prompt)
|
|
19
|
-
|
|
20
|
-
super(prompt).to_s.split(',').each { |i| indices << (i.strip.to_i - 1) }
|
|
21
|
-
indices
|
|
19
|
+
super.to_s.split(',').map { |i| i.strip.to_i - 1 }
|
|
22
20
|
end
|
|
23
21
|
|
|
24
22
|
private def return_defaults(choices, options)
|
|
@@ -33,9 +31,7 @@ class HighlineWrapper
|
|
|
33
31
|
end
|
|
34
32
|
|
|
35
33
|
private def format_multiple_selections(choices, indices, with_indexes)
|
|
36
|
-
|
|
37
|
-
indices.each { |index| selected << format_selection(choices, index, with_indexes) }
|
|
38
|
-
selected
|
|
34
|
+
indices.map { |index| format_selection(choices, index, with_indexes) }
|
|
39
35
|
end
|
|
40
36
|
end
|
|
41
37
|
end
|
data/renovate.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
3
|
"extends": [
|
|
4
|
-
"config:
|
|
4
|
+
"config:recommended"
|
|
5
5
|
],
|
|
6
6
|
"labels": [
|
|
7
7
|
"dependencies"
|
|
8
|
+
],
|
|
9
|
+
"packageRules": [
|
|
10
|
+
{
|
|
11
|
+
"matchUpdateTypes": [
|
|
12
|
+
"patch"
|
|
13
|
+
],
|
|
14
|
+
"enabled": false
|
|
15
|
+
}
|
|
8
16
|
]
|
|
9
17
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: highline_wrapper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emma Sax
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: abbrev
|
|
@@ -124,7 +123,6 @@ dependencies:
|
|
|
124
123
|
version: '1.10'
|
|
125
124
|
description: Making it easier to ask simple questions, such as multiple choice questions,
|
|
126
125
|
yes/no questions, etc, using HighLine.
|
|
127
|
-
email:
|
|
128
126
|
executables: []
|
|
129
127
|
extensions: []
|
|
130
128
|
extra_rdoc_files: []
|
|
@@ -148,7 +146,6 @@ licenses:
|
|
|
148
146
|
- BSD-3-Clause
|
|
149
147
|
metadata:
|
|
150
148
|
rubygems_mfa_required: 'true'
|
|
151
|
-
post_install_message:
|
|
152
149
|
rdoc_options: []
|
|
153
150
|
require_paths:
|
|
154
151
|
- lib
|
|
@@ -163,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
163
160
|
- !ruby/object:Gem::Version
|
|
164
161
|
version: '0'
|
|
165
162
|
requirements: []
|
|
166
|
-
rubygems_version: 3.
|
|
167
|
-
signing_key:
|
|
163
|
+
rubygems_version: 3.7.1
|
|
168
164
|
specification_version: 4
|
|
169
165
|
summary: A little HighLine wrapper
|
|
170
166
|
test_files: []
|