oliver 1.5.3.3 → 1.5.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oliver/version.rb +1 -1
- data/lib/oliver.rb +4 -4
- 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: bc95d684873e86bffda58311e040ceef91df85f6
|
4
|
+
data.tar.gz: db9fee63ee89bf282dfc22fb81dfbf645f13d7bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 981001941a4b65af91f80f5da7512a0a42d977eb01252eaa9560318911852f18cb5911b1bccb9751ef5bc741813447a434259da41f13030c0195011667feca95
|
7
|
+
data.tar.gz: 6156761e1a2eb5cc2345f3d52f0c0176a7a0ceb0122b0062ab1e9b554571a651b50c33d89dbe1db39c0e35dd70d0b7c100d948617aa3d0f8df71dc12d3189e71
|
data/lib/oliver/version.rb
CHANGED
data/lib/oliver.rb
CHANGED
@@ -8,10 +8,6 @@ require_relative "oliver/version"
|
|
8
8
|
require_relative "oliver/methods"
|
9
9
|
require_relative "oliver/main"
|
10
10
|
|
11
|
-
# if the user doesn't want to use rainbow
|
12
|
-
# just disable it completely
|
13
|
-
Rainbow.enabled = false if ARGV[-1].downcase == 'colour=off'
|
14
|
-
|
15
11
|
# Right off the bat,
|
16
12
|
# if the user doesn't specify even one argument
|
17
13
|
# just give him some help and quit oliver
|
@@ -20,6 +16,10 @@ if ARGV[0].nil?
|
|
20
16
|
exit
|
21
17
|
end
|
22
18
|
|
19
|
+
# if the user doesn't want to use rainbow
|
20
|
+
# just disable it completely
|
21
|
+
Rainbow.enabled = false if ARGV[-1].downcase == 'colour=off'
|
22
|
+
|
23
23
|
# huehuehue
|
24
24
|
if ARGV[-1].downcase == 'color=off'
|
25
25
|
color = "\"color\""
|