jamie-lxc 0.0.1.alpha3 → 0.0.1.alpha4

Sign up to get free protection for your applications and to get access to all the features.
data/jamie-lxc.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "jamie-lxc"
3
- gem.version = "0.0.1.alpha3"
3
+ gem.version = "0.0.1.alpha4"
4
4
  gem.authors = ["Sean Porter"]
5
5
  gem.email = ["portertech@gmail.com"]
6
6
  gem.description = "LXC driver for Jamie"
@@ -14,7 +14,7 @@ module Jamie
14
14
  default_config "username", "jamie"
15
15
  default_config "password", "jamie"
16
16
 
17
- def perform_create(instance, state)
17
+ def create(instance, state)
18
18
  state["container_id"] = instance.name + "-" + ::SecureRandom.hex(3)
19
19
  elapsed_time = ::Benchmark.measure do
20
20
  clone_container(state)
@@ -25,7 +25,7 @@ module Jamie
25
25
  puts " Created #{state["container_id"]} in #{elapsed_time.real} seconds."
26
26
  end
27
27
 
28
- def perform_destroy(instance, state)
28
+ def destroy(instance, state)
29
29
  if state["container_id"]
30
30
  destroy_container(state)
31
31
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: jamie-lxc
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 0.0.1.alpha3
5
+ version: 0.0.1.alpha4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Porter
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-24 00:00:00.000000000 Z
12
+ date: 2012-12-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime