capistrano-scm-local 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "capistrano-scm-local"
7
- gem.version = '0.1.12'
7
+ gem.version = '0.1.13'
8
8
  gem.authors = ["Boris Gorbylev"]
9
9
  gem.email = ["ekho@ekho.name"]
10
10
  gem.description = %q{Capistrano extension for deploying form local directory}
@@ -44,7 +44,7 @@ class Capistrano::Local < Capistrano::SCM
44
44
  unless File.exists?(archive)
45
45
  if File.directory?(repo_url) || !File.fnmatch('*.tar.gz', repo_url)
46
46
  within repo_url do
47
- execute :tar, 'czf', archive, './*'
47
+ execute :tar, 'czf', archive, '-C', repo_url, '.'
48
48
  end
49
49
  execute :tar, 'tzf', archive
50
50
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-scm-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-16 00:00:00.000000000 Z
12
+ date: 2014-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano