ruby-lsp-rails 0.3.30 → 0.3.31
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/ruby_lsp/ruby_lsp_rails/addon.rb +17 -6
- data/lib/ruby_lsp_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1d9f0d516dcad6d833e05e05defd6ba7ea0bbb3fb2b0c48e7edb9709306d854
|
|
4
|
+
data.tar.gz: 41b2f9dec0e1ba1d3d4d92a5eb1b4ad5dfd6b6d8c3e62b69822ac156f3232bfd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4421fb81f4cffaa89abe05244ec8bcc2da8ffa0e27b5f7c310c49747d7b2e20a6eec85b58dfe77f5107bd8281ca9d2e61a5f70b2d100c5938f4a2932deedfd0
|
|
7
|
+
data.tar.gz: aa8476c6f72a66782d9d8b3225944c862f708cd9fc60fd17cf871d9f3332885bd0b7060cbf778710e9213686d5e24c1e415327c14a00a738e28f934dfae156c7
|
|
@@ -223,12 +223,7 @@ module RubyLsp
|
|
|
223
223
|
id: "workspace/didChangeWatchedFilesRails",
|
|
224
224
|
method: "workspace/didChangeWatchedFiles",
|
|
225
225
|
register_options: Interface::DidChangeWatchedFilesRegistrationOptions.new(
|
|
226
|
-
watchers: [
|
|
227
|
-
Interface::FileSystemWatcher.new(
|
|
228
|
-
glob_pattern: "**/*structure.sql",
|
|
229
|
-
kind: Constant::WatchKind::CREATE | Constant::WatchKind::CHANGE | Constant::WatchKind::DELETE,
|
|
230
|
-
),
|
|
231
|
-
],
|
|
226
|
+
watchers: [structure_sql_file_watcher, fixture_file_watcher],
|
|
232
227
|
),
|
|
233
228
|
),
|
|
234
229
|
],
|
|
@@ -236,6 +231,22 @@ module RubyLsp
|
|
|
236
231
|
)
|
|
237
232
|
end
|
|
238
233
|
|
|
234
|
+
sig { returns(Interface::FileSystemWatcher) }
|
|
235
|
+
def structure_sql_file_watcher
|
|
236
|
+
Interface::FileSystemWatcher.new(
|
|
237
|
+
glob_pattern: "**/*structure.sql",
|
|
238
|
+
kind: Constant::WatchKind::CREATE | Constant::WatchKind::CHANGE | Constant::WatchKind::DELETE,
|
|
239
|
+
)
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
sig { returns(Interface::FileSystemWatcher) }
|
|
243
|
+
def fixture_file_watcher
|
|
244
|
+
Interface::FileSystemWatcher.new(
|
|
245
|
+
glob_pattern: "**/fixtures/**/*.{yml,yaml,yml.erb,yaml.erb}",
|
|
246
|
+
kind: Constant::WatchKind::CREATE | Constant::WatchKind::CHANGE | Constant::WatchKind::DELETE,
|
|
247
|
+
)
|
|
248
|
+
end
|
|
249
|
+
|
|
239
250
|
sig { void }
|
|
240
251
|
def offer_to_run_pending_migrations
|
|
241
252
|
return unless @outgoing_queue
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-lsp-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-01-
|
|
10
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: ruby-lsp
|