oliver 0.1.6.1 → 0.1.7

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: 92f7ca5aa36cf9ed503dfebadd9360eaa3a29d34
4
- data.tar.gz: 0e9cae2f7cd38a18fcfaae13742478fd7c2f4db4
3
+ metadata.gz: 1f2b10d4474bc5a10675f60dc5e5357e9c507c5e
4
+ data.tar.gz: 20b90a68ef728ebb2f735accc5e5198614ac7aaf
5
5
  SHA512:
6
- metadata.gz: 6e93ca1b2c89ec53599cfcb42ac8e4c04eefa79e1a56b6b250e43bca3d12282e36160edccc77aeb8cfc1ad2914e432c5617bd79993eec5c1b94301431bcc0088
7
- data.tar.gz: cc74db3417743f4bf2317fac15ce09407bb14d452e45778ef798edea7770864364011709e05f35abbc7be5aa9377eb89f5ab656559aa86453e3609e234dac380
6
+ metadata.gz: 10609551401d01131d413eac242f79e437987f62c275477a3d1103082d2821af3b917f4022b42c1a6bdc042b89f941a12ed64aa916e86214662a6e6403657b4d
7
+ data.tar.gz: 7b0acd21c37467b5e813290d38d00ebdadea39996578ba98a8632d154838b2d7137724ac5209837834b985c41f9002f8b91f5d459967ad9196513e07e81d235b
@@ -3,13 +3,13 @@ def help
3
3
 
4
4
  helper = [
5
5
  [
6
- "install",
7
- "clones / removes directories if they're listed on the #{Name::OLIVER}"
6
+ "init",
7
+ "initializes the main directory by creating a base #{Name::OLIVER}"
8
8
  ],
9
9
 
10
10
  [
11
- "init",
12
- "initializes the main directory by creating a base #{Name::OLIVER}"
11
+ "install",
12
+ "clones / removes directories if they're listed on the #{Name::OLIVER}"
13
13
  ],
14
14
 
15
15
  [
@@ -67,7 +67,5 @@ def other_things
67
67
  Jib.exit
68
68
  when '-h' || '--help'
69
69
  help
70
- else
71
- help
72
70
  end
73
71
  end
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "0.1.6.1"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/oliver.rb CHANGED
@@ -13,6 +13,9 @@ require_relative "oliver/main"
13
13
  # just disable it completely
14
14
  Rainbow.enabled = false if ARGV[-1] == 'colour=off'
15
15
 
16
+ # Right off the bat,
17
+ # if the user doesn't specify even one argument
18
+ # just give him some help and quit oliver
16
19
  if ARGV[0].nil?
17
20
  help
18
21
  Jib.exit
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: 0.1.6.1
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh