rsmp_schema 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/rsmp_schema/convert/export/json_schema.rb +5 -0
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/tlc/1.0.10/sxl.yaml +2 -6
- data/schemas/tlc/1.0.13/sxl.yaml +2 -6
- data/schemas/tlc/1.0.14/sxl.yaml +2 -6
- data/schemas/tlc/1.0.15/sxl.yaml +2 -6
- data/schemas/tlc/1.0.7/sxl.yaml +2 -6
- data/schemas/tlc/1.0.8/sxl.yaml +2 -6
- data/schemas/tlc/1.0.9/sxl.yaml +2 -6
- data/schemas/tlc/1.1/sxl.yaml +3 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f2170f1bbefd3db2199f03c40107e648b154595d9a74596a860e7bc85545ffe
|
|
4
|
+
data.tar.gz: 7db0cca81868bf6ee9daf54ea883b950348c45d7d6f210baa33372815fda0d8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee609bf920e98dfb869ce55b40c12e7b8a8f5e7407c146b58c34ed5b981fb5e7ddbff74640d98e33b74fba5efba6e6e06504f9e47fda4b2bd7e88d48409280cd
|
|
7
|
+
data.tar.gz: c97a92765678a5af6d3309662ef21c7530d616b56ab7cb3c7fb59f4b5e5a5b1c515ee0c65e08ef8976837db770115ce9c008fa946a93dd09e6268572c4b7c80f
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rsmp_schema (0.4.
|
|
4
|
+
rsmp_schema (0.4.3)
|
|
5
5
|
json_schemer (~> 0.2.21)
|
|
6
6
|
thor (~> 1.2.1)
|
|
7
7
|
|
|
@@ -29,7 +29,7 @@ GEM
|
|
|
29
29
|
rspec-expectations (3.11.1)
|
|
30
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
31
31
|
rspec-support (~> 3.11.0)
|
|
32
|
-
rspec-mocks (3.11.
|
|
32
|
+
rspec-mocks (3.11.2)
|
|
33
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
34
34
|
rspec-support (~> 3.11.0)
|
|
35
35
|
rspec-support (3.11.1)
|
|
@@ -110,6 +110,11 @@ module RSMP
|
|
|
110
110
|
if item["values"]
|
|
111
111
|
out["enum"] = case item["values"]
|
|
112
112
|
when Hash
|
|
113
|
+
item["values"].each_pair do |k,v|
|
|
114
|
+
if v=='' or v==nil
|
|
115
|
+
raise "Error: '#{k}' has empty value in #{item}. (When using a hash to specify 'values', the hash values cannot be empty.)"
|
|
116
|
+
end
|
|
117
|
+
end
|
|
113
118
|
item["values"].keys.sort
|
|
114
119
|
when Array
|
|
115
120
|
item["values"].sort
|
data/lib/rsmp_schema/version.rb
CHANGED
data/schemas/tlc/1.0.10/sxl.yaml
CHANGED
|
@@ -857,9 +857,7 @@ objects:
|
|
|
857
857
|
errormode:
|
|
858
858
|
type: string
|
|
859
859
|
description: Detector forced on/off while detector error
|
|
860
|
-
values:
|
|
861
|
-
'on': ''
|
|
862
|
-
'off': ''
|
|
860
|
+
values: ['on','off']
|
|
863
861
|
manual:
|
|
864
862
|
type: boolean
|
|
865
863
|
description: Manually controlled detector logic (True/False)
|
|
@@ -884,9 +882,7 @@ objects:
|
|
|
884
882
|
errormode:
|
|
885
883
|
type: string
|
|
886
884
|
description: Detector forced on/off while detector error
|
|
887
|
-
values:
|
|
888
|
-
'on': ''
|
|
889
|
-
'off': ''
|
|
885
|
+
values: ['on','off']
|
|
890
886
|
manual:
|
|
891
887
|
type: boolean
|
|
892
888
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.0.13/sxl.yaml
CHANGED
|
@@ -1159,9 +1159,7 @@ objects:
|
|
|
1159
1159
|
errormode:
|
|
1160
1160
|
type: string
|
|
1161
1161
|
description: Detector forced on/off while detector error
|
|
1162
|
-
values:
|
|
1163
|
-
'on': ''
|
|
1164
|
-
'off': ''
|
|
1162
|
+
values: ['on','off']
|
|
1165
1163
|
manual:
|
|
1166
1164
|
type: boolean
|
|
1167
1165
|
description: Manually controlled detector logic (True/False)
|
|
@@ -1186,9 +1184,7 @@ objects:
|
|
|
1186
1184
|
errormode:
|
|
1187
1185
|
type: string
|
|
1188
1186
|
description: Detector forced on/off while detector error
|
|
1189
|
-
values:
|
|
1190
|
-
'on': ''
|
|
1191
|
-
'off': ''
|
|
1187
|
+
values: ['on','off']
|
|
1192
1188
|
manual:
|
|
1193
1189
|
type: boolean
|
|
1194
1190
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.0.14/sxl.yaml
CHANGED
|
@@ -1297,9 +1297,7 @@ objects:
|
|
|
1297
1297
|
errormode:
|
|
1298
1298
|
type: string
|
|
1299
1299
|
description: Detector forced on/off while detector error
|
|
1300
|
-
values:
|
|
1301
|
-
'on': ''
|
|
1302
|
-
'off': ''
|
|
1300
|
+
values: ['on','off']
|
|
1303
1301
|
manual:
|
|
1304
1302
|
type: boolean
|
|
1305
1303
|
description: Manually controlled detector logic (True/False)
|
|
@@ -1324,9 +1322,7 @@ objects:
|
|
|
1324
1322
|
errormode:
|
|
1325
1323
|
type: string
|
|
1326
1324
|
description: Detector forced on/off while detector error
|
|
1327
|
-
values:
|
|
1328
|
-
'on': ''
|
|
1329
|
-
'off': ''
|
|
1325
|
+
values: ['on','off']
|
|
1330
1326
|
manual:
|
|
1331
1327
|
type: boolean
|
|
1332
1328
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.0.15/sxl.yaml
CHANGED
|
@@ -1436,9 +1436,7 @@ objects:
|
|
|
1436
1436
|
errormode:
|
|
1437
1437
|
type: string
|
|
1438
1438
|
description: Detector forced on/off while detector error
|
|
1439
|
-
values:
|
|
1440
|
-
'on': ''
|
|
1441
|
-
'off': ''
|
|
1439
|
+
values: ['on','off']
|
|
1442
1440
|
manual:
|
|
1443
1441
|
type: boolean
|
|
1444
1442
|
description: Manually controlled detector logic (True/False)
|
|
@@ -1463,9 +1461,7 @@ objects:
|
|
|
1463
1461
|
errormode:
|
|
1464
1462
|
type: string
|
|
1465
1463
|
description: Detector forced on/off while detector error
|
|
1466
|
-
values:
|
|
1467
|
-
'on': ''
|
|
1468
|
-
'off': ''
|
|
1464
|
+
values: ['on','off']
|
|
1469
1465
|
manual:
|
|
1470
1466
|
type: boolean
|
|
1471
1467
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.0.7/sxl.yaml
CHANGED
|
@@ -828,9 +828,7 @@ objects:
|
|
|
828
828
|
errormode:
|
|
829
829
|
type: string
|
|
830
830
|
description: Detector forced on/off while detector error
|
|
831
|
-
values:
|
|
832
|
-
'on': ''
|
|
833
|
-
'off': ''
|
|
831
|
+
values: ['on','off']
|
|
834
832
|
manual:
|
|
835
833
|
type: boolean
|
|
836
834
|
description: Manually controlled detector logic (True/False)
|
|
@@ -855,9 +853,7 @@ objects:
|
|
|
855
853
|
errormode:
|
|
856
854
|
type: string
|
|
857
855
|
description: Detector forced on/off while detector error
|
|
858
|
-
values:
|
|
859
|
-
'on': ''
|
|
860
|
-
'off': ''
|
|
856
|
+
values: ['on','off']
|
|
861
857
|
manual:
|
|
862
858
|
type: boolean
|
|
863
859
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.0.8/sxl.yaml
CHANGED
|
@@ -857,9 +857,7 @@ objects:
|
|
|
857
857
|
errormode:
|
|
858
858
|
type: string
|
|
859
859
|
description: Detector forced on/off while detector error
|
|
860
|
-
values:
|
|
861
|
-
'on': ''
|
|
862
|
-
'off': ''
|
|
860
|
+
values: ['on','off']
|
|
863
861
|
manual:
|
|
864
862
|
type: boolean
|
|
865
863
|
description: Manually controlled detector logic (True/False)
|
|
@@ -884,9 +882,7 @@ objects:
|
|
|
884
882
|
errormode:
|
|
885
883
|
type: string
|
|
886
884
|
description: Detector forced on/off while detector error
|
|
887
|
-
values:
|
|
888
|
-
'on': ''
|
|
889
|
-
'off': ''
|
|
885
|
+
values: ['on','off']
|
|
890
886
|
manual:
|
|
891
887
|
type: boolean
|
|
892
888
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.0.9/sxl.yaml
CHANGED
|
@@ -857,9 +857,7 @@ objects:
|
|
|
857
857
|
errormode:
|
|
858
858
|
type: string
|
|
859
859
|
description: Detector forced on/off while detector error
|
|
860
|
-
values:
|
|
861
|
-
'on': ''
|
|
862
|
-
'off': ''
|
|
860
|
+
values: ['on','off']
|
|
863
861
|
manual:
|
|
864
862
|
type: boolean
|
|
865
863
|
description: Manually controlled detector logic (True/False)
|
|
@@ -884,9 +882,7 @@ objects:
|
|
|
884
882
|
errormode:
|
|
885
883
|
type: string
|
|
886
884
|
description: Detector forced on/off while detector error
|
|
887
|
-
values:
|
|
888
|
-
'on': ''
|
|
889
|
-
'off': ''
|
|
885
|
+
values: ['on','off']
|
|
890
886
|
manual:
|
|
891
887
|
type: boolean
|
|
892
888
|
description: Manually controlled detector logic (True/False)
|
data/schemas/tlc/1.1/sxl.yaml
CHANGED
|
@@ -1887,9 +1887,7 @@ objects:
|
|
|
1887
1887
|
errormode:
|
|
1888
1888
|
type: string
|
|
1889
1889
|
description: Detector forced on/off while detector error
|
|
1890
|
-
values:
|
|
1891
|
-
'on': # on/off must be quoted, otherwise they are converted to true/false
|
|
1892
|
-
'off':
|
|
1890
|
+
values: ['on','off']
|
|
1893
1891
|
manual:
|
|
1894
1892
|
type: boolean
|
|
1895
1893
|
description: Manually controlled detector logic (True/False)
|
|
@@ -1913,9 +1911,7 @@ objects:
|
|
|
1913
1911
|
errormode:
|
|
1914
1912
|
type: string
|
|
1915
1913
|
description: Detector forced on/off while detector error
|
|
1916
|
-
values:
|
|
1917
|
-
'on': ''
|
|
1918
|
-
'off': ''
|
|
1914
|
+
values: ['on','off']
|
|
1919
1915
|
manual:
|
|
1920
1916
|
type: boolean
|
|
1921
1917
|
description: Manually controlled detector logic (True/False)
|
|
@@ -1945,7 +1941,6 @@ objects:
|
|
|
1945
1941
|
errormode:
|
|
1946
1942
|
type: string
|
|
1947
1943
|
description: Detector forced on/off while detector error
|
|
1948
|
-
# note that on and off must be quoted, otherwise they are parsed as true and false
|
|
1949
1944
|
values: ['on','off']
|
|
1950
1945
|
manual:
|
|
1951
1946
|
type: boolean
|
|
@@ -1970,6 +1965,7 @@ objects:
|
|
|
1970
1965
|
errormode:
|
|
1971
1966
|
type: string
|
|
1972
1967
|
description: Detector forced on/off while detector error
|
|
1968
|
+
# on/off must be quoted, otherwise they are parsed as true/false
|
|
1973
1969
|
values: ['on','off']
|
|
1974
1970
|
manual:
|
|
1975
1971
|
type: boolean
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rsmp_schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emil Tin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json_schemer
|