oliver 1.8.2 → 1.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 +3 -3
- 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: 62413f2a2327106c19036fb75000b9fc6d329471
|
4
|
+
data.tar.gz: 7fd41ade40ff3ded0a3e5b12792be8fd92c304a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb36eea8fcaf3c6023b662394ec9bba7d927f8065bbcf8dd27f3677ae1f4acee1b967529551814f0455f8588cd84021e466a7a9861fd28027e8a2bc2dbc7765c
|
7
|
+
data.tar.gz: 7e7ecc914ea9ffc099ceb85313040241988ad5e5223ff503576d03996d93b05645d56d8767eb05dbd2998403e8df919c72ee0c74b72f98f5fda458f75b54cbdb
|
data/lib/oliver/version.rb
CHANGED
data/lib/oliver.rb
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
require_relative 'oliver/version'
|
4
4
|
require_relative 'oliver/argument_files/help'
|
5
5
|
|
6
|
+
# Provide help if no arguments are specified
|
7
|
+
help && exit if ARGV[0].nil?
|
8
|
+
|
6
9
|
# if the user doesn't want to use rainbow
|
7
10
|
# just disable it completely
|
8
11
|
Rainbow.enabled = false if ARGV[-1] == 'colour=off'
|
9
12
|
|
10
|
-
# Provide help if no arguments are specified
|
11
|
-
help if ARGV.nil?
|
12
|
-
|
13
13
|
# Arguments
|
14
14
|
require_relative 'oliver/arguments'
|
15
15
|
|