relaton 1.10.2 → 1.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/relaton/registry.rb +2 -2
  3. data/lib/relaton/version.rb +1 -1
  4. data/relaton.gemspec +1 -0
  5. data/spec/relaton/registry_spec.rb +4 -0
  6. data/spec/relaton_spec.rb +7 -0
  7. data/spec/vcr_cassetes/3gpp_tr_00_01u_umts_3_0_0.yml +30 -10
  8. data/spec/vcr_cassetes/async_fetch.yml +1218 -1218
  9. data/spec/vcr_cassetes/bsi_bs_en_iso_8848.yml +13 -11
  10. data/spec/vcr_cassetes/cc_dir_10005_2019.yml +18 -18
  11. data/spec/vcr_cassetes/cen_en_10160_1999.yml +30 -30
  12. data/spec/vcr_cassetes/cie_001_1980.yml +10 -9
  13. data/spec/vcr_cassetes/ecma_6.yml +7 -7
  14. data/spec/vcr_cassetes/fisp_140.yml +6 -6
  15. data/spec/vcr_cassetes/gb_t_20223_2006.yml +7 -7
  16. data/spec/vcr_cassetes/iana_service_names_port_numbers.yml +11 -10
  17. data/spec/vcr_cassetes/iec_60050_102_2007.yml +27 -27
  18. data/spec/vcr_cassetes/iec_combined_included.yml +100 -98
  19. data/spec/vcr_cassetes/ieee_528_2019.yml +1093 -1205
  20. data/spec/vcr_cassetes/iho_b_11.yml +7 -7
  21. data/spec/vcr_cassetes/iso_111111119115_1.yml +2 -2
  22. data/spec/vcr_cassetes/iso_19115_1.yml +15 -15
  23. data/spec/vcr_cassetes/iso_19115_1_2.yml +27 -27
  24. data/spec/vcr_cassetes/iso_19115_all_parts.yml +15 -15
  25. data/spec/vcr_cassetes/iso_19133_2005.yml +16 -16
  26. data/spec/vcr_cassetes/iso_combined_applied.yml +30 -30
  27. data/spec/vcr_cassetes/iso_combined_included.yml +28 -28
  28. data/spec/vcr_cassetes/iso_dis_14093.yml +14 -14
  29. data/spec/vcr_cassetes/itu_combined_included.yml +194 -194
  30. data/spec/vcr_cassetes/oasis_amqp_core_types_v1_0_pt1.yml +85 -0
  31. data/spec/vcr_cassetes/ogc_19_025r1.yml +10 -10
  32. data/spec/vcr_cassetes/omg_ami4ccm_1_0.yml +4 -4
  33. data/spec/vcr_cassetes/rfc_8341.yml +7 -7
  34. data/spec/vcr_cassetes/sp_800_38b.yml +6 -6
  35. data/spec/vcr_cassetes/threads_from_env.yml +56 -56
  36. data/spec/vcr_cassetes/un_rtade_cefact_2004_32.yml +31 -29
  37. data/spec/vcr_cassetes/w3c_json_ld11.yml +11 -10
  38. metadata +17 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59f61f3c0bf662c394588a09b8b5667333f967798fa619ff57ccd25167f52fec
4
- data.tar.gz: 45f4638335a9babf8d57c167ae6f3b51875034ab5ab694df4707d42a6ef4d32c
3
+ metadata.gz: 0405dc6ec12565eb36538f994a99c4b2669ea49652b3d560ac9ee5f531ce76b7
4
+ data.tar.gz: 42f0f333beae23254978f87d342e28a29a2c9d4ff245751cc3df39de11a7f712
5
5
  SHA512:
6
- metadata.gz: 20758bd9431f9760e60d71194e1dd29ae5a20576d905842852a4af6d59e40339d90e9af6a2b643eaab5d38aee0e1c340ef81d5515de33d3466414fb177c92c2c
7
- data.tar.gz: 34f40a9797c98439f1eca30af79c0dcf1c0eeedc6622b1be5f3116a7d3411cffbd8717ebbd91f6d55094d965a93517b0b920f0b9125cf517bb68b9c7a49e6414
6
+ metadata.gz: ead11a94502ada2824168f21d3a6e43a28750860748af70e2084ca0c798862483bd6079d26f05569f577a95ec892651dedee2a20469a0ba5c2d07b26db59b3f4
7
+ data.tar.gz: 8af72578272d027cfc40ea5e79c83f434bce931335845d77a376b72b8907df136da1086ba06fccec25a4f53e6e1a9903bd48d166f272d0d29f4c0a45e19ee921
@@ -9,7 +9,7 @@ module Relaton
9
9
  relaton_gb relaton_iec relaton_ietf relaton_iso relaton_itu relaton_nist
10
10
  relaton_ogc relaton_calconnect relaton_omg relaton_un relaton_w3c
11
11
  relaton_ieee relaton_iho relaton_bipm relaton_ecma relaton_cie relaton_bsi
12
- relaton_cen relaton_iana relaton_3gpp
12
+ relaton_cen relaton_iana relaton_3gpp relaton_oasis
13
13
  ].freeze
14
14
 
15
15
  include Singleton
@@ -22,7 +22,7 @@ module Relaton
22
22
  end
23
23
 
24
24
  def register_gems
25
- Util.log("[relaton] Info: detecting backends:", :info)
25
+ # Util.log("[relaton] Info: detecting backends:", :info)
26
26
 
27
27
  SUPPORTED_GEMS.each do |b|
28
28
  require b
@@ -1,3 +1,3 @@
1
1
  module Relaton
2
- VERSION = "1.10.2".freeze
2
+ VERSION = "1.10.3".freeze
3
3
  end
data/relaton.gemspec CHANGED
@@ -45,6 +45,7 @@ Gem::Specification.new do |spec|
45
45
  spec.add_dependency "relaton-iso", "~> 1.10.1"
46
46
  spec.add_dependency "relaton-itu", "~> 1.10.1"
47
47
  spec.add_dependency "relaton-nist", "~> 1.10.1"
48
+ spec.add_dependency "relaton-oasis", "~> 1.10.0"
48
49
  spec.add_dependency "relaton-ogc", "~> 1.10.1"
49
50
  spec.add_dependency "relaton-omg", "~> 1.10.1"
50
51
  spec.add_dependency "relaton-un", "~> 1.10.1"
@@ -95,6 +95,10 @@ RSpec.describe Relaton::Registry do
95
95
  it "3GPP" do
96
96
  expect(Relaton::Registry.instance.by_type("3GPP")).to be_instance_of Relaton3gpp::Processor
97
97
  end
98
+
99
+ it "OASIS" do
100
+ expect(Relaton::Registry.instance.by_type("OASIS")).to be_instance_of RelatonOasis::Processor
101
+ end
98
102
  end
99
103
 
100
104
  it "find processot by dataset" do
data/spec/relaton_spec.rb CHANGED
@@ -313,6 +313,13 @@ RSpec.describe Relaton::Db do
313
313
  end
314
314
  end
315
315
 
316
+ it "get OASIS reference" do
317
+ VCR.use_cassette "oasis_amqp_core_types_v1_0_pt1" do
318
+ bib = @db.fetch "OASIS amqp-core-types-v1.0-Pt1"
319
+ expect(bib).to be_instance_of RelatonOasis::OasisBibliographicItem
320
+ end
321
+ end
322
+
316
323
  context "get combined documents" do
317
324
  context "ISO" do
318
325
  it "included" do
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Connection:
24
24
  - keep-alive
25
25
  Content-Length:
26
- - '562'
26
+ - '740'
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/"c7d5e5fe82f7acf338ee2018e084c4b51759b05adec00dac3a8ceff6ce47a97d"
34
+ - W/"acf37ab0de21ab5fb176f2d2d747e7275b3e97a2e7f91c548f1a3fd44e7e7c04"
35
35
  Strict-Transport-Security:
36
36
  - max-age=31536000
37
37
  X-Content-Type-Options:
@@ -41,29 +41,29 @@ http_interactions:
41
41
  X-Xss-Protection:
42
42
  - 1; mode=block
43
43
  X-Github-Request-Id:
44
- - 45BA:CCED:1813D1:1C438B:620294E0
44
+ - 352C:46E8:503F13:5441C7:623489B7
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Tue, 08 Feb 2022 16:57:51 GMT
48
+ - Fri, 18 Mar 2022 13:31:35 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-sof1510029-SOF
52
+ - cache-vie6375-VIE
53
53
  X-Cache:
54
54
  - MISS
55
55
  X-Cache-Hits:
56
56
  - '0'
57
57
  X-Timer:
58
- - S1644339471.283167,VS0,VE227
58
+ - S1647610295.461296,VS0,VE255
59
59
  Vary:
60
60
  - Authorization,Accept-Encoding,Origin
61
61
  Access-Control-Allow-Origin:
62
62
  - "*"
63
63
  X-Fastly-Request-Id:
64
- - cf89245f4a0796cd459274bff5b88010c039bea9
64
+ - abf4bfad340197bbb1531499d629a65219ebf109
65
65
  Expires:
66
- - Tue, 08 Feb 2022 17:02:51 GMT
66
+ - Fri, 18 Mar 2022 13:36:35 GMT
67
67
  Source-Age:
68
68
  - '0'
69
69
  body:
@@ -83,8 +83,25 @@ http_interactions:
83
83
  docid:
84
84
  - id: 3GPP TR 00.01U:UMTS/3.0.0
85
85
  type: 3GPP
86
+ primary: true
86
87
  docnumber: TR 00.01U:UMTS/3.0.0
88
+ date:
89
+ - type: published
90
+ value: '1994-11-18'
87
91
  contributor:
92
+ - organization:
93
+ name:
94
+ - 3rd Generation Partnership Project
95
+ abbreviation: 3GPP
96
+ contact:
97
+ - street:
98
+ - c/o ETSI 650, route des Lucioles
99
+ - 3GPP Mobile Competence Centre
100
+ city: Sophia Antipolis Cedex
101
+ country: France
102
+ postcode: '06921'
103
+ role:
104
+ - author
88
105
  - person:
89
106
  name:
90
107
  completename:
@@ -99,6 +116,7 @@ http_interactions:
99
116
  - PHILIPS CONSUMER COMMUNICATION
100
117
  role:
101
118
  - author
119
+ revdate: '1994-11-18'
102
120
  language:
103
121
  - en
104
122
  script:
@@ -106,7 +124,9 @@ http_interactions:
106
124
  docstatus:
107
125
  stage:
108
126
  value: withdrawn
109
- fetched: '2022-01-24'
127
+ place:
128
+ - Sophia Antipolis Cedex, France
129
+ fetched: '2022-02-28'
110
130
  doctype: TR
111
131
  editorialgroup:
112
132
  - name: SMG5
@@ -123,5 +143,5 @@ http_interactions:
123
143
  close_meeting: SP-28
124
144
  project_end: '1999-02-12'
125
145
  http_version:
126
- recorded_at: Tue, 08 Feb 2022 16:57:51 GMT
146
+ recorded_at: Fri, 18 Mar 2022 13:31:35 GMT
127
147
  recorded_with: VCR 5.1.0