fetch_util 0.8.0 → 0.9.0

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.
@@ -285,6 +285,7 @@ module FetchUtil
285
285
  payload = snapshot.payload
286
286
  final_url = snapshot.final_url
287
287
  content_type = payload["contentType"] || "article"
288
+ return "article" if payload["sourceOwnedLiveblog"] == true
288
289
  return "article" if content_type == "list" && scholarly_article_markdown?(final_url, snapshot)
289
290
  return "article" if content_type == "list" && credible_article_route?(final_url, snapshot)
290
291
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FetchUtil
4
- VERSION = "0.8.0"
4
+ VERSION = "0.9.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fetch_util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - hmdne
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  - !ruby/object:Gem::Version
217
217
  version: '0'
218
218
  requirements: []
219
- rubygems_version: 4.0.19
219
+ rubygems_version: 4.0.21
220
220
  specification_version: 4
221
221
  summary: AI for fetching in Ruby
222
222
  test_files: []