serverspec 2.41.7 → 2.41.8

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
  SHA256:
3
- metadata.gz: 6e4825adcbf2c79093752621578ea9a307a0a58330742d0a1b8843016ac1b0fb
4
- data.tar.gz: c1fbaa08a9df4cc5b6c76a69d7a2b06b37442af4a49319d30e81f791f68e1c31
3
+ metadata.gz: 4f3d5527eda493bdf34653a61474e2eaafdc521fd4c978df82a1ea5348feb2f6
4
+ data.tar.gz: 4fde21a2764cb3b8e12cc5fed6fea704bf9df36e6f01ee01277689d1b3a9e1b6
5
5
  SHA512:
6
- metadata.gz: 87475efc90b46f44b6ecf14ad44deb16ba64818b9b45abd45b36d089f87f6f4cefa8e0f4674a6035c3b6ca9b07cd8422902f861d85bf6ed6a235d10d0b824d56
7
- data.tar.gz: 6772e53f96bd63d7eec0ea4c876e00273bf3169604d25684ae9396361c55e2f92f30e797b2f2bfd11c54508f6bc3651928896703f32aa9302a707f14c30989d9
6
+ metadata.gz: 688850b6eaf69dfa056281f4059bcb33db6198893e569d53cea4cd1abfb3eb5037f06a2fae1f32572ebe6f50c82b1b3ddb1586d5bab6733a8509573725a88e2f
7
+ data.tar.gz: 8ac6e6ff5efd43b4a77a516a4c2c4892eda6d2ab0580fc3f2e4ef6a87ef8e64bf65325305fd64b430c4978a9fa6779451e71fe24f0b26b0a1995337fbfa713eb
@@ -18,9 +18,14 @@ module Serverspec::Type
18
18
  command_result.exit_status.to_i
19
19
  end
20
20
 
21
+ protected
22
+ def command
23
+ @name
24
+ end
25
+
21
26
  private
22
27
  def command_result()
23
- @command_result ||= @runner.run_command(@name)
28
+ @command_result ||= @runner.run_command(command)
24
29
  end
25
30
  end
26
31
  end
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.41.7"
2
+ VERSION = "2.41.8"
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.41.7
4
+ version: 2.41.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-21 00:00:00.000000000 Z
11
+ date: 2021-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec