less 1.1.11 → 1.1.12
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 +1 -1
- data/less.gemspec +2 -2
- data/lib/less/command.rb +1 -1
- data/lib/less/engine/nodes/property.rb +1 -1
- data/spec/css/parens.css +4 -0
- data/spec/less/parens.less +6 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.12
|
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.
|
5
|
+
s.version = "1.1.12"
|
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-08-
|
9
|
+
s.date = %q{2009-08-02}
|
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/less/command.rb
CHANGED
@@ -74,7 +74,7 @@ module Less
|
|
74
74
|
rescue SyntaxError => e
|
75
75
|
err "#{e}\n", "Syntax"
|
76
76
|
rescue MixedUnitsError => e
|
77
|
-
err "`#{e}` you're mixing units together! What do you expect?\n"
|
77
|
+
err "`#{e}` you're mixing units together! What do you expect?\n", "Mixed Units"
|
78
78
|
rescue PathError => e
|
79
79
|
err "`#{e}` was not found.\n", "Path"
|
80
80
|
rescue VariableNameError => e
|
@@ -142,7 +142,7 @@ module Less
|
|
142
142
|
unit = literals.map do |node|
|
143
143
|
node.unit
|
144
144
|
end.compact.uniq.tap do |ary|
|
145
|
-
raise MixedUnitsError, self * ' ' if ary.size > 1
|
145
|
+
raise MixedUnitsError, self * ' ' if ary.size > 1 && !operators.empty?
|
146
146
|
end.join
|
147
147
|
|
148
148
|
entity = literals.find {|e| e.unit == unit } || entities.first
|
data/spec/css/parens.css
CHANGED
data/spec/less/parens.less
CHANGED
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.
|
4
|
+
version: 1.1.12
|
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-08-
|
12
|
+
date: 2009-08-02 00:00:00 +02:00
|
13
13
|
default_executable: lessc
|
14
14
|
dependencies: []
|
15
15
|
|