clash 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clash/test.rb +5 -3
- data/lib/clash/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c03aaafb33c3668c4f61af1da5d246441686254
|
4
|
+
data.tar.gz: 3fa8e1338d51c83468718718464cb5b9feb5b3e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42b3f13aa63fd678d7bf2301dfc7eed12e18d1b237a8a78bfa8e57b37998c8c488d262d1f407f961c079bf2f320461b8860991573f6ad85628f0e0a044bd7aee
|
7
|
+
data.tar.gz: ccafd711ab65b82d79900cb43b482c5981e8a643ad449b6fab2c20c99258c053d71f24996080d9aa76919760e8c31af311d7c77d3fcbbe953cd386c917df0f84
|
data/lib/clash/test.rb
CHANGED
@@ -118,12 +118,14 @@ module Clash
|
|
118
118
|
f = files.gsub(',',' ').split
|
119
119
|
|
120
120
|
if File.directory?(f.first)
|
121
|
-
FileUtils.
|
121
|
+
FileUtils.rm_r(f.first)
|
122
|
+
FileUtils.mkdir_p(File.dirname(f.first))
|
123
|
+
FileUtils.cp_r(File.join(f.last, '.'), f.first)
|
122
124
|
else
|
123
|
-
FileUtils.cp f.
|
125
|
+
FileUtils.cp f.last, f.first
|
124
126
|
end
|
125
127
|
|
126
|
-
puts "Copied #{f.
|
128
|
+
puts "Copied #{f.last} to #{f.first}"
|
127
129
|
end
|
128
130
|
end
|
129
131
|
end
|
data/lib/clash/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffy
|