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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb83eff4cfb6b51b7b5ce520f9304919e121426e5b13ecd9805d82e770427217
4
- data.tar.gz: 3d725995c3ebe4d846ea6058d4b2243587c456e442ccda042b50c353444f31b5
3
+ metadata.gz: c096d4c38e25b0fe6852d9695136f74973170d7acc7614c375cd69c31583f577
4
+ data.tar.gz: 3dc34490b175e07838b7275ab64f224286f5da240540a8887db6aecc87e280bb
5
5
  SHA512:
6
- metadata.gz: d33d403cfc4efdc65f14552c694a329434d39ba87cbc22dd91608d3d37d6ef97c9dcda429b01bb6d33790e00e8432ef69b7a6b0be1446fc09bfc4a0c00daa276
7
- data.tar.gz: 779c953f33079f8a012288a34b5d1aa791cd22cd012b51b1e61d6f9f6e2bd93e433080388793e49f6908b48877b88af4eb492cca678b292b500bf3840ed18d3f
6
+ metadata.gz: 158a34d9df0a48d7ca2c902ca58c0d15a2991ca4b84b3d05466f78c6e131f62cd01c21bf8da7fb3b818dbd0d4e6ca485b97f7f764606a8b976378a5d5df8bd60
7
+ data.tar.gz: ab35a0d41f1b9f546f76247f1748854e40a80a08bbe0db47949ae8ff3cdccb39d4ee7f1ba5d57593f1f498cbe5dce3cdd089a23e3b1af746bd78f011b03b93aa
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- title_grabber (0.5.1)
4
+ title_grabber (0.5.3)
5
5
  oga (~> 2.15)
6
6
 
7
7
  GEM
@@ -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? && art_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 }
@@ -1,3 +1,3 @@
1
1
  module TitleGrabber
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
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.2
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-04-22 00:00:00.000000000 Z
11
+ date: 2019-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oga