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: bf4b71499353f362569739053e61a2557c2a4cea
4
- data.tar.gz: dba497e3d758323e16684aff985ad62e807ba564
3
+ metadata.gz: 97464ae2f23046328299365a0878be4c2bf866b0
4
+ data.tar.gz: b880bdd1eec80c11a7dd857b2da142b3fea68e2c
5
5
  SHA512:
6
- metadata.gz: cbe607ef7e65c9b3fc5207b3f0e6d9275b638a897093e2d608bd9189614a98a9d789fee620d83a495df56437d087241054031cc57b75c7fec40f9b0be9f32d16
7
- data.tar.gz: 5ab6afde82cf240722973804f7f43fff9889fe61b5929ff3d4d11a07e440d831dd20831505a7c71d98d5e7816a3f5e96c075c9cae5e7c5294d9b1e9bdbbbb514
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]+)?/
@@ -1,3 +1,3 @@
1
1
  module HtmlConditionalComment
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -25,7 +25,7 @@ module HtmlConditionalComment
25
25
  end
26
26
 
27
27
  #Provide method missing for better interpretation
28
- def method_missing(method, args)
28
+ def method_missing(method, *args)
29
29
  if method.to_s() =~ /^visit\_(.+)/
30
30
  raise VisitError.new($1)
31
31
  else
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.1
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-15 00:00:00.000000000 Z
11
+ date: 2017-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler