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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f166ebdd86359e239e14471ae7eabe907ac34adae44529e1e420f437feee2a32
4
- data.tar.gz: 42e606369d33accbaf8fa6a00428547b45c340d437bfb543af674dbe9e05f2bc
3
+ metadata.gz: e16c72d275e2b421b9595ec5a7e582d910587f633310086b5b933347bec52787
4
+ data.tar.gz: d849c0fcecd37b6cdbbc2c76145ef39d3704b2d5870e2c6fbec16fb2f0d3d821
5
5
  SHA512:
6
- metadata.gz: 7ed2dad207e47644c602cf9017c465166dd504bd054d1f0f4be37f8c455fd1177a4e455ea981f8d49c1ca6fa251b8388f2ab1f1866be1d37a2ba4c432d730d3d
7
- data.tar.gz: 6d2333831378f71024e36f56fc960260369427c42f7b93404ff4901d8f8878310f8884815155ab9aac7e43aa41d8b33a4db7db2497e55347516c9840d6c6b31b
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
- set :branch, fetch(opts['deployer']['branch']['production'], 'master')
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
- set :branch, fetch(opts['deployer']['branch']['staging'], 'master')
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'wslave'
3
- s.version = '0.2.0'
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2020-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano