wslave 0.2.1 → 0.2.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61e948f1644206ed6520ad69e43583dbafe1200208eb007d7dab044e09d1c84f
|
|
4
|
+
data.tar.gz: 351b554954d11957292a027a440f7add6ee8156b7b5eeaa9d97fc7cbb9772fb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b67317839d90324f73bdd34c998832be78d367174fe2c88737d615a9811b9c5c531ea0bed198461425307b2b7e6742e330a9258abe7a10b99f7af9b1630a4756
|
|
7
|
+
data.tar.gz: 2513942d0a62658f8a4b72bc0f2afcc3f933ad94c6f5507ad6f9a94c02571cdcfaa0b625049c9e2cf9f55d8789b3223f748c6eee3157a2b96dc0c986001d1d51
|
|
Binary file
|
|
Binary file
|
|
@@ -91,8 +91,8 @@ namespace :deploy do
|
|
|
91
91
|
puts "Couldn't find a Sage theme for this project."
|
|
92
92
|
else
|
|
93
93
|
wss.production()
|
|
94
|
-
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/vendor #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/vendor
|
|
95
|
-
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/dist #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/dist
|
|
94
|
+
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/vendor/ #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/vendor/`
|
|
95
|
+
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/dist/ #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/dist/`
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
98
|
end
|
|
@@ -106,8 +106,8 @@ namespace :deploy do
|
|
|
106
106
|
puts "Couldn't find a Sage theme for this project."
|
|
107
107
|
else
|
|
108
108
|
wss.production()
|
|
109
|
-
upload! "./public/wp-content/themes/#{sage_theme_name}/vendor", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
110
|
-
upload! "./public/wp-content/themes/#{sage_theme_name}/dist", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
109
|
+
upload! "./public/wp-content/themes/#{sage_theme_name}/vendor/", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
110
|
+
upload! "./public/wp-content/themes/#{sage_theme_name}/dist/", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
end
|
|
@@ -32,6 +32,7 @@ namespace :deploy do
|
|
|
32
32
|
desc "Generate wp-config.php for profile"
|
|
33
33
|
task :wp_config do
|
|
34
34
|
on roles(:web) do
|
|
35
|
+
invoke 'deploy:check:make_linked_dirs'
|
|
35
36
|
require_relative '../deploy-tools/gen-wp-config'
|
|
36
37
|
FileUtils.mkdir('./tmp') unless Dir.exist?('./tmp')
|
|
37
38
|
GenerateWPConfig('staging', './tmp')
|
|
@@ -90,8 +91,8 @@ namespace :deploy do
|
|
|
90
91
|
puts "Couldn't find a Sage theme for this project."
|
|
91
92
|
else
|
|
92
93
|
wss.production()
|
|
93
|
-
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/vendor #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/vendor
|
|
94
|
-
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/dist #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/dist
|
|
94
|
+
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/vendor/ #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/vendor/`
|
|
95
|
+
`rsync -avzPhu --delete ./public/wp-content/themes/#{sage_theme_name}/dist/ #{deploy_user}@#{host_addr}:#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/dist/`
|
|
95
96
|
end
|
|
96
97
|
end
|
|
97
98
|
end
|
|
@@ -105,8 +106,8 @@ namespace :deploy do
|
|
|
105
106
|
puts "Couldn't find a Sage theme for this project."
|
|
106
107
|
else
|
|
107
108
|
wss.production()
|
|
108
|
-
upload! "./public/wp-content/themes/#{sage_theme_name}/vendor", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
109
|
-
upload! "./public/wp-content/themes/#{sage_theme_name}/dist", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
109
|
+
upload! "./public/wp-content/themes/#{sage_theme_name}/vendor/", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
110
|
+
upload! "./public/wp-content/themes/#{sage_theme_name}/dist/", "#{deploy_path}/current/public/wp-content/themes/#{sage_theme_name}/", recursive: true
|
|
110
111
|
end
|
|
111
112
|
end
|
|
112
113
|
end
|
data/wslave.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'wslave'
|
|
3
|
-
s.version = '0.2.
|
|
3
|
+
s.version = '0.2.2'
|
|
4
4
|
s.licenses = ['GPL-3.0', 'AGPL-3.0']
|
|
5
5
|
s.summary = '"Word Slave" generates and controls a WordPress installation'
|
|
6
6
|
s.description = 'Word Slave includes the wslave command and a control library to generate a ' \
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wslave
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rei Kagetsuki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -164,6 +164,8 @@ files:
|
|
|
164
164
|
- base/config/deploy-tools/wp-config.php.erb
|
|
165
165
|
- base/config/deploy-tools/wp-config.php.local
|
|
166
166
|
- base/config/deploy.rb
|
|
167
|
+
- base/config/deploy/.production.rb.swp
|
|
168
|
+
- base/config/deploy/.staging.rb.swp
|
|
167
169
|
- base/config/deploy/production.rb
|
|
168
170
|
- base/config/deploy/staging.rb
|
|
169
171
|
- base/docker-compose.yml
|