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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b68dba0dd4e2ef0480212720680d473f633988413073bedc42cdeae9a63e81ca
|
4
|
+
data.tar.gz: 85f4874cab8df854c80efe5f01e15219a6f0c0d683744e6e9e5d64ec00835ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80fac7af8f0703824630ba347004b8f417f59e0ef3d91b6a739458604846e490be629eaaf791a6cb22c8e444caa0d0e5ec4f42b52bd7d79ad005f101dc79e85f
|
7
|
+
data.tar.gz: 18e070f780b476c8e7ec24b6b925fd78b4bb6b1dfb1e6c9ac981dec3aa5727d157e5a54c48e578d510d694946249ec13b9df9eff23b06a22acc516812ec53a8b
|
data/CHANGELOG.md
CHANGED
@@ -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
|