oliver 1.4.1 → 1.4.2

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: 87dabc316bdd6b8cc284f4f03bb8c2f323fafef0
4
- data.tar.gz: 5c4251db2f82636ef68f8d866f43cd9b60678e30
3
+ metadata.gz: 7ef0c788dae15608333f6c4b34629c6bc4467c37
4
+ data.tar.gz: 5d546af001fbd1245e5859326bdd367fce5fd62b
5
5
  SHA512:
6
- metadata.gz: f9368b9dff3e7c0cacc42fde98c8c139c5155a0c8f21235df973f7bc56f702f2d00aae57f091640e2271ebb8f4ba9c1c588c0f0139abd5177f33936754e0dc09
7
- data.tar.gz: f747cf9819f42083534dd2117880f3ab3a36761c859b6e44152e12d962d8bc9d41535b479225829acfa86bfd00c7a9213dc863080a27e99ab8f9b856dde1c16f
6
+ metadata.gz: a0c3e1eb2b67eb67164279935432273c4bc193f5e3fa7f699e29b67c470b46579c0faee98cb3cbd70ee4b06a94cf631c6fad680bfa70868b8dff40fa36b8e745
7
+ data.tar.gz: 5859887cf427ae7147f888f7b5367719a9f53e1a71586dfe10a795a0a4d60042821af7f5451d16132c167a1ca720afbcf7726a42ba84e042b7ecf602738a5a8a
data/lib/oliver/main.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  def run_main
3
3
 
4
4
  # Back up your files, man
5
- if ! File.directory?('.backup')
5
+ if !File.directory?('.backup')
6
6
  Dir.mkdir '.backup'
7
7
  end
8
8
 
@@ -16,7 +16,8 @@ def run_main
16
16
  username = splitted[0]
17
17
  repo = splitted[1]
18
18
 
19
- if ! File.directory?(repo)
19
+ # Clone the repo if it doesn't already exist
20
+ if !File.directory?(repo)
20
21
  %x(git clone git://github.com/#{url} --quiet)
21
22
  else
22
23
  puts "#{Rainbow(repo).red}/ already exists."
@@ -1,3 +1,3 @@
1
1
  module Oliver
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
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.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh