capistrano-scm-local 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,6 +3,8 @@ capistrano-scm-local
3
3
 
4
4
  allow deploy from local directory
5
5
 
6
+ [![Gem Version](https://badge.fury.io/rb/capistrano-scm-local.svg)](http://badge.fury.io/rb/capistrano-scm-local)
7
+
6
8
  Capfile
7
9
  ```ruby
8
10
  require 'capistrano/scm-local'
@@ -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.2'
7
+ gem.version = '0.1.3'
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}
@@ -46,8 +46,8 @@ class Capistrano::Local < Capistrano::SCM
46
46
 
47
47
  # uploading and unpacking
48
48
  on release_roles :all, in: :parallel do |host|
49
- upload! archive, repo_path, verbose: false
50
- remote_archive = File.join(repo_path, File.basename(archive))
49
+ upload! archive, releases_path, verbose: false
50
+ remote_archive = File.join(releases_path, File.basename(archive))
51
51
  execute :tar, 'xzf', remote_archive, '-C', release_path
52
52
  execute :rm, '-f', remote_archive
53
53
  end
@@ -22,7 +22,7 @@ namespace :local do
22
22
  desc 'Copy repo to releases'
23
23
  task :create_release do
24
24
  on release_roles :all do
25
- within repo_path do
25
+ within releases_path do
26
26
  execute :mkdir, '-p', release_path
27
27
  end
28
28
  end
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.2
4
+ version: 0.1.3
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-04-04 00:00:00.000000000 Z
12
+ date: 2014-04-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano