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 +4 -4
- data/lib/relaton_bib/localized_string.rb +1 -1
- data/lib/relaton_bib/person.rb +1 -0
- data/lib/relaton_bib/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfbf62a35f1d2fc87694f7e749f4a511dd6ec1962316857059e977ffe5e0ea88
|
4
|
+
data.tar.gz: 627c561a83b8e2cf1dbb14351383feb91ba6803dee8821a4e7d73ce1c3b96855
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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}
|
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
|
data/lib/relaton_bib/person.rb
CHANGED
@@ -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
|
data/lib/relaton_bib/version.rb
CHANGED
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.
|
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-
|
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: []
|