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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48f8284121fe854fd431ed4afa7a656206c17d4d1ddcb21ad6540db9ece53f15
4
- data.tar.gz: 454d04e4c206d9bf827690a656d8d60573ebebfb6a625af409e4b1be560d038e
3
+ metadata.gz: d172fb9555ca86f1b02e7aebfd3fb9ff0de38c016e3ff70c04a362d6a919d479
4
+ data.tar.gz: 838664f628c9ffa0fb948ce2812bf973664c4485b9322baf5fbe7f1f4894b2e4
5
5
  SHA512:
6
- metadata.gz: 16b265ab45002d654a716b994c6df15b48eafdd4617d3e1cc6e968905a5bd7172458c63c37213e3e2c1051a041b1cd1da9b97d108aba586b6b92137e5d7b8798
7
- data.tar.gz: 0305d518e223973cb92c269030cb356d30d7c609e8abf86899cc6ab017164e853258bf67989a76c8e39521c6b804ced86254e42131afd851c0629022c7711a4b
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
  # ------------------------------------
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Saphyr
4
- VERSION = "0.4.0.beta"
4
+ VERSION = "0.4.2.beta"
5
5
  end
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.0.beta
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: 2023-10-26 00:00:00.000000000 Z
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: 1.3.1
99
+ version: '0'
101
100
  requirements: []
102
- rubygems_version: 3.4.1
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.