gitdocs 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/gitdocs/cli.rb CHANGED
@@ -59,7 +59,7 @@ module Gitdocs
59
59
  desc "create PATH REMOTE", "Creates a new gitdoc root based on an existing remote"
60
60
  def create(path, remote)
61
61
  FileUtils.mkdir_p(File.dirname(path))
62
- system("git clone -q #{remote} #{path}") or raise "Unable to clone into #{path}"
62
+ system("git clone -q #{remote} #{ShellTools.escape(path)}") or raise "Unable to clone into #{path}"
63
63
  self.add(path)
64
64
  say "Created #{path} path for gitdoc"
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module Gitdocs
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gitdocs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.5
5
+ version: 0.3.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Josh Hull
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-12-06 00:00:00 -08:00
14
+ date: 2011-12-08 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency