haml-edge 3.1.51 → 3.1.52

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
- 3.1.51
1
+ 3.1.52
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.51
1
+ 3.1.52
data/lib/sass/scss/rx.rb CHANGED
@@ -63,7 +63,7 @@ module Sass
63
63
 
64
64
  IDENT = /-?#{NMSTART}#{NMCHAR}*/
65
65
  NAME = /#{NMCHAR}+/
66
- NUM = /[0-9]+|[0-9]*.[0-9]+/
66
+ NUM = /[0-9]+|[0-9]*\.[0-9]+/
67
67
  STRING = /#{STRING1}|#{STRING2}/
68
68
  URLCHAR = /[#%&*-~]|#{NONASCII}|#{ESCAPE}/
69
69
  URL = /(#{URLCHAR}*)/
@@ -490,17 +490,6 @@ CSS
490
490
  assert_equal("@import url(./fonts.css);\n", render("@import \"./fonts.css\""))
491
491
  end
492
492
 
493
- def test_media_import
494
- assert_equal("@import \"./fonts.sass\" all;\n",
495
- render("@import \"./fonts.sass\" all"))
496
- assert_equal(<<CSS, render(<<SASS))
497
- @import "./fonts.sass" all;
498
- @import url(./fonts.scss);
499
- CSS
500
- @import "./fonts.sass" all, url(./fonts.scss)
501
- SASS
502
- end
503
-
504
493
  def test_http_import
505
494
  assert_equal("@import url(http://fonts.googleapis.com/css?family=Droid+Sans);\n",
506
495
  render("@import \"http://fonts.googleapis.com/css?family=Droid+Sans\""))
@@ -1039,6 +1039,16 @@ MESSAGE
1039
1039
  .bar {
1040
1040
  @include foo(bar, );
1041
1041
  }
1042
+ SCSS
1043
+ end
1044
+
1045
+ def test_interpolation
1046
+ assert_equal <<CSS, render(<<SCSS)
1047
+ ul li#foo a span.label {
1048
+ foo: bar; }
1049
+ CSS
1050
+ $bar : "#foo";
1051
+ ul li\#{$bar} a span.label { foo: bar; }
1042
1052
  SCSS
1043
1053
  end
1044
1054
  end
@@ -0,0 +1,23 @@
1
+
2
+
3
+ body
4
+ :font Arial
5
+ :background blue
6
+
7
+ #page
8
+ :width 700px
9
+ :height 100
10
+ #header
11
+ :height 300px
12
+ h1
13
+ :font-size 50px
14
+ :color blue
15
+
16
+ #content.user.show
17
+ #container.top
18
+ #column.left
19
+ :width 100px
20
+ #column.right
21
+ :width 600px
22
+ #container.bottom
23
+ :background brown
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: 3.1.51
4
+ version: 3.1.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-07-28 00:00:00 -04:00
14
+ date: 2010-07-31 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -321,6 +321,7 @@ files:
321
321
  - test/sass/templates/units.sass
322
322
  - test/sass/templates/warn.sass
323
323
  - test/sass/templates/warn_imported.sass
324
+ - test/sass/templates/basic.sass
324
325
  - test/test_helper.rb
325
326
  - extra/haml-mode.el
326
327
  - extra/sass-mode.el