capistrano-scm-local 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -14,6 +14,11 @@ Gemfile
14
14
  ```ruby
15
15
  gem 'capistrano-scm-local', '~> 0.1', :github => 'i-ekho/capistrano-scm-local'
16
16
  ```
17
+ OR
18
+ ```ruby
19
+ source 'https://rubygems.org'
20
+ gem 'capistrano-scm-local', '~> 0.1'
21
+ ```
17
22
 
18
23
  deploy.rb
19
24
  ```ruby
@@ -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.4'
7
+ gem.version = '0.1.5'
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}
@@ -9,13 +9,13 @@ namespace :local do
9
9
  m = strategies[m]
10
10
  end
11
11
 
12
- @strategy ||= Capistrano::Local.new(self, m)
12
+ @local_strategy ||= Capistrano::Local.new(self, m)
13
13
  end
14
14
 
15
15
  desc 'Check that the source is reachable'
16
16
  task :check do
17
17
  run_locally do
18
- exit 1 unless strategy.check
18
+ exit 1 unless local_strategy.check
19
19
  end
20
20
  end
21
21
 
@@ -26,6 +26,6 @@ namespace :local do
26
26
  execute :mkdir, '-p', release_path
27
27
  end
28
28
  end
29
- strategy.release
29
+ local_strategy.release
30
30
  end
31
31
  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.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: