bosh-stemcell 1.2606.0 → 1.2611.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Stemcell
3
- VERSION = '1.2606.0'
3
+ VERSION = '1.2611.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-stemcell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2606.0
4
+ version: 1.2611.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-13 00:00:00.000000000 Z
12
+ date: 2014-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bosh_aws_cpi
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2606.0
21
+ version: 1.2611.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.2606.0
29
+ version: 1.2611.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: fakefs
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -160,7 +160,6 @@ files:
160
160
  - lib/bosh/stemcell/infrastructure.rb
161
161
  - lib/bosh/stemcell/operating_system.rb
162
162
  - lib/bosh/stemcell/os_image_builder.rb
163
- - lib/bosh/stemcell/os_image_uploader.rb
164
163
  - lib/bosh/stemcell/stage_collection.rb
165
164
  - lib/bosh/stemcell/stage_runner.rb
166
165
  - lib/bosh/stemcell/stemcell_builder.rb
@@ -188,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
187
  version: '0'
189
188
  segments:
190
189
  - 0
191
- hash: 2320823509088933453
190
+ hash: -1956384042776906401
192
191
  requirements: []
193
192
  rubyforge_project:
194
193
  rubygems_version: 1.8.23.2
@@ -1,23 +0,0 @@
1
- module Bosh::Stemcell
2
- class OsImageUploader
3
- def initialize(dependencies = {})
4
- @digester = dependencies.fetch(:digester)
5
- @adapter = dependencies.fetch(:adapter)
6
- end
7
-
8
- def upload(bucket_name, os_image_path)
9
- digest = digester.file(os_image_path).hexdigest
10
- adapter.upload(
11
- bucket_name: bucket_name,
12
- key: digest,
13
- body: os_image_path,
14
- public: true,
15
- )
16
- digest
17
- end
18
-
19
- private
20
-
21
- attr_reader :digester, :adapter
22
- end
23
- end