specinfra 2.20.1 → 2.20.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: 8b873eb86bfcc152b6086c8b2ad544b415b86cdf
4
- data.tar.gz: 0b7fb82564cb17d6f919952ff09d73c50c655e4a
3
+ metadata.gz: f2e4faf78e190c40ed272c748f12d9c6c37c236e
4
+ data.tar.gz: 63452e674da7c7e7d175df9ac3494959da5fe585
5
5
  SHA512:
6
- metadata.gz: 1f27e9398537e32979d485f7d77068cb2b1dcce0a5dab59028a9828c15800799cc5c0a41d069895af1b296e927bcbf75eb6f9fad455d4026055835050b41198f
7
- data.tar.gz: f12b834275495a32d2e8b41930edc7448d7a68d109da1827465c2315eed7deba89b8bae62fe9340fc864fd9bfbd6dbe1ce04ee0ca4365a4be74aafd4d3e30584
6
+ metadata.gz: b763aae9cde47b41fa6586116abdaf680f400f10703f865daa1dc8815fdf03274cacb3a3b6419aedced3f84c684b340b086229bf59a9367526c0f2636222ab93
7
+ data.tar.gz: 8cfe881332abac0330b18079770127e4e605c7554d7de040d461e93b6ff7fff42ec9da87ee07b6fcae820d9e661837a5cdd2a8615adad9044296cb29740c867b
@@ -6,7 +6,7 @@ module Specinfra
6
6
  include PowerShell::ScriptHelper
7
7
 
8
8
  def run_command(cmd, opts={})
9
- set :os, :family => 'windows'
9
+ Specinfra.configuration.os = { :family => 'windows' }
10
10
  script = create_script(cmd)
11
11
  result = execute_script %Q{#{powershell} -encodedCommand #{encode_script(script)}}
12
12
 
@@ -3,7 +3,7 @@ module Specinfra::Backend
3
3
  include PowerShell::ScriptHelper
4
4
 
5
5
  def run_command(cmd, opts={})
6
- set :os, :family => 'windows'
6
+ Specinfra.configuration.os = { :family => 'windows' }
7
7
  script = create_script(cmd)
8
8
  winrm = Specinfra.configuration.winrm
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.20.1"
2
+ VERSION = "2.20.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.1
4
+ version: 2.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita