steep 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/steep/server/master.rb +11 -1
- data/lib/steep/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f40f4acb0e71a6cfd2b751297f2fc1a9cd18a87545d24cec51c0da5f1e9792e
|
4
|
+
data.tar.gz: 947ea73b078a7c1b9dc37e2855a6e483d1bbc919414b97226a3393bf92cb6bf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b146bd6a93a59b5ec7a3029b061fc352c1e93c9bd87cfac89783b9a54175f076bc208a6f94adc32fa2a1802fdc94a422f1c64fbca555eb5ad93481ce7ff88b5d
|
7
|
+
data.tar.gz: d746bee9df6ab60f43811ec81a415348927bde046cba2cf7b2dd5e4204438e9dc317456ed9d61358fbbfe22125c569451687b9d528b17d1792e470e29dac43c1
|
data/CHANGELOG.md
CHANGED
data/lib/steep/server/master.rb
CHANGED
@@ -702,13 +702,17 @@ module Steep
|
|
702
702
|
end
|
703
703
|
|
704
704
|
when "workspace/didChangeWatchedFiles"
|
705
|
+
updated_watched_files = [] #: Array[Pathname]
|
706
|
+
|
705
707
|
message[:params][:changes].each do |change|
|
706
708
|
uri = change[:uri]
|
707
709
|
type = change[:type]
|
708
710
|
|
709
|
-
path = PathHelper.to_pathname(uri)
|
711
|
+
path = PathHelper.to_pathname!(uri)
|
710
712
|
|
711
713
|
unless controller.priority_paths.include?(path)
|
714
|
+
updated_watched_files << path
|
715
|
+
|
712
716
|
controller.push_changes(path)
|
713
717
|
|
714
718
|
case type
|
@@ -720,10 +724,16 @@ module Steep
|
|
720
724
|
end
|
721
725
|
|
722
726
|
content or raise
|
727
|
+
|
723
728
|
broadcast_notification(CustomMethods::FileReset.notification({ uri: uri, content: content }))
|
724
729
|
end
|
725
730
|
end
|
726
731
|
|
732
|
+
if updated_watched_files.empty?
|
733
|
+
Steep.logger.info { "Exit from workspace/didChangeWatchedFiles notification because all of the changed files are already open" }
|
734
|
+
return
|
735
|
+
end
|
736
|
+
|
727
737
|
if typecheck_automatically
|
728
738
|
start_type_checking_queue.execute do
|
729
739
|
job_queue.push(
|
data/lib/steep/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: steep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -410,7 +410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
410
410
|
- !ruby/object:Gem::Version
|
411
411
|
version: '0'
|
412
412
|
requirements: []
|
413
|
-
rubygems_version: 3.5.
|
413
|
+
rubygems_version: 3.5.11
|
414
414
|
signing_key:
|
415
415
|
specification_version: 4
|
416
416
|
summary: Gradual Typing for Ruby
|