less-expander 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{less-expander}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremy Boles"]
12
- s.date = %q{2010-06-08}
12
+ s.date = %q{2010-06-09}
13
13
  s.default_executable = %q{lessc}
14
14
  s.description = %q{Monkey-patches the LessCSS library to expand CSS3 properties into browser-specific properties.}
15
15
  s.email = %q{jeremy@jeremyboles.com}
data/lib/less/expander.rb CHANGED
@@ -4,6 +4,7 @@ module Less
4
4
  module Expander
5
5
  PREFIXES = %w(moz o webkit)
6
6
  EXPANDERS = {
7
+ /\s*appearance\s*:\s*(.+);/i => '\0' + PREFIXES.map {|p| "-#{p}-appearance: \\1;" }.join,
7
8
  /\s*background\-image\s*:\s*gradient\((.+)\)\s*;/ => 'background-image: gradient(\1);' << PREFIXES.map {|p| "background-image: -#{p}-gradient(\\1);" }.join,
8
9
  /\s*background\-size\s*:\s*(.+);/i => '\0' + PREFIXES.map {|p| "-#{p}-background-size: \\1;" }.join,
9
10
  /\s*border\-image\s*:\s*(.+);/i => '\0' + PREFIXES.map {|p| "-#{p}-border-image: \\1;" }.join,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-expander
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeremy Boles
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-08 00:00:00 -05:00
18
+ date: 2010-06-09 00:00:00 -05:00
19
19
  default_executable: lessc
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency