serverspec 2.0.0.beta15 → 2.0.0.beta16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9682b482313465065c99631bd9d6406eee5fccba
4
- data.tar.gz: f2abbbc406c36925dbac6c6c6dc5cdea5f869a66
3
+ metadata.gz: e7c1597c8e26e6e700e5f728f8a4408a0c39bdf2
4
+ data.tar.gz: 05986fefb3d7c4a7d9d82092b0eab11b375b0234
5
5
  SHA512:
6
- metadata.gz: a40b33c9ee24d24566dd3af6be3b88ab79e2b52cf5d29e4a1dd53f005a4d66ad46fd396aa46233000cf10cab0807a321ddb62b6feb9a58d9083ae4b8602c9beb
7
- data.tar.gz: 4be745c4c19ae16a62892a0e32391b25560f88e7eb2557f0a8cbb8adb7858cd954c4da706c27ddfd728ed2fb3e687db8693236564861ea7c3fbfe30bee7d60c5
6
+ metadata.gz: 2a2d5c0786c4e5b0c62b12afee0d6244bdf96465c3bcace2ae391708cd3a10f88e64b4a7a053ab108ea11c2e561871975475dc2f124e3ccbf0105efcfb04b9c6
7
+ data.tar.gz: aea96827f97bd51e9bbfb891d0a470e079efd4ede3b51f162d752ad871bd5a8123c0b45f3e1003105f0c284874ecb8ba8c07f98f92648c94acc3a3fac1cd817c
@@ -3,7 +3,7 @@ module Serverspec
3
3
  class Base
4
4
  def initialize(name=nil)
5
5
  @name = name
6
- @runner = Specinfra::Runner.instance
6
+ @runner = Specinfra::Runner
7
7
  end
8
8
 
9
9
  def to_s
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.0.0.beta15"
2
+ VERSION = "2.0.0.beta16"
3
3
  end
data/serverspec.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_runtime_dependency "rspec", "~> 3.0.0"
22
22
  spec.add_runtime_dependency "rspec-its"
23
- spec.add_runtime_dependency "specinfra", "~> 2.0.0.beta15"
23
+ spec.add_runtime_dependency "specinfra", "~> 2.0.0.beta16"
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
25
25
  spec.add_development_dependency "rake", "~> 10.1.1"
26
26
  end
@@ -18,7 +18,7 @@ describe file('/etc/passwd') do
18
18
  it 'be_mode is not implemented' do
19
19
  expect {
20
20
  should be_mode 644
21
- }.to raise_error(Specinfra::Command::Base::NotImplementedError)
21
+ }.to raise_exception
22
22
  end
23
23
  end
24
24
 
@@ -382,6 +382,6 @@ describe file('/etc/passwd') do
382
382
  it 'be_immutable is not implemented in base class' do
383
383
  expect {
384
384
  should be_immutable
385
- }.to raise_error(Specinfra::Command::Base::NotImplementedError)
385
+ }.to raise_exception
386
386
  end
387
387
  end
@@ -35,7 +35,7 @@ describe service('sshd') do
35
35
  it {
36
36
  expect {
37
37
  should be_running.under('not implemented')
38
- }.to raise_error(Specinfra::Command::Base::NotImplementedError)
38
+ }.to raise_exception
39
39
  }
40
40
  end
41
41
 
@@ -65,6 +65,6 @@ describe service('sshd') do
65
65
  it {
66
66
  expect {
67
67
  should be_monitored_by('not implemented')
68
- }.to raise_error(Specinfra::Command::Base::NotImplementedError)
68
+ }.to raise_exception
69
69
  }
70
70
  end
@@ -372,6 +372,6 @@ describe file('/etc/passwd') do
372
372
  it 'be_immutable is not implemented in base class' do
373
373
  expect {
374
374
  should be_immutable
375
- }.to raise_error(Specinfra::Command::Base::NotImplementedError)
375
+ }.to raise_exception
376
376
  end
377
377
  end
@@ -144,7 +144,7 @@ describe file('/some/test/file') do
144
144
  :match_md5checksum => '35435ea447c19f0ea5ef971837ab9ced',
145
145
  :match_sha256checksum => '0c3feee1353a8459f8c7d84885e6bc602ef853751ffdbce3e3b6dfa1d345fc7a'
146
146
  }.each do |method, args|
147
- expect { should self.send(method, *args) }.to raise_error Specinfra::Command::Base::NotImplementedError
147
+ expect { should self.send(method, *args) }.to raise_exception
148
148
  end
149
149
  end
150
150
  end
@@ -21,7 +21,7 @@ describe group('test.group') do
21
21
  {
22
22
  :have_gid => [nil],
23
23
  }.each do |method, args|
24
- expect { should self.send(method, *args) }.to raise_error Specinfra::Command::Base::NotImplementedError
24
+ expect { should self.send(method, *args) }.to raise_exception
25
25
  end
26
26
  end
27
27
  end
@@ -35,7 +35,7 @@ describe user('test.user') do
35
35
  :have_login_shell => [nil],
36
36
  :have_authorized_key => [nil],
37
37
  }.each do |method, args|
38
- expect { should self.send(method, *args) }.to raise_error Specinfra::Command::Base::NotImplementedError
38
+ expect { should self.send(method, *args) }.to raise_exception
39
39
  end
40
40
  end
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta15
4
+ version: 2.0.0.beta16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.0.beta15
47
+ version: 2.0.0.beta16
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.0.beta15
54
+ version: 2.0.0.beta16
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement