relaton-bib 1.7.4 → 1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +1 -3
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib/xml_parser.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f2991bdb522fb06fd4e985ef76cba4267d476533cf4b1079ace20914c471547
|
4
|
+
data.tar.gz: 4c7da990f58fbb41d9f1d47e3b15e87e33a9c47cc0cb699d773d54eb1b28dc21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42309dea6306924a4e9a32b75852bd160834304d93b31dd2646c993c4bf8b60c77874bd4a3e11bc7b9c5c00a2a1745fb58e38c319e8d4cd031205d1bcfbc7c40
|
7
|
+
data.tar.gz: 2bf64731bc36695c85c066ca51dbd1c42c5dfd1f3c78e5b90e191fc6c3894239ea76a7b80486ae68ce2e15d9652970fd0c53fcd877262950dc4e5edf1ed919ed
|
data/README.adoc
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
= RelatonBib
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/relaton-bib.svg["Gem Version", link="https://rubygems.org/gems/relaton-bib"]
|
4
|
-
image:https://github.com/relaton/relaton-bib/workflows/
|
5
|
-
image:https://github.com/relaton/relaton-bib/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-bib/actions?workflow=windows"]
|
6
|
-
image:https://github.com/relaton/relaton-bib/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-bib/actions?workflow=ubuntu"]
|
4
|
+
image:https://github.com/relaton/relaton-bib/workflows/rake/badge.svg["Build Status", link="https://github.com/relaton/relaton-bib/actions?workflow=rake"]
|
7
5
|
image:https://codeclimate.com/github/relaton/relaton-bib/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-bib"]
|
8
6
|
image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-bib.svg["Pull Requests", link="https://github.com/relaton/relaton-bib/pulls"]
|
9
7
|
image:https://img.shields.io/github/commits-since/relaton/relaton-bib/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-bib/releases"]
|
data/lib/relaton_bib/version.rb
CHANGED
@@ -217,7 +217,7 @@ module RelatonBib
|
|
217
217
|
# @param node [Nokogiri::XML::Elemen]
|
218
218
|
# @return [Array<RelatonBib::BibliographicDate>]
|
219
219
|
def fetch_dates(item) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity
|
220
|
-
item.xpath("./date").
|
220
|
+
item.xpath("./date").each_with_object([]) do |d, a|
|
221
221
|
type = d[:type].to_s.empty? ? "published" : d[:type]
|
222
222
|
if (on = d.at("on"))
|
223
223
|
a << RelatonBib::BibliographicDate.new(type: type, on: on.text,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
|
-
rubygems_version: 3.
|
236
|
+
rubygems_version: 3.0.6
|
237
237
|
signing_key:
|
238
238
|
specification_version: 4
|
239
239
|
summary: 'RelatonBib: Ruby XMLDOC impementation.'
|