blogdown 0.0.2 → 0.1.0
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.
- checksums.yaml +4 -4
- data/README.md +27 -26
- data/blogdown.gemspec +2 -0
- data/features/server.feature +8 -0
- data/features/step_definitions/blogdown_steps.rb +15 -0
- data/lib/blogdown/app.rb +35 -0
- data/lib/blogdown/cli.rb +11 -3
- data/lib/blogdown/exceptions.rb +0 -1
- data/lib/blogdown/file_pipeline.rb +14 -3
- data/lib/blogdown/version.rb +3 -3
- data/lib/blogdown.rb +4 -0
- data/lib/public/images/body-bg.png +0 -0
- data/lib/public/images/highlight-bg.jpg +0 -0
- data/lib/public/images/hr.png +0 -0
- data/lib/public/images/octocat-icon.png +0 -0
- data/lib/public/images/tar-gz-icon.png +0 -0
- data/lib/public/images/zip-icon.png +0 -0
- data/{spec/fixtures/output/hello.html → lib/public/javascripts/main.js} +0 -0
- data/lib/public/stylesheets/print.css +226 -0
- data/lib/public/stylesheets/pygment_trac.css +69 -0
- data/lib/public/stylesheets/stylesheet.css +371 -0
- data/lib/views/base.erb +42 -0
- data/lib/views/home.erb +19 -0
- data/lib/views/post.erb +438 -0
- data/spec/blogdown/blogdown_spec.rb +11 -5
- metadata +34 -8
- data/features/file_pipeline.feature +0 -10
- data/features/step_definitions/file_pipeline_steps.rb +0 -18
data/lib/views/post.erb
ADDED
@@ -0,0 +1,438 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='utf-8'>
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
6
|
+
|
7
|
+
<!--[if lt IE 9]>
|
8
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
9
|
+
<![endif]-->
|
10
|
+
<title>blogdown</title>
|
11
|
+
<style>
|
12
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
13
|
+
v2.0 | 20110126
|
14
|
+
License: none (public domain)
|
15
|
+
*/
|
16
|
+
html, body, div, span, applet, object, iframe,
|
17
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
18
|
+
a, abbr, acronym, address, big, cite, code,
|
19
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
20
|
+
small, strike, strong, sub, sup, tt, var,
|
21
|
+
b, u, i, center,
|
22
|
+
dl, dt, dd, ol, ul, li,
|
23
|
+
fieldset, form, label, legend,
|
24
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
25
|
+
article, aside, canvas, details, embed,
|
26
|
+
figure, figcaption, footer, header, hgroup,
|
27
|
+
menu, nav, output, ruby, section, summary,
|
28
|
+
time, mark, audio, video {
|
29
|
+
margin: 0;
|
30
|
+
padding: 0;
|
31
|
+
border: 0;
|
32
|
+
font-size: 100%;
|
33
|
+
font: inherit;
|
34
|
+
vertical-align: baseline;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* HTML5 display-role reset for older browsers */
|
38
|
+
article, aside, details, figcaption, figure,
|
39
|
+
footer, header, hgroup, menu, nav, section {
|
40
|
+
display: block;
|
41
|
+
}
|
42
|
+
|
43
|
+
body {
|
44
|
+
line-height: 1;
|
45
|
+
}
|
46
|
+
|
47
|
+
ol, ul {
|
48
|
+
list-style: none;
|
49
|
+
}
|
50
|
+
|
51
|
+
blockquote, q {
|
52
|
+
quotes: none;
|
53
|
+
}
|
54
|
+
|
55
|
+
blockquote:before, blockquote:after,
|
56
|
+
q:before, q:after {
|
57
|
+
content: '';
|
58
|
+
content: none;
|
59
|
+
}
|
60
|
+
|
61
|
+
table {
|
62
|
+
border-collapse: collapse;
|
63
|
+
border-spacing: 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
/* LAYOUT STYLES */
|
67
|
+
body {
|
68
|
+
font-size: 1em;
|
69
|
+
line-height: 1.5;
|
70
|
+
background: #e7e7e7 url(../images/body-bg.png) 0 0 repeat;
|
71
|
+
font-family: 'Helvetica Neue', Helvetica, Arial, serif;
|
72
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
73
|
+
color: #6d6d6d;
|
74
|
+
}
|
75
|
+
|
76
|
+
a {
|
77
|
+
color: #d5000d;
|
78
|
+
}
|
79
|
+
|
80
|
+
a:hover {
|
81
|
+
color: #c5000c;
|
82
|
+
}
|
83
|
+
|
84
|
+
header {
|
85
|
+
padding-top: 35px;
|
86
|
+
padding-bottom: 25px;
|
87
|
+
}
|
88
|
+
|
89
|
+
header h1 {
|
90
|
+
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
91
|
+
font-weight: 900;
|
92
|
+
letter-spacing: -1px;
|
93
|
+
font-size: 48px;
|
94
|
+
color: #303030;
|
95
|
+
line-height: 1.2;
|
96
|
+
}
|
97
|
+
|
98
|
+
header h2 {
|
99
|
+
letter-spacing: -1px;
|
100
|
+
font-size: 24px;
|
101
|
+
color: #aaa;
|
102
|
+
font-weight: normal;
|
103
|
+
line-height: 1.3;
|
104
|
+
}
|
105
|
+
|
106
|
+
#container {
|
107
|
+
background: transparent url(../images/highlight-bg.jpg) 50% 0 no-repeat;
|
108
|
+
min-height: 595px;
|
109
|
+
}
|
110
|
+
|
111
|
+
.inner {
|
112
|
+
width: 620px;
|
113
|
+
margin: 0 auto;
|
114
|
+
}
|
115
|
+
|
116
|
+
#container .inner img {
|
117
|
+
max-width: 100%;
|
118
|
+
}
|
119
|
+
|
120
|
+
#downloads {
|
121
|
+
margin-bottom: 40px;
|
122
|
+
}
|
123
|
+
|
124
|
+
a.button {
|
125
|
+
-moz-border-radius: 30px;
|
126
|
+
-webkit-border-radius: 30px;
|
127
|
+
border-radius: 30px;
|
128
|
+
border-top: solid 1px #cbcbcb;
|
129
|
+
border-left: solid 1px #b7b7b7;
|
130
|
+
border-right: solid 1px #b7b7b7;
|
131
|
+
border-bottom: solid 1px #b3b3b3;
|
132
|
+
color: #303030;
|
133
|
+
line-height: 25px;
|
134
|
+
font-weight: bold;
|
135
|
+
font-size: 15px;
|
136
|
+
padding: 12px 8px 12px 8px;
|
137
|
+
display: block;
|
138
|
+
float: left;
|
139
|
+
width: 179px;
|
140
|
+
margin-right: 14px;
|
141
|
+
background: #fdfdfd; /* Old browsers */
|
142
|
+
background: -moz-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* FF3.6+ */
|
143
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(100%, #f2f2f2)); /* Chrome,Safari4+ */
|
144
|
+
background: -webkit-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* Chrome10+,Safari5.1+ */
|
145
|
+
background: -o-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* Opera 11.10+ */
|
146
|
+
background: -ms-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* IE10+ */
|
147
|
+
background: linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%); /* W3C */
|
148
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#f2f2f2', GradientType=0); /* IE6-9 */
|
149
|
+
-webkit-box-shadow: 10px 10px 5px #888;
|
150
|
+
-moz-box-shadow: 10px 10px 5px #888;
|
151
|
+
box-shadow: 0px 1px 5px #e8e8e8;
|
152
|
+
}
|
153
|
+
|
154
|
+
a.button:hover {
|
155
|
+
border-top: solid 1px #b7b7b7;
|
156
|
+
border-left: solid 1px #b3b3b3;
|
157
|
+
border-right: solid 1px #b3b3b3;
|
158
|
+
border-bottom: solid 1px #b3b3b3;
|
159
|
+
background: #fafafa; /* Old browsers */
|
160
|
+
background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* FF3.6+ */
|
161
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(100%, #f6f6f6)); /* Chrome,Safari4+ */
|
162
|
+
background: -webkit-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* Chrome10+,Safari5.1+ */
|
163
|
+
background: -o-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* Opera 11.10+ */
|
164
|
+
background: -ms-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%); /* IE10+ */
|
165
|
+
background: linear-gradient(top, #fdfdfd 0%, #f6f6f6, 100%); /* W3C */
|
166
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#f6f6f6', GradientType=0); /* IE6-9 */
|
167
|
+
}
|
168
|
+
|
169
|
+
a.button span {
|
170
|
+
padding-left: 50px;
|
171
|
+
display: block;
|
172
|
+
height: 23px;
|
173
|
+
}
|
174
|
+
|
175
|
+
#download-zip span {
|
176
|
+
background: transparent url(../images/zip-icon.png) 12px 50% no-repeat;
|
177
|
+
}
|
178
|
+
|
179
|
+
#download-tar-gz span {
|
180
|
+
background: transparent url(../images/tar-gz-icon.png) 12px 50% no-repeat;
|
181
|
+
}
|
182
|
+
|
183
|
+
#view-on-github span {
|
184
|
+
background: transparent url(../images/octocat-icon.png) 12px 50% no-repeat;
|
185
|
+
}
|
186
|
+
|
187
|
+
#view-on-github {
|
188
|
+
margin-right: 0;
|
189
|
+
}
|
190
|
+
|
191
|
+
code, pre {
|
192
|
+
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal;
|
193
|
+
color: #222;
|
194
|
+
margin-bottom: 30px;
|
195
|
+
font-size: 14px;
|
196
|
+
}
|
197
|
+
|
198
|
+
code {
|
199
|
+
background-color: #f2f2f2;
|
200
|
+
border: solid 1px #ddd;
|
201
|
+
padding: 0 3px;
|
202
|
+
}
|
203
|
+
|
204
|
+
pre {
|
205
|
+
padding: 20px;
|
206
|
+
background: #303030;
|
207
|
+
color: #f2f2f2;
|
208
|
+
text-shadow: none;
|
209
|
+
overflow: auto;
|
210
|
+
}
|
211
|
+
|
212
|
+
pre code {
|
213
|
+
color: #f2f2f2;
|
214
|
+
background-color: #303030;
|
215
|
+
border: none;
|
216
|
+
padding: 0;
|
217
|
+
}
|
218
|
+
|
219
|
+
ul, ol, dl {
|
220
|
+
margin-bottom: 20px;
|
221
|
+
}
|
222
|
+
|
223
|
+
/* COMMON STYLES */
|
224
|
+
|
225
|
+
hr {
|
226
|
+
height: 1px;
|
227
|
+
line-height: 1px;
|
228
|
+
margin-top: 1em;
|
229
|
+
padding-bottom: 1em;
|
230
|
+
border: none;
|
231
|
+
background: transparent url('../images/hr.png') 50% 0 no-repeat;
|
232
|
+
}
|
233
|
+
|
234
|
+
strong {
|
235
|
+
font-weight: bold;
|
236
|
+
}
|
237
|
+
|
238
|
+
em {
|
239
|
+
font-style: italic;
|
240
|
+
}
|
241
|
+
|
242
|
+
table {
|
243
|
+
width: 100%;
|
244
|
+
border: 1px solid #ebebeb;
|
245
|
+
}
|
246
|
+
|
247
|
+
th {
|
248
|
+
font-weight: 500;
|
249
|
+
}
|
250
|
+
|
251
|
+
td {
|
252
|
+
border: 1px solid #ebebeb;
|
253
|
+
text-align: center;
|
254
|
+
font-weight: 300;
|
255
|
+
}
|
256
|
+
|
257
|
+
form {
|
258
|
+
background: #f2f2f2;
|
259
|
+
padding: 20px;
|
260
|
+
|
261
|
+
}
|
262
|
+
|
263
|
+
/* GENERAL ELEMENT TYPE STYLES */
|
264
|
+
|
265
|
+
h1 {
|
266
|
+
font-size: 32px;
|
267
|
+
}
|
268
|
+
|
269
|
+
h2 {
|
270
|
+
font-size: 22px;
|
271
|
+
font-weight: bold;
|
272
|
+
color: #303030;
|
273
|
+
margin-bottom: 8px;
|
274
|
+
}
|
275
|
+
|
276
|
+
h3 {
|
277
|
+
color: #d5000d;
|
278
|
+
font-size: 18px;
|
279
|
+
font-weight: bold;
|
280
|
+
margin-bottom: 8px;
|
281
|
+
}
|
282
|
+
|
283
|
+
h4 {
|
284
|
+
font-size: 16px;
|
285
|
+
color: #303030;
|
286
|
+
font-weight: bold;
|
287
|
+
}
|
288
|
+
|
289
|
+
h5 {
|
290
|
+
font-size: 1em;
|
291
|
+
color: #303030;
|
292
|
+
}
|
293
|
+
|
294
|
+
h6 {
|
295
|
+
font-size: .8em;
|
296
|
+
color: #303030;
|
297
|
+
}
|
298
|
+
|
299
|
+
p {
|
300
|
+
font-weight: 300;
|
301
|
+
margin-bottom: 20px;
|
302
|
+
}
|
303
|
+
|
304
|
+
a {
|
305
|
+
text-decoration: none;
|
306
|
+
}
|
307
|
+
|
308
|
+
p a {
|
309
|
+
font-weight: 400;
|
310
|
+
}
|
311
|
+
|
312
|
+
blockquote {
|
313
|
+
font-size: 1.6em;
|
314
|
+
border-left: 10px solid #e9e9e9;
|
315
|
+
margin-bottom: 20px;
|
316
|
+
padding: 0 0 0 30px;
|
317
|
+
}
|
318
|
+
|
319
|
+
ul li {
|
320
|
+
list-style: disc inside;
|
321
|
+
padding-left: 20px;
|
322
|
+
}
|
323
|
+
|
324
|
+
ol li {
|
325
|
+
list-style: decimal inside;
|
326
|
+
padding-left: 3px;
|
327
|
+
}
|
328
|
+
|
329
|
+
dl dt {
|
330
|
+
color: #303030;
|
331
|
+
}
|
332
|
+
|
333
|
+
footer {
|
334
|
+
background: transparent url('../images/hr.png') 0 0 no-repeat;
|
335
|
+
margin-top: 40px;
|
336
|
+
padding-top: 20px;
|
337
|
+
padding-bottom: 30px;
|
338
|
+
font-size: 13px;
|
339
|
+
color: #aaa;
|
340
|
+
}
|
341
|
+
|
342
|
+
footer a {
|
343
|
+
color: #666;
|
344
|
+
}
|
345
|
+
|
346
|
+
footer a:hover {
|
347
|
+
color: #444;
|
348
|
+
}
|
349
|
+
|
350
|
+
/* MISC */
|
351
|
+
.clearfix:after {
|
352
|
+
clear: both;
|
353
|
+
content: '.';
|
354
|
+
display: block;
|
355
|
+
visibility: hidden;
|
356
|
+
height: 0;
|
357
|
+
}
|
358
|
+
|
359
|
+
.clearfix {
|
360
|
+
display: inline-block;
|
361
|
+
}
|
362
|
+
|
363
|
+
* html .clearfix {
|
364
|
+
height: 1%;
|
365
|
+
}
|
366
|
+
|
367
|
+
.clearfix {
|
368
|
+
display: block;
|
369
|
+
}
|
370
|
+
|
371
|
+
/* #Media Queries
|
372
|
+
================================================== */
|
373
|
+
|
374
|
+
/* Smaller than standard 960 (devices and browsers) */
|
375
|
+
@media only screen and (max-width: 959px) {
|
376
|
+
}
|
377
|
+
|
378
|
+
/* Tablet Portrait size to standard 960 (devices and browsers) */
|
379
|
+
@media only screen and (min-width: 768px) and (max-width: 959px) {
|
380
|
+
}
|
381
|
+
|
382
|
+
/* All Mobile Sizes (devices and browser) */
|
383
|
+
@media only screen and (max-width: 767px) {
|
384
|
+
header {
|
385
|
+
padding-top: 10px;
|
386
|
+
padding-bottom: 10px;
|
387
|
+
}
|
388
|
+
|
389
|
+
#downloads {
|
390
|
+
margin-bottom: 25px;
|
391
|
+
}
|
392
|
+
|
393
|
+
#download-zip, #download-tar-gz {
|
394
|
+
display: none;
|
395
|
+
}
|
396
|
+
|
397
|
+
.inner {
|
398
|
+
width: 94%;
|
399
|
+
margin: 0 auto;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
|
403
|
+
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
|
404
|
+
@media only screen and (min-width: 480px) and (max-width: 767px) {
|
405
|
+
}
|
406
|
+
|
407
|
+
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
|
408
|
+
@media only screen and (max-width: 479px) {
|
409
|
+
}
|
410
|
+
|
411
|
+
</style>
|
412
|
+
</head>
|
413
|
+
|
414
|
+
<body>
|
415
|
+
<div id="container">
|
416
|
+
<div class="inner">
|
417
|
+
|
418
|
+
<header>
|
419
|
+
<h1>Blogging Down</h1>
|
420
|
+
|
421
|
+
<h2><%= @title %></h2>
|
422
|
+
</header>
|
423
|
+
|
424
|
+
<hr>
|
425
|
+
|
426
|
+
<section id="main_content">
|
427
|
+
<%= yield %>
|
428
|
+
</section>
|
429
|
+
|
430
|
+
<footer>
|
431
|
+
Brought to you with love
|
432
|
+
</footer>
|
433
|
+
|
434
|
+
|
435
|
+
</div>
|
436
|
+
</div>
|
437
|
+
</body>
|
438
|
+
</html>
|
@@ -13,11 +13,17 @@ def clean_output
|
|
13
13
|
end
|
14
14
|
|
15
15
|
describe "A simple markdown blogger" do
|
16
|
-
before(:each) do
|
17
|
-
clean_output
|
18
|
-
end
|
19
16
|
|
20
|
-
|
17
|
+
context "Publishing" do
|
18
|
+
before(:each) do
|
19
|
+
clean_output
|
20
|
+
end
|
21
|
+
let(:publisher){ Blogdown::Publisher.new $root_fixture_path}
|
21
22
|
|
22
|
-
|
23
|
+
describe "composer" do
|
24
|
+
it{
|
25
|
+
expect{publisher.compose}.to_not raise_error
|
26
|
+
}
|
27
|
+
end
|
28
|
+
end
|
23
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blogdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gernest
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.19.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: sinatra
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.4.5
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.4.5
|
111
125
|
description: ' another markdown fanatic'
|
112
126
|
email:
|
113
127
|
- geofreyernest@live.com
|
@@ -124,17 +138,30 @@ files:
|
|
124
138
|
- Rakefile
|
125
139
|
- bin/blogdown
|
126
140
|
- blogdown.gemspec
|
127
|
-
- features/
|
128
|
-
- features/step_definitions/
|
141
|
+
- features/server.feature
|
142
|
+
- features/step_definitions/blogdown_steps.rb
|
129
143
|
- features/support/env.rb
|
130
144
|
- lib/blogdown.rb
|
145
|
+
- lib/blogdown/app.rb
|
131
146
|
- lib/blogdown/cli.rb
|
132
147
|
- lib/blogdown/exceptions.rb
|
133
148
|
- lib/blogdown/file_pipeline.rb
|
134
149
|
- lib/blogdown/publisher.rb
|
135
150
|
- lib/blogdown/version.rb
|
151
|
+
- lib/public/images/body-bg.png
|
152
|
+
- lib/public/images/highlight-bg.jpg
|
153
|
+
- lib/public/images/hr.png
|
154
|
+
- lib/public/images/octocat-icon.png
|
155
|
+
- lib/public/images/tar-gz-icon.png
|
156
|
+
- lib/public/images/zip-icon.png
|
157
|
+
- lib/public/javascripts/main.js
|
158
|
+
- lib/public/stylesheets/print.css
|
159
|
+
- lib/public/stylesheets/pygment_trac.css
|
160
|
+
- lib/public/stylesheets/stylesheet.css
|
161
|
+
- lib/views/base.erb
|
162
|
+
- lib/views/home.erb
|
163
|
+
- lib/views/post.erb
|
136
164
|
- spec/blogdown/blogdown_spec.rb
|
137
|
-
- spec/fixtures/output/hello.html
|
138
165
|
- spec/fixtures/posts/hello.md
|
139
166
|
- spec/spec_helper.rb
|
140
167
|
homepage: https://github.com/gernest/blogdown
|
@@ -162,11 +189,10 @@ signing_key:
|
|
162
189
|
specification_version: 4
|
163
190
|
summary: Write in markdown for your web based rich text editor
|
164
191
|
test_files:
|
165
|
-
- features/
|
166
|
-
- features/step_definitions/
|
192
|
+
- features/server.feature
|
193
|
+
- features/step_definitions/blogdown_steps.rb
|
167
194
|
- features/support/env.rb
|
168
195
|
- spec/blogdown/blogdown_spec.rb
|
169
|
-
- spec/fixtures/output/hello.html
|
170
196
|
- spec/fixtures/posts/hello.md
|
171
197
|
- spec/spec_helper.rb
|
172
198
|
has_rdoc:
|
@@ -1,10 +0,0 @@
|
|
1
|
-
Feature: File Pipeline
|
2
|
-
As a developer, I want to have a full access of the files managed, and processed by the app
|
3
|
-
during runtime.
|
4
|
-
This is to offer a simple API for parts of the programs which needs access to the files processed
|
5
|
-
|
6
|
-
Scenario: Loading Input files
|
7
|
-
Given I have a root directory
|
8
|
-
And There is a posts directory in the root directory
|
9
|
-
When I initialize initialize the file pipeline
|
10
|
-
Then I should have a stack of input files
|
@@ -1,18 +0,0 @@
|
|
1
|
-
Given(/^I have a root directory$/) do
|
2
|
-
pending # express the regexp above with the code you wish you had
|
3
|
-
end
|
4
|
-
|
5
|
-
|
6
|
-
And(/^There is a posts directory in the root directory$/) do
|
7
|
-
pending # express the regexp above with the code you wish you had
|
8
|
-
end
|
9
|
-
|
10
|
-
|
11
|
-
When(/^I initialize initialize the file pipeline$/) do
|
12
|
-
pending # express the regexp above with the code you wish you had
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
Then(/^I should have a stack of input files$/) do
|
17
|
-
pending # express the regexp above with the code you wish you had
|
18
|
-
end
|