foobara 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b60c0cc3d83cf48f2ddf1f1e894780ac6734fbc900f7eed95a2330b22e3be91a
4
- data.tar.gz: 33d2d647bbc84b7452dc0bd49d63bd011bba7ee1c7efec41a927dc31bdaf5e9c
3
+ metadata.gz: b68dba0dd4e2ef0480212720680d473f633988413073bedc42cdeae9a63e81ca
4
+ data.tar.gz: 85f4874cab8df854c80efe5f01e15219a6f0c0d683744e6e9e5d64ec00835ca3
5
5
  SHA512:
6
- metadata.gz: 70a2aad2daf712a50b363cf909a203e393b76ea5e1591d36800030df1dc338eabfeceb233e45dc9a08d2174077c31f389c96b58eb703c6b1666c0a7eff71fc44
7
- data.tar.gz: 13708b13ba186780158224396be937ebdbceda0dd8ff0ac8d07ede3b35dda71013a14413f2548b2891d1ef1a7b54333b0d0383322e6fd3e08a5786d2f6ac1be0
6
+ metadata.gz: 80fac7af8f0703824630ba347004b8f417f59e0ef3d91b6a739458604846e490be629eaaf791a6cb22c8e444caa0d0e5ec4f42b52bd7d79ad005f101dc79e85f
7
+ data.tar.gz: 18e070f780b476c8e7ec24b6b925fd78b4bb6b1dfb1e6c9ac981dec3aa5727d157e5a54c48e578d510d694946249ec13b9df9eff23b06a22acc516812ec53a8b
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
- ## [0.0.44] - 2025-01-03
1
+ ## [0.0.45] - 2025-01-03
2
2
 
3
3
  - Bumped Ruby from 3.2.2 to 3.4.1
4
4
  - Allow passing in a module when registering a "builtin" type
5
+ - Fix AttributesHandlerDesugarizer bug
5
6
 
6
7
  ## [0.0.42] - 2024-12-23
7
8
 
@@ -4,7 +4,7 @@ module Foobara
4
4
  class ExtendModelTypeDeclaration < ExtendRegisteredTypeDeclaration
5
5
  class AttributesHandlerDesugarizer < TypeDeclarations::Desugarizer
6
6
  def applicable?(sugary_type_declaration)
7
- sugary_type_declaration[:type] == expected_type_symbol
7
+ sugary_type_declaration.is_a?(::Hash) && sugary_type_declaration[:type] == expected_type_symbol
8
8
  end
9
9
 
10
10
  def expected_type_symbol
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.44
4
+ version: 0.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi