relaton-iso-bib 1.14.0 → 1.16.0

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: cf939bc514b2ad4c5bc4a3fb1bb6bc5a6d6b6e340e37de485bec38e21731bc44
4
- data.tar.gz: 5b87d56812913f7e14f33ebcad42c79c62b7f48a687980342da1837a7b40d92d
3
+ metadata.gz: 9178932b5f1aeda46f0f96953c3af24f9a0f972b2a814a944fac874b1750aa18
4
+ data.tar.gz: bc4581d1396b7da73f085dbfb2dc24563a7f5ff3e9d304364a68950e856f3841
5
5
  SHA512:
6
- metadata.gz: '08cde4d3367d7f90328aceed3272fb4ac0b0df3a8c16b79a000383de8d3c295f151310cd76d57b48096c023332b18cadaa7ce1ce424b88c9efb1e04e673d128f'
7
- data.tar.gz: 816253a7cd80565e110eee2380bb74f4305acea6ec7437703cb0eed77aaa74aa22cb761601743ba2ced61dd63ac2ac24ee1938e9147a300ce6cb4c83f4cb76ff
6
+ metadata.gz: e2323ef8d43d2c64d4638f1c0ef7da3e7cce6cf9e0c660a4256c81062f60d26c293cc58165215f7472174936cd5fa3a746b5423183ad0ddeee8ebf40c5125ebd
7
+ data.tar.gz: f5713dd3d4ec1e6b37e8623bec3ac3bd1b524f4bdf0a58cdcbde60f18303e6e05c05671c91daf69b0070413e8b7d60ea550d1375611e3da934fd4beb7ffc2252
@@ -5,6 +5,7 @@ name: rake
5
5
  on:
6
6
  push:
7
7
  branches: [ master, main ]
8
+ tags: [ v* ]
8
9
  pull_request:
9
10
 
10
11
  jobs:
@@ -7,11 +7,13 @@ on:
7
7
  inputs:
8
8
  next_version:
9
9
  description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
10
+ Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
11
+ Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
11
12
  required: true
12
13
  default: 'skip'
13
- push:
14
- tags: [ v* ]
14
+ repository_dispatch:
15
+ types: [ do-release ]
16
+
15
17
 
16
18
  jobs:
17
19
  release:
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  .vscode/
10
+ /vendor/
10
11
  .rubocop-https---raw-githubusercontent-com-riboseinc-oss-guides-master-ci-rubocop-yml
11
12
 
12
13
  # rspec failure tracking
data/.rubocop.yml CHANGED
@@ -7,6 +7,6 @@ require: rubocop-rails
7
7
  inherit_from:
8
8
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
9
9
  AllCops:
10
- TargetRubyVersion: 2.5
10
+ TargetRubyVersion: 2.7
11
11
  Rails:
12
12
  Enabled: false
data/Gemfile CHANGED
@@ -2,3 +2,10 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in relaton_iso_bib.gemspec
4
4
  gemspec
5
+
6
+ gem "equivalent-xml", "~> 0.6"
7
+ gem "pry-byebug"
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "ruby-jing"
11
+ gem "simplecov"
@@ -522,7 +522,6 @@
522
522
  <value>tip</value>
523
523
  <value>important</value>
524
524
  <value>caution</value>
525
- <value>statement</value>
526
525
  </choice>
527
526
  </define>
528
527
  <define name="figure">
data/grammars/biblio.rng CHANGED
@@ -216,6 +216,9 @@
216
216
  <optional>
217
217
  <ref name="fullname"/>
218
218
  </optional>
219
+ <zeroOrMore>
220
+ <ref name="credential"/>
221
+ </zeroOrMore>
219
222
  <zeroOrMore>
220
223
  <ref name="affiliation"/>
221
224
  </zeroOrMore>
@@ -232,6 +235,11 @@
232
235
  <ref name="FullNameType"/>
233
236
  </element>
234
237
  </define>
238
+ <define name="credential">
239
+ <element name="credential">
240
+ <text/>
241
+ </element>
242
+ </define>
235
243
  <define name="FullNameType">
236
244
  <choice>
237
245
  <group>
@@ -305,7 +313,9 @@
305
313
  <zeroOrMore>
306
314
  <ref name="affiliationdescription"/>
307
315
  </zeroOrMore>
308
- <ref name="organization"/>
316
+ <optional>
317
+ <ref name="organization"/>
318
+ </optional>
309
319
  </element>
310
320
  </define>
311
321
  <define name="affiliationname">
@@ -1273,7 +1283,7 @@
1273
1283
  <value>mergedInto</value>
1274
1284
  <value>splits</value>
1275
1285
  <value>splitInto</value>
1276
- <value>instance</value>
1286
+ <value>instanceOf</value>
1277
1287
  <value>hasInstance</value>
1278
1288
  <value>exemplarOf</value>
1279
1289
  <value>hasExemplar</value>
@@ -1316,7 +1326,7 @@
1316
1326
  <value>commentaryOf</value>
1317
1327
  <value>hasCommentary</value>
1318
1328
  <value>related</value>
1319
- <value>complements</value>
1329
+ <value>hasComplement</value>
1320
1330
  <value>complementOf</value>
1321
1331
  <value>obsoletes</value>
1322
1332
  <value>obsoletedBy</value>
@@ -17,17 +17,17 @@ module RelatonIsoBib
17
17
  # @return [String, NilClass]
18
18
  attr_reader :secretariat
19
19
 
20
- # @param technical_committee [Array<Hash, RelatonIsoBib::IsoSubgroup>]
20
+ # @param technical_committee [Array<Hash, RelatonBib::WorkGroup>]
21
21
  # @option technical_committee [String] :name
22
22
  # @option technical_committee [String] :type
23
23
  # @option technical_committee [Integer] :number
24
24
  #
25
- # @param subcommittee [Array<Hash, RelatonIsoBib::IsoSubgroup>]
25
+ # @param subcommittee [Array<Hash, RelatonBib::WorkGroup>]
26
26
  # @option subcommittee [String] :name
27
27
  # @option subcommittee [String] :type
28
28
  # @option subcommittee [Integer] :number
29
29
  #
30
- # @param workgroup [Array<Hash, RelatonIsoBib::IsoSubgroup>]
30
+ # @param workgroup [Array<Hash, RelatonBib::WorkGroup>]
31
31
  # @option workgroup [String] :name
32
32
  # @option workgroup [String] :type
33
33
  # @option workgroup [Integer] :number
@@ -150,8 +150,8 @@ module RelatonIsoBib
150
150
  end
151
151
  end
152
152
 
153
- if args[:subdoctype] && !SUBDOCTYPES.include?(args[:subdoctype])
154
- warn "Invald subdoctype '#{args[:subdoctype]}'. Allowed values are: #{SUBDOCTYPES.join(', ')}"
153
+ if args[:subdoctype] && !self.class::SUBDOCTYPES.include?(args[:subdoctype])
154
+ warn "Invald subdoctype '#{args[:subdoctype]}'. Allowed values are: #{self.class::SUBDOCTYPES.join(', ')}"
155
155
  end
156
156
  @subdoctype = args[:subdoctype]
157
157
  @structuredidentifier = args[:structuredidentifier]
@@ -1,3 +1,3 @@
1
1
  module RelatonIsoBib
2
- VERSION = "1.14.0".freeze
2
+ VERSION = "1.16.0".freeze
3
3
  end
@@ -24,17 +24,8 @@ 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.5.0")
28
-
29
- # spec.add_development_dependency "debase"
30
- spec.add_development_dependency "equivalent-xml", "~> 0.6"
31
- spec.add_development_dependency "pry-byebug"
32
- spec.add_development_dependency "rake", "~> 13.0"
33
- spec.add_development_dependency "rspec", "~> 3.0"
34
- # spec.add_development_dependency "ruby-debug-ide"
35
- spec.add_development_dependency "ruby-jing"
36
- spec.add_development_dependency "simplecov"
27
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
37
28
 
38
29
  spec.add_dependency "isoics", "~> 0.1.6"
39
- spec.add_dependency "relaton-bib", "~> 1.14.0"
30
+ spec.add_dependency "relaton-bib", "~> 1.16.0"
40
31
  end
metadata CHANGED
@@ -1,99 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iso-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.16.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: 2022-12-02 00:00:00.000000000 Z
11
+ date: 2023-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: equivalent-xml
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.6'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '0.6'
27
- - !ruby/object:Gem::Dependency
28
- name: pry-byebug
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '13.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '13.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '3.0'
69
- - !ruby/object:Gem::Dependency
70
- name: ruby-jing
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
13
  - !ruby/object:Gem::Dependency
98
14
  name: isoics
99
15
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +30,14 @@ dependencies:
114
30
  requirements:
115
31
  - - "~>"
116
32
  - !ruby/object:Gem::Version
117
- version: 1.14.0
33
+ version: 1.16.0
118
34
  type: :runtime
119
35
  prerelease: false
120
36
  version_requirements: !ruby/object:Gem::Requirement
121
37
  requirements:
122
38
  - - "~>"
123
39
  - !ruby/object:Gem::Version
124
- version: 1.14.0
40
+ version: 1.16.0
125
41
  description: 'RelatonIsoBib: Ruby ISOXMLDOC impementation.'
126
42
  email:
127
43
  - open.source@ribose.com
@@ -168,14 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
84
  requirements:
169
85
  - - ">="
170
86
  - !ruby/object:Gem::Version
171
- version: 2.5.0
87
+ version: 2.7.0
172
88
  required_rubygems_version: !ruby/object:Gem::Requirement
173
89
  requirements:
174
90
  - - ">="
175
91
  - !ruby/object:Gem::Version
176
92
  version: '0'
177
93
  requirements: []
178
- rubygems_version: 3.2.3
94
+ rubygems_version: 3.4.9
179
95
  signing_key:
180
96
  specification_version: 4
181
97
  summary: 'RelatonIsoBib: Ruby ISOXMLDOC impementation.'