rack-lesscss 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack-lesscss.rb +1 -1
- metadata +25 -7
data/lib/rack-lesscss.rb
CHANGED
@@ -5,7 +5,7 @@ module Rack
|
|
5
5
|
|
6
6
|
def initialize(app, opts)
|
7
7
|
@app = app
|
8
|
-
@less_path = opts[:less_path] or raise ArgumentError, "You must specify less_path (path to directory containing .less files)"
|
8
|
+
@less_path = opts[:less_path] or raise ArgumentError, "You must specify :less_path option (path to directory containing .less files)"
|
9
9
|
css_route = opts[:css_route] || "/stylesheets"
|
10
10
|
css_route = css_route[0..-2] if css_route[-1] == "/"
|
11
11
|
@css_route_regexp = /#{Regexp.escape(css_route)}\/([^\.]+)\.css/
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-lesscss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Marcin Kulik
|
@@ -9,10 +14,21 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-04-17 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: less
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
16
32
|
description:
|
17
33
|
email: marcin.kulik@gmail.com
|
18
34
|
executables: []
|
@@ -37,18 +53,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
53
|
requirements:
|
38
54
|
- - ">="
|
39
55
|
- !ruby/object:Gem::Version
|
56
|
+
segments:
|
57
|
+
- 0
|
40
58
|
version: "0"
|
41
|
-
version:
|
42
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
60
|
requirements:
|
44
61
|
- - ">="
|
45
62
|
- !ruby/object:Gem::Version
|
63
|
+
segments:
|
64
|
+
- 0
|
46
65
|
version: "0"
|
47
|
-
version:
|
48
66
|
requirements: []
|
49
67
|
|
50
68
|
rubyforge_project:
|
51
|
-
rubygems_version: 1.3.
|
69
|
+
rubygems_version: 1.3.6
|
52
70
|
signing_key:
|
53
71
|
specification_version: 3
|
54
72
|
summary: Rack middleware for compiling lesscss files into css
|