serverspec 2.5.0 → 2.6.0

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: 6d50252e2c972afc3205b3bf1ccc4f6e93c90b55
4
- data.tar.gz: 3524f8fc94460a2dbbcb16d3090c639bb503ed6c
3
+ metadata.gz: 1b5c7938cc7d07f4a5a996c7a991d4e8aff6a2d4
4
+ data.tar.gz: 8f76957c6b9b6a3dc4a869064c943049dfdabf51
5
5
  SHA512:
6
- metadata.gz: 3fa5713eef7977b8bcc4f017e3a79bd4002685e4b1355119d4a7e6b97f6daf0d9a8012884442a70ee017fce2b1fabd15915e5f83db8c425b34fff28960795fcc
7
- data.tar.gz: 8f5f2321a6fc0d6899058c4a612ab9acc52a00ab2994597e6b5e2cad277886e50357f66b1699f7d7873041df535f71827d01e9414cf88cd35fad91323ffb7b37
6
+ metadata.gz: ff4baca50acff60c128e3b07b158c79691cbe32e4d597d5ce37422d2d8197188fefa16fa52d6f3ae170ba5500b7db594cd185a551d6d19afdc8f60d9ede62f9a
7
+ data.tar.gz: a40a8567ec4f159eedfacbbd29f73348507c4e25ad819d85db442033e306580ae825024d468f4048f58cd71a2f5b568faf6eea3be3e8832a298787fd94316b12
@@ -22,6 +22,10 @@ module Serverspec::Type
22
22
  @runner.check_file_is_symlink(@name)
23
23
  end
24
24
 
25
+ def pipe?
26
+ @runner.check_file_is_pipe(@name)
27
+ end
28
+
25
29
  def contain(pattern, from, to)
26
30
  if pattern.is_a?(Array)
27
31
  @runner.check_file_contains_lines(@name, pattern, from, to)
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.5.0"
2
+ VERSION = "2.6.0"
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency "rspec", "~> 3.0"
22
22
  spec.add_runtime_dependency "rspec-its"
23
23
  spec.add_runtime_dependency "multi_json"
24
- spec.add_runtime_dependency "specinfra", "~> 2.9"
24
+ spec.add_runtime_dependency "specinfra", "~> 2.10"
25
25
  spec.add_development_dependency "bundler", "~> 1.3"
26
26
  spec.add_development_dependency "rake", "~> 10.1.1"
27
27
  end
@@ -14,6 +14,10 @@ describe file('/var/run/unicorn.sock') do
14
14
  it { should be_socket }
15
15
  end
16
16
 
17
+ describe file('/var/run/pure-ftpd/pure-ftpd.upload.pipe') do
18
+ it { should be_pipe }
19
+ end
20
+
17
21
  describe file('/bin/sh') do
18
22
  it { should be_symlink }
19
23
  end
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: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-27 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.9'
61
+ version: '2.10'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.9'
68
+ version: '2.10'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement