Skip to content
Browse files

Ruby requires parens here

  • Loading branch information...
1 parent cff84d6 commit ea9eabf933c80f2c2605c823128fa51a838c8034 @tilsammans committed Aug 4, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 capistrano_transmit.gemspec
  2. +1 −1 lib/capistrano/transmit.rb
View
2 capistrano_transmit.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{capistrano_transmit}
- s.version = "0.2.1"
+ s.version = "0.2.2"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Joost Baaij"]
View
2 lib/capistrano/transmit.rb
@@ -5,7 +5,7 @@
Capistrano::Configuration.instance.load do
_cset :user, ""
- _cset :db_config, { capture "cat #{current_path}/config/database.yml" }
+ _cset :db_config, { capture("cat #{current_path}/config/database.yml") }
_cset :db_remote, { YAML::load(db_config)['production'] }
_cset :db_local, { YAML::load_file("config/database.yml")['development'] }
_cset :dumpfile, { "#{current_path}/tmp/#{db_remote['database']}.sql.gz" }

0 comments on commit ea9eabf

Please sign in to comment.
Something went wrong with that request. Please try again.