Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ruby-3.2, ruby-3.3, ruby-3.4]
ruby: [ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ruby-3.2, ruby-3.3, ruby-3.4]
ruby: [ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand All @@ -53,7 +53,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ruby-3.2, ruby-3.3, ruby-3.4]
ruby: [ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand All @@ -69,7 +69,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ruby-3.2, ruby-3.3, ruby-3.4]
ruby: [ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand All @@ -85,7 +85,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ruby-3.2, ruby-3.3, ruby-3.4]
ruby: [ruby-3.2, ruby-3.3, ruby-3.4, ruby-4.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

source 'https://rubygems.org'

gem 'mutant', git: 'https://github.com/mbj/mutant'
gem 'mutant-rspec', git: 'https://github.com/mbj/mutant'

gemspec
83 changes: 45 additions & 38 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
GIT
remote: https://github.com/mbj/mutant
revision: a132c7bacbc4f3bd02bbe02d8b64de08d465ac7f
specs:
mutant (0.14.0)
diff-lcs (~> 1.3)
irb (~> 1.15)
parser (~> 3.3.0)
regexp_parser (~> 2.10)
sorbet-runtime (~> 0.6.0)
unparser (~> 0.8.0)
mutant-rspec (0.14.0)
mutant (= 0.14.0)
rspec-core (>= 3.8.0, < 4.0.0)

PATH
remote: .
specs:
Expand All @@ -10,92 +25,84 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.3)
date (3.4.1)
date (3.5.1)
diff-lcs (1.6.2)
erb (5.0.1)
io-console (0.8.0)
irb (1.15.2)
erb (6.0.1)
io-console (0.8.2)
irb (1.16.0)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.12.2)
json (2.18.0)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
mutant (0.13.2)
diff-lcs (~> 1.3)
irb (~> 1.15.2)
parser (~> 3.3.0)
regexp_parser (~> 2.10)
sorbet-runtime (~> 0.5.0)
unparser (~> 0.8.0)
mutant-rspec (0.13.2)
mutant (= 0.13.2)
rspec-core (>= 3.8.0, < 4.0.0)
parallel (1.27.0)
parser (3.3.8.0)
parser (3.3.10.0)
ast (~> 2.4.1)
racc
pp (0.6.2)
pp (0.6.3)
prettyprint
prettyprint (0.2.0)
prism (1.5.1)
psych (5.2.6)
prism (1.7.0)
psych (5.3.1)
date
stringio
racc (1.8.1)
rainbow (3.1.1)
rdoc (6.14.1)
rdoc (7.0.3)
erb
psych (>= 4.0.0)
regexp_parser (2.10.0)
reline (0.6.1)
tsort
regexp_parser (2.11.3)
reline (0.6.3)
io-console (~> 0.5)
rspec (3.13.1)
rspec (3.13.2)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.4)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-its (1.3.1)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.13.5)
rspec-mocks (3.13.7)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.4)
rubocop (1.76.2)
rspec-support (3.13.6)
rubocop (1.82.1)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.45.1, < 2.0)
rubocop-ast (>= 1.48.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.45.1)
rubocop-ast (1.49.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
prism (~> 1.7)
rubocop-packaging (0.6.0)
lint_roller (~> 1.1.0)
rubocop (>= 1.72.1, < 2.0)
ruby-progressbar (1.13.0)
sorbet-runtime (0.5.12194)
stringio (3.1.7)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
sorbet-runtime (0.6.12873)
stringio (3.2.0)
tsort (0.2.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
mutant (~> 0.13.2)
mutant-rspec (~> 0.13.0)
mutant!
mutant-rspec!
rspec (~> 3.13)
rspec-core (~> 3.13)
rspec-its (~> 1.3.0)
Expand All @@ -104,4 +111,4 @@ DEPENDENCIES
unparser!

BUNDLED WITH
2.7.0
4.0.3
1 change: 1 addition & 0 deletions lib/unparser/ast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class AST
kwoptarg
kwrestarg
lvasgn
match_var
optarg
restarg
].to_set.freeze
Expand Down
4 changes: 4 additions & 0 deletions test/corpus/semantic/pattern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@
in %q[a b c $FILE]
end
a in b, and c
begin
foo => e
e()
end
4 changes: 2 additions & 2 deletions unparser.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Gem::Specification.new do |gem|
gem.add_dependency('parser', '>= 3.3.0')
gem.add_dependency('prism', '>= 1.5.1')

gem.add_development_dependency('mutant', '~> 0.13.2')
gem.add_development_dependency('mutant-rspec', '~> 0.13.0')
gem.add_development_dependency('mutant', '~> 0.14')
gem.add_development_dependency('mutant-rspec', '~> 0.14')
gem.add_development_dependency('rspec', '~> 3.13')
gem.add_development_dependency('rspec-core', '~> 3.13')
gem.add_development_dependency('rspec-its', '~> 1.3.0')
Expand Down
Loading