capistrano-locally 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/capistrano/locally/version.rb +1 -1
- data/lib/capistrano/locally.rb +11 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 70f18185d6d80ce13e5db4fdb1426a68c97a358934e63fe1ebaa9d9e47cc0b73
|
4
|
+
data.tar.gz: f4909085562e0519a855b2dab1793f26a95f961d2c24056a57e213fcc0aab5ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eec73f762a82d304d2291305c02f84bf68d060566ea47bad36bfe25068993ffbb4e67e9ee86a87415bc02a4bb3972fa720f346f8edeb97642d1f825e8c5e5c4
|
7
|
+
data.tar.gz: eaa0bece1a652af393d9791bfd6c7de35f4583c17134cff7534f9d415e203860e5e367676abfb9e68c299bbffb5e82a92b5f6339c1d231bd39b97e2351599e3a
|
data/README.md
CHANGED
data/lib/capistrano/locally.rb
CHANGED
@@ -17,11 +17,18 @@ module Capistrano
|
|
17
17
|
localhost = Configuration.env.filter(localhosts).first
|
18
18
|
|
19
19
|
unless localhost.nil?
|
20
|
-
if dry_run?
|
21
|
-
|
20
|
+
klass = if dry_run?
|
21
|
+
SSHKit::Backend::Printer
|
22
|
+
else
|
23
|
+
SSHKit::Backend::Local
|
24
|
+
end
|
25
|
+
if defined? Bundler
|
26
|
+
Bundler.with_clean_env do
|
27
|
+
klass.new(localhost, &block).run
|
28
|
+
end
|
22
29
|
else
|
23
|
-
|
24
|
-
end
|
30
|
+
klass.new(localhost, &block).run
|
31
|
+
end
|
25
32
|
end
|
26
33
|
|
27
34
|
original_on(remotehosts, options, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-locally
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takuto Komazaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.7.3
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Capistrano plugin to simplify "localhost" deployment.
|