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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a2ec892cf369213d67cd3130c266740af53b1cd
4
- data.tar.gz: 0c941c7525879a7c0b9ecd66ecf3571f8b28b1d0
3
+ metadata.gz: bc95d684873e86bffda58311e040ceef91df85f6
4
+ data.tar.gz: db9fee63ee89bf282dfc22fb81dfbf645f13d7bf
5
5
  SHA512:
6
- metadata.gz: 1cce5c820999007ef5da67d7a7c0c8769f0ca52adebb0e55674bf2c676a64c30bbd0c31d865a29002a293274f166d55f0601630eed5408568e9b48df54919de3
7
- data.tar.gz: ebcc889d1543c669eb2bff07ce7430c08d98a804b91c114e1d20c4308ceba74123b9af668ebba09661e58498412728fde0ae2342c9b59b8a6bc723155b53a176
6
+ metadata.gz: 981001941a4b65af91f80f5da7512a0a42d977eb01252eaa9560318911852f18cb5911b1bccb9751ef5bc741813447a434259da41f13030c0195011667feca95
7
+ data.tar.gz: 6156761e1a2eb5cc2345f3d52f0c0176a7a0ceb0122b0062ab1e9b554571a651b50c33d89dbe1db39c0e35dd70d0b7c100d948617aa3d0f8df71dc12d3189e71
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.5.3.3"
2
+ VERSION = "1.5.3.4"
3
3
  end
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\""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3.3
4
+ version: 1.5.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh