openapi3_parser 0.10.0 → 0.10.1

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: dc09689a55a25d70fd2be58c314a33732a74d9868082c35a71104f34b331ec4c
4
- data.tar.gz: 12a9d609fd51e4ab740a2a7895ba75079e288c69925b3da8c045c1b27981e2d0
3
+ metadata.gz: 42ba894b6aac11561e809cbd5e1e8ec443663363a9b330a84cc63b9ee35ddf6e
4
+ data.tar.gz: 672d0a724c17d4bbc3a1c4d1c5ab07cd1285f00a0bef938938a886670f8ba358
5
5
  SHA512:
6
- metadata.gz: 41873fba14f02dc8c94603dabdfde709fa4a8b10ea1e40090314c086f80c40345b4f342f54b6fbeb0eb33a3e0ca2a17fb863acbe2952005108341895462b59a2
7
- data.tar.gz: 86b516a12e7eacce495b208554dccdeb4f1e7478156f808f1e503bbe34c49a88a9a3aa05b22998ff0186341835f8fb417c004969a74d4cbe30fb48e58795bc95
6
+ metadata.gz: 4e5c29eb8fe790a1d498640f5e3fb1f34937ea2d1518f366c1b529aba4ac8fdfcd8ef5a3cc20ac60c39611c8a0145160cd96930b53c775367fda05976667e557
7
+ data.tar.gz: 66ea6dd61b7d0dc5866beb31e1f20bcb3e4856eb50441469b480eac2869724e380e7af1dd584f3e93855554c57c7e82e035c261994994c8fa6f9ea58e1befc04
@@ -3,7 +3,7 @@ jobs:
3
3
  test:
4
4
  strategy:
5
5
  matrix:
6
- ruby: [3.1, 3.2, 3.3]
6
+ ruby: [3.1, 3.2, 3.3, 3.4]
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
9
  - uses: actions/checkout@v4
@@ -15,7 +15,7 @@ jobs:
15
15
  run: bundle exec rake
16
16
  if: matrix.ruby != '3.1'
17
17
  - name: Test and publish coverage for Ruby ${{ matrix.ruby }}
18
- uses: paambaati/codeclimate-action@v2.7.5
18
+ uses: paambaati/codeclimate-action@v9.0.0
19
19
  env:
20
20
  CC_TEST_REPORTER_ID: 8bc2d8e54331569aeb442094c21cb64a58d6efa0670f65ff00d9ae887f63c0b4
21
21
  with:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.10.1
2
+
3
+ - Fix values of false being converted to nil -
4
+ https://github.com/kevindew/openapi3_parser/issues/28
5
+
1
6
  # 0.10.0
2
7
 
3
8
  - Support JSON pointer tokens of ~0 and ~1, thanks @kuboon
@@ -84,7 +84,7 @@ module Openapi3Parser
84
84
 
85
85
  def process_data(raw_data)
86
86
  field_configs.each_with_object(raw_data.dup) do |(field, config), memo|
87
- memo[field] = nil unless memo[field]
87
+ memo[field] = nil unless memo.key?(field)
88
88
  next unless config.factory?
89
89
 
90
90
  next_context = Context.next_field(context, field, memo[field])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openapi3Parser
4
- VERSION = "0.10.0"
4
+ VERSION = "0.10.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi3_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Dew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2025-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commonmarker