sumodev_deploy 0.2.8 → 0.2.8.1

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.
@@ -98,14 +98,14 @@ configuration.load do
98
98
 
99
99
  desc "Imports the database from your local server to the remote one"
100
100
  task :put, :roles => :db, :only => {:primary => true} do
101
- run "mysqldump --set-charset #{remote_db_options} #{remote_db_name} > #{current_path}/#{release_name}.sql" rescue nil
101
+ run "mysqldump --set-charset #{db_name} > #{current_path}/#{release_name}.sql" rescue nil
102
102
 
103
103
  dump = StringIO.new(run_locally "mysqldump --set-charset #{db_name}")
104
104
  dump_path = "#{shared_path}/db_upload.tmp.sql"
105
105
  upload dump, dump_path
106
106
 
107
107
  run %{
108
- mysql #{remote_db_options} #{real_db_name} < #{dump_path} &&
108
+ mysql #{remote_db_options} #{remote_db_name} < #{dump_path} &&
109
109
  rm #{dump_path}
110
110
  }
111
111
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "sumodev_deploy"
5
- s.version = "0.2.8"
5
+ s.version = "0.2.8.1"
6
6
 
7
7
  s.authors = ["Jan De Poorter"]
8
8
  s.date = "2012-04-18"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumodev_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: