Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Prism requirement to v0.20 #263

Merged
merged 4 commits into from
Feb 5, 2024
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
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
rbi (0.1.6)
prism (>= 0.18.0, < 0.20)
prism (>= 0.18.0, < 0.21)
sorbet-runtime (>= 0.5.9204)

GEM
Expand All @@ -27,7 +27,7 @@ GEM
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
prism (0.19.0)
prism (0.20.0)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
Expand Down Expand Up @@ -85,6 +85,7 @@ GEM
PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand Down
2 changes: 1 addition & 1 deletion lib/rbi/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ def visit_call_node(node)
def visit_assoc_node(node)
@current.params << SigParam.new(
node_string!(node.key).delete_suffix(":"),
node_string!(T.must(node.value)),
node_string!(node.value),
)
end
end
Expand Down
2 changes: 1 addition & 1 deletion rbi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
"Rakefile",
]

spec.add_dependency("prism", ">= 0.18.0", "< 0.20")
spec.add_dependency("prism", ">= 0.18.0", "< 0.21")
spec.add_dependency("sorbet-runtime", ">= 0.5.9204")
end
Loading
Loading