iso-bib-item 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/iso_bib_item/version.rb +1 -1
- data/lib/iso_bib_item/xml_parser.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: 851d7eeda20441447ee2a82966d8c0bd57677d009361d52a0875538a56deb56d
|
4
|
+
data.tar.gz: 4bbc5a4c779795d8b1fbb7a251d48dd0934d9ee1f4775c1ec82a4719e780c3d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6fd6f005183cbeb54120ea58a491456ca3402f1ad460706e88e5df54853a0fc749bd5ab756608da81b26ee01e0e6d8502166262550d618e31f091ba3f3559a0
|
7
|
+
data.tar.gz: 373808606b09e65fc2f317e06cf114aacffa5a6faaa0aab98747156fad54afa60fc4953a52847f105267aece743fd3621ede69c4837679561e59cab0ba65a1de
|
data/Gemfile.lock
CHANGED
data/lib/iso_bib_item/version.rb
CHANGED
@@ -39,7 +39,7 @@ module IsoBibItem
|
|
39
39
|
else
|
40
40
|
id = get_id did
|
41
41
|
ret << IsoBibItem::IsoDocumentId.new(project_number: id.nil? ? did.text : id[:project],
|
42
|
-
part_number: id.nil? ? nil : id[:part],
|
42
|
+
part_number: (id.nil? || !id.names.include?("part")) ? nil : id[:part],
|
43
43
|
prefix: nil,
|
44
44
|
id: did.text,
|
45
45
|
type: type&.text)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iso-bib-item
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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: 2018-10-
|
11
|
+
date: 2018-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|