liveblog 1.2.8 → 1.2.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 +2 -1
- data/lib/liveblog.rb +9 -5
- metadata +1 -1
- 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: 476e464d2e54dd14df7dddf52d07c60297e790ed
|
|
4
|
+
data.tar.gz: a26671218b86d8f15a7591602b2d865dee0c234c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cccd6e078a480e40cbea0d67619e63f3b27bef42bbcabed30b71d6c7e96578f04e2249c0acff0e4909953a8fc7ec94256f58661e9caf1e13e376cdbe7dc0657
|
|
7
|
+
data.tar.gz: b7b7dfb0e3bbe5723a5898df84a201186b8284600af4fba635a97628442a4f8913b19609a03a4ffca48595b6760c7801059b6f4f46fdae52fee97fb8cfcebcae
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
<�%2D�q�uӝU���[mZ�J�E}�q7���H�����?o� ���˲��1��?/�
|
|
2
|
+
�k����4穗NF�A�yOJnqa�ދ�nP��w�j��߅1�
|
data/lib/liveblog.rb
CHANGED
|
@@ -161,7 +161,7 @@ class LiveBlog
|
|
|
161
161
|
|
|
162
162
|
yesterdays_index_file = File.join(@dir, path(@d-1), 'index.xml')
|
|
163
163
|
|
|
164
|
-
x.on_new_day(yesterdays_index_file, urlpath(@d-1))
|
|
164
|
+
Thread.new { x.on_new_day(yesterdays_index_file, urlpath(@d-1)) }
|
|
165
165
|
|
|
166
166
|
end
|
|
167
167
|
|
|
@@ -264,7 +264,7 @@ EOF
|
|
|
264
264
|
@plugins.each do |x|
|
|
265
265
|
|
|
266
266
|
if x.respond_to? :on_update_entry then
|
|
267
|
-
x.on_update_section(raw_entry, hashtag)
|
|
267
|
+
Thread.new { x.on_update_section(raw_entry, hashtag) }
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
end
|
|
@@ -317,7 +317,7 @@ EOF
|
|
|
317
317
|
@plugins.each do |x|
|
|
318
318
|
|
|
319
319
|
if x.respond_to? :on_new_section_entry then
|
|
320
|
-
x.on_new_section_entry(raw_entry, hashtag)
|
|
320
|
+
Thread.new { x.on_new_section_entry(raw_entry, hashtag) }
|
|
321
321
|
end
|
|
322
322
|
|
|
323
323
|
end
|
|
@@ -340,7 +340,9 @@ EOF
|
|
|
340
340
|
id: hashtag.downcase, custom_attributes: {uid: uid})
|
|
341
341
|
|
|
342
342
|
@plugins.each do |x|
|
|
343
|
-
|
|
343
|
+
Thread.new do
|
|
344
|
+
x.on_new_section(raw_entry, hashtag) if x.respond_to? :on_new_section
|
|
345
|
+
end
|
|
344
346
|
end
|
|
345
347
|
|
|
346
348
|
[true, 'section added']
|
|
@@ -522,7 +524,9 @@ EOF
|
|
|
522
524
|
doc.root.add related_links
|
|
523
525
|
end
|
|
524
526
|
|
|
525
|
-
@plugins.each
|
|
527
|
+
@plugins.each do |x|
|
|
528
|
+
Thread.new { x.on_doc_update(doc) if x.respond_to? :on_doc_update }
|
|
529
|
+
end
|
|
526
530
|
|
|
527
531
|
render_html doc, xsl: @xsl_today_path
|
|
528
532
|
File.write formatted_filepath, doc.xml(pretty: true)
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|