teepee 0.12.8 → 0.12.9

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: ffb458c3b5071e1c47c6e21e07e92a40312af315
4
- data.tar.gz: 9427925ee23d4885babbd2ebce534321b747a5b1
3
+ metadata.gz: 1d193b2d05b85f50c16df4a9b7cf52aaeff1e772
4
+ data.tar.gz: 249d9ea3981b171ee5c4d4ae46f55afe568f18db
5
5
  SHA512:
6
- metadata.gz: bb66dd096b62f3bd0d4c4834772f4fe16065aa842f88ef430b6f13dace21a9bc73dbec8c9304ecca6ed0eda4ff0ce3f28c4d3071755f481ca1feadc9e7fcf33e
7
- data.tar.gz: 07e19cca1255c011f6af0483e66b4ac68596d74fa808a06bf87516bb0d645ab5a0a178e1284b891a4dcd1475704bbd7aa0521628774851276e609fec221dfd96
6
+ metadata.gz: 49e07246150d6c39bb0a2f2836efe2b30c26699d681b2a4efa3343812c4ee367e347a280063e44522faf0c1e9bc292e5ab50addd2edf667ded3b137ba868126e
7
+ data.tar.gz: ab2f00b1dd57f6a35a4fd0c6999aa56bef184513ed7601533d1b4ca80f3c0a6b5c9b3059b8cb70331e8d581b1befc386c88b0518fa4fa6b62a262ea3127a2bd4
@@ -394,6 +394,10 @@ module Teepee
394
394
  @@commander.when_operator expressions
395
395
  when "unless"
396
396
  @@commander.unless_operator expressions
397
+ when "comment",
398
+ "!--",
399
+ "#"
400
+ @@commander.comment expressions
397
401
  when "span"
398
402
  @@commander.span_operator expressions
399
403
  when "prog1"
@@ -332,6 +332,10 @@ module Teepee
332
332
  end
333
333
  end
334
334
 
335
+ def comment expressions
336
+ nil
337
+ end
338
+
335
339
  def cond_operator expressions
336
340
  conditional, _, form, *rest = strip expressions
337
341
  if true_constant? conditional
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teepee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.8
4
+ version: 0.12.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mark Gore