bookshark 1.0.3 → 1.0.4

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: '03852f73c9246676ff20b75b0a893998e967f2c7'
4
- data.tar.gz: 7fe938710c2e9344563395e5db7cf3e7eaf76b25
3
+ metadata.gz: 3c55195dacb83de8db6a4e40bc79d042abd3dbca
4
+ data.tar.gz: 07eb3cc3e019b52bea3a26e03fea7957d5a5ea8a
5
5
  SHA512:
6
- metadata.gz: 3ccd4cfd0e82aa6918304e82df18f382f2b7e33470c9f52ff362b4897aaf53b703a04bd2689871925293d7e084d3e0008c74aa289fb36a106be7dca20c01ee0f
7
- data.tar.gz: fb4590ee8c1a24402f48b3502ddb77e24fbbde2c988a18fb62fe867762950f351d3271512773602bd9cec47d7e51a6cb94de1e2d695cf7c0d8704a39bc72f905
6
+ metadata.gz: 9754f7035b8d85724f7ba0cd1cff7a471f454feca7f3d03759a5f18a0d7d9902ab67498dec57021d9d118203ffc8dad12f32b6dcf4dee8f392813221b61cbe21
7
+ data.tar.gz: ac70590c2eb3424e13105c9aa410505daef18f51e778252c8aa39ddc9a358560d469633521ef315a91479299efb7124f5bb648e864614cf6ba2ffc457e2a6cbb
@@ -173,7 +173,7 @@ module Biblionet
173
173
  last_author = @nodeset
174
174
  .xpath("//a[@class='booklink' and @href[contains(.,'/author/') ]][last()]").last
175
175
 
176
- if !last_author.nil? && !last_author.empty?
176
+ if !last_author.nil?
177
177
  after_last_author_text = last_author.next_sibling.text.strip
178
178
  else
179
179
  last_book = @nodeset
@@ -1,3 +1,3 @@
1
1
  module Bookshark
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookshark
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitris Klisiaris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-27 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri