eb_deployer 0.4.4.beta3 → 0.4.4.beta4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -71,13 +71,11 @@ Once this new stack is stable or has run for a while you can choose to delete th
71
71
 
72
72
 
73
73
  ### Destroying a stack
74
- So you are done with this application or environment, you can destroy it easily as well.
74
+ So you are done with this environment, you can destroy it easily as well.
75
75
 
76
76
  # destroy one environment
77
77
  $ eb_deployer -d -e <environment>
78
78
 
79
- # alternatively, destroy all environments and the application along with it
80
- $ eb_deployer -d --all
81
79
 
82
80
  and you are done!
83
81
 
@@ -121,7 +121,7 @@ module EbDeployer
121
121
 
122
122
  def get_environment_attribute(app_name, env_name, attribute)
123
123
  env = alive_envs(app_name, [env_name]).first
124
- env && env[:attribute]
124
+ env && env[attribute]
125
125
  end
126
126
 
127
127
  def environment_tier(name)
@@ -15,7 +15,7 @@ module EbDeployer
15
15
 
16
16
  def upload_file(bucket_name, obj_name, file)
17
17
  o = obj(bucket_name, obj_name)
18
- File.open(file) { |f| o.write(f) }
18
+ File.open(file, 'rb') { |f| o.write(f) }
19
19
  end
20
20
 
21
21
  private
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.4.4.beta3"
2
+ VERSION = "0.4.4.beta4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4.beta3
4
+ version: 0.4.4.beta4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: