relaton 1.12.2 → 1.12.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +1 -19
  3. data/docs/README.adoc +18 -3
  4. data/lib/relaton/config.rb +2 -1
  5. data/lib/relaton/db.rb +72 -32
  6. data/lib/relaton/db_cache.rb +33 -72
  7. data/lib/relaton/version.rb +1 -1
  8. data/lib/relaton.rb +1 -0
  9. data/spec/relaton/db_cache_spec.rb +2 -2
  10. data/spec/relaton/registry_spec.rb +1 -1
  11. data/spec/relaton_spec.rb +38 -1
  12. data/spec/spec_helper.rb +4 -0
  13. data/spec/vcr_cassetes/3gpp_tr_00_01u_umts_3_0_0.yml +17 -16
  14. data/spec/vcr_cassetes/api_relaton_org.yml +56 -0
  15. data/spec/vcr_cassetes/api_relaton_org_unavailable.yml +194 -0
  16. data/spec/vcr_cassetes/async_fetch.yml +1278 -1278
  17. data/spec/vcr_cassetes/bipm_i18n_async_fetch.yml +85 -83
  18. data/spec/vcr_cassetes/bsi_bs_en_iso_8848.yml +17 -13
  19. data/spec/vcr_cassetes/cc_dir_10005_2019.yml +14 -12
  20. data/spec/vcr_cassetes/cie_001_1980.yml +9 -10
  21. data/spec/vcr_cassetes/ecma_6.yml +10 -10
  22. data/spec/vcr_cassetes/en_10160_1999.yml +29 -29
  23. data/spec/vcr_cassetes/fisp_140.yml +6 -6
  24. data/spec/vcr_cassetes/gb_t_20223_2006.yml +79 -9
  25. data/spec/vcr_cassetes/iana_service_names_port_numbers.yml +11 -11
  26. data/spec/vcr_cassetes/iec_60050_102_2007.yml +23 -23
  27. data/spec/vcr_cassetes/iec_combined_included.yml +87 -87
  28. data/spec/vcr_cassetes/ieee_528_2019.yml +44 -2202
  29. data/spec/vcr_cassetes/iho_b_11.yml +10 -10
  30. data/spec/vcr_cassetes/iso_111111119115_1.yml +4 -4
  31. data/spec/vcr_cassetes/iso_19115_1.yml +15 -15
  32. data/spec/vcr_cassetes/iso_19115_1_2.yml +33 -33
  33. data/spec/vcr_cassetes/iso_19115_all_parts.yml +17 -17
  34. data/spec/vcr_cassetes/iso_19133_2005.yml +15 -15
  35. data/spec/vcr_cassetes/iso_combined_applied.yml +31 -31
  36. data/spec/vcr_cassetes/iso_combined_included.yml +30 -30
  37. data/spec/vcr_cassetes/iso_dis_14093.yml +16 -16
  38. data/spec/vcr_cassetes/itu_combined_included.yml +169 -169
  39. data/spec/vcr_cassetes/oasis_amqp_core_types_v1_0_pt1.yml +10 -10
  40. data/spec/vcr_cassetes/ogc_19_025r1.yml +7 -7
  41. data/spec/vcr_cassetes/omg_ami4ccm_1_0.yml +4 -4
  42. data/spec/vcr_cassetes/rfc_8341.yml +11 -11
  43. data/spec/vcr_cassetes/sp_800_38b.yml +6 -6
  44. data/spec/vcr_cassetes/threads_from_env.yml +59 -59
  45. data/spec/vcr_cassetes/un_rtade_cefact_2004_32.yml +29 -31
  46. data/spec/vcr_cassetes/w3c_json_ld11.yml +20 -20
  47. metadata +4 -2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Connection:
24
24
  - keep-alive
25
25
  Content-Length:
26
- - '744'
26
+ - '745'
27
27
  Cache-Control:
28
28
  - max-age=300
29
29
  Content-Security-Policy:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Content-Type:
32
32
  - text/plain; charset=utf-8
33
33
  Etag:
34
- - W/"6258cbf1d2c5aadc34706cbdafea7f961ce7a032c69c06cb7598b30ef4147832"
34
+ - W/"90eba1a6db30985d84e5065f3de298178141e8c49dbe33bf6b4ef9bdbd39a511"
35
35
  Strict-Transport-Security:
36
36
  - max-age=31536000
37
37
  X-Content-Type-Options:
@@ -41,34 +41,34 @@ http_interactions:
41
41
  X-Xss-Protection:
42
42
  - 1; mode=block
43
43
  X-Github-Request-Id:
44
- - F342:A456:63269F:6947B6:62BDDA64
44
+ - C684:11DD8:140FC4:161876:62E93C93
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Thu, 30 Jun 2022 17:16:20 GMT
48
+ - Tue, 02 Aug 2022 15:02:44 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-vie6373-VIE
52
+ - cache-vie6322-VIE
53
53
  X-Cache:
54
54
  - MISS
55
55
  X-Cache-Hits:
56
56
  - '0'
57
57
  X-Timer:
58
- - S1656609381.574218,VS0,VE189
58
+ - S1659452564.958442,VS0,VE214
59
59
  Vary:
60
60
  - Authorization,Accept-Encoding,Origin
61
61
  Access-Control-Allow-Origin:
62
62
  - "*"
63
63
  X-Fastly-Request-Id:
64
- - 1fe9698118b2a8b826aed789eeb975f3f23bc32a
64
+ - '019da04f1cf46e9dc1745dfe58839b92dccfc570'
65
65
  Expires:
66
- - Thu, 30 Jun 2022 17:21:20 GMT
66
+ - Tue, 02 Aug 2022 15:07:44 GMT
67
67
  Source-Age:
68
68
  - '0'
69
69
  body:
70
70
  encoding: ASCII-8BIT
71
71
  string: !binary |-
72
- LS0tCnRpdGxlOgotIHR5cGU6IG1haW4KICBjb250ZW50OiBJSE8tSU9DIEdFQkNPIENvb2sgQm9vawogIGxhbmd1YWdlOiBlbgotIHR5cGU6IG1haW4KICBjb250ZW50OiBMaXZyZSBkZSByZWNldHRlcyBHRUJDTyBPSEktQ09JCiAgbGFuZ3VhZ2U6IGZyCmVkaXRvcmlhbGdyb3VwOgotIC0gY29tbWl0dGVlOgogICAgICBhYmJyZXZpYXRpb246IEhTU0MKICAgICAgbmFtZTogSHlkcm9ncmFwaGljIFNlcnZpY2VzIGFuZCBTdGFuZGFyZHMgQ29tbWl0dGVlCiAgLSBjb21taXR0ZWU6CiAgICAgIGFiYnJldmlhdGlvbjogSVJDQwogICAgICBuYW1lOiBJbnRlci1SZWdpb25hbCBDb29yZGluYXRpb24gQ29tbWl0dGVlCiAgICAgIGNvbW1pdHRlZToKICAgICAgICBhYmJyZXZpYXRpb246IEdFQkNPCiAgICAgICAgbmFtZTogSk9JTlQgSUhPLUlPQyBHVUlESU5HIENPTU1JVFRF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1bWVudHMvQ29va0Jvb2tfMjAxOTEwMzEucGRmCnBsYWNlOiBNb25hY28KdmFsaWRpdHk6CiAgYmVnaW5zOiAnMjAxOS0xMC0zMScKY29udHJpYnV0b3I6Ci0gb3JnYW5pemF0aW9uOgogICAgbmFtZTogSW50ZXJuYXRpb25hbCBIeWRyb2dyYXBoaWMgT3JnYW5pemF0aW9uCiAgICBhYmJyZXZpYXRpb246IElITwogICAgdXJsOiB3d3cuaWhvLmludAogIHJvbGU6IHB1Ymxpc2hlcgotIG9yZ2FuaXphdGlvbjoKICAgIG5hbWU6IEludGVyZ292ZXJubWVudGFsIE9jZWFub2dyYXBoaWMgQ29tbWlzc2lvbgogICAgYWJicmV2aWF0aW9uOiBJT0MKICAgIHVybDogaHR0cDovL2lvYy11bmVzY28ub3JnCiAgcm9sZTogcHVibGlzaGVyCnNlcmllczoKICBudW1iZXI6IEIKICB0eXBlOiBtYWluCiAgdGl0bGU6CiAgICB0eXBlOiBvcmlnaW5hbAogICAgY29udGVudDoKICAgIC0gY29udGVudDogQmF0aHltZXRyaWMgUHVibGljYXRpb25zCiAgICAgIGxhbmd1YWdlOiBlbgogICAgICBzY3JpcHQ6IExhdG4KICAgIC0gY29udGVudDogUHVibGljYXRpb25zIGJhdGh5bcOpdHJpcXVlcwogICAgICBsYW5ndWFnZTogZnIKICAgICAgc2NyaXB0OiBMYXRuCiAgcGxhY2U6IE1vbmFjbwogIG9yZ2FuaXphdGlvbjogSW50ZXJuYXRpb25hbCBIeWRyb2dyYXBoaWMgT3JnYW5pemF0aW9uCmZldGNoZWQ6ICcyMDIwLTAzLTI5Jwo=
73
+ recorded_at: Tue, 02 Aug 2022 15:02:44 GMT
74
74
  recorded_with: VCR 6.1.0
@@ -31,11 +31,11 @@ http_interactions:
31
31
  Server:
32
32
  - nginx
33
33
  Date:
34
- - Thu, 30 Jun 2022 17:16:00 GMT
34
+ - Tue, 02 Aug 2022 15:02:27 GMT
35
35
  Content-Type:
36
36
  - application/json; charset=UTF-8
37
37
  Content-Length:
38
- - '237'
38
+ - '262'
39
39
  Connection:
40
40
  - keep-alive
41
41
  X-Alg-Pt:
@@ -57,6 +57,6 @@ http_interactions:
57
57
  body:
58
58
  encoding: UTF-8
59
59
  string: '{"hits":[],"nbHits":0,"page":0,"nbPages":0,"hitsPerPage":100,"exhaustiveNbHits":true,"exhaustiveTypo":true,"query":"ISO
60
- 111111119115-1","params":"query=ISO+111111119115-1&hitsPerPage=100&filters=category%3Astandard","processingTimeMS":1}'
61
- recorded_at: Thu, 30 Jun 2022 17:15:59 GMT
60
+ 111111119115-1","params":"query=ISO+111111119115-1&hitsPerPage=100&filters=category%3Astandard","processingTimeMS":1,"processingTimingsMS":{}}'
61
+ recorded_at: Tue, 02 Aug 2022 15:02:27 GMT
62
62
  recorded_with: VCR 6.1.0