massimo 0.5.1 → 0.5.2
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/lib/massimo/stylesheet.rb +1 -1
- metadata +16 -15
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.2
|
data/lib/massimo/stylesheet.rb
CHANGED
|
@@ -2,7 +2,7 @@ module Massimo
|
|
|
2
2
|
class Stylesheet < Massimo::Resource
|
|
3
3
|
def render
|
|
4
4
|
case source_path.extname.to_s
|
|
5
|
-
when '.sass'
|
|
5
|
+
when '.sass', '.scss'
|
|
6
6
|
require 'sass' unless defined?(Sass)
|
|
7
7
|
Sass::Files.tree_for(source_path.to_s, :css_filename => output_path).render
|
|
8
8
|
when '.less'
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 5
|
|
8
|
-
-
|
|
9
|
-
version: 0.5.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.5.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Pete Browne
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-04-
|
|
17
|
+
date: 2010-04-27 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -163,13 +163,14 @@ dependencies:
|
|
|
163
163
|
prerelease: false
|
|
164
164
|
requirement: &id011 !ruby/object:Gem::Requirement
|
|
165
165
|
requirements:
|
|
166
|
-
- -
|
|
166
|
+
- - ">="
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
168
|
segments:
|
|
169
|
-
-
|
|
170
|
-
-
|
|
169
|
+
- 3
|
|
170
|
+
- 0
|
|
171
171
|
- 0
|
|
172
|
-
|
|
172
|
+
- beta
|
|
173
|
+
version: 3.0.0.beta
|
|
173
174
|
type: :development
|
|
174
175
|
version_requirements: *id011
|
|
175
176
|
- !ruby/object:Gem::Dependency
|
|
@@ -238,17 +239,17 @@ extra_rdoc_files: []
|
|
|
238
239
|
|
|
239
240
|
files:
|
|
240
241
|
- bin/massimo
|
|
241
|
-
- lib/massimo/cli.rb
|
|
242
|
-
- lib/massimo/config.rb
|
|
243
|
-
- lib/massimo/helpers.rb
|
|
244
|
-
- lib/massimo/javascript.rb
|
|
245
|
-
- lib/massimo/page.rb
|
|
246
|
-
- lib/massimo/resource.rb
|
|
247
|
-
- lib/massimo/server.rb
|
|
248
|
-
- lib/massimo/site.rb
|
|
249
242
|
- lib/massimo/stylesheet.rb
|
|
243
|
+
- lib/massimo/server.rb
|
|
250
244
|
- lib/massimo/view.rb
|
|
245
|
+
- lib/massimo/page.rb
|
|
246
|
+
- lib/massimo/resource.rb
|
|
247
|
+
- lib/massimo/cli.rb
|
|
248
|
+
- lib/massimo/config.rb
|
|
251
249
|
- lib/massimo/watcher.rb
|
|
250
|
+
- lib/massimo/site.rb
|
|
251
|
+
- lib/massimo/javascript.rb
|
|
252
|
+
- lib/massimo/helpers.rb
|
|
252
253
|
- lib/massimo.rb
|
|
253
254
|
- LICENSE
|
|
254
255
|
- README.md
|