capistrano_transmit 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano_transmit.gemspec +1 -1
- data/lib/capistrano/transmit.rb +1 -1
- metadata +1 -1
data/capistrano_transmit.gemspec
CHANGED
data/lib/capistrano/transmit.rb
CHANGED
@@ -5,7 +5,7 @@ end
|
|
5
5
|
Capistrano::Configuration.instance.load do
|
6
6
|
|
7
7
|
_cset :user, ""
|
8
|
-
_cset :db_config, { capture
|
8
|
+
_cset :db_config, { capture("cat #{current_path}/config/database.yml") }
|
9
9
|
_cset :db_remote, { YAML::load(db_config)['production'] }
|
10
10
|
_cset :db_local, { YAML::load_file("config/database.yml")['development'] }
|
11
11
|
_cset :dumpfile, { "#{current_path}/tmp/#{db_remote['database']}.sql.gz" }
|