relaton-bsi 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.adoc +1 -3
- data/lib/relaton_bsi/bsi_bibliography.rb +2 -0
- data/lib/relaton_bsi/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: 971cb6a5d15a0cdec9cb41f1963c9830fc2ea2d7dd99f64ee8e7fec62b5e6592
|
|
4
|
+
data.tar.gz: a224a6e1ce6f60af4cb76ef3babcf87af286b1ee5ff3172d4cdf06fdb18c1202
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac8ebd455367c3703ba5d1841bebb71baa20fcc7a7346102068591461d00a6b771f95f471237d2b82f3738c6da6510799b5bf9a5051d906a6b6df7a3f6d0cbe5
|
|
7
|
+
data.tar.gz: e1cc1a888951f4377d3075fb2f84d9703014c5f0c954a8405b55a057b3378721ef806b369feca704c0fac836c44fa44c9a3786198f4855b4b7f54ee51b5188f5
|
data/README.adoc
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
= RelatonBsi retrieve BSI Standards for bibliographic use using the BibliographicItem model
|
|
2
2
|
|
|
3
3
|
image:https://img.shields.io/gem/v/relaton-bsi.svg["Gem Version", link="https://rubygems.org/gems/relaton-bsi"]
|
|
4
|
-
image:https://github.com/relaton/relaton-bsi/workflows/
|
|
5
|
-
image:https://github.com/relaton/relaton-bsi/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-bsi/actions?workflow=windows"]
|
|
6
|
-
image:https://github.com/relaton/relaton-bsi/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-bsi/actions?workflow=ubuntu"]
|
|
4
|
+
image:https://github.com/relaton/relaton-bsi/workflows/rake/badge.svg["Build Status", link="https://github.com/relaton/relaton-bsi/actions?workflow=rake"]
|
|
7
5
|
image:https://codeclimate.com/github/relaton/relaton-bsi/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-bsi"]
|
|
8
6
|
image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-bsi.svg["Pull Requests", link="https://github.com/relaton/relaton-bsi/pulls"]
|
|
9
7
|
image:https://img.shields.io/github/commits-since/relaton/relaton-bsi/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-bsi/releases"]
|
|
@@ -69,6 +69,8 @@ module RelatonBsi
|
|
|
69
69
|
def search_filter(code) # rubocop:disable Metrics/AbcSize,Metrics/CyclomaticComplexity,Metrics/MethodLength,Metrics/PerceivedComplexity
|
|
70
70
|
%r{^BSI\s(?<code1>[^:]+)} =~ code
|
|
71
71
|
warn "[relaton-bsi] (\"#{code}\") fetching..."
|
|
72
|
+
return [] unless code1
|
|
73
|
+
|
|
72
74
|
result = search(code)
|
|
73
75
|
result.select do |i|
|
|
74
76
|
next true unless i.hit[:code]
|
data/lib/relaton_bsi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: relaton-bsi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.1
|
|
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-05-
|
|
11
|
+
date: 2021-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: equivalent-xml
|