liveblog 1.2.8 → 1.2.9

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
  SHA1:
3
- metadata.gz: 8352eb0e852f0c29f65661888ebcaa885629b524
4
- data.tar.gz: f771eb65f2abaaa5fb91f0e7d6a2b869e40059cb
3
+ metadata.gz: 476e464d2e54dd14df7dddf52d07c60297e790ed
4
+ data.tar.gz: a26671218b86d8f15a7591602b2d865dee0c234c
5
5
  SHA512:
6
- metadata.gz: 2f096a1091b705b6f5533ede269e72eb21fdd071d44997f384010f6d22e30fea1497f687f0bfda9bc11b0356ca8a55d0874ca77b59dd2b44b5ca9bd56a6a1a3a
7
- data.tar.gz: 11dd136af39551f95848968292c1870b0f391c57a01c815e3c472817387346c98bd6fd2b1947aa3c06f161e616eff9e9e6f568f2f071b010941f143a1dbf023f
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
- ~ߦd����a�y$ '��e /~�ե�LNYy9�^6~DŽPV,�lq�n}�f�� 0?$7��y~��ч�V ҔZb@��'�:�4���'H���H+�s��29�K̭��ޛ�5O���q�g�y�x6�q�
1
+ <�%2DquӝU���[mZJE}�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
- x.on_new_section(raw_entry, hashtag) if x.respond_to? :on_new_section
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 {|x| x.on_doc_update(doc) if x.respond_to? :on_doc_update }
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liveblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file