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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86a0bd8757736f00d9823a2c7e054061070ca6a092a502f20f5598875db95aa0
4
- data.tar.gz: c96b9564f71355be85fd8752bf93df410d71d3913e87e8463b070bcbcca7b1b1
3
+ metadata.gz: 61c7501f15c50370c99043dafc2950b2bb5314725abae9e2c58fc4c2959ee5ac
4
+ data.tar.gz: b9bc6f11bd966f6155145cb9f9cc22a9ce1873b549ace92b356c29566ab02139
5
5
  SHA512:
6
- metadata.gz: 2c37155924af6e0a88b5c2883f439f16edeb27dbfa4114e7d3bf5fd9c1eb2e54c1c0d67a535ff0e06a9cda0a9810974de0bdecb96408d0adaeaf766fb18ac29d
7
- data.tar.gz: 38ec500a5144b27b2dce3b6dfab3a7c76c6e936d54f4a2ec2933cb292f6aaf133471fd7b32a1521098c5bee25de789472c5ca6238c85c70310656c5ae00f3d8b
6
+ metadata.gz: f8f4bdccc1d8d2de570471187b5484d49f18b4b58b1f3c87b91dc97ffbe69a277ed890261ca6cbbe298fb2f61f56ca827cb814e70a18015943e63e6d23209305
7
+ data.tar.gz: d343cbca3b0c3c22e3775c13573c0e06b553f557aa03b592cb249c863f23ecde405c794f0cdd594bdc292e9639d56a21a28ffdec50ee9d1c8a3b6a430056274a
@@ -10,4 +10,4 @@ on:
10
10
 
11
11
  jobs:
12
12
  rake:
13
- uses: relaton/support/.github/workflows/rake.yml@master
13
+ uses: relaton/support/.github/workflows/rake.yml@master
@@ -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 surname, completename, initials, forename, additions, prefixes.
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: International Organization for Standardization
130
+ name:
131
+ content: International Organization for Standardization
130
132
  url: www.iso.org
131
- abbreviation: ISO
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: IETF
144
- abbreviation: IETF
145
- identifier:
146
- - type: uri
147
- id: www.ietf.org
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
- - street:
151
- - 8 Street St
152
- city: City
153
- postcode: 123456
154
- country: Country
155
- state: State
156
- - type: phone
157
- value: 223322
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
- - person:
160
- name: IETF
161
- abbreviation: IETF
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
- language: en
170
- initial:
171
- - A.
172
- surname: Bierman
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
- - organization:
175
- name: IETF
176
- abbreviation: IETF
177
- description:
178
- content: Affiliation description
179
- language: en
180
- script: Latn
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: International Organization for Standardization
191
- abbreviation: ISO
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: ISO 19115:2003
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: ISO 19115:2003/Cor 1:2006
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
@@ -115,7 +115,7 @@ module RelatonBib
115
115
  attr_reader :validity
116
116
 
117
117
  # @return [Date]
118
- attr_reader :fetched
118
+ attr_accessor :fetched
119
119
 
120
120
  # @return [Array<RelatonBib::LocalizedString>]
121
121
  attr_reader :keyword
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.13.1".freeze
2
+ VERSION = "1.13.2".freeze
3
3
  end
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.1
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-08-24 00:00:00.000000000 Z
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"