capistrano-wpcli-multisite 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/tasks/wpdb.rake +3 -3
- data/lib/capistrano/wpcli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9688a2f1a99652b9cf449303c95cc2049bb13649
|
4
|
+
data.tar.gz: 71f89c5412536f898ff1d44813ad3e8146148b8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311bcf24c27c56bb794789e9fcbe21062e3bd958b0c6f0f411527114806b03d81ccedf2beb2a53883dabd151344bd010dc95844d1990395d42ba41ccbaabcf47
|
7
|
+
data.tar.gz: 43f680b09f7b05be758bcc616b2adc7b17c2f99034d7ae93bf1a8cd1859bed917ced49c1a1cf22949983f0fec815cf3af1861b9139221cca489c71651c092e27
|
@@ -64,7 +64,7 @@ namespace :wpcli do
|
|
64
64
|
if fetch(:wpcli_remote_urls).length == fetch(:wpcli_local_urls).length
|
65
65
|
fetch(:wpcli_remote_urls).each_with_index do |url, i|
|
66
66
|
execute :wp, "search-replace", url, fetch(:wpcli_local_urls)[i], fetch(:wpcli_args) || "--skip-columns=guid", "--all-tables-with-prefix=wp"
|
67
|
-
execute :wp, "search-replace", "https://#{
|
67
|
+
execute :wp, "search-replace", "https://#{fetch(:wpcli_local_urls)[i]}", "http://#{fetch(:wpcli_local_urls)[i]}", fetch(:wpcli_args) || "--skip-columns=guid", "--all-tables-with-prefix=wp"
|
68
68
|
end
|
69
69
|
else
|
70
70
|
error = CommandError.new("remote_urls array and local_urls array not the same length")
|
@@ -88,7 +88,7 @@ namespace :wpcli do
|
|
88
88
|
if fetch(:wpcli_remote_urls).length == fetch(:wpcli_local_urls).length
|
89
89
|
fetch(:wpcli_remote_urls).each_with_index do |url, i|
|
90
90
|
execute :wp, "search-replace", url, fetch(:wpcli_local_urls)[i], fetch(:wpcli_args) || "--skip-columns=guid", "--all-tables-with-prefix=wp"
|
91
|
-
execute :wp, "search-replace", "https://#{
|
91
|
+
execute :wp, "search-replace", "https://#{fetch(:wpcli_local_urls)[i]}", "http://#{fetch(:wpcli_local_urls)[i]}", fetch(:wpcli_args) || "--skip-columns=guid", "--all-tables-with-prefix=wp"
|
92
92
|
end
|
93
93
|
else
|
94
94
|
error = CommandError.new("remote_urls array and local_urls array not the same length")
|
@@ -126,7 +126,7 @@ namespace :wpcli do
|
|
126
126
|
if fetch(:wpcli_remote_urls).length == fetch(:wpcli_local_urls).length
|
127
127
|
fetch(:wpcli_local_urls).each_with_index do |url, i|
|
128
128
|
execute :wp, "search-replace", url, fetch(:wpcli_remote_urls)[i], fetch(:wpcli_args) || "--skip-columns=guid", "--all-tables-with-prefix=wp"
|
129
|
-
execute :wp, "search-replace", "http://#{
|
129
|
+
execute :wp, "search-replace", "http://#{fetch(:wpcli_remote_urls)[i]}", "https://#{fetch(:wpcli_remote_urls)[i]}", fetch(:wpcli_args) || "--skip-columns=guid", "--all-tables-with-prefix=wp"
|
130
130
|
end
|
131
131
|
else
|
132
132
|
error = CommandError.new("remote_urls array and local_urls array not the same length")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-wpcli-multisite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juancito Arias
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-10-
|
13
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|