capistrano-scm-local 0.1.11 → 0.1.12

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.11'
7
+ gem.version = '0.1.12'
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}
@@ -19,7 +19,7 @@ class Capistrano::Local < Capistrano::SCM
19
19
  def release
20
20
  file_list = Dir.glob(File.join(repo_url, '*')).concat(Dir.glob(File.join(repo_url, '.[^.]*')))
21
21
 
22
- on release_roles :all, in: :parallel do |host|
22
+ on release_roles :app, in: :parallel do |host|
23
23
  file_list.each { |r| upload! r, release_path, recursive: true }
24
24
  end
25
25
  end
@@ -54,7 +54,7 @@ class Capistrano::Local < Capistrano::SCM
54
54
  end
55
55
 
56
56
  # uploading and unpacking
57
- on release_roles :all, in: :parallel do |host|
57
+ on release_roles :app, in: :parallel do |host|
58
58
  upload! archive, releases_path, verbose: false
59
59
  remote_archive = File.join(releases_path, File.basename(archive))
60
60
  execute :tar, 'xzf', remote_archive, '-C', release_path
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.11
4
+ version: 0.1.12
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-09 00:00:00.000000000 Z
12
+ date: 2014-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano