wordpress-capistrano 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/capistrano/tasks/wordpress.rake +4 -3
- data/wordpress-capistrano.gemspec +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: be01240d07ca7b4949e64f0600afa35e68bf17c6
|
|
4
|
+
data.tar.gz: 6489e2c0f6a228a767f5d086ed04041867a1a97d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8136c884277b8850ad2da648fdb03b2ce4ac812dad5cce8b2cad74397f52f4255fee2fdfd21f73839f41b5404714822c60b6e0be8a163cdd6704807c69040ca9
|
|
7
|
+
data.tar.gz: ef976717ca9dd461115a012a29f77671eaf9c4eb6e5f714d860230a65a464a309f5a1a05de92b0d07f28519950b82a98bfe7905261e2306dea842ce6783bd466
|
|
@@ -15,9 +15,10 @@ namespace :wordpress do
|
|
|
15
15
|
|
|
16
16
|
run_locally do
|
|
17
17
|
execute :wp, "--path=#{fetch(:wp_path)} db import database.sql"
|
|
18
|
+
execute :wp, "--path=#{fetch(:wp_path)} search-replace #{fetch(:url)} #{fetch(:local_url)}"
|
|
18
19
|
execute :rm, "database.sql"
|
|
19
|
-
execute :wp, "--path=#{fetch(:wp_path)}", :option, :delete, :template_root
|
|
20
|
-
execute :wp, "--path=#{fetch(:wp_path)}", :option, :delete, :stylesheet_root
|
|
20
|
+
execute :wp, "--path=#{fetch(:wp_path)}", :option, :delete, :template_root, raise_on_non_zero_exit: false
|
|
21
|
+
execute :wp, "--path=#{fetch(:wp_path)}", :option, :delete, :stylesheet_root, raise_on_non_zero_exit: false
|
|
21
22
|
end
|
|
22
23
|
|
|
23
24
|
execute :rm, "#{fetch(:tmp_dir)}/database.sql"
|
|
@@ -137,4 +138,4 @@ namespace :load do
|
|
|
137
138
|
set :wp_uploads, 'wp-content/uploads'
|
|
138
139
|
set :wp_themes, 'wp-content/themes'
|
|
139
140
|
end
|
|
140
|
-
end
|
|
141
|
+
end
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'wordpress-capistrano'
|
|
7
|
-
spec.version = '0.2.
|
|
7
|
+
spec.version = '0.2.1'
|
|
8
8
|
spec.authors = ['Craig Morris']
|
|
9
9
|
spec.email = ['craig.michael.morris@gmail.com']
|
|
10
10
|
spec.description = %q{WordPress support for Capistrano 3.x}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wordpress-capistrano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Craig Morris
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
89
89
|
version: '0'
|
|
90
90
|
requirements: []
|
|
91
91
|
rubyforge_project:
|
|
92
|
-
rubygems_version: 2.
|
|
92
|
+
rubygems_version: 2.4.6
|
|
93
93
|
signing_key:
|
|
94
94
|
specification_version: 4
|
|
95
95
|
summary: WordPress support for Capistrano 3.x
|