rubytext 0.0.17 → 0.0.18
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/lib/rubytext.rb +2 -4
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3128370c853087528a199cbc18d91083cc5b8e23
|
4
|
+
data.tar.gz: 32c897a75a65963fb55769c69c7df19c0930a5cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d83ff27365e92d34c9bc1aba9fb7e1236a49b00661d1a46965479290609285bf5679f511d84c9e31c9668e72bfb87e710d838fb5f0c292da1af8a6a9af1c07b3
|
7
|
+
data.tar.gz: 4f3482a7129b2202c5580d7570a08d3989978467e4a121078c2cb1d4df5151e257df24879c4817d6b643987ffcc06749d3c8706743c2406f2448c09f5279a547
|
data/lib/rubytext.rb
CHANGED
@@ -102,10 +102,8 @@ module RubyText
|
|
102
102
|
|
103
103
|
def self.start(*args, log: nil, fg: nil, bg: nil)
|
104
104
|
$debug = File.new(log, "w") if log
|
105
|
-
|
106
|
-
|
107
|
-
debug "Version = #{RubyText::Version}"
|
108
|
-
$debug.flush
|
105
|
+
fg ||= :white
|
106
|
+
bg ||= :black
|
109
107
|
debug "fg = #{fg} is not a valid color" unless Colors.include?(fg.to_s)
|
110
108
|
debug "bg = #{bg} is not a valid color" unless Colors.include?(bg.to_s)
|
111
109
|
debug "Colors are: #{fg} on #{bg}"
|
data/lib/version.rb
CHANGED