less 1.2.20 → 1.2.21

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.2.20
1
+ 1.2.21
data/less.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{less}
8
- s.version = "1.2.20"
8
+ s.version = "1.2.21"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["cloudhead"]
12
- s.date = %q{2009-12-14}
12
+ s.date = %q{2010-01-13}
13
13
  s.default_executable = %q{lessc}
14
14
  s.description = %q{LESS is leaner CSS}
15
15
  s.email = %q{self@cloudhead.net}
@@ -254,7 +254,7 @@ module Less
254
254
  # div / .class / #id / input[type="text"] / lang(fr)
255
255
  #
256
256
  rule element
257
- ((class / id / tag / ident) attribute* ('(' ([a-zA-Z]+ / pseudo_exp / selector / [0-9]+) ')')?)+
257
+ ((class / id / tag / ident) attribute* ('(' [a-zA-Z]+ ')' / '(' (pseudo_exp / selector / [0-9]+) ')' )?)+
258
258
  / attribute+ / '@media' / '@font-face'
259
259
  end
260
260
 
data/spec/css/css-3.css CHANGED
@@ -15,6 +15,7 @@ ul.comma > li:not(:only-child)::after { color: white; }
15
15
  ol.comma > li:nth-last-child(2)::after { color: white; }
16
16
  li:nth-child(4n+1) { color: white; }
17
17
  li:nth-child(-5n) { color: white; }
18
+ li:nth-child(n+1) { color: white; }
18
19
  li:nth-child(-n+2) { color: white; }
19
20
  a[href^="http://"], a[href$="http://"] { color: black; }
20
21
  p::before { color: black; }
data/spec/less/css-3.less CHANGED
@@ -34,6 +34,7 @@ ol.comma > li:nth-last-child(2)::after {
34
34
 
35
35
  li:nth-child(4n+1),
36
36
  li:nth-child(-5n),
37
+ li:nth-child(n+1),
37
38
  li:nth-child(-n+2) {
38
39
  color: white;
39
40
  }
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.2.20
4
+ version: 1.2.21
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-12-14 00:00:00 -05:00
12
+ date: 2010-01-13 00:00:00 -05:00
13
13
  default_executable: lessc
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency