less 1.1.3 → 1.1.5

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.3
1
+ 1.1.5
data/less.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{less}
5
- s.version = "1.1.3"
5
+ s.version = "1.1.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["cloudhead"]
9
- s.date = %q{2009-07-27}
9
+ s.date = %q{2009-07-28}
10
10
  s.default_executable = %q{lessc}
11
11
  s.description = %q{LESS is leaner CSS}
12
12
  s.email = %q{self@cloudhead.net}
data/lib/ext.rb CHANGED
@@ -8,7 +8,7 @@ module Treetop
8
8
  tf[0].expected_string :
9
9
  "one of #{Less::YELLOW[tf.map {|f| f.expected_string }.uniq * ' ']}"
10
10
  ) +
11
- " got #{Less::YELLOW[input[failure_index]]}" +
11
+ " got #{Less::YELLOW[input[failure_index].chr]}" +
12
12
  " after:\n\n#{input[index...failure_index]}\n"
13
13
  end
14
14
  end
@@ -98,7 +98,7 @@ module Less
98
98
  end
99
99
 
100
100
  rule unit
101
- ('px'/'em'/'pc'/'%'/'pt'/'cm'/'mm')?
101
+ ('px'/'em'/'pc'/'%'/'ex'/'pt'/'cm'/'mm')?
102
102
  end
103
103
 
104
104
  #
@@ -184,11 +184,11 @@ module Less
184
184
  end
185
185
 
186
186
  rule class
187
- '.' [_a-z] [-a-zA-Z0-9_]*
187
+ '.' [_a-zA-Z] [-a-zA-Z0-9_]*
188
188
  end
189
189
 
190
190
  rule id
191
- '#' [_a-z] [-a-zA-Z0-9_]*
191
+ '#' [_a-zA-Z] [-a-zA-Z0-9_]*
192
192
  end
193
193
 
194
194
  rule tag
@@ -15,7 +15,7 @@ module Less
15
15
  # RGBA to Node::Color
16
16
  #
17
17
  def rgba *rgba
18
- Node::Color.new *rgba
18
+ Node::Color.new *rgba.flatten
19
19
  end
20
20
 
21
21
  #
data/spec/css/colors.css CHANGED
@@ -8,3 +8,4 @@
8
8
  #overflow .b { color: #ffffff; }
9
9
  #overflow .c { color: #ffffff; }
10
10
  #overflow .d { color: #00ff00; }
11
+ #grey { color: #c8c8c8; }
@@ -27,4 +27,8 @@
27
27
  .b { color: #eee + #fff; } // #ffffff
28
28
  .c { color: #aaa * 3; } // #ffffff
29
29
  .d { color: #00ee00 + #009900; } // #00ff00
30
+ }
31
+
32
+ #grey {
33
+ color: rgb(200, 200, 200);
30
34
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - cloudhead
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-27 00:00:00 -04:00
12
+ date: 2009-07-28 00:00:00 -04:00
13
13
  default_executable: lessc
14
14
  dependencies: []
15
15