mediakit 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mediakit/process/shell_escape.rb +2 -3
- data/lib/mediakit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c160825c9e2f9c658e27deba0c1b85901d1a26b3
|
4
|
+
data.tar.gz: 9fda675bcda6a2640361e713c0fe8a3ed2caf40e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2898c825709b0544492c17bc1e82ac8a10c93c3dfea9abd4105ac158071449da26032125195c1d0467052d5604dacf043f14e388d2f4ba6d322be1411f4c409
|
7
|
+
data.tar.gz: e02a33b4ff394e976fcd1aee61de63cebbb1a21df6833395c9371d824f9576939c37461ceca395790cdae72e48706b9958ddb84517da2a5f808c4107c9baae87
|
@@ -8,7 +8,7 @@ module Mediakit
|
|
8
8
|
when 1
|
9
9
|
escape_with_split(args[0])
|
10
10
|
else
|
11
|
-
Shellwords.join(args
|
11
|
+
Shellwords.join(args)
|
12
12
|
end
|
13
13
|
end
|
14
14
|
module_function(:escape)
|
@@ -17,8 +17,7 @@ module Mediakit
|
|
17
17
|
|
18
18
|
def self.escape_with_split(string)
|
19
19
|
splits = Shellwords.split(string)
|
20
|
-
|
21
|
-
splits.join(' ')
|
20
|
+
Shellwords.join(splits)
|
22
21
|
end
|
23
22
|
end
|
24
23
|
end
|
data/lib/mediakit/version.rb
CHANGED