data_sync 1.0.0 → 1.0.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.
data/data_sync.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'data_sync'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.1'
4
4
  s.date = '2012-12-10'
5
5
  s.summary = "Data sync rake tasks."
6
6
  s.description = "Rake tasks to sync data between development and production environments (servers)."
@@ -21,7 +21,7 @@ Capistrano::Configuration.instance.load do
21
21
 
22
22
  desc 'Downloads db/production_data.tar.bz2 from the remote production environment to your local machine'
23
23
  task :remote_db_download, :roles => :db, :only => { :primary => true } do
24
- execute_on_servers(options) do |servers|
24
+ execute_on_servers do |servers|
25
25
  self.sessions[servers.first].sftp.connect do |tsftp|
26
26
  tsftp.download! "#{deploy_to}/#{current_dir}/db/production_data.tar.bz2", "db/production_data.tar.bz2"
27
27
  end
@@ -30,7 +30,7 @@ Capistrano::Configuration.instance.load do
30
30
 
31
31
  desc 'Uploads db/production_data.tar.bz2 from local environment to your production machine'
32
32
  task :local_db_upload, :roles => :db, :only => { :primary => true } do
33
- execute_on_servers(options) do |servers|
33
+ execute_on_servers do |servers|
34
34
  self.sessions[servers.first].sftp.connect do |tsftp|
35
35
  tsftp.upload! "db/production_data.tar.bz2", "#{deploy_to}/#{current_dir}/db/production_data.tar.bz2"
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 1.8.23
70
+ rubygems_version: 1.8.24
71
71
  signing_key:
72
72
  specification_version: 3
73
73
  summary: Data sync rake tasks.