dockly 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/dockly.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Dockly::VERSION
17
17
  gem.add_dependency 'clamp', '~> 0.6'
18
18
  gem.add_dependency 'docker-api', '~> 1.5.2'
19
- gem.add_dependency 'dockly-util'
19
+ gem.add_dependency 'dockly-util', '~> 0.0.5'
20
20
  gem.add_dependency 'excon'
21
21
  gem.add_dependency 'fog', '~> 1.18.0'
22
22
  gem.add_dependency 'foreman'
@@ -15,6 +15,7 @@ class Dockly::BuildCache
15
15
 
16
16
  def execute!
17
17
  ensure_present! :image
18
+ debug "Looking for cache for hash: #{hash_output}"
18
19
  if up_to_date?
19
20
  debug "build cache up to date, pulling from s3"
20
21
  insert_cache
@@ -42,7 +43,7 @@ class Dockly::BuildCache
42
43
  end
43
44
 
44
45
  def run_build
45
- container = image.run(build_command).tap(&:start)
46
+ container = image.run(build_command)
46
47
  cache = copy_output_dir(container)
47
48
  debug "pushing #{output_dir} to s3"
48
49
  push_to_s3(cache)
@@ -112,7 +113,7 @@ class Dockly::BuildCache
112
113
  ensure_present! :image, :hash_command
113
114
  @hash_output ||= begin
114
115
  resp = ""
115
- image.run(hash_command).start.attach { |chunk| resp += chunk }
116
+ image.run(hash_command).attach { |chunk| resp += chunk }
116
117
  resp.strip
117
118
  end
118
119
  end
@@ -1,3 +1,3 @@
1
1
  module Dockly
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
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: 2013-11-08 00:00:00.000000000 Z
12
+ date: 2013-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -48,17 +48,17 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 0.0.5
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.0.5
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: excon
64
64
  requirement: !ruby/object:Gem::Requirement