testlab 0.8.0 → 0.8.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/bin/tl CHANGED
@@ -90,7 +90,7 @@ pre do |global,command,options,args|
90
90
  if !@ui.quiet?
91
91
  message = format_message("TestLab v#{TestLab::VERSION} Loaded".black.bold)
92
92
  @testlab.ui.stdout.puts(message)
93
- @testlab.ui.logger.info { message.uncolor }
93
+ @testlab.ui.logger.info { message }
94
94
  end
95
95
 
96
96
  true
@@ -1,6 +1,6 @@
1
1
  class TestLab
2
2
  unless const_defined?(:VERSION)
3
3
  # TestLab Gem Version
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  end
6
6
  end
@@ -24,6 +24,7 @@ describe TestLab::Container do
24
24
  subject {
25
25
  @ui = ZTK::UI.new(:stdout => StringIO.new, :stderr => StringIO.new)
26
26
  @testlab = TestLab.new(:labfile_path => LABFILE, :ui => @ui)
27
+ @testlab.boot
27
28
  @testlab.containers.first
28
29
  }
29
30
 
data/spec/network_spec.rb CHANGED
@@ -24,6 +24,7 @@ describe TestLab::Network do
24
24
  subject {
25
25
  @ui = ZTK::UI.new(:stdout => StringIO.new, :stderr => StringIO.new)
26
26
  @testlab = TestLab.new(:labfile_path => LABFILE, :ui => @ui)
27
+ @testlab.boot
27
28
  @testlab.networks.first
28
29
  }
29
30
 
data/spec/node_spec.rb CHANGED
@@ -24,6 +24,7 @@ describe TestLab::Node do
24
24
  subject {
25
25
  @ui = ZTK::UI.new(:stdout => StringIO.new, :stderr => StringIO.new)
26
26
  @testlab = TestLab.new(:labfile_path => LABFILE, :ui => @ui)
27
+ @testlab.boot
27
28
  @testlab.nodes.first
28
29
  }
29
30
 
@@ -24,6 +24,7 @@ describe TestLab::Provisioner::Shell do
24
24
  subject {
25
25
  @ui = ZTK::UI.new(:stdout => StringIO.new, :stderr => StringIO.new)
26
26
  @testlab = TestLab.new(:labfile_path => LABFILE, :ui => @ui)
27
+ @testlab.boot
27
28
  TestLab::Container.first('server-shell')
28
29
  }
29
30
 
data/spec/support/Labfile CHANGED
@@ -9,12 +9,10 @@ EOF
9
9
 
10
10
  REPO = File.dirname(__FILE__)
11
11
 
12
- node :vagrant do
12
+ node 'vagrant' do
13
13
 
14
14
  provider TestLab::Provider::Vagrant
15
- provisioners [
16
- TestLab::Provisioner::Bind
17
- ]
15
+ provisioners [TestLab::Provisioner::Bind]
18
16
  config ({
19
17
  :vagrant => {
20
18
  :id => "mytestlab-#{ENV['USER']}".downcase,
data/spec/testlab_spec.rb CHANGED
@@ -24,6 +24,7 @@ describe TestLab do
24
24
  subject {
25
25
  @ui = ZTK::UI.new(:stdout => StringIO.new, :stderr => StringIO.new)
26
26
  @testlab = TestLab.new(:labfile_path => LABFILE, :ui => @ui)
27
+ @testlab.boot
27
28
  }
28
29
 
29
30
  describe "class" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -329,7 +329,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
329
329
  version: '0'
330
330
  segments:
331
331
  - 0
332
- hash: 762214206939884966
332
+ hash: 3620210825498446114
333
333
  required_rubygems_version: !ruby/object:Gem::Requirement
334
334
  none: false
335
335
  requirements:
@@ -338,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  version: '0'
339
339
  segments:
340
340
  - 0
341
- hash: 762214206939884966
341
+ hash: 3620210825498446114
342
342
  requirements: []
343
343
  rubyforge_project:
344
344
  rubygems_version: 1.8.25