oliver 1.5.3.1 → 1.5.3.2

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: 1d282cf6d38d396bf4b95fd9c7fcbd5d6823e5ae
4
- data.tar.gz: d715fb1f330e6827790b3de25a6572c66510fd88
3
+ metadata.gz: 018be3f4e573c65ec4ccdf463465c805bf2ffe90
4
+ data.tar.gz: a8419ea7673bc86b9d9e031773497c9c36020a85
5
5
  SHA512:
6
- metadata.gz: 398f30ae96e5d45b81ba747f449df5424920e23b2e35b1e1a994325cbabde8e1830fdd3d641797c2033d534a42556bbc180c77c8674df4bc079e2760c9c7f4ee
7
- data.tar.gz: 4b17233e2863e5d888a2a2d5f39146d4f6c8d6446b130a1138ab9b74da9987f5e29408faea79001f16219ab3bf74a16f49c2551140d91efe592b7dd5ef2ec40d
6
+ metadata.gz: 05380fb7a3b4dd3cbba7ff3680a66949064c308a84535d204db6b0cbbd2cc10ccf4c1bbef4526e057664a708f0a6ef31e0e5fca2f723b89e61d6b99a11d041a0
7
+ data.tar.gz: 944f9f53c07edd80ab773d8962d7ca4633cccb9c827d83fe9d63cd821d3ff7f28e2f2d44ae3fc9f9a407e5df0f8cc8e17c0bad712971874d5f399cab18b8e697
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.5.3.1"
2
+ VERSION = "1.5.3.2"
3
3
  end
data/lib/oliver.rb CHANGED
@@ -11,11 +11,6 @@ require_relative "oliver/main"
11
11
  # if the user doesn't want to use rainbow
12
12
  # just disable it completely
13
13
  Rainbow.enabled = false if ARGV[-1].downcase == 'colour=off'
14
- if ARGV[-1].downcase == 'color=off'
15
- color = "\"color\""
16
- puts "Don't you know how to spell #{Rainbow(color).red}?"
17
- exit
18
- end
19
14
 
20
15
  # Right off the bat,
21
16
  # if the user doesn't specify even one argument
@@ -25,6 +20,13 @@ if ARGV[0].nil?
25
20
  exit
26
21
  end
27
22
 
23
+ # huehuehue
24
+ if ARGV[-1].downcase == 'color=off'
25
+ color = "\"color\""
26
+ puts "Don't you know how to spell #{Rainbow(color).red}?"
27
+ exit
28
+ end
29
+
28
30
  # (Literally) different arguments
29
31
  different_arguments
30
32
 
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.1
4
+ version: 1.5.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh