bosh_cpi 0.5.0 → 0.5.1

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.
data/lib/cloud/config.rb CHANGED
@@ -3,9 +3,10 @@ module Bosh::Clouds
3
3
 
4
4
  class << self
5
5
  extend Forwardable
6
- def_delegators :@delegate, :db, :logger, :uuid
6
+ def_delegators :@delegate, :db, :logger, :uuid, :task_checkpoint
7
7
  end
8
8
 
9
+ # @param [Bosh::Director::Config] config director config file
9
10
  def self.configure(config)
10
11
  @delegate = config
11
12
  end
data/lib/cloud/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Clouds
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require File.expand_path("../../spec_helper", __FILE__)
2
2
 
3
3
  describe Bosh::Clouds::Config do
4
- it "configure a logger" do
4
+ it "should configure a logger" do
5
5
  Bosh::Clouds::Config.logger.should be_kind_of(Logger)
6
6
  end
7
7
 
@@ -12,4 +12,8 @@ describe Bosh::Clouds::Config do
12
12
  it "should not have a db configured" do
13
13
  Bosh::Clouds::Config.db.should be_nil
14
14
  end
15
+
16
+ it "should configure a task_checkpoint" do
17
+ Bosh::Clouds::Config.respond_to?(:task_checkpoint).should be_true
18
+ end
15
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
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: 2012-11-27 00:00:00.000000000 Z
12
+ date: 2012-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bosh_common
@@ -56,15 +56,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
56
  - - ! '>='
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
+ segments:
60
+ - 0
61
+ hash: 899826630051890030
59
62
  required_rubygems_version: !ruby/object:Gem::Requirement
60
63
  none: false
61
64
  requirements:
62
65
  - - ! '>='
63
66
  - !ruby/object:Gem::Version
64
67
  version: '0'
68
+ segments:
69
+ - 0
70
+ hash: 899826630051890030
65
71
  requirements: []
66
72
  rubyforge_project:
67
- rubygems_version: 1.8.23
73
+ rubygems_version: 1.8.24
68
74
  signing_key:
69
75
  specification_version: 3
70
76
  summary: BOSH CPI
@@ -73,4 +79,3 @@ test_files:
73
79
  - spec/spec_helper.rb
74
80
  - spec/unit/config_spec.rb
75
81
  - spec/unit/provider_spec.rb
76
- has_rdoc: