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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f73789c82eadc1102b391f6661939e7da508894e
4
- data.tar.gz: 4b7fb5e2f02d4c840968306ef1c56e03f36e6fc4
3
+ metadata.gz: 62413f2a2327106c19036fb75000b9fc6d329471
4
+ data.tar.gz: 7fd41ade40ff3ded0a3e5b12792be8fd92c304a6
5
5
  SHA512:
6
- metadata.gz: 06d68894d291513c156798c8bb4596a4d03ffd0f2e1140ade6dda8c37ea005ac2747cd71e886ceb0a6a7ec74be4e5c7cc6f66ff60d6e1017303c5341d80c4b61
7
- data.tar.gz: 5bfe510e339d0004983e5c6123080a12869bc320e64084ed0495004e8dffd6e4c325622302cacc90c1172840ae05914e41d386e30824eba49525e9a90146ea86
6
+ metadata.gz: fb36eea8fcaf3c6023b662394ec9bba7d927f8065bbcf8dd27f3677ae1f4acee1b967529551814f0455f8588cd84021e466a7a9861fd28027e8a2bc2dbc7765c
7
+ data.tar.gz: 7e7ecc914ea9ffc099ceb85313040241988ad5e5223ff503576d03996d93b05645d56d8767eb05dbd2998403e8df919c72ee0c74b72f98f5fda458f75b54cbdb
@@ -1,5 +1,5 @@
1
1
  # The main module for
2
2
  # Oliver's version
3
3
  module Oliver
4
- VERSION = '1.8.2'
4
+ VERSION = '1.8.3'
5
5
  end
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
 
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.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh