wslave 0.0.10 → 0.0.11

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
  SHA1:
3
- metadata.gz: ba6ee752d365aeb960d4560e6f1fb5fdece0821a
4
- data.tar.gz: a828906fb12e94bca09cda0443686f7fe8866431
3
+ metadata.gz: 89f19d84a47dbf216cbe71bbe9484a14b2884707
4
+ data.tar.gz: 3e12604338f17a7325ba9ac7f773eee6b08770c4
5
5
  SHA512:
6
- metadata.gz: 68e7f8d654e4a590a2c4160501199efa955883fd44e5f334613cbe807a0f489d739d87bf910392798d17ceff5bfa793c5879075d6fd04e0c2eaf9760858783e9
7
- data.tar.gz: f2a5b72f3280e6d1e54cb0d9df0f5655b879314ff666789c5a4a044814308978610ccc61f1ebb62ba7659cce7b32a43f18690b22c20933376ff6b47dcce4ac7b
6
+ metadata.gz: b32b603ef3c6e920a244d898692510a05becaefded65edca93f246f01e550f71b242f431de1effe153324d274e252859364b73acebfe50cd07f9d2679b343765
7
+ data.tar.gz: 3cf50f5eeec130cde368f3a67f906c9f749bc338f820a6ccccca07829195ce9b7572e750d66892d9998afdc3fabace4332dadc73d29ec04ec385bbaa6ba932ca
@@ -80,6 +80,7 @@ namespace :deploy do
80
80
  invoke('deploy:check:make_linked_dirs')
81
81
  invoke('deploy:wp_config')
82
82
  invoke('deploy:upload_wp')
83
+ invoke('deploy:upload_plugins')
83
84
  invoke('deploy:upload_uploads')
84
85
  invoke('deploy')
85
86
  invoke('db:seed')
@@ -80,6 +80,7 @@ namespace :deploy do
80
80
  invoke('deploy:check:make_linked_dirs')
81
81
  invoke('deploy:wp_config')
82
82
  invoke('deploy:upload_wp')
83
+ invoke('deploy:upload_plugins')
83
84
  invoke('deploy:upload_uploads')
84
85
  invoke('deploy')
85
86
  invoke('db:seed')
data/lib/wslave_tools.rb CHANGED
@@ -13,9 +13,13 @@ class WSlaveTools
13
13
  def self.set_dev_perms
14
14
  begin
15
15
  FileUtils.chown(nil, 'www-data', 'public/wp-content/themes')
16
+ FileUtils.chmod(0775, 'public/wp-content/themes')
16
17
  FileUtils.chown(nil, 'www-data', 'public/wp-content/uploads')
18
+ FileUtils.chmod(0775, 'public/wp-content/uploads')
17
19
  FileUtils.chown(nil, 'www-data', 'public/wp-content/plugins')
20
+ FileUtils.chmod(0775, 'public/wp-content/plugins')
18
21
  FileUtils.chown(nil, 'www-data', 'public/wp-content/upgrade')
22
+ FileUtils.chmod(0775, 'public/wp-content/upgrade')
19
23
  rescue Errno::EPERM
20
24
  puts "!!!WARNING!!! Your user does not belong to the www-data group!\n" \
21
25
  " >>> Unable to make folders writable for devlopment. <<<\n" \
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.10'
3
+ s.version = '0.0.11'
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.0.10
4
+ version: 0.0.11
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-10-04 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -93,7 +93,6 @@ files:
93
93
  - base/Dockerfile
94
94
  - base/Gemfile
95
95
  - base/Rakefile
96
- - base/config/.deploy.rb.swp
97
96
  - base/config/deploy-tools/gen-salts.rb
98
97
  - base/config/deploy-tools/gen-wp-config.rb
99
98
  - base/config/deploy-tools/wp-config.php.erb
Binary file