cloudhead-less 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.3
1
+ 1.1.4
data/less.gemspec CHANGED
@@ -2,7 +2,7 @@
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.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["cloudhead"]
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudhead-less
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cloudhead