capistrano-s3-copy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module S3
3
3
  module Copy
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
@@ -33,7 +33,7 @@ module Capistrano
33
33
  def distribute!
34
34
  package_path = filename
35
35
  package_name = File.basename(package_path)
36
- s3_push_cmd = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/#{package_name} #{package_path} x-amz-server-side-encryption:AES256"
36
+ s3_push_cmd = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/#{package_name} #{package_path} x-amz-server-side-encryption:AES256 2>&1"
37
37
 
38
38
  if configuration.dry_run
39
39
  logger.debug s3_push_cmd
@@ -59,7 +59,7 @@ module Capistrano
59
59
  File.open(local_output_file, "w") do |f|
60
60
  f.write(output)
61
61
  end
62
- configuration[:s3_copy_aws_install_cmd] = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/aws_install.sh #{local_output_file} x-amz-server-side-encryption:AES256"
62
+ configuration[:s3_copy_aws_install_cmd] = "#{aws_environment} s3cmd put #{bucket_name}:#{rails_env}/aws_install.sh #{local_output_file} x-amz-server-side-encryption:AES256 2>&1"
63
63
  end
64
64
 
65
65
  def binding
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano-s3-copy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Richie McMahon