haml-edge 2.3.249 → 2.3.250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/EDGE_GEM_VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.249
1
+ 2.3.250
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.249
1
+ 2.3.250
@@ -340,9 +340,11 @@ module Sass
340
340
  @use_property_exception, false
341
341
  begin
342
342
  decl = declaration
343
- # We want an exception if it's not there,
344
- # but we don't want to consume if it is
345
- tok!(/[;}]/) unless tok?(/[;}]/)
343
+ unless decl && decl.has_children
344
+ # We want an exception if it's not there,
345
+ # but we don't want to consume if it is
346
+ tok!(/[;}]/) unless tok?(/[;}]/)
347
+ end
346
348
  return decl
347
349
  rescue Sass::SyntaxError => decl_err
348
350
  end
@@ -430,6 +430,28 @@ foo {
430
430
  SCSS
431
431
  end
432
432
 
433
+ def test_several_namespace_properties
434
+ assert_equal <<CSS, render(<<SCSS)
435
+ foo {
436
+ bar: baz;
437
+ bang-bip: 1px;
438
+ bang-bop: bar;
439
+ buzz-fram: "foo";
440
+ buzz-frum: moo; }
441
+ CSS
442
+ foo {
443
+ bar: baz;
444
+ bang: {
445
+ bip: 1px;
446
+ bop: bar;}
447
+ buzz: {
448
+ fram: "foo";
449
+ frum: moo;
450
+ }
451
+ }
452
+ SCSS
453
+ end
454
+
433
455
  def test_nested_namespace_properties
434
456
  assert_equal <<CSS, render(<<SCSS)
435
457
  foo {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.249
4
+ version: 2.3.250
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum