capistrano-multistage 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = 'capistrano-multistage'
15
15
  gem.require_paths = ['lib']
16
- gem.version = '0.0.2'
16
+ gem.version = '0.0.3'
17
17
 
18
18
  # Runtime dependencies
19
19
  gem.add_dependency 'rake'
@@ -18,6 +18,7 @@ Capistrano::Configuration.instance(:must_exist).load do
18
18
 
19
19
  # Get the database of the source
20
20
  system "bundle exec cap #{source_stage} db:export #{random_folder}/database.sql"
21
+ system "bunzip2 #{random_folder}/database.sql.bz2"
21
22
 
22
23
  # Send it to the target
23
24
  system "bundle exec cap #{target_stage} db:import #{random_folder}/database.sql"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-multistage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  segments:
79
79
  - 0
80
- hash: -4244865401195799566
80
+ hash: -2045398580891774637
81
81
  requirements: []
82
82
  rubyforge_project:
83
83
  rubygems_version: 1.8.23