relaton 1.8.pre4 → 1.8.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 -1
- data/.rubocop.yml +1 -1
- data/lib/relaton/config.rb +2 -3
- data/lib/relaton/db.rb +53 -110
- data/lib/relaton/db_cache.rb +99 -55
- data/lib/relaton/registry.rb +0 -1
- data/lib/relaton/version.rb +1 -1
- data/lib/relaton.rb +0 -1
- data/relaton.gemspec +3 -6
- data/spec/relaton/db_cache_spec.rb +2 -2
- data/spec/relaton/db_spec.rb +0 -17
- data/spec/relaton/regirtry_spec.rb +1 -9
- data/spec/relaton_spec.rb +4 -45
- data/spec/spec_helper.rb +0 -4
- data/spec/vcr_cassetes/19133_2005.yml +18 -18
- data/spec/vcr_cassetes/async_fetch.yml +1249 -1361
- data/spec/vcr_cassetes/bsi_bs_en_iso_8848.yml +17 -17
- data/spec/vcr_cassetes/cc_dir_10005_2019.yml +20 -20
- data/spec/vcr_cassetes/cie_001_1980.yml +7 -7
- data/spec/vcr_cassetes/ecma_6.yml +7 -7
- data/spec/vcr_cassetes/fisp_140.yml +10 -8
- data/spec/vcr_cassetes/gb_t_20223_2006.yml +8 -8
- data/spec/vcr_cassetes/iec_60050_102_2007.yml +27 -27
- data/spec/vcr_cassetes/iec_combined_included.yml +89 -89
- data/spec/vcr_cassetes/ieee_528_2019.yml +38 -38
- data/spec/vcr_cassetes/iho_b_11.yml +7 -7
- data/spec/vcr_cassetes/iso_111111119115_1.yml +4 -4
- data/spec/vcr_cassetes/iso_19115.yml +17 -17
- data/spec/vcr_cassetes/iso_19115_1.yml +18 -18
- data/spec/vcr_cassetes/iso_19115_1_2.yml +34 -34
- data/spec/vcr_cassetes/iso_awi_14093.yml +18 -18
- data/spec/vcr_cassetes/iso_combined_applied.yml +34 -34
- data/spec/vcr_cassetes/iso_combined_included.yml +33 -33
- data/spec/vcr_cassetes/itu_combined_included.yml +147 -147
- data/spec/vcr_cassetes/ogc_19_025r1.yml +1165 -1239
- data/spec/vcr_cassetes/omg_ami4ccm_1_0.yml +4 -4
- data/spec/vcr_cassetes/rfc_8341.yml +7 -7
- data/spec/vcr_cassetes/sp_800_38b.yml +10 -8
- data/spec/vcr_cassetes/un_rtade_cefact_2004_32.yml +31 -29
- data/spec/vcr_cassetes/w3c_json_ld11.yml +12 -12
- metadata +11 -56
- data/spec/vcr_cassetes/api_relaton_org.yml +0 -51
- data/spec/vcr_cassetes/api_relaton_org_unavailable.yml +0 -182
- data/spec/vcr_cassetes/cen_en_10160_1999.yml +0 -249
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: relaton-bipm
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.8.0
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: relaton-cen
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.8.pre1
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.8.pre1
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: relaton-cie
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +170,14 @@ dependencies:
|
|
184
170
|
requirements:
|
185
171
|
- - ">="
|
186
172
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.8.
|
173
|
+
version: 1.8.0
|
188
174
|
type: :runtime
|
189
175
|
prerelease: false
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
191
177
|
requirements:
|
192
178
|
- - ">="
|
193
179
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.8.
|
180
|
+
version: 1.8.0
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
182
|
name: relaton-nist
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -364,44 +350,16 @@ dependencies:
|
|
364
350
|
name: rubocop
|
365
351
|
requirement: !ruby/object:Gem::Requirement
|
366
352
|
requirements:
|
367
|
-
- -
|
368
|
-
- !ruby/object:Gem::Version
|
369
|
-
version: 1.17.0
|
370
|
-
type: :development
|
371
|
-
prerelease: false
|
372
|
-
version_requirements: !ruby/object:Gem::Requirement
|
373
|
-
requirements:
|
374
|
-
- - "~>"
|
375
|
-
- !ruby/object:Gem::Version
|
376
|
-
version: 1.17.0
|
377
|
-
- !ruby/object:Gem::Dependency
|
378
|
-
name: rubocop-performance
|
379
|
-
requirement: !ruby/object:Gem::Requirement
|
380
|
-
requirements:
|
381
|
-
- - "~>"
|
353
|
+
- - '='
|
382
354
|
- !ruby/object:Gem::Version
|
383
|
-
version:
|
355
|
+
version: 0.54.0
|
384
356
|
type: :development
|
385
357
|
prerelease: false
|
386
358
|
version_requirements: !ruby/object:Gem::Requirement
|
387
359
|
requirements:
|
388
|
-
- -
|
360
|
+
- - '='
|
389
361
|
- !ruby/object:Gem::Version
|
390
|
-
version:
|
391
|
-
- !ruby/object:Gem::Dependency
|
392
|
-
name: rubocop-rails
|
393
|
-
requirement: !ruby/object:Gem::Requirement
|
394
|
-
requirements:
|
395
|
-
- - "~>"
|
396
|
-
- !ruby/object:Gem::Version
|
397
|
-
version: 2.10.0
|
398
|
-
type: :development
|
399
|
-
prerelease: false
|
400
|
-
version_requirements: !ruby/object:Gem::Requirement
|
401
|
-
requirements:
|
402
|
-
- - "~>"
|
403
|
-
- !ruby/object:Gem::Version
|
404
|
-
version: 2.10.0
|
362
|
+
version: 0.54.0
|
405
363
|
- !ruby/object:Gem::Dependency
|
406
364
|
name: simplecov
|
407
365
|
requirement: !ruby/object:Gem::Requirement
|
@@ -515,12 +473,9 @@ files:
|
|
515
473
|
- spec/support/iso_19115_2.xml
|
516
474
|
- spec/support/rfc_8341.xml
|
517
475
|
- spec/vcr_cassetes/19133_2005.yml
|
518
|
-
- spec/vcr_cassetes/api_relaton_org.yml
|
519
|
-
- spec/vcr_cassetes/api_relaton_org_unavailable.yml
|
520
476
|
- spec/vcr_cassetes/async_fetch.yml
|
521
477
|
- spec/vcr_cassetes/bsi_bs_en_iso_8848.yml
|
522
478
|
- spec/vcr_cassetes/cc_dir_10005_2019.yml
|
523
|
-
- spec/vcr_cassetes/cen_en_10160_1999.yml
|
524
479
|
- spec/vcr_cassetes/cie_001_1980.yml
|
525
480
|
- spec/vcr_cassetes/ecma_6.yml
|
526
481
|
- spec/vcr_cassetes/fisp_140.yml
|
@@ -558,12 +513,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
558
513
|
requirements:
|
559
514
|
- - ">="
|
560
515
|
- !ruby/object:Gem::Version
|
561
|
-
version: 2.
|
516
|
+
version: 2.4.0
|
562
517
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
563
518
|
requirements:
|
564
|
-
- - "
|
519
|
+
- - ">="
|
565
520
|
- !ruby/object:Gem::Version
|
566
|
-
version:
|
521
|
+
version: '0'
|
567
522
|
requirements: []
|
568
523
|
rubygems_version: 3.2.3
|
569
524
|
signing_key:
|
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.relaton.org/api/v1/document?code=ISO%2019115-2&year=2019
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Host:
|
17
|
-
- api.relaton.org
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/xml
|
25
|
-
Content-Length:
|
26
|
-
- '2963'
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Date:
|
30
|
-
- Sun, 11 Jul 2021 11:34:48 GMT
|
31
|
-
X-Amzn-Requestid:
|
32
|
-
- 6c7fad1a-d456-4646-ab35-a593768e276b
|
33
|
-
X-Amz-Apigw-Id:
|
34
|
-
- CTaTcFi-oAMFwzQ=
|
35
|
-
X-Amzn-Trace-Id:
|
36
|
-
- Root=1-60ead749-14c8b6c1276e125223881fa6;Sampled=0
|
37
|
-
X-Cache:
|
38
|
-
- Miss from cloudfront
|
39
|
-
Via:
|
40
|
-
- 1.1 421d6f0c8b018cdf0b78f7d15df10d0c.cloudfront.net (CloudFront)
|
41
|
-
X-Amz-Cf-Pop:
|
42
|
-
- FRA56-C2
|
43
|
-
X-Amz-Cf-Id:
|
44
|
-
- MnyRnEZaEddpIBqtZ9km9jt2C5pdEQ_W17tZhip1zRMxy-cvj7sNPg==
|
45
|
-
body:
|
46
|
-
encoding: ASCII-8BIT
|
47
|
-
string: !binary |-
|
48
|
-
PGJpYmRhdGEgdHlwZT0ic3RhbmRhcmQiPgogIDxmZXRjaGVkPjIwMjEtMDctMTE8L2ZldGNoZWQ+CiAgPHRpdGxlIHR5cGU9InRpdGxlLWludHJvIiBmb3JtYXQ9InRleHQvcGxhaW4iIGxhbmd1YWdlPSJlbiIgc2NyaXB0PSJMYXRuIj5HZW9ncmFwaGljIGluZm9ybWF0aW9uPC90aX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