rick-vlad 1.2.0.5 → 1.2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/vlad/git.rb +2 -1
  2. metadata +1 -1
@@ -12,7 +12,8 @@ class Vlad::Git
12
12
  destination = 'cached-copy' if destination == '.'
13
13
  revision = 'HEAD' if revision =~ /head/i
14
14
 
15
- [ "([ -d #{destination}/.git ] && echo 'Existing repository found' || #{git_cmd} clone #{code_repo} #{destination})",
15
+ [ "rm -rf #{destination}",
16
+ "#{git_cmd} clone #{code_repo} #{destination}",
16
17
  "cd #{destination}",
17
18
  "#{git_cmd} fetch",
18
19
  "#{git_cmd} reset --hard #{revision}",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rick-vlad
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.5
4
+ version: 1.2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis