ruby-lsp-rails 0.3.22 → 0.3.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_lsp/ruby_lsp_rails/hover.rb +1 -1
- data/lib/ruby_lsp_rails/version.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: 03f59a93f09d79b974b5a46176ef8d2745e361bce2247ca19bef22e72aa697f8
|
4
|
+
data.tar.gz: 7e65330c616d0db49d4d54f084284ac8fd9d181b271e68dce3f3408a66d81daf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d92c385c3e6b7e1615213434791295bc2e6488d6e3dd853946c2c1f59345a2e0dd44a1e3019ca46293b8f48423a656f6e756941fc4da5eb371fd084735b5bce
|
7
|
+
data.tar.gz: ac372a79150173f46c8ec6d72e686785f41b98d1d986502c360e91d5fb461e8b2a7bd4a348f617365fd42c4863b7c008e140d545c06639dbcb5946dd2ed33a10
|
@@ -71,7 +71,7 @@ module RubyLsp
|
|
71
71
|
primary_key_suffix = " (PK)" if model[:primary_keys].include?(name)
|
72
72
|
suffixes = []
|
73
73
|
suffixes << "default: #{format_default(default_value, type)}" if default_value
|
74
|
-
suffixes << "not null" unless nullable || primary_key_suffix
|
74
|
+
suffixes << "not null" unless nullable || primary_key_suffix
|
75
75
|
suffix_string = " - #{suffixes.join(" - ")}" if suffixes.any?
|
76
76
|
"**#{name}**: #{type}#{primary_key_suffix}#{suffix_string}\n"
|
77
77
|
end.join("\n"),
|