sorbet-runtime 0.6.13319 → 0.6.13320
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 +4 -4
- data/lib/types/props/decorator.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56f2d4a3622bd5e0926326c8870c236f80eb3593122cacdb712b0eaa7374ae2e
|
|
4
|
+
data.tar.gz: 6f14e6231fe4fec57e661a359814a038fd58bec6136eda6890f95676b81e46c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5af775cf558aa90be620bb9f299ba7b6bd1be28cdc6b39945226b66bc70e730db598bc02e215071fc358f597a751ab59311372f4d46293e5d2d36c750b3d890
|
|
7
|
+
data.tar.gz: 391e378e8f5cd33bd4b2e06b8e2453c127fa9fdf0ef9aef2bb38ff057e0c3b1e7a3253d64d53d93358da56369f78ddf320f2db3bf8f49d48c0c7eeb759d54eb4
|
|
@@ -631,7 +631,7 @@ class T::Props::Decorator
|
|
|
631
631
|
end
|
|
632
632
|
|
|
633
633
|
unless foreign.is_a?(Proc)
|
|
634
|
-
T::Configuration.
|
|
634
|
+
T::Configuration.hard_assert_handler(<<~MESSAGE, storytime: {prop: prop_name, value: foreign})
|
|
635
635
|
Please use a Proc that returns a model class instead of the model class itself as the argument to `foreign`. In other words:
|
|
636
636
|
|
|
637
637
|
instead of `prop :foo, String, foreign: FooModel`
|