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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4060bfbf1baa5f509e4da338e926c7606ec44d802fc15b843e9a5fc0c1738b7f
4
- data.tar.gz: c2c35413fa8ce15f6858646adc872ebb501d31b7153ca81c6f5900841d165b02
3
+ metadata.gz: 61aa7e5fe0818e8b951befd42f07d89611e122a2c116e2fd2f77fff4e8b42a1c
4
+ data.tar.gz: 443b360ddf21255a9658de19a53a8582ffc206ffa67b0ace9ce673054d98dd45
5
5
  SHA512:
6
- metadata.gz: 35cd25e62e26a81fbb4c070d606787c5274e3d3692e17d03da3cfd80d64f8b14d4519f0ade9d99e57a7ca1be6dc46faf040e610542491d3a1b3177d09a193644
7
- data.tar.gz: b7c9af176b3a9fba7c8f06c6047a5a0c8a1bda5856a4ec2c1fecc524d7ff3d44f54b52f7dae36235a4af6b2d46e37704de16de0cfd450aa74dfac82cb3e75a6d
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
- <img src=assets/fakeimage.jpg width=400 height=300>
38
+ <img src=assets/fakeimage.jpg width=400 height=300>
15
39
  </td>
16
40
  <td>
17
- <h3>Yet another blog... by Kilgore Trout</h3>
18
- <br>
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")
@@ -1,6 +1,6 @@
1
1
 
2
2
  class RuneBlog
3
- VERSION = "0.1.32"
3
+ VERSION = "0.1.33"
4
4
 
5
5
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
6
6
  end
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.32
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-24 00:00:00.000000000 Z
11
+ date: 2019-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: livetext