downup 0.5.4 → 0.6.4
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/downup-0.5.4.gem +0 -0
- data/lib/downup/version.rb +1 -1
- data/lib/downup.rb +6 -1
- metadata +2 -3
- data/downup-0.3.3.gem +0 -0
- data/downup-0.4.3.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0435ee2e94d2c6466abdd1bced4565b8ac38bd8d
|
|
4
|
+
data.tar.gz: cb7fc59f8bfbc4ebe2227cf1bc03db79aa221019
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8532f0756b21a56b83a0ac032d9746378761e01807ecd292045681ed6daa0588f34591c9962ab766d18d8ddfd2f4da13982c1bb06f14aa6d4ff887b33de938d
|
|
7
|
+
data.tar.gz: 0f46bf69d76027cbb44d9279c51bea4f942764f8e2407272af8c03fbf42430f402640f6b7378cc555dd6088b5e8d1248f827361751245d75ec98c0445637fea1
|
data/downup-0.5.4.gem
ADDED
|
Binary file
|
data/lib/downup/version.rb
CHANGED
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
|
-
|
|
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.
|
|
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.
|
|
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
|