webauthn 3.2.0 → 3.2.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: 4c12ae44afd20ab7e2ce40cebe5c9de5e484021e8451d92170c273c3834cff2c
4
- data.tar.gz: 7620de8b66df1cef59017d63279e34392f9feb7563bace0983bebb4639fe8367
3
+ metadata.gz: 4531338c1a9301a58aea6f70458311891a81c06f50e2c223eb812ec24e980e2c
4
+ data.tar.gz: fae69f115e3f93a942446d30115e0268b0a73bd13a9a565b4235ed5103ab7b98
5
5
  SHA512:
6
- metadata.gz: 9ddbcea15e661c12505cfebe6b53751fe4ca3728bdc81ceb31ad8bb0d60b4e1edb2c4c6e39fc15ef7f5461b09c1398a5f2e980a490d50d9cd34a773a5e785ea1
7
- data.tar.gz: 4a08733f208fad69a5fa1a6fe8c136565405857a710228c5d7a2473e6b95988960e71dd43471d05e56b4048d62d5e79256bc9d64cafefd03adacf4b79de6c0d1
6
+ metadata.gz: '038380bb699e7e9d8ee728b256ae2de062bebed3b9531174c5d428e210bcb6896ba4907ea17343239193900d7d1ffc97bde73e99323e12b8377887f7ba0dcd9a'
7
+ data.tar.gz: eb7062a1dde7a0099154580075bf060a32bdcf000c8156c77048829e38e89e227e0f3d5a15f2d80ba9c408733f94c399bb96f8d19a184bad36943f8309ce3d4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.2.1] - 2024-11-14
4
+
5
+ ### Fixed
6
+
7
+ - Fix JSON Serializer generating json with attributes with a null value. [#442](https://github.com/cedarcode/webauthn-ruby/pull/442) @santiagorodriguez96
8
+
3
9
  ## [v3.2.0] - 2024-11-13
4
10
 
5
11
  ### Added
@@ -13,7 +13,7 @@ module WebAuthn
13
13
  attributes.each_with_object({}) do |attribute_name, hash|
14
14
  value = send(attribute_name)
15
15
 
16
- if value.respond_to?(:as_json)
16
+ if value && value.respond_to?(:as_json)
17
17
  hash[camelize(attribute_name)] = value.as_json
18
18
  elsif value
19
19
  hash[camelize(attribute_name)] = deep_camelize_keys(value)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WebAuthn
4
- VERSION = "3.2.0"
4
+ VERSION = "3.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webauthn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Rodriguez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-11-13 00:00:00.000000000 Z
12
+ date: 2024-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: android_key_attestation