haml-edge 2.3.70 → 2.3.71

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.70
1
+ 2.3.71
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.70
1
+ 2.3.71
@@ -488,13 +488,7 @@ END
488
488
  attributes['class'] = ""
489
489
  end
490
490
  attributes['class'] += property
491
- when '#'
492
- if attributes['id']
493
- attributes['id'] += "_"
494
- else
495
- attributes['id'] = ""
496
- end
497
- attributes['id'] += property
491
+ when '#'; attributes['id'] = property
498
492
  end
499
493
  end
500
494
  attributes
@@ -283,18 +283,6 @@ RESULT
283
283
  SOURCE
284
284
  end
285
285
 
286
- def test_multiple_ids
287
- assert_equal("<p id='bc_ab'></p>\n", render("%p#bc#ab"))
288
- assert_equal("<p id='ab_bc'></p>\n", render("%p#ab#bc"))
289
- assert_equal("<p id='ab'></p>\n", render("%p(id='bc' id='ab')"))
290
- assert_equal("<p id='bc'></p>\n", render("%p(id='ab' id='bc')"))
291
- assert_equal("<p id='bc_ab'></p>\n", render("%p#bc(id='ab')"))
292
- assert_equal("<p id='ab_bc'></p>\n", render("%p#ab(id='bc')"))
293
- assert_equal("<p id='bc_ab'></p>\n", render("%p#bc{:id => 'ab'}"))
294
- assert_equal("<p id='ab_bc'></p>\n", render("%p#ab{:id => 'bc'}"))
295
- assert_equal("<p id='ab_bc_cd'></p>\n", render("%p#ab{:id => 'bc'}(id='cd')"))
296
- end
297
-
298
286
  # Regression tests
299
287
 
300
288
  def test_whitespace_nuke_with_both_newlines
@@ -12,7 +12,7 @@
12
12
  <foo2u>11</foo2u>
13
13
  </div>
14
14
  <div class='classes'>
15
- <p class='foo bar' id='baz_boom'></p>
15
+ <p class='foo bar' id='boom'></p>
16
16
  <div class='fooBar'>a</div>
17
17
  <div class='foo-bar'>b</div>
18
18
  <div class='foo_bar'>c</div>
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.70
4
+ version: 2.3.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum