relaton-bib 1.3.0 → 1.3.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: 2d2e73e228a1e3d0b56ec177f3fa39a721dbd76ff99fd3f18e38c331672aca43
4
- data.tar.gz: c9dab886bcffafd638735157419c904b88da2363048178fb8c458399d9a74909
3
+ metadata.gz: cfbf62a35f1d2fc87694f7e749f4a511dd6ec1962316857059e977ffe5e0ea88
4
+ data.tar.gz: 627c561a83b8e2cf1dbb14351383feb91ba6803dee8821a4e7d73ce1c3b96855
5
5
  SHA512:
6
- metadata.gz: 62292ca68783b8f5817807ca4b014ec0c782a81c3724ff7860562f7d4529cd3eac9e1f1dccddae7149d6bb56dbb114dd1bcd7393cbc797cb91b7beb02a3de953
7
- data.tar.gz: ff58d4ed2c0bb448bca70e62e8a6d9252ffa02865bfcbbc31f0bf360e009f372e8bc292c59ee7c970f891e0ab496cf4e81df3241f967dbbde1968cebdccf8952
6
+ metadata.gz: 41107e963fa76a4dad2ebdff5d1fefd5d6c48ac61692027359489643c4b6e3f2185f0bc3ecbaa77462cd4b7c033cbe48e008255ae9ff072b403ada4146374870
7
+ data.tar.gz: 0d2a5739b3fe5f18aa9b17e7dbb87e00bc6a012a0e6f13831f9d06871992dbd7d9aa0f859621039fbbac6cf02a45eae859fa686c67ade23817431241110073d4
@@ -81,7 +81,7 @@ module RelatonBib
81
81
  pref = prefix.empty? ? prefix : prefix + "."
82
82
  if content.is_a? String
83
83
  out = count > 1 ? "#{prefix}::\n" : ""
84
- out += "#{pref}conten:: #{content}\n"
84
+ out += "#{pref}content:: #{content}\n"
85
85
  language&.each { |l| out += "#{pref}language:: #{l}\n" }
86
86
  script&.each { |s| out += "#{pref}script:: #{s}\n" }
87
87
  out
@@ -75,6 +75,7 @@ module RelatonBib
75
75
  # @return [String]
76
76
  def to_asciibib(pref) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength
77
77
  prf = pref.empty? ? pref : pref + "."
78
+ prf += "name."
78
79
  out = forename.map do |fn|
79
80
  fn.to_asciibib "#{prf}forename", forename.size
80
81
  end.join
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.3.0".freeze
2
+ VERSION = "1.3.1".freeze
3
3
  end
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.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-19 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -248,7 +248,7 @@ homepage: https://github.com/relaton/relaton-bib
248
248
  licenses:
249
249
  - BSD-2-Clause
250
250
  metadata: {}
251
- post_install_message:
251
+ post_install_message:
252
252
  rdoc_options: []
253
253
  require_paths:
254
254
  - lib
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  version: '0'
265
265
  requirements: []
266
266
  rubygems_version: 3.0.6
267
- signing_key:
267
+ signing_key:
268
268
  specification_version: 4
269
269
  summary: 'RelatonBib: Ruby XMLDOC impementation.'
270
270
  test_files: []