execute 0.1.62 → 0.1.63
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/{cmd.rb → execute.rb} +1 -1
- data/lib/{cmd_windows.rb → execute_windows.rb} +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e0c68a2ea9b098c87b6fac99fea901adaf089a4
|
4
|
+
data.tar.gz: fcac1ab33e9449bfe83e95e5502f6ffd7d8292ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a7df676f38711d4a81b1b457b7e09f1f184234cd6f71da601b055b0f9c71aefc3e5b2f0634e157e4c6dcb1d80b450316e792bdfd422b5dd31b66a70cb4f133
|
7
|
+
data.tar.gz: 11b36f0367d8d714b65fd008343cfdb54cc2ac12ee569a93ac8a28d69e3601cd911ecd98b6279eb1d8dd805355e6f240eceb391e2b1963f43c311aa2ab75c4b6
|
data/lib/{cmd.rb → execute.rb}
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
require 'open3'
|
2
2
|
require 'sys/proctable'
|
3
|
-
require_relative
|
3
|
+
require_relative 'execute'
|
4
4
|
|
5
|
-
class
|
5
|
+
class Execute < Hash
|
6
6
|
def execute_as(username)
|
7
7
|
self[:command] = "runas /noprofile /savecred /user:#{username} \"#{self[:command]}\""
|
8
8
|
wait_on_spawned_process(self) { self.execute }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: execute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.63
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,8 +88,8 @@ extra_rdoc_files: []
|
|
88
88
|
files:
|
89
89
|
- LICENSE
|
90
90
|
- README.md
|
91
|
-
- lib/
|
92
|
-
- lib/
|
91
|
+
- lib/execute.rb
|
92
|
+
- lib/execute_windows.rb
|
93
93
|
homepage: http://rubygems.org/gems/execute
|
94
94
|
licenses:
|
95
95
|
- Apache 2.0
|