dkdeploy-core 9.2.2 → 9.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Vagrantfile +1 -1
- data/lib/dkdeploy/core/version.rb +1 -1
- data/lib/dkdeploy/interaction_handler/mysql.rb +1 -1
- data/lib/dkdeploy/tasks/assets.rake +1 -1
- data/lib/dkdeploy/tasks/current_folder.rake +1 -1
- data/lib/dkdeploy/tasks/db.rake +1 -1
- data/spec/fixtures/application/config/deploy.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f49d3a4d8949d6001316422be38a3dbb279e53797d5d512003556ae5f91a8fa7
|
4
|
+
data.tar.gz: b30ffa5e5597750ba2a0da3e3e264ccba6cb854cf49d9dc21681995d6ee81e0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5932401f1144b9024a17b376a4b586743d7798011d2b8b983ae78321b7051f4e1f93f946833182d82c5739d90adb319ca61d8cb4babeb54a84d730b5d2bc5e76
|
7
|
+
data.tar.gz: b07b51e05c51187417297c1e49a791587676c41e88ea6ad444b151d1738aef581ab5c0415e935bf08bdd7831219b10a0953c4da3f1b213d3c9737de621c8404e
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [9.2.3] - 2019-05-29
|
6
|
+
### Summary
|
7
|
+
|
8
|
+
- Remove frozen string error
|
9
|
+
- Update interaction handler for new `htpasswd` versions
|
10
|
+
- Use correct test statement for task "remove_unless_symlinked"
|
11
|
+
|
5
12
|
## [9.2.2] - 2019-02-18
|
13
|
+
### Summary
|
6
14
|
|
7
15
|
- run tests and linter against Ruby 2.3
|
8
16
|
- fixed bug in clean_up_temporary_sources
|
data/Vagrantfile
CHANGED
@@ -46,7 +46,7 @@ Vagrant.configure(2) do |config|
|
|
46
46
|
if Vagrant.has_plugin?('landrush')
|
47
47
|
config.landrush.enabled = true
|
48
48
|
config.landrush.guest_redirect_dns = false
|
49
|
-
config.landrush.tld = '
|
49
|
+
config.landrush.tld = 'test'
|
50
50
|
config.landrush.host domain, ip_address
|
51
51
|
else
|
52
52
|
config.vm.post_up_message = "Either install Vagrant plugin 'landrush' or add this entry to your host file: #{ip_address} #{domain}"
|
@@ -30,7 +30,7 @@ module Dkdeploy
|
|
30
30
|
return raise 'Unexpected data from stream. Can not send password to undefined stream' unless @mysql_error_seen
|
31
31
|
|
32
32
|
# combine the multiple lines from error message. The fact that the error message will be shown multiple times is simply ignored
|
33
|
-
@return_message
|
33
|
+
@return_message += data
|
34
34
|
message = 'Error on executing MySQL command! Response (error code) is: '
|
35
35
|
SSHKit.config.output.send(:error, "#{message}\n #{@return_message}")
|
36
36
|
raise 'InteractionHandler caught a MySQL error'
|
@@ -46,7 +46,7 @@ namespace :assets do
|
|
46
46
|
on release_roles :web do
|
47
47
|
info I18n.t('directory.create', scope: :dkdeploy)
|
48
48
|
execute :mkdir, '-p', shared_path
|
49
|
-
execute :htpasswd, '-c', htpasswd_path, username, interaction_handler:
|
49
|
+
execute :htpasswd, '-c', htpasswd_path, username, interaction_handler: { /.*password.*/i => "#{password}\n" }
|
50
50
|
info I18n.t('tasks.assets.add_htpasswd.successfully_created', scope: :dkdeploy)
|
51
51
|
end
|
52
52
|
end
|
@@ -8,7 +8,7 @@ namespace :current_folder do
|
|
8
8
|
desc "Delete current folder unless it's a symlink"
|
9
9
|
task :remove_unlesss_symlinked do
|
10
10
|
on release_roles :all do
|
11
|
-
if test "[ -d #{current_path} && ! -L #{current_path} ]"
|
11
|
+
if test "[ -d #{current_path} ] && [ ! -L #{current_path} ]"
|
12
12
|
execute :rm, '-rf', current_path
|
13
13
|
else
|
14
14
|
info I18n.t('info.ignoring_current_folder', scope: :dkdeploy)
|
data/lib/dkdeploy/tasks/db.rake
CHANGED
@@ -146,7 +146,7 @@ namespace :db do
|
|
146
146
|
execute :rm, '-f', remote_zipped_dump_file
|
147
147
|
|
148
148
|
ignore_tables_command_line = ignore_tables.inject('') do |command_line, table|
|
149
|
-
command_line
|
149
|
+
command_line + " --ignore-table=#{db_settings.fetch('name')}.#{table}"
|
150
150
|
end
|
151
151
|
|
152
152
|
execute :mysqldump,
|
@@ -18,6 +18,8 @@ set :asset_default_content, %w[download]
|
|
18
18
|
set :asset_exclude_file, 'config/assets_exclude_file.txt'
|
19
19
|
set :asset_folders, %w[download]
|
20
20
|
|
21
|
+
set :additional_ignore_tables, %w[test_table]
|
22
|
+
|
21
23
|
require 'dkdeploy/interaction_handler/mysql'
|
22
24
|
namespace :db do
|
23
25
|
task :sql_error do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dkdeploy-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.2.
|
4
|
+
version: 9.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timo Webler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-05-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aruba
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
requirements: []
|
280
|
-
rubygems_version: 3.0.
|
280
|
+
rubygems_version: 3.0.3
|
281
281
|
signing_key:
|
282
282
|
specification_version: 4
|
283
283
|
summary: dkd basic deployment tasks and strategies
|