html-conditional-comment 0.0.1 → 0.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97464ae2f23046328299365a0878be4c2bf866b0
|
4
|
+
data.tar.gz: b880bdd1eec80c11a7dd857b2da142b3fea68e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f47fb2ed347cd31dd7ebcc1757354a87297dc2798e71190412fc7da2f9af085295d952bf7cbc70fe37a6498fc23686bc03080d7cf2dc33d9083b57e555d8ba8
|
7
|
+
data.tar.gz: 5893de286574f16909c83a85829bcb87fad5765005957798a92dd8e143cdaf5a9be5d7ea84e9fde20757e7e785caf0767f7d220353410727268a6e8a47b3f591
|
@@ -25,8 +25,8 @@ module HtmlConditionalComment
|
|
25
25
|
ENDIF_STATEMENT = /endif/i
|
26
26
|
#Opening statement plus positive look ahead to avoid conflicts with other
|
27
27
|
#comments
|
28
|
-
OPEN = /<!(\-\-)?\[(?=(end)?if)/
|
29
|
-
CLOSE = /\](\-\-)?>/
|
28
|
+
OPEN = /<!(\-\-)?\s*\[(?=(end)?if)/
|
29
|
+
CLOSE = /\]\s*(\-\-)?>/
|
30
30
|
WHITE_SPACE = /\s+/
|
31
31
|
FEATURE = /[a-z]+/i
|
32
32
|
VERSION_VECTOR = /\d+(\.[\d]+)?/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-conditional-comment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carson Reinke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|