massimo 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/Gemfile +0 -0
- data/README.md +22 -10
- data/Rakefile +1 -1
- data/bin/massimo +1 -0
- data/lib/massimo/cli.rb +3 -3
- data/lib/massimo/config.rb +80 -0
- data/lib/massimo/javascript.rb +11 -36
- data/lib/massimo/page.rb +1 -1
- data/lib/massimo/site.rb +12 -1
- data/lib/massimo/stylesheet.rb +3 -1
- data/lib/massimo/templates/site/Gemfile.tt +8 -0
- data/lib/massimo/templates/site/config.rb +2 -8
- data/lib/massimo/templates/site/config.ru +1 -1
- data/lib/massimo/templates/site/pages/{index.erb → index.html.erb} +0 -0
- data/lib/massimo/templates/site/stylesheets/{main.scss → main.css.scss} +0 -0
- data/lib/massimo/templates/site/views/layouts/{main.erb → main.html.erb} +2 -2
- data/lib/massimo/version.rb +1 -1
- data/massimo.gemspec +20 -24
- data/spec/massimo/cli_spec.rb +38 -27
- data/spec/massimo/config_spec.rb +67 -12
- data/spec/massimo/javascript_spec.rb +46 -22
- data/spec/massimo/page_spec.rb +2 -1
- data/spec/massimo/stylesheet_spec.rb +60 -0
- data/spec/massimo/ui_spec.rb +3 -3
- data/spec/spec_helper.rb +27 -20
- metadata +76 -154
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: massimo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 10
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.10.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pete Browne
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-31 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activesupport
|
@@ -29,8 +29,7 @@ dependencies:
|
|
29
29
|
segments:
|
30
30
|
- 3
|
31
31
|
- 0
|
32
|
-
|
33
|
-
version: 3.0.0
|
32
|
+
version: "3.0"
|
34
33
|
type: :runtime
|
35
34
|
version_requirements: *id001
|
36
35
|
- !ruby/object:Gem::Dependency
|
@@ -41,12 +40,11 @@ dependencies:
|
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
43
42
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
43
|
+
hash: 3
|
45
44
|
segments:
|
46
45
|
- 0
|
47
46
|
- 4
|
48
|
-
|
49
|
-
version: 0.4.0
|
47
|
+
version: "0.4"
|
50
48
|
type: :runtime
|
51
49
|
version_requirements: *id002
|
52
50
|
- !ruby/object:Gem::Dependency
|
@@ -57,12 +55,11 @@ dependencies:
|
|
57
55
|
requirements:
|
58
56
|
- - ~>
|
59
57
|
- !ruby/object:Gem::Version
|
60
|
-
hash:
|
58
|
+
hash: 13
|
61
59
|
segments:
|
62
60
|
- 1
|
63
|
-
-
|
64
|
-
|
65
|
-
version: 1.2.0
|
61
|
+
- 1
|
62
|
+
version: "1.1"
|
66
63
|
type: :runtime
|
67
64
|
version_requirements: *id003
|
68
65
|
- !ruby/object:Gem::Dependency
|
@@ -73,12 +70,11 @@ dependencies:
|
|
73
70
|
requirements:
|
74
71
|
- - ~>
|
75
72
|
- !ruby/object:Gem::Version
|
76
|
-
hash:
|
73
|
+
hash: 25
|
77
74
|
segments:
|
78
75
|
- 0
|
79
76
|
- 9
|
80
|
-
|
81
|
-
version: 0.9.0
|
77
|
+
version: "0.9"
|
82
78
|
type: :runtime
|
83
79
|
version_requirements: *id004
|
84
80
|
- !ruby/object:Gem::Dependency
|
@@ -89,12 +85,11 @@ dependencies:
|
|
89
85
|
requirements:
|
90
86
|
- - ~>
|
91
87
|
- !ruby/object:Gem::Version
|
92
|
-
hash:
|
88
|
+
hash: 23
|
93
89
|
segments:
|
94
90
|
- 0
|
95
91
|
- 14
|
96
|
-
|
97
|
-
version: 0.14.0
|
92
|
+
version: "0.14"
|
98
93
|
type: :runtime
|
99
94
|
version_requirements: *id005
|
100
95
|
- !ruby/object:Gem::Dependency
|
@@ -105,272 +100,197 @@ dependencies:
|
|
105
100
|
requirements:
|
106
101
|
- - ~>
|
107
102
|
- !ruby/object:Gem::Version
|
108
|
-
hash:
|
103
|
+
hash: 9
|
109
104
|
segments:
|
110
105
|
- 1
|
111
106
|
- 3
|
112
|
-
|
113
|
-
version: 1.3.1
|
107
|
+
version: "1.3"
|
114
108
|
type: :runtime
|
115
109
|
version_requirements: *id006
|
116
110
|
- !ruby/object:Gem::Dependency
|
117
|
-
name:
|
111
|
+
name: crush
|
118
112
|
prerelease: false
|
119
113
|
requirement: &id007 !ruby/object:Gem::Requirement
|
120
114
|
none: false
|
121
115
|
requirements:
|
122
116
|
- - ~>
|
123
117
|
- !ruby/object:Gem::Version
|
124
|
-
hash:
|
118
|
+
hash: 13
|
125
119
|
segments:
|
126
120
|
- 0
|
127
121
|
- 3
|
128
|
-
|
129
|
-
version: 0.3.0
|
122
|
+
version: "0.3"
|
130
123
|
type: :runtime
|
131
124
|
version_requirements: *id007
|
132
125
|
- !ruby/object:Gem::Dependency
|
133
|
-
name:
|
126
|
+
name: tzinfo
|
134
127
|
prerelease: false
|
135
128
|
requirement: &id008 !ruby/object:Gem::Requirement
|
136
129
|
none: false
|
137
130
|
requirements:
|
138
131
|
- - ~>
|
139
132
|
- !ruby/object:Gem::Version
|
140
|
-
hash:
|
133
|
+
hash: 13
|
141
134
|
segments:
|
142
|
-
- 1
|
143
135
|
- 0
|
144
|
-
-
|
145
|
-
version:
|
136
|
+
- 3
|
137
|
+
version: "0.3"
|
146
138
|
type: :runtime
|
147
139
|
version_requirements: *id008
|
148
140
|
- !ruby/object:Gem::Dependency
|
149
|
-
name:
|
141
|
+
name: sprockets
|
150
142
|
prerelease: false
|
151
143
|
requirement: &id009 !ruby/object:Gem::Requirement
|
152
144
|
none: false
|
153
145
|
requirements:
|
154
146
|
- - ~>
|
155
147
|
- !ruby/object:Gem::Version
|
156
|
-
hash:
|
148
|
+
hash: 15
|
157
149
|
segments:
|
158
|
-
-
|
159
|
-
- 5
|
150
|
+
- 1
|
160
151
|
- 0
|
161
|
-
version:
|
162
|
-
type: :
|
152
|
+
version: "1.0"
|
153
|
+
type: :runtime
|
163
154
|
version_requirements: *id009
|
164
155
|
- !ruby/object:Gem::Dependency
|
165
|
-
name:
|
156
|
+
name: rake
|
166
157
|
prerelease: false
|
167
158
|
requirement: &id010 !ruby/object:Gem::Requirement
|
168
159
|
none: false
|
169
160
|
requirements:
|
170
|
-
- -
|
161
|
+
- - ">="
|
171
162
|
- !ruby/object:Gem::Version
|
172
|
-
hash:
|
163
|
+
hash: 49
|
173
164
|
segments:
|
174
|
-
- 1
|
175
165
|
- 0
|
176
|
-
-
|
177
|
-
|
166
|
+
- 8
|
167
|
+
- 7
|
168
|
+
version: 0.8.7
|
178
169
|
type: :development
|
179
170
|
version_requirements: *id010
|
180
171
|
- !ruby/object:Gem::Dependency
|
181
|
-
name:
|
172
|
+
name: rspec
|
182
173
|
prerelease: false
|
183
174
|
requirement: &id011 !ruby/object:Gem::Requirement
|
184
175
|
none: false
|
185
176
|
requirements:
|
186
177
|
- - ~>
|
187
178
|
- !ruby/object:Gem::Version
|
188
|
-
hash:
|
179
|
+
hash: 15
|
189
180
|
segments:
|
190
|
-
- 1
|
191
181
|
- 2
|
192
|
-
-
|
193
|
-
version:
|
182
|
+
- 6
|
183
|
+
version: "2.6"
|
194
184
|
type: :development
|
195
185
|
version_requirements: *id011
|
196
186
|
- !ruby/object:Gem::Dependency
|
197
|
-
name:
|
187
|
+
name: rr
|
198
188
|
prerelease: false
|
199
189
|
requirement: &id012 !ruby/object:Gem::Requirement
|
200
190
|
none: false
|
201
191
|
requirements:
|
202
192
|
- - ~>
|
203
193
|
- !ruby/object:Gem::Version
|
204
|
-
hash:
|
194
|
+
hash: 15
|
205
195
|
segments:
|
196
|
+
- 1
|
206
197
|
- 0
|
207
|
-
|
208
|
-
- 0
|
209
|
-
version: 0.5.0
|
198
|
+
version: "1.0"
|
210
199
|
type: :development
|
211
200
|
version_requirements: *id012
|
212
201
|
- !ruby/object:Gem::Dependency
|
213
|
-
name:
|
202
|
+
name: test-construct
|
214
203
|
prerelease: false
|
215
204
|
requirement: &id013 !ruby/object:Gem::Requirement
|
216
205
|
none: false
|
217
206
|
requirements:
|
218
207
|
- - ~>
|
219
208
|
- !ruby/object:Gem::Version
|
220
|
-
hash:
|
209
|
+
hash: 11
|
221
210
|
segments:
|
222
|
-
-
|
223
|
-
-
|
224
|
-
|
225
|
-
version: 0.9.0
|
211
|
+
- 1
|
212
|
+
- 2
|
213
|
+
version: "1.2"
|
226
214
|
type: :development
|
227
215
|
version_requirements: *id013
|
228
216
|
- !ruby/object:Gem::Dependency
|
229
|
-
name:
|
217
|
+
name: rack-test
|
230
218
|
prerelease: false
|
231
219
|
requirement: &id014 !ruby/object:Gem::Requirement
|
232
220
|
none: false
|
233
221
|
requirements:
|
234
222
|
- - ~>
|
235
223
|
- !ruby/object:Gem::Version
|
236
|
-
hash:
|
224
|
+
hash: 1
|
237
225
|
segments:
|
238
|
-
- 3
|
239
|
-
- 1
|
240
226
|
- 0
|
241
|
-
|
227
|
+
- 5
|
228
|
+
version: "0.5"
|
242
229
|
type: :development
|
243
230
|
version_requirements: *id014
|
244
231
|
- !ruby/object:Gem::Dependency
|
245
|
-
name:
|
232
|
+
name: unindent
|
246
233
|
prerelease: false
|
247
234
|
requirement: &id015 !ruby/object:Gem::Requirement
|
248
235
|
none: false
|
249
236
|
requirements:
|
250
237
|
- - ~>
|
251
238
|
- !ruby/object:Gem::Version
|
252
|
-
hash:
|
239
|
+
hash: 25
|
253
240
|
segments:
|
254
|
-
- 3
|
255
|
-
- 1
|
256
241
|
- 0
|
257
|
-
|
242
|
+
- 9
|
243
|
+
version: "0.9"
|
258
244
|
type: :development
|
259
245
|
version_requirements: *id015
|
260
246
|
- !ruby/object:Gem::Dependency
|
261
|
-
name:
|
247
|
+
name: haml
|
262
248
|
prerelease: false
|
263
249
|
requirement: &id016 !ruby/object:Gem::Requirement
|
264
250
|
none: false
|
265
251
|
requirements:
|
266
252
|
- - ~>
|
267
253
|
- !ruby/object:Gem::Version
|
268
|
-
hash:
|
254
|
+
hash: 5
|
269
255
|
segments:
|
256
|
+
- 3
|
270
257
|
- 1
|
271
|
-
|
272
|
-
- 0
|
273
|
-
version: 1.2.0
|
258
|
+
version: "3.1"
|
274
259
|
type: :development
|
275
260
|
version_requirements: *id016
|
276
261
|
- !ruby/object:Gem::Dependency
|
277
|
-
name:
|
262
|
+
name: sass
|
278
263
|
prerelease: false
|
279
264
|
requirement: &id017 !ruby/object:Gem::Requirement
|
280
265
|
none: false
|
281
266
|
requirements:
|
282
267
|
- - ~>
|
283
268
|
- !ruby/object:Gem::Version
|
284
|
-
hash:
|
269
|
+
hash: 5
|
285
270
|
segments:
|
286
|
-
-
|
287
|
-
-
|
288
|
-
|
289
|
-
version: 2.2.0
|
271
|
+
- 3
|
272
|
+
- 1
|
273
|
+
version: "3.1"
|
290
274
|
type: :development
|
291
275
|
version_requirements: *id017
|
292
276
|
- !ruby/object:Gem::Dependency
|
293
|
-
name:
|
277
|
+
name: less
|
294
278
|
prerelease: false
|
295
279
|
requirement: &id018 !ruby/object:Gem::Requirement
|
296
280
|
none: false
|
297
281
|
requirements:
|
298
282
|
- - ~>
|
299
283
|
- !ruby/object:Gem::Version
|
300
|
-
hash:
|
284
|
+
hash: 11
|
301
285
|
segments:
|
302
286
|
- 1
|
303
|
-
-
|
304
|
-
|
305
|
-
version: 1.0.0
|
287
|
+
- 2
|
288
|
+
version: "1.2"
|
306
289
|
type: :development
|
307
290
|
version_requirements: *id018
|
308
|
-
- !ruby/object:Gem::Dependency
|
309
|
-
name: packr
|
310
|
-
prerelease: false
|
311
|
-
requirement: &id019 !ruby/object:Gem::Requirement
|
312
|
-
none: false
|
313
|
-
requirements:
|
314
|
-
- - ~>
|
315
|
-
- !ruby/object:Gem::Version
|
316
|
-
hash: 3
|
317
|
-
segments:
|
318
|
-
- 3
|
319
|
-
- 1
|
320
|
-
- 0
|
321
|
-
version: 3.1.0
|
322
|
-
type: :development
|
323
|
-
version_requirements: *id019
|
324
|
-
- !ruby/object:Gem::Dependency
|
325
|
-
name: yui-compressor
|
326
|
-
prerelease: false
|
327
|
-
requirement: &id020 !ruby/object:Gem::Requirement
|
328
|
-
none: false
|
329
|
-
requirements:
|
330
|
-
- - ~>
|
331
|
-
- !ruby/object:Gem::Version
|
332
|
-
hash: 59
|
333
|
-
segments:
|
334
|
-
- 0
|
335
|
-
- 9
|
336
|
-
- 0
|
337
|
-
version: 0.9.0
|
338
|
-
type: :development
|
339
|
-
version_requirements: *id020
|
340
|
-
- !ruby/object:Gem::Dependency
|
341
|
-
name: closure-compiler
|
342
|
-
prerelease: false
|
343
|
-
requirement: &id021 !ruby/object:Gem::Requirement
|
344
|
-
none: false
|
345
|
-
requirements:
|
346
|
-
- - ~>
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
hash: 19
|
349
|
-
segments:
|
350
|
-
- 0
|
351
|
-
- 3
|
352
|
-
- 0
|
353
|
-
version: 0.3.0
|
354
|
-
type: :development
|
355
|
-
version_requirements: *id021
|
356
|
-
- !ruby/object:Gem::Dependency
|
357
|
-
name: growl
|
358
|
-
prerelease: false
|
359
|
-
requirement: &id022 !ruby/object:Gem::Requirement
|
360
|
-
none: false
|
361
|
-
requirements:
|
362
|
-
- - ~>
|
363
|
-
- !ruby/object:Gem::Version
|
364
|
-
hash: 23
|
365
|
-
segments:
|
366
|
-
- 1
|
367
|
-
- 0
|
368
|
-
- 0
|
369
|
-
version: 1.0.0
|
370
|
-
type: :development
|
371
|
-
version_requirements: *id022
|
372
291
|
description: Massimo builds HTML, Javascript, and CSS Files from your source.
|
373
|
-
email:
|
292
|
+
email:
|
293
|
+
- me@petebrowne.com
|
374
294
|
executables:
|
375
295
|
- massimo
|
376
296
|
extensions: []
|
@@ -380,6 +300,7 @@ extra_rdoc_files: []
|
|
380
300
|
files:
|
381
301
|
- .document
|
382
302
|
- .gitignore
|
303
|
+
- .travis.yml
|
383
304
|
- Gemfile
|
384
305
|
- LICENSE
|
385
306
|
- README.md
|
@@ -396,13 +317,14 @@ files:
|
|
396
317
|
- lib/massimo/server.rb
|
397
318
|
- lib/massimo/site.rb
|
398
319
|
- lib/massimo/stylesheet.rb
|
320
|
+
- lib/massimo/templates/site/Gemfile.tt
|
399
321
|
- lib/massimo/templates/site/config.rb
|
400
322
|
- lib/massimo/templates/site/config.ru
|
401
323
|
- lib/massimo/templates/site/javascripts/main.js
|
402
|
-
- lib/massimo/templates/site/pages/index.erb
|
324
|
+
- lib/massimo/templates/site/pages/index.html.erb
|
403
325
|
- lib/massimo/templates/site/public/.empty_directory
|
404
|
-
- lib/massimo/templates/site/stylesheets/main.scss
|
405
|
-
- lib/massimo/templates/site/views/layouts/main.erb
|
326
|
+
- lib/massimo/templates/site/stylesheets/main.css.scss
|
327
|
+
- lib/massimo/templates/site/views/layouts/main.html.erb
|
406
328
|
- lib/massimo/ui.rb
|
407
329
|
- lib/massimo/version.rb
|
408
330
|
- lib/massimo/view.rb
|
@@ -454,7 +376,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
454
376
|
requirements: []
|
455
377
|
|
456
378
|
rubyforge_project: massimo
|
457
|
-
rubygems_version: 1.
|
379
|
+
rubygems_version: 1.8.5
|
458
380
|
signing_key:
|
459
381
|
specification_version: 3
|
460
382
|
summary: Massimo is a static website builder.
|