capistrano_transmit 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{capistrano_transmit}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Joost Baaij"]
@@ -5,10 +5,10 @@ end
5
5
  Capistrano::Configuration.instance.load do
6
6
 
7
7
  _cset :user, ""
8
- _cset :db_config { capture "cat #{current_path}/config/database.yml" }
9
- _cset :db_remote { YAML::load(db_config)['production'] }
10
- _cset :db_local { YAML::load_file("config/database.yml")['development'] }
11
- _cset :dumpfile { "#{current_path}/tmp/#{db_remote['database']}.sql.gz" }
8
+ _cset :db_config, { capture "cat #{current_path}/config/database.yml" }
9
+ _cset :db_remote, { YAML::load(db_config)['production'] }
10
+ _cset :db_local, { YAML::load_file("config/database.yml")['development'] }
11
+ _cset :dumpfile, { "#{current_path}/tmp/#{db_remote['database']}.sql.gz" }
12
12
 
13
13
  after "transmit:get:mysql", "transmit:cleanup"
14
14
  after "transmit:put:mysql", "transmit:cleanup"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano_transmit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joost Baaij