dev 2.1.41 → 2.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/base/command.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55f2811e7f28be2d221886a63145d15c8ffeadfd
|
4
|
+
data.tar.gz: 07c3a12228d1f789c8cbb7d68b38a12214c20a2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42059f6d87181a8c8ffe543764a676eb204fa056f6cbacefd7e0145c0d166f0e49dea86ad6da71693b28f179ebebdf3acfc2771fc38ef71c1e79adde1196e204
|
7
|
+
data.tar.gz: c01b92ed6a2324d7c593ca90031c7fc19c7eb217ca8b412fccf09ca107c1ccc90acc3a2247111ef1ba2640bad518c45ccead59706b63c45bec8d02fd7c3a52f0
|
data/lib/base/command.rb
CHANGED
@@ -191,8 +191,9 @@ class Command < Hash
|
|
191
191
|
return dir
|
192
192
|
end
|
193
193
|
|
194
|
-
def self.execute command
|
194
|
+
def self.execute command, working_directory=''
|
195
195
|
cmd = Command.new({ :input => command, :quiet => true}) if command.kind_of?(String)
|
196
|
+
cmd[:directory] = working_directory if command.kind_of?(String)
|
196
197
|
cmd = command if command.kind_of?(Command)
|
197
198
|
cmd = Command.new(command) if command.kind_of?(Hash)
|
198
199
|
cmd.execute
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.5.1
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: dev
|