recipiez 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
@@ -88,8 +88,8 @@ namespace :recipiez do
88
88
  archive = generate_archive(application)
89
89
  filename = get_filename(application)
90
90
  cmd = "mysqldump --opt --skip-add-locks -u #{db_user} "
91
- cmd += " -h #{db_host} " if defined?(db_host)
92
- cmd += " -p#{db_password} "
91
+ cmd += " -h #{db_host || 'localhost'} "
92
+ cmd += " -p \"#{db_password}\" "
93
93
  cmd += "#{database_to_dump} > #{archive}"
94
94
  result = run(cmd)
95
95
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton