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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7453231b7078ca07df9177eddebcfdfcc5101b9
4
- data.tar.gz: 9849334e41cb7a897b58e5ca03914010990cad88
3
+ metadata.gz: c160825c9e2f9c658e27deba0c1b85901d1a26b3
4
+ data.tar.gz: 9fda675bcda6a2640361e713c0fe8a3ed2caf40e
5
5
  SHA512:
6
- metadata.gz: 8f6c88dc5d7607caac03a5a35df998816ce517a2c83490146cf57c3fffbb2d5af5fab7a59c98d9186dc25c4d7e44896e3575a4619ea39d807d6358eeef36f5ae
7
- data.tar.gz: 3692962b0d00cc770915e457376e512b1b8ec083974fd6b05194ccffe8654ac636f5fd33c831c3992e58cdf04d6d5a748aa1325d66c20b6363dc6ac40987498f
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.map { |x| Shellwords.escape(x) })
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
- splits = splits.map { |x| Shellwords.escape(x) }
21
- splits.join(' ')
20
+ Shellwords.join(splits)
22
21
  end
23
22
  end
24
23
  end
@@ -1,3 +1,3 @@
1
1
  module Mediakit
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediakit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ainame