clash 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +9 -9
- data/lib/clash/tests.rb +2 -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: 532050ceb4a1706ecdc36659492b62cb5c31c95b
|
4
|
+
data.tar.gz: 1e460ac30d09075a1bdd192bbb5be045a231e6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aca122193f492f98ff38b777bae90d6c29aefe6ea6e90bd741f8e5ecf6466f354b3da642c539d633012431d04925ca8cef461f5768f1829b33a95df371ea723
|
7
|
+
data.tar.gz: 88556cecb29b0271d8ea3a146e91ee880278d6b0eb1e72ef55abe7921f23ce44c40b7bba63c5a796a5f7577c7b4fc3fc0dd0fb0c76957874f42a3198a5830b97
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -58,11 +58,11 @@ If you have a simple liquid tag you want to test:
|
|
58
58
|
|
59
59
|
### Simple configuration:
|
60
60
|
|
61
|
-
Clash will build your site with Jekyll, and compare the contents of
|
61
|
+
Clash will build your site with Jekyll, and compare the contents of _expected/ to _site/.
|
62
62
|
|
63
63
|
```
|
64
64
|
build: true
|
65
|
-
compare: _site
|
65
|
+
compare: _expected _site
|
66
66
|
```
|
67
67
|
|
68
68
|
Of course, there is a lot more you can do.
|
@@ -83,11 +83,11 @@ Note: in the table above, String/Array means a single argument can be a string,
|
|
83
83
|
can be passed as an array. For example:
|
84
84
|
|
85
85
|
```yaml
|
86
|
-
compare: _site
|
87
|
-
compare: # Compare
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
86
|
+
compare: _expected _site # Compare two directories
|
87
|
+
compare: # Compare multiple items
|
88
|
+
- _expected/index.html _site/index.html
|
89
|
+
- _expected/atom.xml _site/atom.xml
|
90
|
+
- _expected/posts _site/posts
|
91
91
|
```
|
92
92
|
|
93
93
|
To run multiple tests each test should be an array, for example:
|
@@ -96,10 +96,10 @@ To run multiple tests each test should be an array, for example:
|
|
96
96
|
-
|
97
97
|
name: Check site build
|
98
98
|
build: true
|
99
|
-
compare: _site
|
99
|
+
compare: _expected _site
|
100
100
|
-
|
101
101
|
name: Check asset compression
|
102
|
-
compare: _cdn_build
|
102
|
+
compare: _cdn_expected _cdn_build
|
103
103
|
```
|
104
104
|
|
105
105
|
Note: When running multiple tests, adding a name can help the reading of test failures.
|
data/lib/clash/tests.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.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: 2014-07-
|
11
|
+
date: 2014-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffy
|