runeblog 0.2.32 → 0.2.33
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/empty_view.tgz +0 -0
- data/lib/liveblog.rb +4 -5
- data/lib/pathmagic.rb +1 -1
- data/lib/repl.rb +1 -0
- data/lib/runeblog_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c75004d0736a0ca8b5f5b966ef4d0d3fc7933bea56aea2e88e3d4394b2d4b8e2
|
4
|
+
data.tar.gz: 35dbe2cb026e4f00113557725d2e7ab9dea3b368815963dd01ebf2ef4bd09e03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2691134fb525279a2a89a5b45c2e802106ec6c43418ff3985d5c99c3b9d068a4128c37be251de9e46e34670b4a7096418663cb14f40731158b0f863f8e320b83
|
7
|
+
data.tar.gz: e08bc25caf4db3ba85785fe59bd3d715dd8f7fcc002268e5784fa20e9cf695c7353a73b8f1ec988be0ef5368db4c4a3db3ae4bbb732cf7c762dcb310963da6c3
|
data/empty_view.tgz
CHANGED
Binary file
|
data/lib/liveblog.rb
CHANGED
@@ -118,8 +118,7 @@ def make_main_links
|
|
118
118
|
log!(str: "Reading #{input}", pwd: true)
|
119
119
|
pairs = File.readlines(input).map {|line| line.chomp.split(/, */, 2) }
|
120
120
|
_write_main(mainfile, pairs, card_title, tag)
|
121
|
-
|
122
|
-
_write_card(cardfile, mainfile, pairs, card_title, tag, relative: widget_relative)
|
121
|
+
_write_card(cardfile, mainfile, pairs, card_title, tag)
|
123
122
|
log!(str: "...returning from method", pwd: true)
|
124
123
|
end
|
125
124
|
|
@@ -543,7 +542,7 @@ def _html_body(file, css = nil)
|
|
543
542
|
file.puts " </body>\n</html>"
|
544
543
|
end
|
545
544
|
|
546
|
-
def _write_card(cardfile, mainfile, pairs, card_title, tag
|
545
|
+
def _write_card(cardfile, mainfile, pairs, card_title, tag)
|
547
546
|
log!(str: "Creating #{cardfile}.html", pwd: true)
|
548
547
|
url = mainfile
|
549
548
|
url = :widgets/tag/mainfile + ".html"
|
@@ -565,7 +564,7 @@ def _write_card(cardfile, mainfile, pairs, card_title, tag, relative: true)
|
|
565
564
|
url = file
|
566
565
|
type, title = page_type(tag, title)
|
567
566
|
case type
|
568
|
-
when :local; url_ref =
|
567
|
+
when :local; url_ref = _widget_card(file, tag) # local always frameable
|
569
568
|
when :frame; url_ref = _main(file) # remote, frameable
|
570
569
|
when :noframe; url_ref = _blank(file) # remote, not frameable
|
571
570
|
end
|
@@ -708,6 +707,6 @@ end
|
|
708
707
|
|
709
708
|
def _widget_card(url, tag)
|
710
709
|
url2 = :widgets/tag/url
|
711
|
-
%[href="#{url2}"]
|
710
|
+
%[href="javascript: void(0)" onclick="javascript:open_main('#{url2}')"]
|
712
711
|
end
|
713
712
|
|
data/lib/pathmagic.rb
CHANGED
data/lib/repl.rb
CHANGED
data/lib/runeblog_version.rb
CHANGED