haml-edge 2.3.83 → 2.3.84

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.83
1
+ 2.3.84
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.83
1
+ 2.3.84
@@ -53,8 +53,8 @@ module Sass
53
53
  REGULAR_EXPRESSIONS = {
54
54
  :whitespace => /\s*/,
55
55
  :variable => /!([\w-]+)/,
56
- :ident => /(\\.|\#\{|[^\s\\+*\/%(),=!])+/,
57
- :string_end => /((?:\\.|\#[^{]|[^"\\#])*)(?:"|(?=#\{))/,
56
+ :ident => /(\\.|[^\s\\+*\/%(),=!])+/,
57
+ :string_end => /((?:\\.|\#(?!\{)|[^"\\#])*)(?:"|(?=#\{))/,
58
58
  :number => /(-)?(?:(\d*\.\d+)|(\d+))([a-zA-Z%]+)?/,
59
59
  :color => /\##{"([0-9a-fA-F]{1,2})" * 3}|(#{Color::HTML4_COLORS.keys.join("|")})(?!\()/,
60
60
  :bool => /(true|false)\b/,
@@ -255,6 +255,10 @@ WARN
255
255
  assert_equal "teal(12)", resolve("teal(12)")
256
256
  end
257
257
 
258
+ def test_interpolation_after_hash
259
+ assert_equal "#2", resolve('"##{1 + 1}"')
260
+ end
261
+
258
262
  private
259
263
 
260
264
  def resolve(str, opts = {}, environment = env)
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.83
4
+ version: 2.3.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-11-12 00:00:00 -05:00
13
+ date: 2009-11-13 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency