runeblog 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/default.rb +31 -9
- data/lib/runeblog.rb +3 -0
- data/lib/runeblog_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61aa7e5fe0818e8b951befd42f07d89611e122a2c116e2fd2f77fff4e8b42a1c
|
4
|
+
data.tar.gz: 443b360ddf21255a9658de19a53a8582ffc206ffa67b0ace9ce673054d98dd45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2787058035efb512b0d1cbacef3010929ccc66cc02b193a17957de3d20eda16cdeedec8ce981fd0ccd0c9ba35fd763f34739be3d2f4c7730328dea3798b55cde
|
7
|
+
data.tar.gz: 9a91a6691fd73326be4010f8d28bf2df8659e5fc8ac84c40fac77571166f42ddf6a39558ca1ea90a3a9a1e53971c4ad7ae2a7e8f7cef4e7aa13ec39e4b9fd8bc
|
data/lib/default.rb
CHANGED
@@ -2,30 +2,52 @@ class RuneBlog::Default
|
|
2
2
|
|
3
3
|
# This will all become much more generic later.
|
4
4
|
|
5
|
+
NewBlogHeader = <<-TEXT # Can't do this yet!!
|
6
|
+
.mixin liveblog
|
7
|
+
|
8
|
+
.title Fake Blog, Fake Title, Fake Author
|
9
|
+
|
10
|
+
.asset fakeimage.jpg
|
11
|
+
|
12
|
+
<table>
|
13
|
+
<tr>
|
14
|
+
<td>
|
15
|
+
.image fakeimage.jpg
|
16
|
+
</td>
|
17
|
+
<td>
|
18
|
+
.h3 Yet another blog...
|
19
|
+
.h4 by Kilgore Trout
|
20
|
+
.br 2
|
21
|
+
If you're the kind of person who likes this sort of thing,
|
22
|
+
then this is the sort of thing a person like you will like.
|
23
|
+
.br 2
|
24
|
+
Don't you feel more like you do now than before you read this?
|
25
|
+
</td>
|
26
|
+
</tr>
|
27
|
+
</table>
|
28
|
+
.hr
|
29
|
+
TEXT
|
30
|
+
|
5
31
|
BlogHeader = <<-TEXT
|
6
32
|
<html>
|
7
33
|
<body>
|
8
|
-
|
9
34
|
<title>Fake Blog, Fake Title, Fake Author</title>
|
10
|
-
|
11
35
|
<table>
|
12
36
|
<tr>
|
13
37
|
<td>
|
14
|
-
|
38
|
+
<img src=assets/fakeimage.jpg width=400 height=300>
|
15
39
|
</td>
|
16
40
|
<td>
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<br>
|
41
|
+
<h2>Yet another blog...</h2>
|
42
|
+
<h3>by Kilgore Trout</h3>
|
43
|
+
<br> <br>
|
20
44
|
If you're the kind of person who likes this sort of thing,
|
21
45
|
then this is the sort of thing a person like you will like.
|
22
|
-
<br>
|
23
|
-
<br>
|
46
|
+
<br> <br>
|
24
47
|
Don't you feel more like you do now than before you read this?
|
25
48
|
</td>
|
26
49
|
</tr>
|
27
50
|
</table>
|
28
|
-
|
29
51
|
<hr>
|
30
52
|
TEXT
|
31
53
|
|
data/lib/runeblog.rb
CHANGED
@@ -138,6 +138,9 @@ class RuneBlog
|
|
138
138
|
pub = "user: xxx\nserver: xxx\ndocroot: xxx\npath: xxx\nproto: xxx\n"
|
139
139
|
dump(pub, "publish")
|
140
140
|
dump("", "tagpool")
|
141
|
+
# live = Livetext.new
|
142
|
+
# Livetext.parameters = [RuneBlog.blog, 0]
|
143
|
+
# meta = live.process_text(x::BlogHeader)
|
141
144
|
dump(x::BlogHeader, "custom/blog_header.html")
|
142
145
|
dump(x::BlogTrailer, "custom/blog_trailer.html")
|
143
146
|
dump("Initial creation", "last_published")
|
data/lib/runeblog_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runeblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hal Fulton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: livetext
|