recipiez 0.4.5 → 0.4.6

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.5'
2
+ VERSION = '0.4.6'
3
3
  end
@@ -88,7 +88,7 @@ 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 || 'localhost'} "
91
+ cmd += " -h #{db_host} " unless defined?(db_host).nil?
92
92
  cmd += " -p\"#{db_password}\" "
93
93
  cmd += "#{database_to_dump} > #{archive}"
94
94
  result = run(cmd)
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: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 5
10
- version: 0.4.5
9
+ - 6
10
+ version: 0.4.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton