machined 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/machined/version.rb +1 -1
- data/machined.gemspec +2 -1
- data/spec/machined/environment_spec.rb +3 -3
- data/spec/machined/utils_spec.rb +1 -1
- metadata +54 -154
data/lib/machined/version.rb
CHANGED
data/machined.gemspec
CHANGED
@@ -18,11 +18,12 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ['lib']
|
20
20
|
|
21
|
+
s.add_dependency 'tilt', '~> 1.3.3'
|
21
22
|
s.add_dependency 'rack', '~> 1.5.0'
|
22
23
|
s.add_dependency 'sprockets', '~> 2.9.0'
|
23
24
|
s.add_dependency 'sprockets-helpers', '~> 1.0.0'
|
24
25
|
s.add_dependency 'sprockets-sass', '~> 1.0.0'
|
25
|
-
s.add_dependency 'padrino-helpers', '~> 0.10.
|
26
|
+
s.add_dependency 'padrino-helpers', '~> 0.10.7'
|
26
27
|
s.add_dependency 'activesupport', '~> 3.2.3'
|
27
28
|
s.add_dependency 'i18n', '~> 0.6.0'
|
28
29
|
s.add_dependency 'thor', '~> 0.15.4'
|
@@ -181,7 +181,7 @@ describe Machined::Environment do
|
|
181
181
|
c.directory 'vendor/assets/javascripts'
|
182
182
|
c.directory 'vendor/assets/stylesheets'
|
183
183
|
|
184
|
-
machined.assets.paths.should match_paths(%w(
|
184
|
+
machined.assets.paths.sort.should match_paths(%w(
|
185
185
|
assets/images
|
186
186
|
assets/javascripts
|
187
187
|
assets/stylesheets
|
@@ -199,7 +199,7 @@ describe Machined::Environment do
|
|
199
199
|
c.directory 'assets/js'
|
200
200
|
c.directory 'assets/plugins'
|
201
201
|
|
202
|
-
machined.assets.paths.should match_paths(%w(
|
202
|
+
machined.assets.paths.sort.should match_paths(%w(
|
203
203
|
assets/css
|
204
204
|
assets/img
|
205
205
|
assets/js
|
@@ -227,7 +227,7 @@ describe Machined::Environment do
|
|
227
227
|
plugin = Class.new(Sprockets::Plugin)
|
228
228
|
plugin.append_paths_in plugin_dir
|
229
229
|
|
230
|
-
machined.assets.paths.should match_paths(%w(
|
230
|
+
machined.assets.paths.sort.should match_paths(%w(
|
231
231
|
plugin/assets/images
|
232
232
|
plugin/assets/javascripts
|
233
233
|
plugin/assets/stylesheets
|
data/spec/machined/utils_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe Machined::Utils do
|
|
18
18
|
c.directory 'dir2'
|
19
19
|
c.directory 'dir3'
|
20
20
|
|
21
|
-
Machined::Utils.existent_directories(c).should match_paths(%w(dir1 dir2 dir3)).with_root(c)
|
21
|
+
Machined::Utils.existent_directories(c).sort.should match_paths(%w(dir1 dir2 dir3)).with_root(c)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: machined
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,27 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
15
|
+
name: tilt
|
16
|
+
requirement: &70118106816160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.3.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: *70118106816160
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rack
|
27
|
+
requirement: &70118106815400 !ruby/object:Gem::Requirement
|
25
28
|
none: false
|
26
29
|
requirements:
|
27
30
|
- - ~>
|
28
31
|
- !ruby/object:Gem::Version
|
29
32
|
version: 1.5.0
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70118106815400
|
30
36
|
- !ruby/object:Gem::Dependency
|
31
37
|
name: sprockets
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &70118106814720 !ruby/object:Gem::Requirement
|
33
39
|
none: false
|
34
40
|
requirements:
|
35
41
|
- - ~>
|
@@ -37,15 +43,10 @@ dependencies:
|
|
37
43
|
version: 2.9.0
|
38
44
|
type: :runtime
|
39
45
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 2.9.0
|
46
|
+
version_requirements: *70118106814720
|
46
47
|
- !ruby/object:Gem::Dependency
|
47
48
|
name: sprockets-helpers
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &70118106813960 !ruby/object:Gem::Requirement
|
49
50
|
none: false
|
50
51
|
requirements:
|
51
52
|
- - ~>
|
@@ -53,15 +54,10 @@ dependencies:
|
|
53
54
|
version: 1.0.0
|
54
55
|
type: :runtime
|
55
56
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.0
|
57
|
+
version_requirements: *70118106813960
|
62
58
|
- !ruby/object:Gem::Dependency
|
63
59
|
name: sprockets-sass
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirement: &70118106813300 !ruby/object:Gem::Requirement
|
65
61
|
none: false
|
66
62
|
requirements:
|
67
63
|
- - ~>
|
@@ -69,31 +65,21 @@ dependencies:
|
|
69
65
|
version: 1.0.0
|
70
66
|
type: :runtime
|
71
67
|
prerelease: false
|
72
|
-
version_requirements:
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 1.0.0
|
68
|
+
version_requirements: *70118106813300
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: padrino-helpers
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirement: &70118106812620 !ruby/object:Gem::Requirement
|
81
72
|
none: false
|
82
73
|
requirements:
|
83
74
|
- - ~>
|
84
75
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.10.
|
76
|
+
version: 0.10.7
|
86
77
|
type: :runtime
|
87
78
|
prerelease: false
|
88
|
-
version_requirements:
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 0.10.6
|
79
|
+
version_requirements: *70118106812620
|
94
80
|
- !ruby/object:Gem::Dependency
|
95
81
|
name: activesupport
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirement: &70118106811800 !ruby/object:Gem::Requirement
|
97
83
|
none: false
|
98
84
|
requirements:
|
99
85
|
- - ~>
|
@@ -101,15 +87,10 @@ dependencies:
|
|
101
87
|
version: 3.2.3
|
102
88
|
type: :runtime
|
103
89
|
prerelease: false
|
104
|
-
version_requirements:
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 3.2.3
|
90
|
+
version_requirements: *70118106811800
|
110
91
|
- !ruby/object:Gem::Dependency
|
111
92
|
name: i18n
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirement: &70118106811100 !ruby/object:Gem::Requirement
|
113
94
|
none: false
|
114
95
|
requirements:
|
115
96
|
- - ~>
|
@@ -117,15 +98,10 @@ dependencies:
|
|
117
98
|
version: 0.6.0
|
118
99
|
type: :runtime
|
119
100
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 0.6.0
|
101
|
+
version_requirements: *70118106811100
|
126
102
|
- !ruby/object:Gem::Dependency
|
127
103
|
name: thor
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirement: &70118106810280 !ruby/object:Gem::Requirement
|
129
105
|
none: false
|
130
106
|
requirements:
|
131
107
|
- - ~>
|
@@ -133,15 +109,10 @@ dependencies:
|
|
133
109
|
version: 0.15.4
|
134
110
|
type: :runtime
|
135
111
|
prerelease: false
|
136
|
-
version_requirements:
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ~>
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: 0.15.4
|
112
|
+
version_requirements: *70118106810280
|
142
113
|
- !ruby/object:Gem::Dependency
|
143
114
|
name: crush
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirement: &70118106809320 !ruby/object:Gem::Requirement
|
145
116
|
none: false
|
146
117
|
requirements:
|
147
118
|
- - ~>
|
@@ -149,15 +120,10 @@ dependencies:
|
|
149
120
|
version: 0.3.3
|
150
121
|
type: :runtime
|
151
122
|
prerelease: false
|
152
|
-
version_requirements:
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ~>
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: 0.3.3
|
123
|
+
version_requirements: *70118106809320
|
158
124
|
- !ruby/object:Gem::Dependency
|
159
125
|
name: rspec
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirement: &70118106806200 !ruby/object:Gem::Requirement
|
161
127
|
none: false
|
162
128
|
requirements:
|
163
129
|
- - ~>
|
@@ -165,15 +131,10 @@ dependencies:
|
|
165
131
|
version: 2.13.0
|
166
132
|
type: :development
|
167
133
|
prerelease: false
|
168
|
-
version_requirements:
|
169
|
-
none: false
|
170
|
-
requirements:
|
171
|
-
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 2.13.0
|
134
|
+
version_requirements: *70118106806200
|
174
135
|
- !ruby/object:Gem::Dependency
|
175
136
|
name: rack-test
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirement: &70118106805520 !ruby/object:Gem::Requirement
|
177
138
|
none: false
|
178
139
|
requirements:
|
179
140
|
- - ~>
|
@@ -181,15 +142,10 @@ dependencies:
|
|
181
142
|
version: 0.6.1
|
182
143
|
type: :development
|
183
144
|
prerelease: false
|
184
|
-
version_requirements:
|
185
|
-
none: false
|
186
|
-
requirements:
|
187
|
-
- - ~>
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: 0.6.1
|
145
|
+
version_requirements: *70118106805520
|
190
146
|
- !ruby/object:Gem::Dependency
|
191
147
|
name: test-construct
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirement: &70118106805040 !ruby/object:Gem::Requirement
|
193
149
|
none: false
|
194
150
|
requirements:
|
195
151
|
- - ~>
|
@@ -197,15 +153,10 @@ dependencies:
|
|
197
153
|
version: 1.2.0
|
198
154
|
type: :development
|
199
155
|
prerelease: false
|
200
|
-
version_requirements:
|
201
|
-
none: false
|
202
|
-
requirements:
|
203
|
-
- - ~>
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: 1.2.0
|
156
|
+
version_requirements: *70118106805040
|
206
157
|
- !ruby/object:Gem::Dependency
|
207
158
|
name: unindent
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
159
|
+
requirement: &70118106804240 !ruby/object:Gem::Requirement
|
209
160
|
none: false
|
210
161
|
requirements:
|
211
162
|
- - ~>
|
@@ -213,15 +164,10 @@ dependencies:
|
|
213
164
|
version: '1.0'
|
214
165
|
type: :development
|
215
166
|
prerelease: false
|
216
|
-
version_requirements:
|
217
|
-
none: false
|
218
|
-
requirements:
|
219
|
-
- - ~>
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: '1.0'
|
167
|
+
version_requirements: *70118106804240
|
222
168
|
- !ruby/object:Gem::Dependency
|
223
169
|
name: sprockets-plugin
|
224
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirement: &70118106803120 !ruby/object:Gem::Requirement
|
225
171
|
none: false
|
226
172
|
requirements:
|
227
173
|
- - ~>
|
@@ -229,15 +175,10 @@ dependencies:
|
|
229
175
|
version: 0.2.1
|
230
176
|
type: :development
|
231
177
|
prerelease: false
|
232
|
-
version_requirements:
|
233
|
-
none: false
|
234
|
-
requirements:
|
235
|
-
- - ~>
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: 0.2.1
|
178
|
+
version_requirements: *70118106803120
|
238
179
|
- !ruby/object:Gem::Dependency
|
239
180
|
name: haml
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
181
|
+
requirement: &70118106802260 !ruby/object:Gem::Requirement
|
241
182
|
none: false
|
242
183
|
requirements:
|
243
184
|
- - ! '>='
|
@@ -245,15 +186,10 @@ dependencies:
|
|
245
186
|
version: '0'
|
246
187
|
type: :development
|
247
188
|
prerelease: false
|
248
|
-
version_requirements:
|
249
|
-
none: false
|
250
|
-
requirements:
|
251
|
-
- - ! '>='
|
252
|
-
- !ruby/object:Gem::Version
|
253
|
-
version: '0'
|
189
|
+
version_requirements: *70118106802260
|
254
190
|
- !ruby/object:Gem::Dependency
|
255
191
|
name: sass
|
256
|
-
requirement: !ruby/object:Gem::Requirement
|
192
|
+
requirement: &70118106801260 !ruby/object:Gem::Requirement
|
257
193
|
none: false
|
258
194
|
requirements:
|
259
195
|
- - ! '>='
|
@@ -261,15 +197,10 @@ dependencies:
|
|
261
197
|
version: '0'
|
262
198
|
type: :development
|
263
199
|
prerelease: false
|
264
|
-
version_requirements:
|
265
|
-
none: false
|
266
|
-
requirements:
|
267
|
-
- - ! '>='
|
268
|
-
- !ruby/object:Gem::Version
|
269
|
-
version: '0'
|
200
|
+
version_requirements: *70118106801260
|
270
201
|
- !ruby/object:Gem::Dependency
|
271
202
|
name: slim
|
272
|
-
requirement: !ruby/object:Gem::Requirement
|
203
|
+
requirement: &70118106800320 !ruby/object:Gem::Requirement
|
273
204
|
none: false
|
274
205
|
requirements:
|
275
206
|
- - ! '>='
|
@@ -277,15 +208,10 @@ dependencies:
|
|
277
208
|
version: '0'
|
278
209
|
type: :development
|
279
210
|
prerelease: false
|
280
|
-
version_requirements:
|
281
|
-
none: false
|
282
|
-
requirements:
|
283
|
-
- - ! '>='
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '0'
|
211
|
+
version_requirements: *70118106800320
|
286
212
|
- !ruby/object:Gem::Dependency
|
287
213
|
name: erubis
|
288
|
-
requirement: !ruby/object:Gem::Requirement
|
214
|
+
requirement: &70118106799720 !ruby/object:Gem::Requirement
|
289
215
|
none: false
|
290
216
|
requirements:
|
291
217
|
- - ! '>='
|
@@ -293,15 +219,10 @@ dependencies:
|
|
293
219
|
version: '0'
|
294
220
|
type: :development
|
295
221
|
prerelease: false
|
296
|
-
version_requirements:
|
297
|
-
none: false
|
298
|
-
requirements:
|
299
|
-
- - ! '>='
|
300
|
-
- !ruby/object:Gem::Version
|
301
|
-
version: '0'
|
222
|
+
version_requirements: *70118106799720
|
302
223
|
- !ruby/object:Gem::Dependency
|
303
224
|
name: rdiscount
|
304
|
-
requirement: !ruby/object:Gem::Requirement
|
225
|
+
requirement: &70118106799080 !ruby/object:Gem::Requirement
|
305
226
|
none: false
|
306
227
|
requirements:
|
307
228
|
- - ! '>='
|
@@ -309,15 +230,10 @@ dependencies:
|
|
309
230
|
version: '0'
|
310
231
|
type: :development
|
311
232
|
prerelease: false
|
312
|
-
version_requirements:
|
313
|
-
none: false
|
314
|
-
requirements:
|
315
|
-
- - ! '>='
|
316
|
-
- !ruby/object:Gem::Version
|
317
|
-
version: '0'
|
233
|
+
version_requirements: *70118106799080
|
318
234
|
- !ruby/object:Gem::Dependency
|
319
235
|
name: uglifier
|
320
|
-
requirement: !ruby/object:Gem::Requirement
|
236
|
+
requirement: &70118106798380 !ruby/object:Gem::Requirement
|
321
237
|
none: false
|
322
238
|
requirements:
|
323
239
|
- - ! '>='
|
@@ -325,15 +241,10 @@ dependencies:
|
|
325
241
|
version: '0'
|
326
242
|
type: :development
|
327
243
|
prerelease: false
|
328
|
-
version_requirements:
|
329
|
-
none: false
|
330
|
-
requirements:
|
331
|
-
- - ! '>='
|
332
|
-
- !ruby/object:Gem::Version
|
333
|
-
version: '0'
|
244
|
+
version_requirements: *70118106798380
|
334
245
|
- !ruby/object:Gem::Dependency
|
335
246
|
name: rake
|
336
|
-
requirement: !ruby/object:Gem::Requirement
|
247
|
+
requirement: &70118106797760 !ruby/object:Gem::Requirement
|
337
248
|
none: false
|
338
249
|
requirements:
|
339
250
|
- - ! '>='
|
@@ -341,12 +252,7 @@ dependencies:
|
|
341
252
|
version: '0'
|
342
253
|
type: :development
|
343
254
|
prerelease: false
|
344
|
-
version_requirements:
|
345
|
-
none: false
|
346
|
-
requirements:
|
347
|
-
- - ! '>='
|
348
|
-
- !ruby/object:Gem::Version
|
349
|
-
version: '0'
|
255
|
+
version_requirements: *70118106797760
|
350
256
|
description: Why another static site generator? Machined is for the developers who
|
351
257
|
know and love the asset pipeline of Rails 3.1 and want to develop blazingly fast
|
352
258
|
static websites. It's built from the ground up using Sprockets 2.0.
|
@@ -426,21 +332,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
426
332
|
- - ! '>='
|
427
333
|
- !ruby/object:Gem::Version
|
428
334
|
version: '0'
|
429
|
-
segments:
|
430
|
-
- 0
|
431
|
-
hash: 660830095036463815
|
432
335
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
433
336
|
none: false
|
434
337
|
requirements:
|
435
338
|
- - ! '>='
|
436
339
|
- !ruby/object:Gem::Version
|
437
340
|
version: '0'
|
438
|
-
segments:
|
439
|
-
- 0
|
440
|
-
hash: 660830095036463815
|
441
341
|
requirements: []
|
442
342
|
rubyforge_project: machined
|
443
|
-
rubygems_version: 1.8.
|
343
|
+
rubygems_version: 1.8.11
|
444
344
|
signing_key:
|
445
345
|
specification_version: 3
|
446
346
|
summary: A static site generator and Rack server built using Sprockets 2.0
|