curation 1.3 → 1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/curation.rb +2 -2
- data/lib/curation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f7502a62d7bbb12799e869c1e5c64bd3e514c7ed97190790d42675451d48d1
|
4
|
+
data.tar.gz: 5cec6d6556dce75884b2e1a5e92e0d34744b623fcfb81b8b52684974a980f8b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39dabe191b310e192e663836e00b8e4c28c716685cf05e0d86c807cc968b43d525480c8488b1d93e68c30b931d2d30560e445d3693458f78f937c76e38d788eb
|
7
|
+
data.tar.gz: ac5786df34fca74a9b7e6f336b630ce89baebf1720c01e48ac87c3f933457259276035587dbe0d922fa3096acb55cdfb392a1869b8c412eebaba214f66cd4f63
|
data/Gemfile.lock
CHANGED
data/lib/curation.rb
CHANGED
@@ -64,8 +64,8 @@ module Curation
|
|
64
64
|
[
|
65
65
|
metainspector.best_title,
|
66
66
|
metainspector.title,
|
67
|
-
nokogiri.css('[itemprop="headline"]')
|
68
|
-
nokogiri.css('title')
|
67
|
+
nokogiri.css('[itemprop="headline"]')&.first&.inner_text,
|
68
|
+
nokogiri.css('title')&.first&.inner_text
|
69
69
|
].each do |possibility|
|
70
70
|
return possibility unless possibility.blank?
|
71
71
|
end
|
data/lib/curation/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Levy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metainspector
|