Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ group :development, optional: true do
end

# gem "rbs", path: "../rbs"
gem "rbs", "4.2.0.pre.1"
5 changes: 2 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PATH
parser (>= 3.2)
prism (>= 0.25.0)
rainbow (>= 2.2.2, < 4.0)
rbs (~> 4.0)
rbs (~> 4.2)
securerandom (>= 0.1)
strscan (>= 1.0.0)
terminal-table (>= 2, < 5)
Expand Down Expand Up @@ -63,7 +63,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rbs (4.2.0.pre.1)
rbs (4.2.0)
logger
prism (>= 1.6.0)
tsort
Expand Down Expand Up @@ -97,7 +97,6 @@ DEPENDENCIES
minitest-hooks
minitest-slow_test
rake
rbs (= 4.2.0.pre.1)
stackprof
steep!
vernier (~> 1.5)
Expand Down
2 changes: 1 addition & 1 deletion lib/steep/server/type_check_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def initialize(project:, reader:, writer:, assignment:, commandline_args:, io_so
@io_socket = io_socket
@service = service if service
@child_pids = []
@need_to_warmup = defined?(Process.warmup)
@need_to_warmup = true

if io_socket
Signal.trap "SIGCHLD" do
Expand Down
2 changes: 1 addition & 1 deletion sig/steep/server/type_check_worker.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ module Steep

attr_reader child_pids: Array[Integer]

attr_reader need_to_warmup: boolish
attr_reader need_to_warmup: bool

include ChangeBuffer

Expand Down
4 changes: 2 additions & 2 deletions steep.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.required_ruby_version = '>= 3.2.0'
spec.required_ruby_version = '>= 3.3.0'

spec.add_runtime_dependency "parser", ">= 3.2"
spec.add_runtime_dependency "prism", ">= 0.25.0"
spec.add_runtime_dependency "rainbow", ">= 2.2.2", "< 4.0"
spec.add_runtime_dependency "listen", "~> 3.0"
spec.add_runtime_dependency "language_server-protocol", ">= 3.17.0.4", "< 4.0"
spec.add_runtime_dependency "rbs", "~> 4.0"
spec.add_runtime_dependency "rbs", "~> 4.2"
spec.add_runtime_dependency "concurrent-ruby", ">= 1.1.10"
spec.add_runtime_dependency "terminal-table", ">= 2", "< 5"
spec.add_runtime_dependency "securerandom", ">= 0.1"
Expand Down