guard-less 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/less.rb +3 -2
- data/lib/guard/less/version.rb +1 -1
- metadata +5 -36
data/lib/guard/less.rb
CHANGED
@@ -15,7 +15,8 @@ module Guard
|
|
15
15
|
:all_after_change => true,
|
16
16
|
:all_on_start => true,
|
17
17
|
:output => nil,
|
18
|
-
:import_paths => []
|
18
|
+
:import_paths => [],
|
19
|
+
:compress => false
|
19
20
|
}
|
20
21
|
|
21
22
|
super(watchers, defaults.merge(options))
|
@@ -80,7 +81,7 @@ module Guard
|
|
80
81
|
File.open(lessfile,'r') do |infile|
|
81
82
|
File.open(cssfile,'w') do |outfile|
|
82
83
|
tree = parser.parse(infile.read)
|
83
|
-
outfile << tree.to_css
|
84
|
+
outfile << tree.to_css(:compress => options[:compress])
|
84
85
|
end
|
85
86
|
end
|
86
87
|
true
|
data/lib/guard/less/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-less
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 0.1.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Brendan Erwin
|
@@ -14,8 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
18
|
-
default_executable:
|
13
|
+
date: 2012-03-16 00:00:00 Z
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: guard
|
@@ -25,10 +20,6 @@ dependencies:
|
|
25
20
|
requirements:
|
26
21
|
- - ">="
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 2
|
31
|
-
- 2
|
32
23
|
version: 0.2.2
|
33
24
|
type: :runtime
|
34
25
|
version_requirements: *id001
|
@@ -40,10 +31,6 @@ dependencies:
|
|
40
31
|
requirements:
|
41
32
|
- - ~>
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 2
|
45
|
-
- 0
|
46
|
-
- 5
|
47
34
|
version: 2.0.5
|
48
35
|
type: :runtime
|
49
36
|
version_requirements: *id002
|
@@ -55,9 +42,6 @@ dependencies:
|
|
55
42
|
requirements:
|
56
43
|
- - ~>
|
57
44
|
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 1
|
60
|
-
- 0
|
61
45
|
version: "1.0"
|
62
46
|
type: :development
|
63
47
|
version_requirements: *id003
|
@@ -69,9 +53,6 @@ dependencies:
|
|
69
53
|
requirements:
|
70
54
|
- - ~>
|
71
55
|
- !ruby/object:Gem::Version
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
- 3
|
75
56
|
version: "0.3"
|
76
57
|
type: :development
|
77
58
|
version_requirements: *id004
|
@@ -83,9 +64,6 @@ dependencies:
|
|
83
64
|
requirements:
|
84
65
|
- - ~>
|
85
66
|
- !ruby/object:Gem::Version
|
86
|
-
segments:
|
87
|
-
- 0
|
88
|
-
- 4
|
89
67
|
version: "0.4"
|
90
68
|
type: :development
|
91
69
|
version_requirements: *id005
|
@@ -97,9 +75,6 @@ dependencies:
|
|
97
75
|
requirements:
|
98
76
|
- - ~>
|
99
77
|
- !ruby/object:Gem::Version
|
100
|
-
segments:
|
101
|
-
- 2
|
102
|
-
- 6
|
103
78
|
version: "2.6"
|
104
79
|
type: :development
|
105
80
|
version_requirements: *id006
|
@@ -117,7 +92,6 @@ files:
|
|
117
92
|
- lib/guard/less/version.rb
|
118
93
|
- lib/guard/less.rb
|
119
94
|
- README.md
|
120
|
-
has_rdoc: true
|
121
95
|
homepage: https://github.com/guard/guard-less
|
122
96
|
licenses: []
|
123
97
|
|
@@ -131,25 +105,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
105
|
requirements:
|
132
106
|
- - ">="
|
133
107
|
- !ruby/object:Gem::Version
|
134
|
-
segments:
|
135
|
-
- 0
|
136
108
|
version: "0"
|
137
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
110
|
none: false
|
139
111
|
requirements:
|
140
112
|
- - ">="
|
141
113
|
- !ruby/object:Gem::Version
|
142
|
-
segments:
|
143
|
-
- 1
|
144
|
-
- 3
|
145
|
-
- 6
|
146
114
|
version: 1.3.6
|
147
115
|
requirements: []
|
148
116
|
|
149
117
|
rubyforge_project:
|
150
|
-
rubygems_version: 1.
|
118
|
+
rubygems_version: 1.8.10
|
151
119
|
signing_key:
|
152
120
|
specification_version: 3
|
153
121
|
summary: Guard gem for Less
|
154
122
|
test_files: []
|
155
123
|
|
124
|
+
has_rdoc:
|