relaton-iso 1.16.4 → 1.17.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: 24973dcb87074a6029a83761f4690db8c53203e7a65928ea766ddeaa61b6d167
4
- data.tar.gz: 15f8936150781349e849ec0a89edc2ba1e24cb7a105973d6479418a7c98f9ffa
3
+ metadata.gz: 80d229376d490c5bba609565f355d59e2226a6a6f73faddfba0926e7b63cfeaf
4
+ data.tar.gz: 2ed4aee8e814f744cbad935030786027f8fe4753b96c52051a101db5d26e4702
5
5
  SHA512:
6
- metadata.gz: ae2ac0909781b8f8f196a259444cc55e3fc8d92eccca7f0d83da769dd27b10c0c95a3cc59e391a52e27cc0320f3149f4498b8004e8d259c98fa9bfa3947b7b81
7
- data.tar.gz: 4143f5870f15be800efe77cac822c90e7a345c5d6613b1481e7f88598b7d50f701546eaf9138c8bbebde22ad6473a5a7c7e4f81768b3656855e43d91d7ec10d8
6
+ metadata.gz: 635b0a105467f9dac6e3fb3d04dda3290d5b63604324edba84dda936d973a2c3b7f9ad5c7a0c6e186ad46b76399af74cd467adb3dd2991b90434097bd3cacdfa
7
+ data.tar.gz: 877135ff036b70ddd5e7bd2c7c713e1b9829db0a956d4c2ae3ef42a9fc25ecd391f559bf103dd039ed829f104bbbf254a1e794197e0926d3255919834f544bea
data/README.adoc CHANGED
@@ -149,17 +149,111 @@ item.docidentifier[0].id
149
149
  => "ISO 19115 (all parts)"
150
150
  ----
151
151
 
152
- === Search for ISO/IEC Directives
152
+ === Non-standard ISO/IEC documents
153
153
 
154
- The ISO/IEC Directives are stored in a static cache in a relaton gem. It needs to use the relaton gem to fetch the ISO/IEC Directives. The following references are allowed to fetch:
154
+ ==== General
155
+
156
+ ISO/IEC Directives and related documents are fetched from the `relaton-data-iso`
157
+ repository managed by the Relaton team.
158
+
159
+ The following PubID patterns are used to fetch particular documents.
160
+
161
+ ==== ISO/IEC Directives in Parts
162
+
163
+ `ISO/IEC DIR 1 ISO SUP`::
164
+ ISO/IEC Directives, Consolidated ISO Supplement -- Procedures specific to ISO.
165
+ This is the undated reference.
166
+
167
+ `ISO/IEC DIR 1 ISO SUP:{yyyy}`::: Available edition years from 2003 (ed1) to 2023 (ed14).
168
+
169
+ `ISO/IEC DIR 1`::
170
+ ISO/IEC Directives, Part 1. This is the undated reference.
171
+
172
+ `ISO/IEC DIR 1 ISO`:: ISO-published version of "ISO/IEC Directives, Part 1".
173
+ `ISO/IEC DIR 1 ISO:{yyyy}`::: Edition years from 1986 (ed1) to 2023 (ed19).
174
+
175
+ `ISO/IEC DIR 1 IEC`:: IEC-published version of "ISO/IEC Directives, Part 1"
176
+ `ISO/IEC DIR 1 IEC:{yyyy}`::: Edition years from 1986 (ed1) to 2023 (ed19).
177
+
178
+ `ISO/IEC DIR 2`::
179
+ ISO/IEC Directives, Part 2. This is the undated reference.
180
+
181
+ `ISO/IEC DIR 2 ISO`:: ISO-published version of "ISO/IEC Directives, Part 2"
182
+ `ISO/IEC DIR 2 ISO:{yyyy}`::: Edition years from 1986 (ed1) to 2021 (ed9).
183
+
184
+ `ISO/IEC DIR 2 IEC`:: IEC-published version of "ISO/IEC Directives, Part 2"
185
+ `ISO/IEC DIR 2 IEC:{yyyy}`::: Edition years from 1986 (ed1) to 2021 (ed9).
186
+
187
+ `ISO/IEC DIR 3`::
188
+ ISO/IEC Directives, Part 3. This is the undated reference.
189
+ This is of historical interest, as originally ISO/IEC published the Directives
190
+ in 3 parts:
191
+ Part 1 "Procedures for the technical work",
192
+ Part 2 "Methodology for the development of International Standards",
193
+ Part 3 "Drafting and presentation of International Standards".
194
+ In the 2004 versions, Parts 1 and 2 merged into the new Part 1, and Part 3
195
+ was renamed as Part 2.
196
+
197
+ `ISO/IEC DIR 3:{yyyy}`::: Edition years: 1986 (ed1), 1989 (ed2), 1997 (ed3).
198
+
199
+
200
+ ==== ISO/IEC Directives ISO Supplements related
201
+
202
+ `ISO/IEC DIR 1 ISO SUP`::
203
+ ISO/IEC Directives, Consolidated ISO Supplement -- Procedures specific to ISO.
204
+ This is the undated reference.
205
+
206
+ `ISO/IEC DIR 1 ISO SUP:{yyyy}`::: Available edition years from 2003 (ed1) to 2023 (ed14).
207
+
208
+
209
+ ==== ISO/IEC Directives IEC Supplements related
210
+
211
+ `ISO/IEC DIR IEC SUP`::
212
+ ISO/IEC Directives, IEC Supplement -- Procedures specific to IEC.
213
+ This is the undated reference.
214
+
215
+ `ISO/IEC DIR IEC SUP:{yyyy}`::: Available edition years from 2009 (ed4) to 2023 (ed17).
216
+
217
+ `ISO/IEC DIR 1 + IEC SUP`::
218
+ The consolidated version of "ISO/IEC Directives, Part 1 + IEC Supplement -- Procedures specific to IEC".
219
+ This is the undated reference.
220
+
221
+ `ISO/IEC DIR 1 + IEC SUP:{yyyy}`::: Available edition years from 2016 (ed12) to 2023 (ed19).
222
+
223
+
224
+
225
+ ==== ISO/IEC JTC 1 governance documents
226
+
227
+ `ISO/IEC JTC 1 DIR`::
228
+ ISO/IEC JTC 1 Directives. This is the undated reference. Notice that
229
+ these are "internal directives" of ISO/IEC JTC 1. This series existed
230
+ until 2007, after which it became "ISO/IEC Directives -- JTC 1 Supplement".
231
+
232
+ `ISO/IEC JTC 1 DIR:{yyyy}`::: Available edition years are:
233
+ 2004 (5th Edition),
234
+ 2005 (5th Edition, Version 1.0),
235
+ 2006 (5th Edition, Version 2.0),
236
+ 2007 (5th Edition, Version 3.0).
237
+
238
+ `ISO/IEC DIR JTC 1`::
239
+ ISO/IEC Directives, JTC 1 Supplement -- Procedures specific to JTC 1.
240
+ This is the undated reference.
241
+
242
+ `ISO/IEC DIR JTC 1:{yyyy}`:::
243
+ Available edition years from 2010 (ed1) to 2023 (ed12).
244
+
245
+ ==== ISO/TC 184/SC 4 important N-documents
246
+
247
+ `ISO/TC 184/SC 4 N2412`::
248
+ ISO/TC 184/SC 4 Supplementary directives - Rules for the structure and drafting of SC 4 standards for industrial data. 2008-12-16.
249
+
250
+ `ISO/TC 184/SC 4 N2412`::
251
+ ISO/TC 184/SC 4 Supplementary directives - Rules for the structure and drafting of SC 4 standards for industrial data. 2020-07-31.
252
+
253
+ `ISO/TC 184/SC 4 N3500`::
254
+ ISO/TC 184/SC 4 Handbook -- SC 4 Supplement to ISO directives.
255
+ 2020-08-09.
155
256
 
156
- - ISO/IEC DIR 1 - Procedures for the technical work
157
- - ISO/IEC DIR 1 IEC SUP - Procedures for the technical work – Procedures specific to IEC
158
- - ISO/IEC DIR 1 ISO SUP - Consolidated ISO Supplement -- Procedures specific to ISO
159
- - ISO/IEC DIR 2 IEC - Principles and rules for the structure and drafting of ISO and IEC documents
160
- - ISO/IEC DIR 2 ISO - Principles and rules for the structure and drafting of ISO and IEC documents
161
- - ISO/IEC DIR IEC SUP - Procedures specific to IEC
162
- - ISO/IEC DIR JTC 1 SUP - Procedures specific to JTC 1
163
257
 
164
258
  === XML serialization
165
259
 
@@ -17,6 +17,8 @@ module RelatonIso
17
17
  # "WD" => "workingDraft",
18
18
  # "R" => "recommendation",
19
19
  "Guide" => "guide",
20
+ "ISO" => "international-standard",
21
+ "IWA" => "international-workshop-agreement",
20
22
  }.freeze
21
23
 
22
24
  STGABBR = {
@@ -335,10 +337,8 @@ module RelatonIso
335
337
  (?<type>TS|TR|PAS|AWI|CD|FDIS|NP|DIS|WD|R|Guide|(?=\d+))
336
338
  }x =~ ref
337
339
  # return "international-standard" if type_match.nil?
338
- if TYPES[type] then TYPES[type]
339
- elsif prefix == "ISO" then "international-standard"
340
- elsif prefix == "IWA" then "international-workshop-agreement"
341
- end
340
+ type = TYPES[type] || TYPES[prefix]
341
+ RelatonIsoBib::DocumentType.new(type: type)
342
342
  # rescue => _e
343
343
  # puts 'Unknown document type: ' + title
344
344
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonIso
4
- VERSION = "1.16.4"
4
+ VERSION = "1.17.0"
5
5
  end
data/relaton_iso.gemspec CHANGED
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.add_dependency "algolia", "~> 2.3.0"
30
30
  spec.add_dependency "pubid-iso", "~> 0.6.0"
31
- spec.add_dependency "relaton-iso-bib", "~> 1.16.0"
31
+ spec.add_dependency "relaton-iso-bib", "~> 1.17.0"
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iso
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.4
4
+ version: 1.17.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: 2023-11-15 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: algolia
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.16.0
47
+ version: 1.17.0
48
48
  type: :runtime
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: 1.16.0
54
+ version: 1.17.0
55
55
  description: 'RelatonIso: retrieve ISO Standards for bibliographic use using the IsoBibliographicItem
56
56
  model'
57
57
  email: