capistrano-wpcli 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/capistrano/tasks/wpuploads.rake +3 -0
- data/lib/capistrano/wpcli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61ef99871eb9c328be989cf84ae931c4f866600b
|
4
|
+
data.tar.gz: 69ef9c9ed45c1370ad92d2f34bb0952e5644f061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f070f80eb28037770dc9a83a3df79e2cd1f1ecc0decef82270aefa966d36c43be4d6d0a02e2f7131d6d38481d89de5fc7c92de9ba7918701d4eda2128b3074ce
|
7
|
+
data.tar.gz: c9476546605d17f73bfc0e1429557a70ff667b064c54c60c41b92e19818ce9b5d51d3f9532e1e26d2e5ebac6b75cad81359679d6b74a1480641db762c534e9fc
|
data/Gemfile.lock
CHANGED
@@ -37,6 +37,9 @@ namespace :wpcli do
|
|
37
37
|
task :pull do
|
38
38
|
roles(:web).each do |role|
|
39
39
|
run_locally do
|
40
|
+
puts role.netssh_options[:port]
|
41
|
+
port = role.netssh_options[:port] || 22
|
42
|
+
set :wpcli_rsync_options, fetch(:wpcli_rsync_options) + (" -e 'ssh -p #{port}'")
|
40
43
|
execute :rsync, fetch(:wpcli_rsync_options), "#{role.user}@#{role.hostname}:#{fetch(:wpcli_remote_uploads_dir)}", fetch(:wpcli_local_uploads_dir)
|
41
44
|
end
|
42
45
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-wpcli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juancito Arias
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.5.2
|
112
|
+
rubygems_version: 2.5.2.3
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Simple Capistrano wrapper around WP-CLI
|