wslave 0.3.6 → 0.3.7
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 +2 -2
- data/base/config/deploy/staging.rb +2 -2
- data/base/config/deploy-tools/gen-wp-config.rb +2 -2
- data/base/config/deploy.rb +1 -1
- 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: 839a62b6aacc39ae8b94d9754c086051fdf2a3e4d77b2204fd203bbfea03d0b7
|
|
4
|
+
data.tar.gz: 76651142c622cf53d06ce8a752c5f9b510682c1367af08a635e311bd4c9cdc7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9a20502e3ffd6698d6edf29cf7ea5097a5ac123c0abeaa285c42285387fad9603b7483a2b1c5eaaa0724b3e4440a6da1964e98f05d2aa81ad345be791d2022e
|
|
7
|
+
data.tar.gz: 0cac7f0290283ccc147dd06c4975865cf26d1a9cec2a8c48210b96a63b166410f9d1a4ee027c6261dbefb3d968b85328eeee7776d6cc0558932137d0c8b92607
|
|
@@ -2,8 +2,8 @@ require 'yaml'
|
|
|
2
2
|
require 'date'
|
|
3
3
|
require 'wslave_sage'
|
|
4
4
|
|
|
5
|
-
opts = YAML.load_file('config/definitions.yml')
|
|
6
|
-
db_info = YAML.load_file('config/database.yml')
|
|
5
|
+
opts = YAML.load_file('config/definitions.yml', aliases: true)
|
|
6
|
+
db_info = YAML.load_file('config/database.yml', aliases: true)
|
|
7
7
|
|
|
8
8
|
deploy_user = opts['deployer']['user']
|
|
9
9
|
deploy_group = opts['deployer']['www_data_group']
|
|
@@ -2,8 +2,8 @@ require 'yaml'
|
|
|
2
2
|
require 'date'
|
|
3
3
|
require 'wslave_sage'
|
|
4
4
|
|
|
5
|
-
opts = YAML.load_file('config/definitions.yml')
|
|
6
|
-
db_info = YAML.load_file('config/database.yml')
|
|
5
|
+
opts = YAML.load_file('config/definitions.yml', aliases: true)
|
|
6
|
+
db_info = YAML.load_file('config/database.yml', aliases: true)
|
|
7
7
|
|
|
8
8
|
deploy_user = opts['deployer']['user']
|
|
9
9
|
deploy_group = opts['deployer']['www_data_group']
|
|
@@ -8,8 +8,8 @@ def GenerateWPConfig(profile = 'production', out_path = './')
|
|
|
8
8
|
config_path = File.dirname(File.expand_path(File.dirname(__FILE__)))
|
|
9
9
|
vars = {}
|
|
10
10
|
vars[:profile] = profile.to_sym
|
|
11
|
-
vars[:db_info] = YAML.load_file("#{config_path}/database.yml")
|
|
12
|
-
vars[:salt] = YAML.load_file("#{config_path}/salts.yml")
|
|
11
|
+
vars[:db_info] = YAML.load_file("#{config_path}/database.yml", aliases: true)
|
|
12
|
+
vars[:salt] = YAML.load_file("#{config_path}/salts.yml", aliases: true)
|
|
13
13
|
|
|
14
14
|
erb_source = File.read("#{config_path}/deploy-tools/wp-config.php.erb")
|
|
15
15
|
rend = ERB.new(erb_source)
|
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.3.
|
|
3
|
+
s.version = '0.3.7'
|
|
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.3.
|
|
4
|
+
version: 0.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rei Kagetsuki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|