relaton-iso-bib 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -11
- data/.rubocop.yml +1 -1
- data/bin/rspec +29 -0
- data/grammars/biblio.rng +1 -0
- data/grammars/isodoc.rng +72 -10
- data/grammars/isostandard.rng +18 -3
- data/lib/relaton_iso_bib/editorial_group.rb +48 -48
- data/lib/relaton_iso_bib/hash_converter.rb +1 -1
- data/lib/relaton_iso_bib/iso_bibliographic_item.rb +19 -16
- data/lib/relaton_iso_bib/structured_identifier.rb +2 -2
- data/lib/relaton_iso_bib/version.rb +1 -1
- data/lib/relaton_iso_bib/xml_parser.rb +3 -3
- data/relaton_iso_bib.gemspec +3 -3
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a2758475cec25c3c0550c1416f9c2a0ca31434a9ad64bdd20b34bec8c4fd82e
|
4
|
+
data.tar.gz: '0949b8e51c7df831207611ef56a1d65967a140335781b9184b837a849f377c1b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea108dbdd61b94fd973b5530bed8aa637cbe2da4c1ea99845d4280d771a11c522652b879e67438822d80a0198075a25c8b04352f7a0ae70af338e63547a15f09
|
7
|
+
data.tar.gz: 0b0e78dcd9728b5e1e1590b9b8fe0d4cbfc9ddfcb9b7a31e23a9df6be071b81f88d5f59cd5ee1ba7e99d9684d7d06dedeb06c6592a9daf02a724d7fac9117510
|
data/.github/workflows/rake.yml
CHANGED
@@ -16,19 +16,9 @@ jobs:
|
|
16
16
|
strategy:
|
17
17
|
fail-fast: false
|
18
18
|
matrix:
|
19
|
-
ruby: [ '
|
19
|
+
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
20
20
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
21
|
experimental: [ false ]
|
22
|
-
include:
|
23
|
-
- ruby: '3.0'
|
24
|
-
os: 'ubuntu-latest'
|
25
|
-
experimental: true
|
26
|
-
- ruby: '3.0'
|
27
|
-
os: 'windows-latest'
|
28
|
-
experimental: true
|
29
|
-
- ruby: '3.0'
|
30
|
-
os: 'macos-latest'
|
31
|
-
experimental: true
|
32
22
|
steps:
|
33
23
|
- uses: actions/checkout@v2
|
34
24
|
with:
|
data/.rubocop.yml
CHANGED
data/bin/rspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rspec' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/grammars/biblio.rng
CHANGED
data/grammars/isodoc.rng
CHANGED
@@ -45,6 +45,11 @@
|
|
45
45
|
<optional>
|
46
46
|
<attribute name="alt"/>
|
47
47
|
</optional>
|
48
|
+
<optional>
|
49
|
+
<attribute name="updatetype">
|
50
|
+
<data type="boolean"/>
|
51
|
+
</attribute>
|
52
|
+
</optional>
|
48
53
|
<text/>
|
49
54
|
</element>
|
50
55
|
</define>
|
@@ -199,6 +204,18 @@
|
|
199
204
|
</zeroOrMore>
|
200
205
|
</element>
|
201
206
|
</define>
|
207
|
+
<define name="dt">
|
208
|
+
<element name="dt">
|
209
|
+
<optional>
|
210
|
+
<attribute name="id">
|
211
|
+
<data type="ID"/>
|
212
|
+
</attribute>
|
213
|
+
</optional>
|
214
|
+
<zeroOrMore>
|
215
|
+
<ref name="TextElement"/>
|
216
|
+
</zeroOrMore>
|
217
|
+
</element>
|
218
|
+
</define>
|
202
219
|
<define name="example">
|
203
220
|
<element name="example">
|
204
221
|
<attribute name="id">
|
@@ -543,6 +560,9 @@
|
|
543
560
|
</define>
|
544
561
|
<define name="BibDataExtensionType">
|
545
562
|
<ref name="doctype"/>
|
563
|
+
<optional>
|
564
|
+
<ref name="docsubtype"/>
|
565
|
+
</optional>
|
546
566
|
<optional>
|
547
567
|
<ref name="editorialgroup"/>
|
548
568
|
</optional>
|
@@ -890,6 +910,14 @@
|
|
890
910
|
</define>
|
891
911
|
</include>
|
892
912
|
<!-- end overrides -->
|
913
|
+
<define name="docsubtype">
|
914
|
+
<element name="subdoctype">
|
915
|
+
<ref name="DocumentSubtype"/>
|
916
|
+
</element>
|
917
|
+
</define>
|
918
|
+
<define name="DocumentSubtype">
|
919
|
+
<text/>
|
920
|
+
</define>
|
893
921
|
<define name="colgroup">
|
894
922
|
<element name="colgroup">
|
895
923
|
<oneOrMore>
|
@@ -939,7 +967,34 @@
|
|
939
967
|
<define name="concept">
|
940
968
|
<element name="concept">
|
941
969
|
<optional>
|
942
|
-
<attribute name="
|
970
|
+
<attribute name="ital">
|
971
|
+
<data type="boolean"/>
|
972
|
+
</attribute>
|
973
|
+
</optional>
|
974
|
+
<optional>
|
975
|
+
<attribute name="ref">
|
976
|
+
<data type="boolean"/>
|
977
|
+
</attribute>
|
978
|
+
</optional>
|
979
|
+
<optional>
|
980
|
+
<element name="refterm">
|
981
|
+
<zeroOrMore>
|
982
|
+
<choice>
|
983
|
+
<ref name="PureTextElement"/>
|
984
|
+
<ref name="stem"/>
|
985
|
+
</choice>
|
986
|
+
</zeroOrMore>
|
987
|
+
</element>
|
988
|
+
</optional>
|
989
|
+
<optional>
|
990
|
+
<element name="renderterm">
|
991
|
+
<zeroOrMore>
|
992
|
+
<choice>
|
993
|
+
<ref name="PureTextElement"/>
|
994
|
+
<ref name="stem"/>
|
995
|
+
</choice>
|
996
|
+
</zeroOrMore>
|
997
|
+
</element>
|
943
998
|
</optional>
|
944
999
|
<choice>
|
945
1000
|
<ref name="eref"/>
|
@@ -965,6 +1020,9 @@
|
|
965
1020
|
</attribute>
|
966
1021
|
<attribute name="name"/>
|
967
1022
|
<attribute name="action"/>
|
1023
|
+
<optional>
|
1024
|
+
<attribute name="class"/>
|
1025
|
+
</optional>
|
968
1026
|
<zeroOrMore>
|
969
1027
|
<choice>
|
970
1028
|
<ref name="TextElement"/>
|
@@ -1191,13 +1249,17 @@
|
|
1191
1249
|
</define>
|
1192
1250
|
<define name="IsoWorkgroup">
|
1193
1251
|
<optional>
|
1194
|
-
<attribute name="number"
|
1195
|
-
<data type="int"/>
|
1196
|
-
</attribute>
|
1252
|
+
<attribute name="number"/>
|
1197
1253
|
</optional>
|
1198
1254
|
<optional>
|
1199
1255
|
<attribute name="type"/>
|
1200
1256
|
</optional>
|
1257
|
+
<optional>
|
1258
|
+
<attribute name="identifier"/>
|
1259
|
+
</optional>
|
1260
|
+
<optional>
|
1261
|
+
<attribute name="prefix"/>
|
1262
|
+
</optional>
|
1201
1263
|
<text/>
|
1202
1264
|
</define>
|
1203
1265
|
<define name="ics">
|
@@ -1459,26 +1521,26 @@
|
|
1459
1521
|
<optional>
|
1460
1522
|
<ref name="section-title"/>
|
1461
1523
|
</optional>
|
1462
|
-
<
|
1524
|
+
<choice>
|
1463
1525
|
<choice>
|
1464
1526
|
<group>
|
1465
|
-
<
|
1527
|
+
<oneOrMore>
|
1466
1528
|
<ref name="BasicBlock"/>
|
1467
|
-
</
|
1529
|
+
</oneOrMore>
|
1468
1530
|
<zeroOrMore>
|
1469
1531
|
<ref name="note"/>
|
1470
1532
|
</zeroOrMore>
|
1471
1533
|
</group>
|
1472
1534
|
<ref name="amend"/>
|
1473
1535
|
</choice>
|
1474
|
-
<
|
1536
|
+
<oneOrMore>
|
1475
1537
|
<choice>
|
1476
1538
|
<ref name="clause-subsection"/>
|
1477
1539
|
<ref name="terms"/>
|
1478
1540
|
<ref name="definitions"/>
|
1479
1541
|
</choice>
|
1480
|
-
</
|
1481
|
-
</
|
1542
|
+
</oneOrMore>
|
1543
|
+
</choice>
|
1482
1544
|
</define>
|
1483
1545
|
<define name="Annex-Section">
|
1484
1546
|
<optional>
|
data/grammars/isostandard.rng
CHANGED
@@ -38,6 +38,9 @@
|
|
38
38
|
</define>
|
39
39
|
<define name="BibDataExtensionType">
|
40
40
|
<ref name="doctype"/>
|
41
|
+
<optional>
|
42
|
+
<ref name="docsubtype"/>
|
43
|
+
</optional>
|
41
44
|
<optional>
|
42
45
|
<ref name="horizontal"/>
|
43
46
|
</optional>
|
@@ -98,7 +101,11 @@
|
|
98
101
|
<ref name="definitions"/>
|
99
102
|
</optional>
|
100
103
|
<oneOrMore>
|
101
|
-
<
|
104
|
+
<choice>
|
105
|
+
<ref name="clause"/>
|
106
|
+
<ref name="term-clause"/>
|
107
|
+
<ref name="terms"/>
|
108
|
+
</choice>
|
102
109
|
</oneOrMore>
|
103
110
|
</element>
|
104
111
|
</define>
|
@@ -133,7 +140,7 @@
|
|
133
140
|
<optional>
|
134
141
|
<ref name="section-title"/>
|
135
142
|
</optional>
|
136
|
-
<
|
143
|
+
<choice>
|
137
144
|
<choice>
|
138
145
|
<group>
|
139
146
|
<oneOrMore>
|
@@ -148,7 +155,7 @@
|
|
148
155
|
<oneOrMore>
|
149
156
|
<ref name="clause-subsection"/>
|
150
157
|
</oneOrMore>
|
151
|
-
</
|
158
|
+
</choice>
|
152
159
|
</define>
|
153
160
|
<define name="term">
|
154
161
|
<element name="term">
|
@@ -259,6 +266,14 @@
|
|
259
266
|
<value>directive</value>
|
260
267
|
</choice>
|
261
268
|
</define>
|
269
|
+
<define name="DocumentSubtype">
|
270
|
+
<choice>
|
271
|
+
<value>specification</value>
|
272
|
+
<value>method-of-test</value>
|
273
|
+
<value>vocabulary</value>
|
274
|
+
<value>code-of-practice</value>
|
275
|
+
</choice>
|
276
|
+
</define>
|
262
277
|
<define name="structuredidentifier">
|
263
278
|
<element name="structuredidentifier">
|
264
279
|
<optional>
|
@@ -35,13 +35,13 @@ module RelatonIsoBib
|
|
35
35
|
# @param secretariat [String, NilClass]
|
36
36
|
def initialize(technical_committee:, **args) # rubocop:disable Metrics/CyclomaticComplexity,Metrics/AbcSize
|
37
37
|
@technical_committee = technical_committee.map do |tc|
|
38
|
-
tc.is_a?(Hash) ?
|
38
|
+
tc.is_a?(Hash) ? RelatonBib::WorkGroup.new(**tc) : tc
|
39
39
|
end
|
40
40
|
@subcommittee = args.fetch(:subcommittee, []).map do |sc|
|
41
|
-
sc.is_a?(Hash) ?
|
41
|
+
sc.is_a?(Hash) ? RelatonBib::WorkGroup.new(**sc) : sc
|
42
42
|
end
|
43
43
|
@workgroup = args.fetch(:workgroup, []).map do |wg|
|
44
|
-
wg.is_a?(Hash) ?
|
44
|
+
wg.is_a?(Hash) ? RelatonBib::WorkGroup.new(**wg) : wg
|
45
45
|
end
|
46
46
|
@secretariat = args[:secretariat]
|
47
47
|
end
|
@@ -86,7 +86,7 @@ module RelatonIsoBib
|
|
86
86
|
# @param prefix [String]
|
87
87
|
# @return [String]
|
88
88
|
def to_asciibib(prefix = "") # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
89
|
-
pref = prefix.empty? ? prefix : prefix
|
89
|
+
pref = prefix.empty? ? prefix : "#{prefix}."
|
90
90
|
pref += "editorialgroup"
|
91
91
|
out = ""
|
92
92
|
technical_committee.each do |tc|
|
@@ -105,48 +105,48 @@ module RelatonIsoBib
|
|
105
105
|
end
|
106
106
|
|
107
107
|
# ISO subgroup.
|
108
|
-
class IsoSubgroup
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
end
|
108
|
+
# class IsoSubgroup
|
109
|
+
# # @return [String, NilClass]
|
110
|
+
# attr_reader :type
|
111
|
+
|
112
|
+
# # @return [Integer, NilClass]
|
113
|
+
# attr_reader :number
|
114
|
+
|
115
|
+
# # @return [String]
|
116
|
+
# attr_reader :name
|
117
|
+
|
118
|
+
# # @param name [String]
|
119
|
+
# # @param type [String, NilClass]
|
120
|
+
# # @param number [Integer, NilClass]
|
121
|
+
# def initialize(name:, type: nil, number: nil)
|
122
|
+
# @name = name
|
123
|
+
# @type = type
|
124
|
+
# @number = number
|
125
|
+
# end
|
126
|
+
|
127
|
+
# # @param builder [Nokogiri::XML::Builder]
|
128
|
+
# def to_xml(builder)
|
129
|
+
# builder.parent[:number] = number if number
|
130
|
+
# builder.parent[:type] = type if type
|
131
|
+
# builder.text name
|
132
|
+
# end
|
133
|
+
|
134
|
+
# # @return [Hash]
|
135
|
+
# def to_hash
|
136
|
+
# hash = { "name" => name }
|
137
|
+
# hash["type"] = type if type
|
138
|
+
# hash["number"] = number if number
|
139
|
+
# hash
|
140
|
+
# end
|
141
|
+
|
142
|
+
# # @param prefix [String]
|
143
|
+
# # @param count [Integer] number of the elements
|
144
|
+
# def to_asciibib(prefix, count = 1)
|
145
|
+
# out = count > 1 ? "#{prefix}::\n" : ""
|
146
|
+
# out += "#{prefix}.type:: #{type}\n" if type
|
147
|
+
# out += "#{prefix}.number:: #{number}\n" if number
|
148
|
+
# out += "#{prefix}.name:: #{name}\n"
|
149
|
+
# out
|
150
|
+
# end
|
151
|
+
# end
|
152
152
|
end
|
@@ -27,6 +27,8 @@ module RelatonIsoBib
|
|
27
27
|
amendment technical-corrigendum directive
|
28
28
|
].freeze
|
29
29
|
|
30
|
+
SUBDOCTYPES = %w[specification method-of-test vocabulary code-of-practice].freeze
|
31
|
+
|
30
32
|
# @return [RelatonIsoBib::StructuredIdentifier]
|
31
33
|
attr_reader :structuredidentifier
|
32
34
|
|
@@ -66,6 +68,7 @@ module RelatonIsoBib
|
|
66
68
|
# @param validity [RelatonBib:Validity, NilClass]
|
67
69
|
# @param docid [Array<RelatonBib::DocumentIdentifier>]
|
68
70
|
# @param doctype [String, nil]
|
71
|
+
# @param subdoctype [String, nil]
|
69
72
|
# @param horizontal [Boolean, nil]
|
70
73
|
# @param structuredidentifier [RelatonIsoBib::StructuredIdentifier]
|
71
74
|
# @param stagename [String, NilClass]
|
@@ -130,13 +133,14 @@ module RelatonIsoBib
|
|
130
133
|
def initialize(**args)
|
131
134
|
check_doctype args[:doctype]
|
132
135
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
136
|
+
arg_names = %i[
|
137
|
+
id title docnumber language script docstatus date abstract contributor
|
138
|
+
edition version relation biblionote series medium place copyright link
|
139
|
+
fetched docid formattedref extent accesslocation classification validity
|
140
|
+
editorialgroup doctype keyword
|
141
|
+
]
|
142
|
+
super_args = args.select { |k| arg_names.include? k }
|
143
|
+
super(**super_args)
|
140
144
|
|
141
145
|
@type = args[:type] || "standard"
|
142
146
|
|
@@ -147,6 +151,10 @@ module RelatonIsoBib
|
|
147
151
|
end
|
148
152
|
end
|
149
153
|
|
154
|
+
if args[:subdoctype] && !SUBDOCTYPES.include?(args[:subdoctype])
|
155
|
+
warn "Invald subdoctype '#{args[:subdoctype]}'. Allowed values are: #{SUBDOCTYPES.join(', ')}"
|
156
|
+
end
|
157
|
+
@subdoctype = args[:subdoctype]
|
150
158
|
@structuredidentifier = args[:structuredidentifier]
|
151
159
|
@horizontal = args[:horizontal]
|
152
160
|
@ics = args.fetch(:ics, []).map { |i| i.is_a?(Hash) ? Ics.new(**i) : i }
|
@@ -160,23 +168,17 @@ module RelatonIsoBib
|
|
160
168
|
# @option opts [String] :lang language
|
161
169
|
# @return [String] XML
|
162
170
|
def to_xml(**opts)
|
163
|
-
super
|
171
|
+
super(**opts) do |b|
|
164
172
|
if block_given? then yield b
|
165
173
|
elsif opts[:bibdata] && has_ext_attrs?
|
166
174
|
b.ext do
|
167
175
|
b.doctype doctype if doctype
|
176
|
+
b.subdoctype subdoctype if subdoctype
|
168
177
|
b.horizontal horizontal unless horizontal.nil?
|
169
|
-
# b.docsubtype docsubtype if respond_to?(:docsubtype) && docsubtype
|
170
|
-
# GB renders gbcommittee elements istead of an editorialgroup
|
171
|
-
# if respond_to? :committee
|
172
|
-
# committee&.to_xml b
|
173
|
-
# else
|
174
178
|
editorialgroup&.to_xml b
|
175
|
-
# end
|
176
179
|
ics.each { |i| i.to_xml b }
|
177
180
|
structuredidentifier&.to_xml b
|
178
181
|
b.stagename stagename if stagename
|
179
|
-
# yield b if block_given?
|
180
182
|
end
|
181
183
|
end
|
182
184
|
end
|
@@ -208,7 +210,8 @@ module RelatonIsoBib
|
|
208
210
|
# @raise ArgumentError
|
209
211
|
def check_doctype(doctype)
|
210
212
|
if doctype && !self.class::TYPES.include?(doctype)
|
211
|
-
warn "[relaton-iso-bib] invalid doctype: #{doctype}"
|
213
|
+
warn "[relaton-iso-bib] WARNING: invalid doctype: #{doctype}"
|
214
|
+
warn "[relaton-iso-bib] Allowed doctypes are: #{self.class::TYPES.join(', ')}"
|
212
215
|
end
|
213
216
|
end
|
214
217
|
|
@@ -31,8 +31,8 @@ module RelatonIsoBib
|
|
31
31
|
|
32
32
|
# in docid manipulations, assume ISO as the default: id-part:year
|
33
33
|
def remove_part
|
34
|
-
@
|
35
|
-
@
|
34
|
+
@part = nil
|
35
|
+
@subpart = nil
|
36
36
|
@project_number = case @type
|
37
37
|
when "Chinese Standard"
|
38
38
|
@project_number.sub(/\.\d+/, "")
|
@@ -23,7 +23,7 @@ module RelatonIsoBib
|
|
23
23
|
# @param item_hash [Hash]
|
24
24
|
# @return [RelatonIsoBib::IsoBibliographicItem]
|
25
25
|
def bib_item(item_hash)
|
26
|
-
IsoBibliographicItem.new
|
26
|
+
IsoBibliographicItem.new(**item_hash)
|
27
27
|
end
|
28
28
|
|
29
29
|
# @param ext [Nokogiri::XML::Element]
|
@@ -60,8 +60,8 @@ module RelatonIsoBib
|
|
60
60
|
def iso_subgroup(com)
|
61
61
|
return nil if com.nil?
|
62
62
|
|
63
|
-
|
64
|
-
|
63
|
+
RelatonBib::WorkGroup.new(name: com.text, type: com[:type],
|
64
|
+
number: com[:number]&.to_i)
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
data/relaton_iso_bib.gemspec
CHANGED
@@ -24,17 +24,17 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.bindir = "exe"
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ["lib"]
|
27
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
27
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
28
28
|
|
29
29
|
# spec.add_development_dependency "debase"
|
30
30
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
31
31
|
spec.add_development_dependency "pry-byebug"
|
32
|
-
spec.add_development_dependency "rake", "~>
|
32
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
33
33
|
spec.add_development_dependency "rspec", "~> 3.0"
|
34
34
|
# spec.add_development_dependency "ruby-debug-ide"
|
35
35
|
spec.add_development_dependency "ruby-jing"
|
36
36
|
spec.add_development_dependency "simplecov"
|
37
37
|
|
38
38
|
spec.add_dependency "isoics", "~> 0.1.6"
|
39
|
-
spec.add_dependency "relaton-bib", "~> 1.
|
39
|
+
spec.add_dependency "relaton-bib", "~> 1.9.0"
|
40
40
|
end
|
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: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.9.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.9.0
|
125
125
|
description: 'RelatonIsoBib: Ruby ISOXMLDOC impementation.'
|
126
126
|
email:
|
127
127
|
- open.source@ribose.com
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- README.adoc
|
139
139
|
- Rakefile
|
140
140
|
- bin/console
|
141
|
+
- bin/rspec
|
141
142
|
- bin/setup
|
142
143
|
- grammars/basicdoc.rng
|
143
144
|
- grammars/biblio.rng
|
@@ -166,7 +167,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
167
|
requirements:
|
167
168
|
- - ">="
|
168
169
|
- !ruby/object:Gem::Version
|
169
|
-
version: 2.
|
170
|
+
version: 2.5.0
|
170
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
172
|
requirements:
|
172
173
|
- - ">="
|