wslave 0.2.0 → 0.2.1
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 +4 -2
- data/base/config/deploy/staging.rb +4 -2
- data/wslave.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e16c72d275e2b421b9595ec5a7e582d910587f633310086b5b933347bec52787
|
4
|
+
data.tar.gz: d849c0fcecd37b6cdbbc2c76145ef39d3704b2d5870e2c6fbec16fb2f0d3d821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7ac6671ca9ed9437a1c3b0c9c6d0d94a86f9be9e775cdb2a1335c35b21e9b85013d24e1c88e1188473ef81b29cb7cdfc021eb0d7a063475bed8a3b48dd30e9
|
7
|
+
data.tar.gz: 9d6fb270da3c9b0f06411ee60f013fe4ed4626a1eab68549b37019b8c9aca5779352347a0a4cc380b629205abba0c5d6d47ad0a71e659ca64ea59a8a7edaef7d
|
@@ -14,7 +14,9 @@ site_fqdn = opts['deployer']['fqdn']['production']
|
|
14
14
|
disable_rsync = (opts.include?('options') && opts['options'].include?('rsync_enabled') &&
|
15
15
|
opts['options']['rsync_enabled'] == false)
|
16
16
|
|
17
|
-
|
17
|
+
if (opts['deployer'].include?('branch') && opts['deployer']['branch'].include?('production'))
|
18
|
+
set :branch, opts['deployer']['branch']['production']
|
19
|
+
end
|
18
20
|
|
19
21
|
role :web, "#{deploy_user}@#{host_addr}"
|
20
22
|
|
@@ -198,9 +200,9 @@ namespace :deploy do
|
|
198
200
|
invoke('deploy:sync_uploads')
|
199
201
|
end
|
200
202
|
invoke('deploy')
|
201
|
-
invoke('sage')
|
202
203
|
invoke('db:seed')
|
203
204
|
invoke('deploy:chikan')
|
205
|
+
invoke('deploy:sage')
|
204
206
|
invoke('deploy:set_permissions')
|
205
207
|
end
|
206
208
|
end
|
@@ -14,7 +14,9 @@ site_fqdn = opts['deployer']['fqdn']['staging']
|
|
14
14
|
disable_rsync = (opts.include?('options') && opts['options'].include?('rsync_enabled') &&
|
15
15
|
opts['options']['rsync_enabled'] == false)
|
16
16
|
|
17
|
-
|
17
|
+
if (opts['deployer'].include?('branch') && opts['deployer']['branch'].include?('staging'))
|
18
|
+
set :branch, opts['deployer']['branch']['staging']
|
19
|
+
end
|
18
20
|
|
19
21
|
role :web, "#{deploy_user}@#{host_addr}"
|
20
22
|
|
@@ -197,9 +199,9 @@ namespace :deploy do
|
|
197
199
|
invoke('deploy:sync_uploads')
|
198
200
|
end
|
199
201
|
invoke('deploy')
|
200
|
-
invoke('sage')
|
201
202
|
invoke('db:seed')
|
202
203
|
invoke('deploy:chikan')
|
204
|
+
invoke('deploy:sage')
|
203
205
|
invoke('deploy:set_permissions')
|
204
206
|
end
|
205
207
|
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.1'
|
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.1
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|