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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87907f659bf3723d803685fb91ee9ff1f83b9c3b63f8c394ac48a4592be40ab6
4
- data.tar.gz: dc9ba5353f094aa02d4f73a97de484c9a5a6086ad74427083e61366729620462
3
+ metadata.gz: 03f59a93f09d79b974b5a46176ef8d2745e361bce2247ca19bef22e72aa697f8
4
+ data.tar.gz: 7e65330c616d0db49d4d54f084284ac8fd9d181b271e68dce3f3408a66d81daf
5
5
  SHA512:
6
- metadata.gz: 9eb10192041cde7218dc73bbb9a315f3d9ad3c9c19580371839a21744f9bede5d0063d44bb4c78d53815bbd8811b6b5b33cdc05f6e3f14fd84b9afcb603e444f
7
- data.tar.gz: e97d8e5f5000cade9b6d876f0c2a261e0a91f3a4201ba249dbbf8385503cb237c796507a0c5901d5814bd2d78f3ae898e7ae42fd43bb98898502ddb56cd8cf05
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.present?
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"),
@@ -3,6 +3,6 @@
3
3
 
4
4
  module RubyLsp
5
5
  module Rails
6
- VERSION = "0.3.22"
6
+ VERSION = "0.3.23"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.22
4
+ version: 0.3.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify