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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ab9983df0ef16a640f82bd97eec7fe77e802da4
4
- data.tar.gz: 0ed752863f60d012d49977d57ab20ab259bbc8f2
3
+ metadata.gz: d985ccb0a50862ad919204e84a69c3d8d4492486
4
+ data.tar.gz: 34f681c41f280518c1437aa1196f4a9cb4a861d9
5
5
  SHA512:
6
- metadata.gz: f3e6a08763695cd39d7036d1fc292cbe7d50b6813c1c9155af2bbfa859c7f4227735386053f6d6e1215c24609e310745d349ddeca1328960e412d4f64041ce8e
7
- data.tar.gz: b78a13d92b71f668d9764799d48c569d7de9da68b168d20303c16c3337cead3d70c8fa0e724a9024176966769a674f422b589bc6f318dc4e6ecb3c0bc27d7b8a
6
+ metadata.gz: f5ea00b1301d9fd28c0cd332e7d98d71445c8a9d2521a849d4ccd4b91f6e76995496abb6a951bcef4325a4989d5366809dbd3592af2d11293c1da50ed748b4db
7
+ data.tar.gz: 07609c1697112ada758af7c540930c60fc9f96d3576bf57c70671914a270937180e1f1d77e5f2eda972e19d1a8459bd9f12eaf0a161840e39cce583cf481c1d4
@@ -1,5 +1,5 @@
1
1
  # The main module for
2
2
  # Oliver's version
3
3
  module Oliver
4
- VERSION = '1.8.8.2'
4
+ VERSION = '1.8.8.3'
5
5
  end
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
- # Provide help if no arguments are specified
7
- help && exit if ARGV[0].nil?
6
+ # Disable Rainbow unless somebody wants it
7
+ Rainbow.enabled = false unless ARGV[-1] == 'colour=on'
8
8
 
9
- # if the user wants to use rainbow
10
- Rainbow.enabled = true if ARGV[-1] == 'colour=on'
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'
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.8.2
4
+ version: 1.8.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh