relaton-bib 0.2.0 → 0.2.1

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: c6818bbef8c9a0205b38a566df13f9429df3186c7fc9000820b23678491f2f2c
4
- data.tar.gz: 695fe41e85cec267fe47faf8227ca48ecaae561e0e0c74f06bb4b4900d7148f0
3
+ metadata.gz: e6cca35266264d2f94d5f4e74fd158e07c97da035e5431b7ac59a011bfbd2abd
4
+ data.tar.gz: 6c445e5b5986e599e6fd41f68dbc259846c81a10314b531c9a4110b24b5af945
5
5
  SHA512:
6
- metadata.gz: 044f8730130ed7e06192acf26d6dab58bcd47c3a9b8c9cdb4602d813ce4759da5bafad8b2dc1ea150f63da72bb9c9988d6b83a6f56ef3b39bacd09dfb887fc98
7
- data.tar.gz: 64fa2a7dee66702e0c1d6d2b1f50aa40ece33495de4986e7422515559cf3815884876f43b0e42c5c6cfc969d2014e20d695267df99386060c06f0c5ad23f9bdb
6
+ metadata.gz: edd3552fd75fbe76a3bf3092d200792b35651d6fdb4e930b01e31dc7b588421fc71ab5e4bce8f56bc50a79d1ac0503954583408ce3aa3ad7b5154ef269699ab1
7
+ data.tar.gz: d984ae35c6c8a66a23a5c02c1553d98c817e6d40ebca211c4f3b3a6b7c4c44cbf37cf913aeb7a9f9ba484d1e2e6c38d0ccaeb2998af616e9662a74f7e2e340f2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-bib (0.2.0)
4
+ relaton-bib (0.2.1)
5
5
  addressable
6
6
  nokogiri (~> 1.8.4)
7
7
 
@@ -326,7 +326,7 @@ module RelatonBib
326
326
  yield builder
327
327
  end
328
328
  end
329
- xml[:id] = id if id && !opts[:bibdata]
329
+ xml[:id] = id if id && !opts[:bibdata] && !opts[:embedded]
330
330
  xml[:type] = type if type
331
331
  xml
332
332
  end
@@ -41,11 +41,11 @@ module RelatonBib
41
41
  opts.delete :bibdata
42
42
  opts.delete :note
43
43
  builder.relation(type: type) do
44
- bibitem.to_xml(builder, **opts)
44
+ bibitem.to_xml(builder, **opts.merge(embedded: true))
45
45
  bib_locality.each do |l|
46
46
  l.to_xml builder
47
47
  end
48
48
  end
49
49
  end
50
50
  end
51
- end
51
+ end
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.