serverspec 2.39.1 → 2.39.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: 2028e9461673e51b987d40f63b85fed4f62076ec
4
- data.tar.gz: 3737ac4371770fbb2f803890ddf6833ee7237860
3
+ metadata.gz: 10920ffce34b834bb124b16179b982676b4ef4f8
4
+ data.tar.gz: 06c46faa9982034b45fa79214a72086a887f66d6
5
5
  SHA512:
6
- metadata.gz: 5131684d2d2488da214f00649f320d521c2c1d2aab5c7a63588a819d5f2f437b1a1660ce3ff0222fa91514cdf8c741bbd80685816a4d1f984c4602cc3d2615d1
7
- data.tar.gz: 04e77c0ca52076d1a2a4cda2bb81970f843df054b299771c0358c32425991bafc57748e2f50e67d97df9a2fa16f3c9069569ae2b23bfba34586ae8744a7a4316
6
+ metadata.gz: 469c05ececc117cf1a6eb0bd69808618831da194dce32ced0d02d0667c8faad1407faa030f716f1add6b537ed6eca1a497babd5f8d1b4d70924b6ae2626b0eca
7
+ data.tar.gz: 4ba911d145e22ad268d8922d79416574c331fb72c4340ab90800524e2fd316e84df7c72edd5a7fe2a08cbe53e226e71ad9d3cbb753b530882a096ad4d85e59ca
@@ -8,7 +8,7 @@ module Serverspec::Type
8
8
  end
9
9
 
10
10
  def encrypted?
11
- @runner.run_command("grep -wq \"^Proc-Type.*ENCRYPTED$\" #{name}").exit_status == 0
11
+ @runner.run_command("grep -Ewq \"^(Proc-Type.*ENCRYPTED|-----BEGIN ENCRYPTED PRIVATE KEY-----)$\" #{name}").exit_status == 0
12
12
  end
13
13
 
14
14
  def has_matching_certificate?(cert_file)
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.39.1"
2
+ VERSION = "2.39.2"
3
3
  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.39.1
4
+ version: 2.39.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: 2017-05-22 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec