downup 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/downup-0.8.4.gem +0 -0
- data/examples/basic.rb +6 -1
- data/lib/downup/version.rb +1 -1
- data/lib/downup.rb +4 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5324a752b8ea5810b6b6d55f181fe878315096e1
|
4
|
+
data.tar.gz: e5b9a0fa0adf619e068fc2aababd115986106356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bdb5da95fe0ce97ed6036037458e9f5fe0cf808ab194f94a138d8ea8dfe963bca28e618ab91ed9ed98c1924cdab3859514bc96a300e1463b13f8b51362e0419
|
7
|
+
data.tar.gz: 07b95c2b372ea4b786b36d654b7982d4cfe06d956562ccaf9c4b35d4e3ece75bac71fa6f4cd5f00e1ca85d420904e277ff1c015143ce4513bc5213f0352d2d4c
|
data/downup-0.8.4.gem
ADDED
Binary file
|
data/examples/basic.rb
CHANGED
@@ -42,7 +42,12 @@ options = {
|
|
42
42
|
|
43
43
|
puts Downup::Base.new(options: options).prompt
|
44
44
|
|
45
|
-
puts Downup::Base.new(
|
45
|
+
puts Downup::Base.new(
|
46
|
+
options: options,
|
47
|
+
default_color: :cyan,
|
48
|
+
selected_color: :bg_magenta,
|
49
|
+
selector: "†"
|
50
|
+
).prompt
|
46
51
|
|
47
52
|
options = {
|
48
53
|
"a" => {"value" => "cat_1", "display" => "Cat"},
|
data/lib/downup/version.rb
CHANGED
data/lib/downup.rb
CHANGED
@@ -34,7 +34,10 @@ module Downup
|
|
34
34
|
print_title
|
35
35
|
Downup::OptionsPrinter.new(
|
36
36
|
options: options,
|
37
|
-
selected_position: @selected_position
|
37
|
+
selected_position: @selected_position,
|
38
|
+
default_color: default_color,
|
39
|
+
selected_color: selected_color,
|
40
|
+
selector: selector
|
38
41
|
).print_options
|
39
42
|
stdout.print "\n> "
|
40
43
|
input = read_char
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: downup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Begin
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- Rakefile
|
56
56
|
- bin/console
|
57
57
|
- bin/setup
|
58
|
+
- downup-0.8.4.gem
|
58
59
|
- downup.gemspec
|
59
60
|
- examples/basic.rb
|
60
61
|
- lib/downup.rb
|