geordi 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/dump-for +4 -4
- data/lib/geordi/version.rb +1 -1
- metadata +5 -5
data/bin/dump-for
CHANGED
@@ -10,21 +10,21 @@ catching_errors do
|
|
10
10
|
|
11
11
|
if success
|
12
12
|
source_path = "~/dumps/dump_for_download.dump"
|
13
|
-
destination_path = "#{root}/tmp/#{
|
13
|
+
destination_path = "#{root}/tmp/#{stage}.dump"
|
14
14
|
|
15
15
|
puts "Downloading dump_for_download..."
|
16
16
|
system "scp #{user}@#{server}:#{source_path} #{destination_path}"
|
17
17
|
puts
|
18
|
-
puts "Dumped the #{
|
18
|
+
puts "Dumped the #{stage.upcase} database to: #{File.basename root}/tmp/#{stage}.dump"
|
19
19
|
|
20
20
|
# source dump if option was given
|
21
21
|
if ARGV.include?("-s")
|
22
22
|
puts "Sourcing dump into development database..."
|
23
23
|
puts `load-dump #{destination_path}`
|
24
24
|
if $?.to_i == 0
|
25
|
-
puts "Your database is now sourced with a fresh #{
|
25
|
+
puts "Your database is now sourced with a fresh #{stage} dump."
|
26
26
|
else
|
27
|
-
$stderr.puts "Could not source the downloaded #{
|
27
|
+
$stderr.puts "Could not source the downloaded #{stage} dump."
|
28
28
|
end
|
29
29
|
end
|
30
30
|
else
|
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: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 13
|
9
|
-
-
|
10
|
-
version: 0.13.
|
9
|
+
- 3
|
10
|
+
version: 0.13.3
|
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-08-29 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.
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements: []
|
109
109
|
|
110
110
|
rubyforge_project: geordi
|
111
|
-
rubygems_version: 1.8.
|
111
|
+
rubygems_version: 1.8.21
|
112
112
|
signing_key:
|
113
113
|
specification_version: 3
|
114
114
|
summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.
|