oliver 1.8.8.2 → 1.8.8.3
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 +5 -5
- 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: d985ccb0a50862ad919204e84a69c3d8d4492486
|
4
|
+
data.tar.gz: 34f681c41f280518c1437aa1196f4a9cb4a861d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5ea00b1301d9fd28c0cd332e7d98d71445c8a9d2521a849d4ccd4b91f6e76995496abb6a951bcef4325a4989d5366809dbd3592af2d11293c1da50ed748b4db
|
7
|
+
data.tar.gz: 07609c1697112ada758af7c540930c60fc9f96d3576bf57c70671914a270937180e1f1d77e5f2eda972e19d1a8459bd9f12eaf0a161840e39cce583cf481c1d4
|
data/lib/oliver/version.rb
CHANGED
data/lib/oliver.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# Require files
|
2
|
-
require 'rainbow'
|
3
2
|
require_relative 'oliver/version'
|
4
3
|
require_relative 'oliver/argument_files/help'
|
4
|
+
require 'rainbow'
|
5
5
|
|
6
|
-
#
|
7
|
-
|
6
|
+
# Disable Rainbow unless somebody wants it
|
7
|
+
Rainbow.enabled = false unless ARGV[-1] == 'colour=on'
|
8
8
|
|
9
|
-
#
|
10
|
-
|
9
|
+
# Provide help if no arguments are specified
|
10
|
+
help && exit if ARGV[0].nil? || ARGV[-1] == ARGV[0]
|
11
11
|
|
12
12
|
# Arguments
|
13
13
|
require_relative 'oliver/arguments'
|