relaton-bib 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/release.yml +22 -0
- data/docs/hash.adoc +69 -52
- data/lib/relaton_bib/bibliographic_item.rb +1 -1
- data/lib/relaton_bib/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61c7501f15c50370c99043dafc2950b2bb5314725abae9e2c58fc4c2959ee5ac
|
|
4
|
+
data.tar.gz: b9bc6f11bd966f6155145cb9f9cc22a9ce1873b549ace92b356c29566ab02139
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8f4bdccc1d8d2de570471187b5484d49f18b4b58b1f3c87b91dc97ffbe69a277ed890261ca6cbbe298fb2f61f56ca827cb814e70a18015943e63e6d23209305
|
|
7
|
+
data.tar.gz: d343cbca3b0c3c22e3775c13573c0e06b553f557aa03b592cb249c863f23ecde405c794f0cdd594bdc292e9639d56a21a28ffdec50ee9d1c8a3b6a430056274a
|
data/.github/workflows/rake.yml
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
|
2
|
+
# See https://github.com/metanorma/cimas
|
|
3
|
+
name: release
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
inputs:
|
|
8
|
+
next_version:
|
|
9
|
+
description: |
|
|
10
|
+
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
|
11
|
+
required: true
|
|
12
|
+
default: 'skip'
|
|
13
|
+
push:
|
|
14
|
+
tags: [ v* ]
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
release:
|
|
18
|
+
uses: relaton/support/.github/workflows/release.yml@master
|
|
19
|
+
with:
|
|
20
|
+
next_version: ${{ github.event.inputs.next_version }}
|
|
21
|
+
secrets:
|
|
22
|
+
rubygems-api-key: ${{ secrets.RELATON_CI_RUBYGEMS_API_KEY }}
|
data/docs/hash.adoc
CHANGED
|
@@ -49,7 +49,7 @@ The structure below is given in YAML format:
|
|
|
49
49
|
# bibliographic item anchor, used to crossreference within document
|
|
50
50
|
id: ISO/TC211
|
|
51
51
|
# date record was created
|
|
52
|
-
fetched: 2019-06-30
|
|
52
|
+
fetched: '2019-06-30'
|
|
53
53
|
# titles are an array, with a mandatory type and content, and optional format, language and script
|
|
54
54
|
title:
|
|
55
55
|
- type: main
|
|
@@ -66,9 +66,9 @@ docid:
|
|
|
66
66
|
type: ISO
|
|
67
67
|
id: TC211
|
|
68
68
|
# document number
|
|
69
|
-
docnumber: 211
|
|
69
|
+
docnumber: '211'
|
|
70
70
|
# edition
|
|
71
|
-
edition: 1
|
|
71
|
+
edition: '1'
|
|
72
72
|
# language is an array
|
|
73
73
|
language:
|
|
74
74
|
- en
|
|
@@ -78,7 +78,7 @@ script:
|
|
|
78
78
|
Latn
|
|
79
79
|
# version contains revision date and draft (as array)
|
|
80
80
|
version:
|
|
81
|
-
revision_date: 2019-04-01
|
|
81
|
+
revision_date: '2019-04-01'
|
|
82
82
|
draft: draft
|
|
83
83
|
# note is an array of type and content
|
|
84
84
|
biblionote:
|
|
@@ -94,12 +94,12 @@ docstatus:
|
|
|
94
94
|
# date is an array, with mandatory type, and either an "on" value or a "from" and optional "to" value
|
|
95
95
|
date:
|
|
96
96
|
- type: issued
|
|
97
|
-
value: 2014
|
|
97
|
+
value: '2014'
|
|
98
98
|
- type: published
|
|
99
|
-
from: 2014-04
|
|
100
|
-
to: 2014-05
|
|
99
|
+
from: '2014-04'
|
|
100
|
+
to: '2014-05'
|
|
101
101
|
- type: accessed
|
|
102
|
-
value: 2015-05-20
|
|
102
|
+
value: '2015-05-20'
|
|
103
103
|
# abstract is an array, with content, and optional language, script, format
|
|
104
104
|
abstract:
|
|
105
105
|
- content: >
|
|
@@ -114,7 +114,8 @@ abstract:
|
|
|
114
114
|
# as the type.
|
|
115
115
|
# Organisations have attributes name, url, abbreviation, subdivision, contacts, identifiers
|
|
116
116
|
# Persons have attributes name, affiliation, contacts
|
|
117
|
-
# Person names have attributes
|
|
117
|
+
# Person names have attributes, given, surname, additions, prefixes or completename.
|
|
118
|
+
# Given has formatted_initials or forename.
|
|
118
119
|
# Initials, forename, additions, prefixes are arrays.
|
|
119
120
|
# Name field values are either strings, or hashes, with content and language and script attributes.
|
|
120
121
|
# The language and script attribute can also be given on the name.
|
|
@@ -126,9 +127,11 @@ abstract:
|
|
|
126
127
|
# The affiliation description can be a single string, or a hash of content, language, script, and format.
|
|
127
128
|
contributor:
|
|
128
129
|
- organization:
|
|
129
|
-
name:
|
|
130
|
+
name:
|
|
131
|
+
content: International Organization for Standardization
|
|
130
132
|
url: www.iso.org
|
|
131
|
-
abbreviation:
|
|
133
|
+
abbreviation:
|
|
134
|
+
content: ISO
|
|
132
135
|
subdivision: division
|
|
133
136
|
role:
|
|
134
137
|
type: publisher
|
|
@@ -140,25 +143,29 @@ contributor:
|
|
|
140
143
|
language: en
|
|
141
144
|
affiliation:
|
|
142
145
|
- organization:
|
|
143
|
-
name:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
name:
|
|
147
|
+
content: IETF
|
|
148
|
+
abbreviation:
|
|
149
|
+
content: IETF
|
|
150
|
+
identifier:
|
|
151
|
+
- type: uri
|
|
152
|
+
id: www.ietf.org
|
|
148
153
|
description: Affiliation description
|
|
149
154
|
contact:
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
- address:
|
|
156
|
+
street:
|
|
157
|
+
- 8 Street St
|
|
158
|
+
city: City
|
|
159
|
+
postcode: '123456'
|
|
160
|
+
country: Country
|
|
161
|
+
state: State
|
|
162
|
+
- phone: '223322'
|
|
158
163
|
role: author
|
|
159
|
-
-
|
|
160
|
-
name:
|
|
161
|
-
|
|
164
|
+
- organization:
|
|
165
|
+
name:
|
|
166
|
+
content: Internet Engineering Task Force
|
|
167
|
+
abbreviation:
|
|
168
|
+
content: IETF
|
|
162
169
|
identifier:
|
|
163
170
|
- type: uri
|
|
164
171
|
id: www.ietf.org
|
|
@@ -166,18 +173,24 @@ contributor:
|
|
|
166
173
|
publisher
|
|
167
174
|
- person:
|
|
168
175
|
name:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
176
|
+
given:
|
|
177
|
+
forename:
|
|
178
|
+
initial: A
|
|
179
|
+
language: en
|
|
180
|
+
formatted_initials:
|
|
181
|
+
content: A.
|
|
182
|
+
surname:
|
|
183
|
+
content: Bierman
|
|
173
184
|
affiliation:
|
|
174
|
-
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
185
|
+
- organization:
|
|
186
|
+
name:
|
|
187
|
+
content: IETF
|
|
188
|
+
abbreviation:
|
|
189
|
+
content: IETF
|
|
190
|
+
description:
|
|
191
|
+
content: Affiliation description
|
|
192
|
+
language: en
|
|
193
|
+
script: Latn
|
|
181
194
|
identifier:
|
|
182
195
|
- type: uri
|
|
183
196
|
id: www.person.com
|
|
@@ -187,11 +200,13 @@ contributor:
|
|
|
187
200
|
# a "from" date, and an optional "to" date
|
|
188
201
|
copyright:
|
|
189
202
|
owner:
|
|
190
|
-
name:
|
|
191
|
-
|
|
203
|
+
name:
|
|
204
|
+
content: International Organization for Standardization
|
|
205
|
+
abbreviation:
|
|
206
|
+
content: ISO
|
|
192
207
|
url: www.iso.org
|
|
193
|
-
from: 2014
|
|
194
|
-
to: 2020
|
|
208
|
+
from: '2014'
|
|
209
|
+
to: '2020'
|
|
195
210
|
# link is an array of URIs, with a type and content
|
|
196
211
|
link:
|
|
197
212
|
- type: src
|
|
@@ -206,15 +221,17 @@ link:
|
|
|
206
221
|
relation:
|
|
207
222
|
- type: updates
|
|
208
223
|
bibitem:
|
|
209
|
-
formattedref:
|
|
224
|
+
formattedref:
|
|
225
|
+
content: ISO 19115:2003
|
|
210
226
|
bib_locality:
|
|
211
227
|
type: page
|
|
212
|
-
reference_from: 7
|
|
213
|
-
reference_to: 10
|
|
228
|
+
reference_from: '7'
|
|
229
|
+
reference_to: '10'
|
|
214
230
|
- type: updates
|
|
215
231
|
bibitem:
|
|
216
232
|
type: standard
|
|
217
|
-
formattedref:
|
|
233
|
+
formattedref:
|
|
234
|
+
content: ISO 19115:2003/Cor 1:2006
|
|
218
235
|
# series are an array, containing a type, and either a formattedref, or:
|
|
219
236
|
# a title, a place, an organization (string),
|
|
220
237
|
# an abbreviation, a from, a to, a number, and a partnumber.
|
|
@@ -236,8 +253,8 @@ series:
|
|
|
236
253
|
content: ABVR
|
|
237
254
|
language: en
|
|
238
255
|
script: Latn
|
|
239
|
-
from: 2009-02-01
|
|
240
|
-
to: 2010-12-20
|
|
256
|
+
from: '2009-02-01'
|
|
257
|
+
to: '2010-12-20'
|
|
241
258
|
number: serie1234
|
|
242
259
|
partnumber: part5678
|
|
243
260
|
- type: alt
|
|
@@ -255,7 +272,7 @@ place: bib place
|
|
|
255
272
|
# extent is an array, containing type, a reference_from, and an optional reference_to
|
|
256
273
|
extent:
|
|
257
274
|
type: section
|
|
258
|
-
reference_from: 7
|
|
275
|
+
reference_from: '7'
|
|
259
276
|
# accesslocation is an array of strings
|
|
260
277
|
accesslocation:
|
|
261
278
|
- accesslocation1
|
|
@@ -266,9 +283,9 @@ classification:
|
|
|
266
283
|
value: value
|
|
267
284
|
# validity contains a begins date, an ends date, and a revision date
|
|
268
285
|
validity:
|
|
269
|
-
begins: 2010-10-10 12:21
|
|
270
|
-
ends: 2011-02-03 18:30
|
|
271
|
-
revision: 2011-03-04 09:00
|
|
286
|
+
begins: '2010-10-10 12:21'
|
|
287
|
+
ends: '2011-02-03 18:30'
|
|
288
|
+
revision: '2011-03-04 09:00'
|
|
272
289
|
----
|
|
273
290
|
|
|
274
291
|
== Metanorma structure (AsciiBib): nested definition list
|
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.2
|
|
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-
|
|
11
|
+
date: 2022-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: byebug
|
|
@@ -214,6 +214,7 @@ extensions: []
|
|
|
214
214
|
extra_rdoc_files: []
|
|
215
215
|
files:
|
|
216
216
|
- ".github/workflows/rake.yml"
|
|
217
|
+
- ".github/workflows/release.yml"
|
|
217
218
|
- ".gitignore"
|
|
218
219
|
- ".gitmodules"
|
|
219
220
|
- ".hound.yml"
|