relaton-bib 1.13.14 → 1.13.15
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/bib_item_locality.rb +2 -2
- data/lib/relaton_bib/contribution_info.rb +1 -1
- data/lib/relaton_bib/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f8a3825c0d7f1483217d8b0979d4fc3e1e127fda5356a82e24815d2495fa992
|
4
|
+
data.tar.gz: 2cdf25310b04dd9a11daf23475acb46f1965f6f9262b17c03e959dbb732d6c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a74b2a88f96880299eb1aed70d221c61dc7a5b63295e8bc4a41484ed0179d16d8325c3dc4a5454a4891a103b24d3f10ae56677197edabd956f8c36dc4abfa9
|
7
|
+
data.tar.gz: 2c623221052c170088f875b8c9a846932980693d0d44afa28e223a83049fc41ad84ce48ec0c5142c386676aadc290b1315de8d6a092bcc6646b13b60a6bf3b09
|
@@ -14,8 +14,8 @@ module RelatonBib
|
|
14
14
|
# @param referenceFrom [String]
|
15
15
|
# @param referenceTo [String, NilClass]
|
16
16
|
def initialize(type, reference_from, reference_to = nil)
|
17
|
-
type_ptrn = %r{section|clause|part|paragraph|chapter|page|
|
18
|
-
annex|figure|note|list|example|volume|issue|time|
|
17
|
+
type_ptrn = %r{section|clause|part|paragraph|chapter|page|title|line|
|
18
|
+
whole|table|annex|figure|note|list|example|volume|issue|time|anchor|
|
19
19
|
locality:[a-zA-Z0-9_]+}x
|
20
20
|
unless type&.match? type_ptrn
|
21
21
|
warn "[relaton-bib] WARNING: invalid locality type: #{type}"
|
@@ -9,7 +9,7 @@ module RelatonBib
|
|
9
9
|
include RelatonBib
|
10
10
|
|
11
11
|
TYPES = %w[author performer publisher editor adapter translator
|
12
|
-
distributor].freeze
|
12
|
+
distributor realizer owner authorizer enabler subject].freeze
|
13
13
|
|
14
14
|
# @return [Array<RelatonBib::FormattedString>]
|
15
15
|
attr_reader :description
|
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.13.
|
4
|
+
version: 1.13.15
|
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: 2022-11-
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -280,7 +280,7 @@ homepage: https://github.com/relaton/relaton-bib
|
|
280
280
|
licenses:
|
281
281
|
- BSD-2-Clause
|
282
282
|
metadata: {}
|
283
|
-
post_install_message:
|
283
|
+
post_install_message:
|
284
284
|
rdoc_options: []
|
285
285
|
require_paths:
|
286
286
|
- lib
|
@@ -295,8 +295,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
295
|
- !ruby/object:Gem::Version
|
296
296
|
version: '0'
|
297
297
|
requirements: []
|
298
|
-
rubygems_version: 3.
|
299
|
-
signing_key:
|
298
|
+
rubygems_version: 3.2.3
|
299
|
+
signing_key:
|
300
300
|
specification_version: 4
|
301
301
|
summary: 'RelatonBib: Ruby XMLDOC impementation.'
|
302
302
|
test_files: []
|