capistrano-strategy-copy-bundled 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  module CapistranoStrategyCopyBundled
2
- VERSION = '0.4.2'
2
+ VERSION = '0.5.0'
3
3
 
4
4
  end
@@ -112,6 +112,12 @@ module Capistrano
112
112
  end
113
113
  end
114
114
 
115
+ # Distributes the file to the remote servers
116
+ def distribute!
117
+ upload( filename, remote_filename, :via => configuration[:copy_via] || :sftp )
118
+ run "cd #{configuration[:releases_path]} && #{decompress(remote_filename).join(" ")} && rm #{remote_filename}"
119
+ end
120
+
115
121
  end
116
122
 
117
123
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano-strategy-copy-bundled
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.2
5
+ version: 0.5.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rudolf Schmidt
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-30 00:00:00 +02:00
13
+ date: 2011-10-18 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency