liveblog 0.9.8 → 0.9.9
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/liveblog.rb +11 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20c20b2aa9d5e0be4711035e111a696981494f0f
|
|
4
|
+
data.tar.gz: 4b853b6639ef36c6753757ceef2e48d62c01fe09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6879bbeea21e4e732cd98bfdf159c2267cb7756f4385c9447fac29e97d199c903b604d8741a2e8289b009b71361c3b42d7e7c1f01a991d73bde3a88ac5fabc23
|
|
7
|
+
data.tar.gz: d881d27c9a20ea8a4994fdd17f4e9e16348681eafe331e69fdc042a2cf1513dabf060b5147ab04873a7158a62d6be7fce0423443e6f6247517943f3bf280b404
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/liveblog.rb
CHANGED
|
@@ -364,6 +364,17 @@ EOF
|
|
|
364
364
|
|
|
365
365
|
end
|
|
366
366
|
end
|
|
367
|
+
|
|
368
|
+
related_links_filepath = File.join(path(), 'related_links.xml')
|
|
369
|
+
|
|
370
|
+
if File.exists? related_links_filepath then
|
|
371
|
+
|
|
372
|
+
related_links = Rexle::Element.new 'related_links'
|
|
373
|
+
doc2 = Rexle.new(File.read(related_links_filepath))
|
|
374
|
+
doc2.root.xpath('body/*').each {|element| related_links.add element }
|
|
375
|
+
|
|
376
|
+
doc.root.add related_links
|
|
377
|
+
end
|
|
367
378
|
|
|
368
379
|
render_html doc
|
|
369
380
|
File.write formatted_filepath, doc.xml(pretty: true)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: liveblog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
WoOSxvsTN7qoA8F0W4mkDpf+HhHxBOLTPykcHMIlx2gILLnNraaZ1rJlZAqWABGj
|
|
32
32
|
v8lGgeeqqjd5QA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-05-
|
|
34
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: dynarex
|
metadata.gz.sig
CHANGED
|
Binary file
|