sorbet-rails 0.7.26 → 0.7.27
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/sorbet-rails/model_rbi_formatter.rb +4 -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: 6e80eb4263d607a23eec096f9751339d944226b2feb2c1bc52ece8d2b7531128
|
4
|
+
data.tar.gz: df11889efd6ebcddc194293ba868e80d9a2b1e88d4783d10aeb954a99a1e1422
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04f2af9fb19e21bf584686158e874a33553551226e5c926d497f8c981199226a63d80f46e8b6badba42e6198508bb593a89d8a619849c4d71319c858dfea01ed
|
7
|
+
data.tar.gz: 0e14167c972be954efa22d1955dbb36938a73199f094c698a69759727eb95961b0a46e31a1a2b6d3bd3d9bb07cc60f3f16a755ae4c08e80f25f08fa2f4d713b8
|
@@ -28,7 +28,10 @@ class SorbetRails::ModelRbiFormatter
|
|
28
28
|
# Load all dynamic instance methods of this model by instantiating a fake model
|
29
29
|
@model_class.new unless @model_class.abstract_class?
|
30
30
|
rescue StandardError => err
|
31
|
-
puts
|
31
|
+
puts
|
32
|
+
puts "Note: Unable to create new instance of #{model_class_name}"
|
33
|
+
puts "Got a #{err.class}, with this message: #{err.message}"
|
34
|
+
puts
|
32
35
|
end
|
33
36
|
end
|
34
37
|
|