execute 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cmd.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b28878be7892166a674abab1f00bb7919049a43
4
- data.tar.gz: 15d599ee83edd61212cb3e29a79d785d598978f5
3
+ metadata.gz: bb5849ed77968b2bff03b404912ac816b7cdba0a
4
+ data.tar.gz: f9a8dddcc9b8c4c8dd9646dfd52a3d6c62eee5c1
5
5
  SHA512:
6
- metadata.gz: 36578b7eb8ee3e861eba87a16ff8c322fb6d3d644bec4153c75aca919f5a6b7f82677e5527f85f3387531396860c28236a59c255afd78f44b7098afbf8536149
7
- data.tar.gz: 6948248f5a73c703543fec42dfdebea68070e280893d3fb19e3f8c5df4509e782d2be043d63fe7f5ae54313bd8d42bf890bd3c1eec9550e29cb69f3fa3bc8412
6
+ metadata.gz: f5a2e9c471de81a107e1bdd57a6caf58259453c21a39b29d96ce48fb5209f2f7c2c722e2eb6aea3a77978fd12d7080e3a3766e89a337397903188896f73a2cad
7
+ data.tar.gz: 9377cd1d96227b66be3febd5cc78a19e25800816aa933060140174121adfd8695908a8e0967400434b8558574785bba16bcd4751a94f3e7f1578e2b2f842f6d9
data/lib/cmd.rb CHANGED
@@ -26,7 +26,7 @@ class CMD < Hash
26
26
  end
27
27
 
28
28
  def execute_as(username)
29
- raise "Unsported on operating system #{RbConfig::CONFIG["host_os"]}" unless(RbConfig::CONFIG["host_os"].include?("mingw"))
29
+ raise "Unsupported on operating system #{RbConfig::CONFIG["host_os"]}" unless(RbConfig::CONFIG["host_os"].include?("mingw"))
30
30
  cmd = "runas /noprofile /savecred /user:#{username} \"#{self[:command]}\""
31
31
  wait_on_spawned_process(cmd) { windows_command(self, cmd) }
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall