elastic-beanstalk 0.1.5 → 0.1.6

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.
@@ -202,9 +202,10 @@ namespace :eb do
202
202
 
203
203
  # try to grab from task argument first
204
204
  version = args[:version]
205
- if version.nil? && File.exists?(absolute_package_file)
205
+ file = resolve_absolute_package_file
206
+ if version.nil? && File.exists?(file)
206
207
  # otherwise use the MD5 hash of the package file
207
- version = Digest::MD5.file(absolute_package_file).hexdigest
208
+ version = Digest::MD5.file(file).hexdigest
208
209
  end
209
210
 
210
211
  # set the var, depending on the sequence of calls, this may be nil
@@ -1,5 +1,5 @@
1
1
  module Elastic
2
2
  module Beanstalk
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-beanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: 2377796499627488334
188
+ hash: -3297737622237847301
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  none: false
191
191
  requirements:
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  segments:
196
196
  - 0
197
- hash: 2377796499627488334
197
+ hash: -3297737622237847301
198
198
  requirements: []
199
199
  rubyforge_project:
200
200
  rubygems_version: 1.8.25