geordi 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/dumple +3 -1
- data/lib/geordi/version.rb +1 -1
- 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
|
-
|
|
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
|
data/lib/geordi/version.rb
CHANGED
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:
|
|
4
|
+
hash: 35
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 14
|
|
9
|
-
-
|
|
10
|
-
version: 0.14.
|
|
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-
|
|
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.
|
|
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.
|