clash 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clash/tests.rb +7 -0
- 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: b242a47cc88afe946b11bf6ac8398411b7c1facd
|
4
|
+
data.tar.gz: f28a0d84a643ea7e7ee0df96190dfb0e7ae2c32f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e57195204bb45922d892f1b16b36bb4f0776e8e1eefa6a66808ecb61853e3bd291a7bbbfdcc22f56421c2110a456dd99c515e96c97f6228612c978bf59165ec2
|
7
|
+
data.tar.gz: 2c9fa25482817d89f048fa79bb73af84669ec4796f9645b5875ba412107a0582d6451e1335f778835a2237cdf11a737cf3d4e95fb17e025e54ff56919103c130
|
data/lib/clash/tests.rb
CHANGED
@@ -44,6 +44,7 @@ module Clash
|
|
44
44
|
|
45
45
|
def run
|
46
46
|
Dir.chdir(@options[:path]) do
|
47
|
+
clear_cache
|
47
48
|
@tests.each_with_index do |options, index|
|
48
49
|
# If tests are limited, only run specified tests
|
49
50
|
#
|
@@ -55,6 +56,12 @@ module Clash
|
|
55
56
|
print_results
|
56
57
|
end
|
57
58
|
|
59
|
+
def clear_cache
|
60
|
+
if File.exist? '.jekyll-metadata'
|
61
|
+
FileUtils.rm '.jekyll-metadata'
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
58
65
|
def run_test(options, index)
|
59
66
|
|
60
67
|
options['index'] = index + 1
|
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.5.
|
4
|
+
version: 1.5.2
|
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-
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffy
|