relaton-iso-bib 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/relaton_iso_bib/iso_bibliographic_item.rb +3 -2
- data/lib/relaton_iso_bib/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: 7fde43ad2b5ed4626156837d01cbba679ac0fdf0a37079a1c2484de05b6229b7
|
4
|
+
data.tar.gz: ecc80f5059c2a14f2ed74635619b2ae673a9b93f1ce99a778bc756c5c9465961
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86fecd91650295317ba9863fc6a1d3d3c07234dda2c9d6f589413d5161d1fbdc1c2bf442a02baf1b205ca30931d965553225b2eae3513d0820e8f2e768c7fdb2
|
7
|
+
data.tar.gz: 8b4d38686f0bfb31994403212bb9c0c3f04872ac61e0fa0ee5b31b0ec914e16bca029c6a825b2608bd05cf07e7138a042c903adfb144da6373281c51e3aa3252
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relaton-iso-bib (0.3.
|
4
|
+
relaton-iso-bib (0.3.12)
|
5
5
|
isoics (~> 0.1.6)
|
6
6
|
relaton-bib (~> 0.3.0)
|
7
7
|
ruby_deep_clone (~> 0.8.0)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
pry (~> 0.10)
|
35
35
|
public_suffix (4.0.1)
|
36
36
|
rake (10.5.0)
|
37
|
-
relaton-bib (0.3.
|
37
|
+
relaton-bib (0.3.12)
|
38
38
|
addressable
|
39
39
|
nokogiri
|
40
40
|
rspec (3.8.0)
|
@@ -232,7 +232,8 @@ module RelatonIsoBib
|
|
232
232
|
end
|
233
233
|
end
|
234
234
|
super builder, **opts do |b|
|
235
|
-
if opts[:bibdata]
|
235
|
+
if opts[:bibdata] && (doctype || respond_to?(:committee) && committee ||
|
236
|
+
editorialgroup || ics.any? || structuredidentifier || block_given?)
|
236
237
|
b.ext do
|
237
238
|
b.doctype doctype if doctype
|
238
239
|
# GB renders gbcommittee elements istead of an editorialgroup element.
|
@@ -255,7 +256,7 @@ module RelatonIsoBib
|
|
255
256
|
hash["editorialgroup"] = editorialgroup.to_hash if editorialgroup
|
256
257
|
hash["ics"] = single_element_array(ics) if ics&.any?
|
257
258
|
hash["structuredidentifier"] = structuredidentifier.to_hash if structuredidentifier
|
258
|
-
hash["
|
259
|
+
hash["doctype"] = doctype if doctype
|
259
260
|
hash
|
260
261
|
end
|
261
262
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iso-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|