ruby-lsp-rails 0.3.23 → 0.3.24

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: 03f59a93f09d79b974b5a46176ef8d2745e361bce2247ca19bef22e72aa697f8
4
- data.tar.gz: 7e65330c616d0db49d4d54f084284ac8fd9d181b271e68dce3f3408a66d81daf
3
+ metadata.gz: 48996127a800b5450baaa8ace61a91fd292005d73ee607ce8577b028e451838e
4
+ data.tar.gz: be8de3ba4b390495d7075948f2e5698cf162930b4e4bf7c53855590d0519d3f7
5
5
  SHA512:
6
- metadata.gz: 1d92c385c3e6b7e1615213434791295bc2e6488d6e3dd853946c2c1f59345a2e0dd44a1e3019ca46293b8f48423a656f6e756941fc4da5eb371fd084735b5bce
7
- data.tar.gz: ac372a79150173f46c8ec6d72e686785f41b98d1d986502c360e91d5fb461e8b2a7bd4a348f617365fd42c4863b7c008e140d545c06639dbcb5946dd2ed33a10
6
+ metadata.gz: 70aaa8e246313469a5277aa0353b49e08ec5aec3fdeb551f08aa3414241986b38920b6c56bc502c84986a420a256866c9ab7fd005e643e9ea9b12b6afe54bab1
7
+ data.tar.gz: ae9de99e7de876062d2b2c6eb60fce7b2ed9e6dad51177485f5fcff7750fb87c2107987df6a80a9791bc39f4bd56eb5a2c74d4fa1cba70ccd6ea3fe356062387
@@ -259,7 +259,8 @@ module RubyLsp
259
259
  end
260
260
 
261
261
  def pending_migrations_message
262
- return unless defined?(ActiveRecord)
262
+ # `check_all_pending!` is only available since Rails 7.1
263
+ return unless defined?(ActiveRecord) && ActiveRecord::Migration.respond_to?(:check_all_pending!)
263
264
 
264
265
  ActiveRecord::Migration.check_all_pending!
265
266
  nil
@@ -3,6 +3,6 @@
3
3
 
4
4
  module RubyLsp
5
5
  module Rails
6
- VERSION = "0.3.23"
6
+ VERSION = "0.3.24"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.23
4
+ version: 0.3.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-lsp
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubygems_version: 3.5.22
83
+ rubygems_version: 3.5.23
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: A Ruby LSP addon for Rails