jekyll-cooklang-converter 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 598f60f293b9daafa043f024da2f59a48583071ce45fdfb6c15ef115e8736079
|
4
|
+
data.tar.gz: 4e1988e3e4c447b9dcfdde2c8ef525ee76c2c2d1701c3975bb4fa3db64dfb860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59648f9165ccae0db06142f2236134b7d22c2a4bcf8182d59adac5e0a1932e5c8f2f78690e9e1dccda15383da4736899d4b76067ea9eaf246543fe12fdf85f2c
|
7
|
+
data.tar.gz: 6a9a8bd601532ba52d984d8fe0062823035380fd9842ed63db079887c3c998e54375d5c87ba8485565c6d694d428e5a7895aac5dfe4f1e79c967e4d604b009a9
|
@@ -47,6 +47,6 @@
|
|
47
47
|
<p>layer half of the cooked pasta into the bottom of a greased casserole dish. Ladle half of the meat + veggie mixture on top. Then, spread the cheese mixture from the previous step on top of everything. Layer sliced provolone on that, followed by the rest of the sauce, the rest of the pasta, and a final layer of mozarella cheese. Sprinkle the top with italian seasoning</p>
|
48
48
|
</li>
|
49
49
|
<li>
|
50
|
-
<p>put the dish in the preheated oven for . Then it's all ready!</p>
|
50
|
+
<p>put the dish in the preheated oven for 25 minutes. Then it's all ready!</p>
|
51
51
|
</li>
|
52
52
|
</ol>
|
@@ -47,6 +47,6 @@
|
|
47
47
|
<p>layer half of the cooked pasta into the bottom of a greased casserole dish. Ladle half of the meat + veggie mixture on top. Then, spread the cheese mixture from the previous step on top of everything. Layer sliced provolone on that, followed by the rest of the sauce, the rest of the pasta, and a final layer of mozarella cheese. Sprinkle the top with italian seasoning</p>
|
48
48
|
</li>
|
49
49
|
<li>
|
50
|
-
<p>put the dish in the preheated oven for . Then it's all ready!</p>
|
50
|
+
<p>put the dish in the preheated oven for 25 minutes. Then it's all ready!</p>
|
51
51
|
</li>
|
52
52
|
</ol>
|
@@ -23,6 +23,19 @@ module Jekyll
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
class Timer < ToHTML
|
27
|
+
def initialize(quantity, unit, name)
|
28
|
+
@name = name
|
29
|
+
@unit = unit
|
30
|
+
@quantity = quantity
|
31
|
+
end
|
32
|
+
|
33
|
+
def to_html
|
34
|
+
return "<em>#{@quantity} #{@unit}</em>" if @unit.empty?
|
35
|
+
"<em>#{@quantity} #{@unit}</em> (#{@name})"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
26
39
|
class CookWare < ToHTML
|
27
40
|
def initialize(quantity, name)
|
28
41
|
@name = name
|
@@ -69,6 +82,8 @@ module Jekyll
|
|
69
82
|
substep["name"]
|
70
83
|
when "ingredient"
|
71
84
|
substep["name"]
|
85
|
+
when "timer"
|
86
|
+
"#{substep["quantity"]} #{substep["units"]}"
|
72
87
|
when "text"
|
73
88
|
substep["value"]
|
74
89
|
end
|