wslave 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/base/config/deploy/.production.rb.swp +0 -0
- data/base/config/deploy/.staging.rb.swp +0 -0
- data/base/config/deploy/production.rb +16 -10
- data/base/config/deploy/staging.rb +16 -10
- data/base/config/deploy.rb +1 -1
- data/wslave.gemspec +2 -2
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29d53a62cb4700f2be52f4cda9a588dabc09f268
|
4
|
+
data.tar.gz: 62ea910bc7e401fb77309a1a09f23daa88e6ad92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce3fda215dfac075252b8e56b5cd8f46f174912a53d44feb9a2acd6b63a4870677dac7cda8d1905a85669daabc2ae793abb93a9764de23b91af3f20afe72366a
|
7
|
+
data.tar.gz: 68591981867390b5fdb2f3b6f11174288ffaff8c3665231b91c998a7d8ee11a0b4b2cd11ae60134fa61cd325b11fce8640783ad18bc59e452519d4789a412ff5
|
Binary file
|
Binary file
|
@@ -30,43 +30,49 @@ namespace :deploy do
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
desc 'Syncs the wordpress directory with rsync'
|
34
|
+
task :sync_wp do
|
34
35
|
on roles(:web) do
|
35
|
-
|
36
|
+
`rsync -avzPhu --delete ./public/wordpress/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/wordpress/`
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
39
|
-
|
40
|
+
desc 'Uploads the uploads directory'
|
41
|
+
task :upload_wp do
|
40
42
|
on roles(:web) do
|
41
|
-
|
43
|
+
upload! './public/wordpress', "#{deploy_path}/shared/public/", recursive: true
|
42
44
|
end
|
43
45
|
end
|
44
46
|
|
45
|
-
|
47
|
+
desc 'Syncs the uploads directory with rsync'
|
48
|
+
task :sync_uploads do
|
46
49
|
on roles(:web) do
|
47
50
|
`rsync -avzPhu --delete ./public/wp-content/uploads/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/wp-content/uploads/`
|
48
51
|
end
|
49
52
|
end
|
50
53
|
|
51
|
-
|
54
|
+
desc 'Uploads the uploads directory'
|
55
|
+
task :upload_uploads do
|
52
56
|
on roles(:web) do
|
53
57
|
upload! './public/wp-content/uploads', "#{deploy_path}/shared/public/wp-content/", recursive: true
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
61
|
+
desc 'Syncs the plugins directory with rsync'
|
57
62
|
task :sync_plugins do
|
58
63
|
on roles(:web) do
|
59
|
-
`rsync -avzPhu --delete ./public/wp-content/plugins/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/plugins/`
|
64
|
+
`rsync -avzPhu --delete ./public/wp-content/plugins/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/wp-content/plugins/`
|
60
65
|
end
|
61
66
|
end
|
62
67
|
|
68
|
+
desc 'Uploads the plugins directory'
|
63
69
|
task :upload_plugins do
|
64
70
|
on roles(:web) do
|
65
|
-
upload! './public/wp-content/plugins', "#{deploy_path}/shared/public/", recursive: true
|
71
|
+
upload! './public/wp-content/plugins', "#{deploy_path}/shared/public/wp-content/", recursive: true
|
66
72
|
end
|
67
73
|
end
|
68
74
|
|
69
|
-
desc '
|
75
|
+
desc 'Perform special seed tasks required on intial seed'
|
70
76
|
task :initial do
|
71
77
|
on roles(:web) do
|
72
78
|
invoke('deploy:check:directories')
|
@@ -74,7 +80,7 @@ namespace :deploy do
|
|
74
80
|
invoke('deploy:check:make_linked_dirs')
|
75
81
|
invoke('deploy:wp_config')
|
76
82
|
invoke('deploy:upload_wp')
|
77
|
-
invoke('deploy:
|
83
|
+
invoke('deploy:upload_uploads')
|
78
84
|
invoke('deploy')
|
79
85
|
invoke('db:seed')
|
80
86
|
end
|
@@ -30,43 +30,49 @@ namespace :deploy do
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
desc 'Syncs the wordpress directory with rsync'
|
34
|
+
task :sync_wp do
|
34
35
|
on roles(:web) do
|
35
|
-
|
36
|
+
`rsync -avzPhu --delete ./public/wordpress/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/wordpress/`
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
39
|
-
|
40
|
+
desc 'Uploads the uploads directory'
|
41
|
+
task :upload_wp do
|
40
42
|
on roles(:web) do
|
41
|
-
|
43
|
+
upload! './public/wordpress', "#{deploy_path}/shared/public/", recursive: true
|
42
44
|
end
|
43
45
|
end
|
44
46
|
|
45
|
-
|
47
|
+
desc 'Syncs the uploads directory with rsync'
|
48
|
+
task :sync_uploads do
|
46
49
|
on roles(:web) do
|
47
50
|
`rsync -avzPhu --delete ./public/wp-content/uploads/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/wp-content/uploads/`
|
48
51
|
end
|
49
52
|
end
|
50
53
|
|
51
|
-
|
54
|
+
desc 'Uploads the uploads directory'
|
55
|
+
task :upload_uploads do
|
52
56
|
on roles(:web) do
|
53
57
|
upload! './public/wp-content/uploads', "#{deploy_path}/shared/public/wp-content/", recursive: true
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
61
|
+
desc 'Syncs the plugins directory with rsync'
|
57
62
|
task :sync_plugins do
|
58
63
|
on roles(:web) do
|
59
|
-
`rsync -avzPhu --delete ./public/wp-content/plugins/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/plugins/`
|
64
|
+
`rsync -avzPhu --delete ./public/wp-content/plugins/ #{deploy_user}@#{host_addr}:#{deploy_path}/shared/public/wp-content/plugins/`
|
60
65
|
end
|
61
66
|
end
|
62
67
|
|
68
|
+
desc 'Uploads the plugins directory'
|
63
69
|
task :upload_plugins do
|
64
70
|
on roles(:web) do
|
65
|
-
upload! './public/wp-content/plugins', "#{deploy_path}/shared/public/", recursive: true
|
71
|
+
upload! './public/wp-content/plugins', "#{deploy_path}/shared/public/wp-content/", recursive: true
|
66
72
|
end
|
67
73
|
end
|
68
74
|
|
69
|
-
desc '
|
75
|
+
desc 'Perform special seed tasks required on intial seed'
|
70
76
|
task :initial do
|
71
77
|
on roles(:web) do
|
72
78
|
invoke('deploy:check:directories')
|
@@ -74,7 +80,7 @@ namespace :deploy do
|
|
74
80
|
invoke('deploy:check:make_linked_dirs')
|
75
81
|
invoke('deploy:wp_config')
|
76
82
|
invoke('deploy:upload_wp')
|
77
|
-
invoke('deploy:
|
83
|
+
invoke('deploy:upload_uploads')
|
78
84
|
invoke('deploy')
|
79
85
|
invoke('db:seed')
|
80
86
|
end
|
data/base/config/deploy.rb
CHANGED
data/wslave.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'wslave'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.8'
|
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 ' \
|
@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.add_dependency 'thor'
|
24
24
|
s.add_dependency 'haikunator'
|
25
|
-
s.add_dependency 'capistrano', '
|
25
|
+
s.add_dependency 'capistrano', '= 3.9.1'
|
26
26
|
s.add_dependency 'capistrano-git-with-submodules', '~> 2.0'
|
27
27
|
end
|
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.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: capistrano
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.9.
|
47
|
+
version: 3.9.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.9.
|
54
|
+
version: 3.9.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: capistrano-git-with-submodules
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,6 +84,8 @@ files:
|
|
84
84
|
- base/config/deploy-tools/wp-config.php.erb
|
85
85
|
- base/config/deploy-tools/wp-config.php.local
|
86
86
|
- base/config/deploy.rb
|
87
|
+
- base/config/deploy/.production.rb.swp
|
88
|
+
- base/config/deploy/.staging.rb.swp
|
87
89
|
- base/config/deploy/production.rb
|
88
90
|
- base/config/deploy/staging.rb
|
89
91
|
- base/docker-compose.yml
|