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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ad6ce60bb860188e99c74a0ee961fd7d878b44a
4
- data.tar.gz: b865f8229a54faf93bf24c269c998ca54f1638d6
3
+ metadata.gz: b242a47cc88afe946b11bf6ac8398411b7c1facd
4
+ data.tar.gz: f28a0d84a643ea7e7ee0df96190dfb0e7ae2c32f
5
5
  SHA512:
6
- metadata.gz: f751c8e84d26366758b3c481b8519b736dd794ed5ebca0bb1a31c8177dac1122fc50591ece110a10ec142bd2b78514f6d387207588833bb26fb9a2bbf726e093
7
- data.tar.gz: a5e2c48a11643a84a3f08ec0fd3b9223928c184a2f512f90a5eab51b68b603783de59eec343167d3b46b7507d47ca4d10d2e6c486316e683b4b4debd3e3c0550
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
@@ -1,3 +1,3 @@
1
1
  module Clash
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
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.1
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-02-15 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diffy