saphyr 0.4.0.beta → 0.4.2.beta
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/CHANGELOG +6 -0
- data/lib/saphyr/helpers/format.rb +7 -0
- data/lib/saphyr/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d172fb9555ca86f1b02e7aebfd3fb9ff0de38c016e3ff70c04a362d6a919d479
|
|
4
|
+
data.tar.gz: 838664f628c9ffa0fb948ce2812bf973664c4485b9322baf5fbe7f1f4894b2e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2fb9ef59ea455da2490aee2a58f0a1af564ac71aa7ea246cf2e94bf1d7e5c934541aaffcd68b715d8622f257482b934ce74c947e6d8bc4911c28c83085075da
|
|
7
|
+
data.tar.gz: f5112099c3cd3a1d5d034717a3f72b7abad3af7133d5a1081c289371d4e390b9fe88dc99ed07b329b703829780e5535dff0a2234d4a49030ea4a3fde91bce48d
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
No changelog update during all the beta development phase.
|
|
2
2
|
|
|
3
|
+
-----------------------------------------------------------------
|
|
4
|
+
Version: 0.4.2.beta - 2025-05-06
|
|
5
|
+
-----------------------------------------------------------------
|
|
6
|
+
|
|
7
|
+
- Fix CVE-2024-47220 upgrade webrick to ~> 1.8.2
|
|
8
|
+
|
|
3
9
|
-----------------------------------------------------------------
|
|
4
10
|
Version: 0.1.0.beta - 2023-08-30
|
|
5
11
|
-----------------------------------------------------------------
|
|
@@ -91,6 +91,13 @@ module Saphyr
|
|
|
91
91
|
return 'Missing fields in schema'
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
# ------------------------------------
|
|
95
|
+
# Conditional fields
|
|
96
|
+
# ------------------------------------
|
|
97
|
+
if type.end_with? 'conditional:not-allowed'
|
|
98
|
+
return 'Conditional field not allowed'
|
|
99
|
+
end
|
|
100
|
+
|
|
94
101
|
# ------------------------------------
|
|
95
102
|
# Not Nullable
|
|
96
103
|
# ------------------------------------
|
data/lib/saphyr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saphyr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2.beta
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- odelbos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -82,7 +82,6 @@ licenses:
|
|
|
82
82
|
- MIT
|
|
83
83
|
metadata:
|
|
84
84
|
homepage_uri: https://github.com/odelbos/saphyr
|
|
85
|
-
source_code_uri: https://github.com/odelbos/saphyr
|
|
86
85
|
changelog_uri: https://github.com/odelbos/saphyr/blob/main/CHANGELOG
|
|
87
86
|
post_install_message:
|
|
88
87
|
rdoc_options: []
|
|
@@ -95,11 +94,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
95
94
|
version: 2.6.0
|
|
96
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
96
|
requirements:
|
|
98
|
-
- - "
|
|
97
|
+
- - ">="
|
|
99
98
|
- !ruby/object:Gem::Version
|
|
100
|
-
version:
|
|
99
|
+
version: '0'
|
|
101
100
|
requirements: []
|
|
102
|
-
rubygems_version: 3.
|
|
101
|
+
rubygems_version: 3.5.6
|
|
103
102
|
signing_key:
|
|
104
103
|
specification_version: 4
|
|
105
104
|
summary: The saphyr gem is used to validate JSON document.
|