relaton 1.11.5 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton/db.rb +1 -1
- data/lib/relaton/version.rb +1 -1
- data/relaton.gemspec +21 -21
- data/spec/relaton/db_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/vcr_cassetes/3gpp_tr_00_01u_umts_3_0_0.yml +7 -7
- data/spec/vcr_cassetes/async_fetch.yml +1363 -1363
- data/spec/vcr_cassetes/bipm_i18n_async_fetch.yml +51 -259
- data/spec/vcr_cassetes/bsi_bs_en_iso_8848.yml +10 -10
- data/spec/vcr_cassetes/cc_dir_10005_2019.yml +10 -10
- data/spec/vcr_cassetes/cie_001_1980.yml +7 -7
- data/spec/vcr_cassetes/ecma_6.yml +10 -9
- data/spec/vcr_cassetes/en_10160_1999.yml +24 -24
- data/spec/vcr_cassetes/fisp_140.yml +5 -5
- data/spec/vcr_cassetes/gb_t_20223_2006.yml +6 -6
- data/spec/vcr_cassetes/iana_service_names_port_numbers.yml +10 -10
- data/spec/vcr_cassetes/iec_60050_102_2007.yml +37 -27
- data/spec/vcr_cassetes/iec_combined_included.yml +90 -80
- data/spec/vcr_cassetes/ieee_528_2019.yml +515 -504
- data/spec/vcr_cassetes/iho_b_11.yml +7 -7
- data/spec/vcr_cassetes/iso_111111119115_1.yml +2 -2
- data/spec/vcr_cassetes/iso_19115_1.yml +16 -16
- data/spec/vcr_cassetes/iso_19115_1_2.yml +28 -28
- data/spec/vcr_cassetes/iso_19115_all_parts.yml +16 -16
- data/spec/vcr_cassetes/iso_19133_2005.yml +15 -15
- data/spec/vcr_cassetes/iso_combined_applied.yml +32 -32
- data/spec/vcr_cassetes/iso_combined_included.yml +29 -29
- data/spec/vcr_cassetes/iso_dis_14093.yml +16 -16
- data/spec/vcr_cassetes/itu_combined_included.yml +168 -168
- data/spec/vcr_cassetes/oasis_amqp_core_types_v1_0_pt1.yml +9 -9
- data/spec/vcr_cassetes/ogc_19_025r1.yml +7 -7
- data/spec/vcr_cassetes/omg_ami4ccm_1_0.yml +2 -2
- data/spec/vcr_cassetes/rfc_8341.yml +10 -10
- data/spec/vcr_cassetes/sp_800_38b.yml +5 -5
- data/spec/vcr_cassetes/threads_from_env.yml +59 -59
- data/spec/vcr_cassetes/un_rtade_cefact_2004_32.yml +29 -29
- data/spec/vcr_cassetes/w3c_json_ld11.yml +20 -20
- metadata +44 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb0eb1b1516d3d9891e873ecad6e439da21cb0cf0ef1b13d9f0a53568b04ad6d
|
4
|
+
data.tar.gz: af692237538c88b588db7537366d0fbc476e92e60f48163f892f0cb254c1fa2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 771e6695638f73ee4c6bb4c00d376889ecd5b7120cd9f31e055ab06f3060b24b55e3276f90d74909806b5977f54593cabc201a17729922e2589e5ac1c0fe6ea4
|
7
|
+
data.tar.gz: 2e9611d5f1b99206a2c99f42720638321781563109e9b0e01345c9576dd6bbd9836c185b55233ea6d7c7ddeaf7c86d90a00605a52ba12d6f9527b7c9a6df5cc0
|
data/lib/relaton/db.rb
CHANGED
@@ -217,7 +217,7 @@ module Relaton
|
|
217
217
|
item = if file.match?(/xml$/) then processor.from_xml(content)
|
218
218
|
else processor.hash_to_bib(YAML.safe_load(content))
|
219
219
|
end
|
220
|
-
item if (edition.nil? || item.edition == edition) && (year.nil? ||
|
220
|
+
item if (edition.nil? || item.edition.content == edition) && (year.nil? ||
|
221
221
|
item.date.detect { |d| d.type == "published" && d.on(:year).to_s == year.to_s })
|
222
222
|
end
|
223
223
|
|
data/lib/relaton/version.rb
CHANGED
data/relaton.gemspec
CHANGED
@@ -29,27 +29,27 @@ Gem::Specification.new do |spec|
|
|
29
29
|
# spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
30
30
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
|
31
31
|
|
32
|
-
spec.add_dependency "relaton-3gpp", "~> 1.
|
33
|
-
spec.add_dependency "relaton-bipm", "~> 1.
|
34
|
-
spec.add_dependency "relaton-bsi", "~> 1.
|
35
|
-
spec.add_dependency "relaton-calconnect", "~> 1.
|
36
|
-
spec.add_dependency "relaton-cen", "~> 1.
|
37
|
-
spec.add_dependency "relaton-cie", "~> 1.
|
38
|
-
spec.add_dependency "relaton-ecma", "~> 1.
|
39
|
-
spec.add_dependency "relaton-gb", "~> 1.
|
40
|
-
spec.add_dependency "relaton-iana", "~> 1.
|
41
|
-
spec.add_dependency "relaton-iec", "~> 1.
|
42
|
-
spec.add_dependency "relaton-ieee", "~> 1.
|
43
|
-
spec.add_dependency "relaton-ietf", "~> 1.
|
44
|
-
spec.add_dependency "relaton-iho", "~> 1.
|
45
|
-
spec.add_dependency "relaton-iso", "~> 1.
|
46
|
-
spec.add_dependency "relaton-itu", "~> 1.
|
47
|
-
spec.add_dependency "relaton-nist", "~> 1.
|
48
|
-
spec.add_dependency "relaton-oasis", "~> 1.
|
49
|
-
spec.add_dependency "relaton-ogc", "~> 1.
|
50
|
-
spec.add_dependency "relaton-omg", "~> 1.
|
51
|
-
spec.add_dependency "relaton-un", "~> 1.
|
52
|
-
spec.add_dependency "relaton-w3c", "~> 1.
|
32
|
+
spec.add_dependency "relaton-3gpp", "~> 1.12.0"
|
33
|
+
spec.add_dependency "relaton-bipm", "~> 1.12.0"
|
34
|
+
spec.add_dependency "relaton-bsi", "~> 1.12.0"
|
35
|
+
spec.add_dependency "relaton-calconnect", "~> 1.12.0"
|
36
|
+
spec.add_dependency "relaton-cen", "~> 1.12.0"
|
37
|
+
spec.add_dependency "relaton-cie", "~> 1.12.0"
|
38
|
+
spec.add_dependency "relaton-ecma", "~> 1.12.0"
|
39
|
+
spec.add_dependency "relaton-gb", "~> 1.12.0"
|
40
|
+
spec.add_dependency "relaton-iana", "~> 1.12.0"
|
41
|
+
spec.add_dependency "relaton-iec", "~> 1.12.0"
|
42
|
+
spec.add_dependency "relaton-ieee", "~> 1.12.0"
|
43
|
+
spec.add_dependency "relaton-ietf", "~> 1.12.0"
|
44
|
+
spec.add_dependency "relaton-iho", "~> 1.12.0"
|
45
|
+
spec.add_dependency "relaton-iso", "~> 1.12.0"
|
46
|
+
spec.add_dependency "relaton-itu", "~> 1.12.0"
|
47
|
+
spec.add_dependency "relaton-nist", "~> 1.12.0"
|
48
|
+
spec.add_dependency "relaton-oasis", "~> 1.12.0"
|
49
|
+
spec.add_dependency "relaton-ogc", "~> 1.12.0"
|
50
|
+
spec.add_dependency "relaton-omg", "~> 1.12.0"
|
51
|
+
spec.add_dependency "relaton-un", "~> 1.12.0"
|
52
|
+
spec.add_dependency "relaton-w3c", "~> 1.12.0"
|
53
53
|
|
54
54
|
spec.add_development_dependency "byebug", "~> 11.0"
|
55
55
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
data/spec/relaton/db_spec.rb
CHANGED
@@ -178,7 +178,7 @@ RSpec.describe Relaton::Db do
|
|
178
178
|
refs = ["CGPM Resolution 1889-00", "CGPM Résolution 1889-00",
|
179
179
|
"CGPM Réunion 9", "CGPM Meeting 9"]
|
180
180
|
results = []
|
181
|
-
VCR.use_cassette "bipm_i18n_async_fetch" do
|
181
|
+
VCR.use_cassette "bipm_i18n_async_fetch", match_requests_on: %i[method uri body] do
|
182
182
|
refs.each do |ref|
|
183
183
|
db.fetch_async(ref) { |r| queue << [r, ref] }
|
184
184
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -41,29 +41,29 @@ http_interactions:
|
|
41
41
|
X-Xss-Protection:
|
42
42
|
- 1; mode=block
|
43
43
|
X-Github-Request-Id:
|
44
|
-
-
|
44
|
+
- 8632:A505:57A7C:6013A:62B49FA8
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
- Thu,
|
48
|
+
- Thu, 23 Jun 2022 17:15:20 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-vie6363-VIE
|
53
53
|
X-Cache:
|
54
54
|
- MISS
|
55
55
|
X-Cache-Hits:
|
56
56
|
- '0'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1656004520.417992,VS0,VE231
|
59
59
|
Vary:
|
60
60
|
- Authorization,Accept-Encoding,Origin
|
61
61
|
Access-Control-Allow-Origin:
|
62
62
|
- "*"
|
63
63
|
X-Fastly-Request-Id:
|
64
|
-
-
|
64
|
+
- e165b70d2170479617e6f38ce302ae4e577caea3
|
65
65
|
Expires:
|
66
|
-
- Thu,
|
66
|
+
- Thu, 23 Jun 2022 17:20:20 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
@@ -143,5 +143,5 @@ http_interactions:
|
|
143
143
|
freeze_stage3_meeting: SMG-28
|
144
144
|
close_meeting: SP-28
|
145
145
|
project_end: '1999-02-12'
|
146
|
-
recorded_at: Thu,
|
146
|
+
recorded_at: Thu, 23 Jun 2022 17:15:20 GMT
|
147
147
|
recorded_with: VCR 6.1.0
|