wslave 0.0.10 → 0.0.11
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 +4 -4
- data/base/config/deploy/production.rb +1 -0
- data/base/config/deploy/staging.rb +1 -0
- data/lib/wslave_tools.rb +4 -0
- data/wslave.gemspec +1 -1
- metadata +2 -3
- data/base/config/.deploy.rb.swp +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89f19d84a47dbf216cbe71bbe9484a14b2884707
|
|
4
|
+
data.tar.gz: 3e12604338f17a7325ba9ac7f773eee6b08770c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b32b603ef3c6e920a244d898692510a05becaefded65edca93f246f01e550f71b242f431de1effe153324d274e252859364b73acebfe50cd07f9d2679b343765
|
|
7
|
+
data.tar.gz: 3cf50f5eeec130cde368f3a67f906c9f749bc338f820a6ccccca07829195ce9b7572e750d66892d9998afdc3fabace4332dadc73d29ec04ec385bbaa6ba932ca
|
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.
|
|
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.
|
|
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-
|
|
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
|
data/base/config/.deploy.rb.swp
DELETED
|
Binary file
|