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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ad502934bddada6b88d84915f3f5cff02d5edf7
4
- data.tar.gz: e193c0f2b5243b0a4a7089ac1558ed02948bb5f6
3
+ metadata.gz: 5324a752b8ea5810b6b6d55f181fe878315096e1
4
+ data.tar.gz: e5b9a0fa0adf619e068fc2aababd115986106356
5
5
  SHA512:
6
- metadata.gz: 7f927774429e6bc921e37d6376a6a6aa6683ce7e09f1d735ea80abb304b6babaf99fe7f04c1b44439a65a41c8595bb020d50dadaa6276a04da23ee0004923174
7
- data.tar.gz: 75192244af7c98c91729a96b8db5432e8ec71eef23dc54dc78fdf571acd6c838f61f8d5aba77e196f7a8f7bb9e4cd7d50ab7d5f8ccc7582f42e990aa2dbc56bc
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(options: options, selector: "†").prompt
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"},
@@ -1,3 +1,3 @@
1
1
  module Downup
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.5"
3
3
  end
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
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