serverspec 0.13.1 → 0.13.2

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: c83f33e952e308736d8ed147fce2cd0905b4c3ad
4
- data.tar.gz: d7f5f17a9be8ba0a35c8afd1aecc87c6859791e2
3
+ metadata.gz: 612119dd623d813332b76e1a25b2ceefe5d2a3a4
4
+ data.tar.gz: fc0ac664d82693fb71aead2e8a7e0a7a081a9230
5
5
  SHA512:
6
- metadata.gz: f4799ce9d2d41fa206b5ea264afd1d5ef825a9a3adcbbc5653b92c543f5a47f65112e3e94bf1e0d9c1f089efb73a1eb35ba912e8f5d3c0b2ba8be33152e525c8
7
- data.tar.gz: 66ff12fe1231b6ac4fc6ebc0b89ca3bed1d052d6caaa8c50f81b20debabf088d804a68cd461e8c50b2511ec0bfd35e73d07482938d156709f133034e37a6abfb
6
+ metadata.gz: 5af7c4185e13dee163d8d0b4fb545a5e3bff2e7b0b3a1b212eef5badc26563f968dab386d17748299767b87d694a8133938e6b1edbc9ec0a9f511b985cf469df
7
+ data.tar.gz: 7046b22aae6a0e984931e7302d8e9c61619cfd1d010b513e72c2f878b18d8511436791d531841866412729f0d2b9d555830725cb4efd6039d695117d7957f68b
@@ -214,7 +214,7 @@ EOF
214
214
  def self.spec_helper_template
215
215
  template = <<-EOF
216
216
  require 'serverspec'
217
- <% if @os_type == 'UN*X' -%>
217
+ <% if @os_type == 'UN*X' && @backend_type == 'Ssh' -%>
218
218
  require 'pathname'
219
219
  <% end -%>
220
220
  <% if @backend_type == 'Ssh' -%>
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "0.13.1"
2
+ VERSION = "0.13.2"
3
3
  end
@@ -22,7 +22,7 @@ end
22
22
 
23
23
  describe service('sshd') do
24
24
  it { should be_running }
25
- its(:command) { should eq "service sshd status | grep 'running'" }
25
+ its(:command) { should eq "service sshd status" }
26
26
  end
27
27
 
28
28
  describe service('invalid-daemon') do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-03 00:00:00.000000000 Z
11
+ date: 2013-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh