geordi 0.14.1 → 0.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/dumple +3 -1
  2. data/lib/geordi/version.rb +1 -1
  3. metadata +5 -5
data/bin/dumple CHANGED
@@ -63,7 +63,9 @@ begin
63
63
  puts
64
64
  puts "Dumping database for \"#{environment}\" environment ..."
65
65
 
66
- system "mysqldump -u\"#{config['username']}\" -p\"#{config['password']}\" #{config['database']} -r #{dump_path}"
66
+ host = config[:host] || 'localhost'
67
+
68
+ system "mysqldump -u\"#{config['username']}\" -p\"#{config['password']}\" #{config['database']} -r #{dump_path} -h#{host}"
67
69
  system "chmod 600 #{dump_path}"
68
70
 
69
71
  dump_size_kb = (File.size(dump_path) / 1024).round
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '0.14.1'
2
+ VERSION = '0.14.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geordi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 37
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
- - 1
10
- version: 0.14.1
9
+ - 2
10
+ version: 0.14.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-05 00:00:00 Z
18
+ date: 2012-11-22 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements: []
115
115
 
116
116
  rubyforge_project: geordi
117
- rubygems_version: 1.8.24
117
+ rubygems_version: 1.8.23
118
118
  signing_key:
119
119
  specification_version: 3
120
120
  summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.