Skip to content

Commit

Permalink
Merge pull request #263 from Shopify/vs/upgrade_prism_requirement
Browse files Browse the repository at this point in the history
Upgrade Prism requirement to v0.20
  • Loading branch information
vinistock authored Feb 5, 2024
2 parents bf20f0d + fefcb98 commit e1e4d45
Show file tree
Hide file tree
Showing 5 changed files with 5,406 additions and 3,696 deletions.
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

0 comments on commit e1e4d45

Please sign in to comment.