relaton-itu 0.3.8 → 0.3.9

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: af7a818e18ffa5fccfeef423545ad4c32b0d6dcb1fe644009c15bdd10b0fd2ee
4
- data.tar.gz: 380ee25d72296884a4f939a68ce59e38cd888c39358fa37dc44dd36acc1543e2
3
+ metadata.gz: ab978472f8e37b1c3986dd7ca579d7e2a13f32a439dff9254b8550e396198910
4
+ data.tar.gz: 4fd42f44a8cf3a7815bf1f0fd60ab5bc8c93b47234ed822009588fc492019456
5
5
  SHA512:
6
- metadata.gz: ff1799f1140844c073ace47166272f8dba321ed606f17699122dd6f668c9746eea6cafaf52c0d55e84ed827ccf5b0f90a2f293c6b1de4f0d43a37415b9aa77ab
7
- data.tar.gz: f263ec16e358948b32d49947cd2f7861a9f8b4635efea78250927587e72eb37c3a6fbf7e0c50a3e9784838fa074224612dedc6f5effdfda36c72281ba1ec33cf
6
+ metadata.gz: 1f10f11521445ceb29e5524ab071ce7577e3fc232ba456c5078d0a421b68fefbaa6367292f06de6fe45c8dfb7c2999d00a5db95ba873139bbd82476e2c546eb3
7
+ data.tar.gz: 6ce139042eac32a8b1430ed91dab7a116f0dadffc7e9d08188f4e0ae5ffd064aab87ac05a66adfaf41371346223512d10d5016142d8933e132835f2b7fa84dd7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-itu (0.3.8)
4
+ relaton-itu (0.3.9)
5
5
  relaton-iso-bib (~> 0.3.0)
6
6
 
7
7
  GEM
@@ -248,7 +248,7 @@ module RelatonItu
248
248
  dates = []
249
249
  pdate = doc.at("//table/tr/td/span[contains(@id, 'Label5')]")
250
250
  publish_date = pdate&.text || ob_date(doc)
251
- unless publish_date&.empty?
251
+ if publish_date && !publish_date&.empty?
252
252
  dates << { type: "published", on: publish_date }
253
253
  end
254
254
  dates
@@ -1,3 +1,3 @@
1
1
  module RelatonItu
2
- VERSION = "0.3.8".freeze
2
+ VERSION = "0.3.9".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.