downup 0.5.4 → 0.6.4

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: 5c807a7510191208226e0ec1f986945a8fdcbda7
4
- data.tar.gz: fd88b648476543d72e5488aef01def58e593deaf
3
+ metadata.gz: 0435ee2e94d2c6466abdd1bced4565b8ac38bd8d
4
+ data.tar.gz: cb7fc59f8bfbc4ebe2227cf1bc03db79aa221019
5
5
  SHA512:
6
- metadata.gz: 393abc7587df882bbaa94d9a46d73307ff8a882b8cb22cee8a65b609bbcac72330c521b073e7454dfade1407265d57fff6b6c210988bb3fa900d7a283b129c36
7
- data.tar.gz: a4db31d8bdc4a4f45ce71ca189a58aed78254e7d4f78bc627add5d4072cb66eabe96ada96ffd9bf74e69284cd68a0629bba7abf2bb15a65446c3761aa8ed06c8
6
+ metadata.gz: e8532f0756b21a56b83a0ac032d9746378761e01807ecd292045681ed6daa0588f34591c9962ab766d18d8ddfd2f4da13982c1bb06f14aa6d4ff887b33de938d
7
+ data.tar.gz: 0f46bf69d76027cbb44d9279c51bea4f942764f8e2407272af8c03fbf42430f402640f6b7378cc555dd6088b5e8d1248f827361751245d75ec98c0445637fea1
data/downup-0.5.4.gem ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Downup
2
- VERSION = "0.5.4"
2
+ VERSION = "0.6.4"
3
3
  end
data/lib/downup.rb CHANGED
@@ -84,7 +84,12 @@ module Downup
84
84
  end
85
85
  when Hash
86
86
  options.each_with_index do |option_array, index|
87
- stdout.puts colorize_option(option_array.join(": "), index)
87
+ if index == selected_position
88
+ stdout.puts "(#{option_array.first}) #{option_array.last}"
89
+ else
90
+ stdout.print "(#{eval("option_array.first.#{default_color}")}) "
91
+ stdout.print "#{eval("option_array.last.#{default_color}")}\n"
92
+ end
88
93
  end
89
94
  end
90
95
  end
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.5.4
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Begin
@@ -55,8 +55,7 @@ files:
55
55
  - Rakefile
56
56
  - bin/console
57
57
  - bin/setup
58
- - downup-0.3.3.gem
59
- - downup-0.4.3.gem
58
+ - downup-0.5.4.gem
60
59
  - downup.gemspec
61
60
  - examples/basic.rb
62
61
  - lib/downup.rb
data/downup-0.3.3.gem DELETED
Binary file
data/downup-0.4.3.gem DELETED
Binary file