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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8daaa212535c1ecfa77f8e58081ee01f28c89d95c782dda2e6e31a608c17364f
4
- data.tar.gz: f8661cfe1d3a1a190a99a5fca0f50c5be41e081637fcf81866a798e1ab56488c
3
+ metadata.gz: 839a62b6aacc39ae8b94d9754c086051fdf2a3e4d77b2204fd203bbfea03d0b7
4
+ data.tar.gz: 76651142c622cf53d06ce8a752c5f9b510682c1367af08a635e311bd4c9cdc7e
5
5
  SHA512:
6
- metadata.gz: 2ede25542d1264752be2659c8098c847dd53b65bb696fe1a6c24be291020bc0465555262b026059c249046967f32b5cf762919b3cc55cf9c77e332ee19cead1f
7
- data.tar.gz: fdaa5e5762f5edb5f09c4264ae45a3f61594272f954e198d4bbfdca8b7743bd0f83ec33d041e46370c97238dbe71997f5dd1f0a769d4043bc3e4f6c5e3b05f1b
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)
@@ -2,7 +2,7 @@
2
2
  lock "3.17.0"
3
3
 
4
4
  require 'yaml'
5
- opts = YAML.load_file('config/definitions.yml')
5
+ opts = YAML.load_file('config/definitions.yml', aliases: true)
6
6
 
7
7
  set :application, opts['app']['name']
8
8
  set :repo_url, opts['app']['repo']
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.6'
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.6
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-14 00:00:00.000000000 Z
11
+ date: 2022-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano