less 1.1.8 → 1.1.9
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 -3
- data/lib/less/engine.rb +0 -1
- data/lib/less/engine/grammar/entity.tt +1 -1
- data/lib/less/engine/grammar/less.tt +7 -1
- metadata +2 -3
- data/lib/less/engine/builder.rb +0 -8
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.9
|
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.9"
|
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-
|
9
|
+
s.date = %q{2009-07-30}
|
10
10
|
s.default_executable = %q{lessc}
|
11
11
|
s.description = %q{LESS is leaner CSS}
|
12
12
|
s.email = %q{self@cloudhead.net}
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
"lib/less.rb",
|
29
29
|
"lib/less/command.rb",
|
30
30
|
"lib/less/engine.rb",
|
31
|
-
"lib/less/engine/builder.rb",
|
32
31
|
"lib/less/engine/grammar/common.tt",
|
33
32
|
"lib/less/engine/grammar/entity.tt",
|
34
33
|
"lib/less/engine/grammar/less.tt",
|
data/lib/less/engine.rb
CHANGED
@@ -4,7 +4,13 @@ module Less
|
|
4
4
|
include Entity
|
5
5
|
|
6
6
|
rule primary
|
7
|
-
(declaration / ruleset / import / comment)
|
7
|
+
(declaration / ruleset / import / comment)* {
|
8
|
+
def build env = Less::Element.new
|
9
|
+
elements.map do |e|
|
10
|
+
e.build env if e.respond_to? :build
|
11
|
+
end; env
|
12
|
+
end
|
13
|
+
}
|
8
14
|
end
|
9
15
|
|
10
16
|
rule comment
|
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.9
|
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-
|
12
|
+
date: 2009-07-30 00:00:00 -04:00
|
13
13
|
default_executable: lessc
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -35,7 +35,6 @@ files:
|
|
35
35
|
- lib/less.rb
|
36
36
|
- lib/less/command.rb
|
37
37
|
- lib/less/engine.rb
|
38
|
-
- lib/less/engine/builder.rb
|
39
38
|
- lib/less/engine/grammar/common.tt
|
40
39
|
- lib/less/engine/grammar/entity.tt
|
41
40
|
- lib/less/engine/grammar/less.tt
|