Skip to content

Commit

Permalink
use prism version of at least 0.22.0 to get Ruby 2.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
exterm committed Feb 8, 2024
1 parent 55c1c78 commit 206c5ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PATH
constant_resolver (>= 0.2.0)
parallel
parser
prism (>= 0.21.0)
prism (>= 0.22.0)
sorbet-runtime (>= 0.5.9914)
zeitwerk (>= 2.6.1)

Expand Down Expand Up @@ -74,7 +74,7 @@ GEM
parser (3.2.2.0)
ast (~> 2.4.1)
prettier_print (0.1.0)
prism (0.21.0)
prism (0.22.0)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion packwerk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Gem::Specification.new do |spec|
# For Ruby parsing
spec.add_dependency("ast")
spec.add_dependency("parser")
spec.add_dependency("prism", ">= 0.21.0")
spec.add_dependency("prism", ">= 0.22.0") # 0.21.0 fixes numbered block params, 0.22.0 adds Ruby 2.7 compatibility

# For ERB parsing
spec.add_dependency("better_html")
Expand Down

0 comments on commit 206c5ba

Please sign in to comment.