serverspec 2.29.0 → 2.29.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5dbcdde2a597094da01d9a52381e04d6968710c
4
- data.tar.gz: da28c1a7fed332ff7c166c90f75f05cad01e94a1
3
+ metadata.gz: 73609889512435a4cf287514f4e8fd600483d1b0
4
+ data.tar.gz: 387cd20f52ac4fe4479f7e735eeecb8856102bd0
5
5
  SHA512:
6
- metadata.gz: e9d83c03e913c7e3c22a6655278ba0dc92eaa09c25cb4c08713059fdd5e7f0902f7896b838ec817dc91d990ad4ad50787191bf03680efd23959aee332e785fec
7
- data.tar.gz: 6531d6f1ee05d1d65b70943c32ac007a0d366370503df2c185e925b92ccf180d596ec41b5900b344852e856b38a9d6284c60123f4477bbb30229e31b309b3941
6
+ metadata.gz: 8801eb5d34c926633e8ddb6d2aa1a0a9b130a46e64225ff79a08f640359a02a464b6ca6c4aaeaa3a7878d174ee0718a6b9d7d48904d8a0360985d485935be331
7
+ data.tar.gz: 3d3b2cd4436eeaa3a4a29afccf277c62069e8ce822960c01ef1cc8c84474d3792bdd5f4200e483635aac455fc18dd0f527181440ec0a266125a3a378445f3b02
@@ -12,9 +12,8 @@ module Serverspec::Type
12
12
  end
13
13
 
14
14
  def has_matching_certificate?(cert_file)
15
- mac_op = "openssl sha -sha512"
16
- h1 = @runner.run_command("openssl x509 -noout -modulus -in #{cert_file} | #{mac_op}")
17
- h2 = @runner.run_command("openssl rsa -noout -modulus -in #{name} | #{mac_op}")
15
+ h1 = @runner.run_command("openssl x509 -noout -modulus -in #{cert_file}")
16
+ h2 = @runner.run_command("openssl rsa -noout -modulus -in #{name}")
18
17
  (h1.stdout == h2.stdout) && (h1.exit_status == 0) && (h2.exit_status == 0)
19
18
  end
20
19
  end
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.29.0"
2
+ VERSION = "2.29.1"
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.29.0
4
+ version: 2.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-09 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec