oliver 1.0.2 → 1.0.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: 8a7455f3e9cda6ccee085c032d3db5f2284c639b
4
- data.tar.gz: 6fbb89bc7784aa03bf7a3527398e4198e37ffb6f
3
+ metadata.gz: 92adf062385b7856ee8adac19797d2803826e09a
4
+ data.tar.gz: daf01bb39ae43e31a4a9d7e4b9d2daaf92d7cf12
5
5
  SHA512:
6
- metadata.gz: b8c1b69c6a146b4eb29f046317cf37872f8b27a4248f07cae8a1847d7e5ab9bc56da5abc3cbe78d3c4a7691d7bbc4f8efac584ebe408bf0f42b4c7f4e892b479
7
- data.tar.gz: f61901bf6e3e2d67b26aea4ddeee551cd984bb0c30b0e25e46de4337cc45b501ce0c6f0c7a8532465b8d8819cc8e2d29f52d2a1a00a5f6af2f4505ace89e2ef7
6
+ metadata.gz: 28989567dd03746d269aeb3076e142683b056305ff54d07f0752e2f192a3a18899d44ab54e97a6843476d16c0f9a5478f7d5492cbd5d752247d0229baefb4854
7
+ data.tar.gz: e9dc47a40dc5ff85361f44ec0038cd0ac39f8103b51783b82d6fa9a847769fdac660c711d4c741ae25f403ec2a192fbd2fac8c5e5c681c7fd89fa2833901b9c8
data/lib/oliver/main.rb CHANGED
@@ -1,8 +1,9 @@
1
1
  # Main oliver file
2
2
  def run_main
3
- body = File.read(Name::OLIVER.chomp)
4
- final = YAML.load("---\n#{body}\n---")
5
- final["repos"].each do |repo|
6
- %x(git clone git://github.com/#{repo} --quiet)
3
+ body = File.read(Name::OLIVER.chomp)
4
+ final = YAML.load("---\n#{body}\n---")
5
+ final["repos"].each do |repo|
6
+ %x(git clone git://github.com/#{repo} --quiet)
7
+ end
7
8
  end
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
data/lib/oliver.rb CHANGED
@@ -13,6 +13,11 @@ require_relative "oliver/main"
13
13
  # just disable it completely
14
14
  Rainbow.enabled = false if ARGV[-1] == 'colour=off'
15
15
 
16
+ if ARGV[0].downcase == 'init'
17
+ puts "I'll implement this later"
18
+ Jib.exit
19
+ else
20
+
16
21
  # if `Name::OLIVER` (string)
17
22
  # exists as a file continue with oliver
18
23
  if File.file? Name::OLIVER
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.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh