title_grabber 0.5.2 → 0.5.3
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/title_grabber.rb +2 -1
- data/lib/title_grabber/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: c096d4c38e25b0fe6852d9695136f74973170d7acc7614c375cd69c31583f577
|
4
|
+
data.tar.gz: 3dc34490b175e07838b7275ab64f224286f5da240540a8887db6aecc87e280bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158a34d9df0a48d7ca2c902ca58c0d15a2991ca4b84b3d05466f78c6e131f62cd01c21bf8da7fb3b818dbd0d4e6ca485b97f7f764606a8b976378a5d5df8bd60
|
7
|
+
data.tar.gz: ab35a0d41f1b9f546f76247f1748854e40a80a08bbe0db47949ae8ff3cdccb39d4ee7f1ba5d57593f1f498cbe5dce3cdd089a23e3b1af746bd78f011b03b93aa
|
data/Gemfile.lock
CHANGED
data/lib/title_grabber.rb
CHANGED
@@ -155,7 +155,8 @@ module TitleGrabber
|
|
155
155
|
page_tit = r[PAGE_TIT_HEAD]
|
156
156
|
art_tit = r[ART_TIT_HEAD]
|
157
157
|
|
158
|
-
unless page_tit.empty? &&
|
158
|
+
unless (!page_tit || page_tit.empty?) &&
|
159
|
+
(!art_tit || art_tit.empty?)
|
159
160
|
urls[r[URL_HEADER]] = { END_URL_HEAD => end_url,
|
160
161
|
PAGE_TIT_HEAD => page_tit,
|
161
162
|
ART_TIT_HEAD => art_tit }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: title_grabber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cristian Rasch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oga
|