wordmove 2.4.2 → 2.4.3

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: 16821c9f9d076630441848ea869b52345b3a4441
4
- data.tar.gz: 7bbb24462aad0632cb83d5e6a977251d0eaa1f1e
3
+ metadata.gz: 04bfb425afb2c3de81d1be3a22bc671aa091a79b
4
+ data.tar.gz: 23733bb4dfda4ea1e1e38f884c5245fc57b5508d
5
5
  SHA512:
6
- metadata.gz: dae8535dcd8ac9f09215c4fff13ad68c4b8f03470d8a61765dcfa12da58fa466ebfa964ef7af6d5577483709e0a92be13babc50f9b3dcc10a82496db0d30101d
7
- data.tar.gz: 4a23251e39449e05e66d0377ec07a15f1066ae0d319dc078a1cd57bba81adf61dafd6ad7c8d7cf59514b2b355696a39ac6c8f728114c03b672620b0ba2dcce8d
6
+ metadata.gz: a1243b001663e250f0277f44456070912c2dfa464898602088f48c5e8e8a0a11d84a1093fafdaef3214633d784ef147cba595ea1c6e090ba83c5bbce8b826a3e
7
+ data.tar.gz: 2a4db3f1e1512a2dc02194fd16b59faf806f0fffa2d932f6cc5d8b8c44515ebe727e42cc6ec553066c09f43f8594d83a743c3addd08c12364f4d3a512ed0e86b
@@ -42,9 +42,12 @@ module Wordmove
42
42
 
43
43
  def mysql_server_doctor
44
44
  command = ["mysql"]
45
- command << "-u #{config['user']}"
46
- command << "-p#{config['password']}" unless config['password'].blank?
47
- command << "-h #{config['host']}"
45
+ command << "--host=#{Shellwords.escape(config[:host])}" if config[:host].present?
46
+ command << "--port=#{Shellwords.escape(config[:port])}" if config[:port].present?
47
+ command << "--user=#{Shellwords.escape(config[:user])}" if config[:user].present?
48
+ if config[:password].present?
49
+ command << "--password=#{Shellwords.escape(config[:password])}"
50
+ end
48
51
  command << "-e'QUIT'"
49
52
  command = command.join(" ")
50
53
 
@@ -1,3 +1,3 @@
1
1
  module Wordmove
2
- VERSION = "2.4.2".freeze
2
+ VERSION = "2.4.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordmove
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2018-01-25 00:00:00.000000000 Z
15
+ date: 2018-02-03 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport