specinfra 2.78.1 → 2.78.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: 1734dc744895ff934a67fe2ebb433bd50c821e2c
4
- data.tar.gz: 32fd81366778a611f1fa0055c9be65a7fc180c0f
3
+ metadata.gz: 8e7223e5e9c508da25149354717b67fbd9978796
4
+ data.tar.gz: 85bf507038941c6643a13e6f4ea59b211abe5616
5
5
  SHA512:
6
- metadata.gz: e47493d1aa8e68f3d7676b0838eb306fd2417d3c88fd27c2807ea5dba76086cdebd1c5a6be9f140c4288147b727bb341d9edf623b116e36018a9757bb66f2926
7
- data.tar.gz: c78a2fa23879991d402dbf28fa1e5a64d102cb8ee2377d6ceb1decb3450f3f814288853cfe5ffec49b8a3239408bc59421c832cbe715db78c7e6bcf50331dcf2
6
+ metadata.gz: 57cd1068ae0c5e1d3e91319c62fae42f3b0b6508d0c027575454b490f8dd0464ded1342bcba88ad5a968e38ceb2f7f766073feefa673ad84ff550e22cbfbc54d
7
+ data.tar.gz: 94476cb3ed48bd694a55b0f119ecbe9e3bd3da296523b048e1cdcda3cd3914e667219a431afdb262e3414933866bf15008872c219a00a4603e0dc3bb7a126a5e
@@ -49,7 +49,10 @@ module Specinfra
49
49
  private
50
50
 
51
51
  def powershell
52
- architecture = @example.metadata[:architecture] || get_config(:architecture)
52
+ architecture = if @example
53
+ @example.metadata[:architecture]
54
+ end
55
+ architecture ||= get_config(:architecture)
53
56
 
54
57
  case architecture
55
58
  when :i386 then x86_powershell
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.78.1"
2
+ VERSION = "2.78.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.78.1
4
+ version: 2.78.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: 2019-07-02 00:00:00.000000000 Z
11
+ date: 2019-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp