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 dependencies #368

Merged
merged 1 commit into from
Jun 9, 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
66 changes: 34 additions & 32 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,76 +6,78 @@ PATH
parser (>= 3.3.0)

GEM
remote: https://oss:Px2ENN7S91OmWaD5G7MIQJi1dmtmYrEh@gem.mutant.dev/
remote: https://gem.mutant.dev/
specs:
mutant-license (0.1.1.2.2355046999240944981729280251890364410689.5)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
diff-lcs (1.5.0)
json (2.7.1)
diff-lcs (1.5.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
mutant (0.11.27)
mutant (0.12.2)
diff-lcs (~> 1.3)
parser (~> 3.3.0)
regexp_parser (~> 2.8.2)
regexp_parser (~> 2.9.0)
sorbet-runtime (~> 0.5.0)
unparser (~> 0.6.9)
mutant-rspec (0.11.27)
mutant (= 0.11.27)
mutant-rspec (0.12.2)
mutant (= 0.12.2)
rspec-core (>= 3.8.0, < 4.0.0)
parallel (1.24.0)
parser (3.3.0.2)
parallel (1.25.1)
parser (3.3.2.0)
ast (~> 2.4.1)
racc
racc (1.7.3)
racc (1.8.0)
rainbow (3.1.1)
regexp_parser (2.8.3)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
regexp_parser (2.9.2)
rexml (3.2.9)
strscan
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (~> 3.13.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.12.6)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.59.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.64.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-packaging (0.5.2)
rubocop (>= 1.33, < 2.0)
ruby-progressbar (1.13.0)
sorbet-runtime (0.5.11180)
sorbet-runtime (0.5.11422)
strscan (3.1.0)
unicode-display_width (2.5.0)

PLATFORMS
ruby

DEPENDENCIES
mutant (~> 0.11.27)
mutant (~> 0.12.2)
mutant-license!
mutant-rspec (~> 0.11.27)
mutant-rspec (~> 0.12.2)
rspec (~> 3.9)
rspec-core (~> 3.9)
rspec-its (~> 1.3.0)
Expand All @@ -84,4 +86,4 @@ DEPENDENCIES
unparser!

BUNDLED WITH
2.4.1
2.5.10
1 change: 1 addition & 0 deletions config/mutant.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
usage: opensource
includes:
- lib
integration: rspec
Expand Down
4 changes: 3 additions & 1 deletion lib/unparser/adamantium.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ def dup
# @return [Object]
#
# @api public
#
# mutant:disable
def freeze
memoized_method_cache
super()
super
end

private
Expand Down
3 changes: 1 addition & 2 deletions lib/unparser/ast/local_variable_scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module AST

# Calculated local variable scope for a given node
class LocalVariableScope
include Enumerable, Adamantium, Concord.new(:node)
include Enumerable, Adamantium

# Initialize object
#
Expand All @@ -21,7 +21,6 @@ def initialize(node)
items << scope
end
@items = items
super(node)
end

# Test if local variable was first at given assignment
Expand Down
4 changes: 3 additions & 1 deletion spec/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
- name: mutant
repo_uri: 'https://github.com/mbj/mutant.git'
repo_ref: 'main'
exclude: []
exclude:
# bug in unparser, to be fixed in followup PRs
- spec/integration/mutant/parallel_spec.rb
- name: rubyspec
repo_uri: 'https://github.com/ruby/spec.git'
# Revision of rubyspec on the last CI build of unparser that passed
Expand Down
4 changes: 2 additions & 2 deletions unparser.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Gem::Specification.new do |gem|
gem.add_dependency('diff-lcs', '~> 1.3')
gem.add_dependency('parser', '>= 3.3.0')

gem.add_development_dependency('mutant', '~> 0.11.27')
gem.add_development_dependency('mutant-rspec', '~> 0.11.27')
gem.add_development_dependency('mutant', '~> 0.12.2')
gem.add_development_dependency('mutant-rspec', '~> 0.12.2')
gem.add_development_dependency('rspec', '~> 3.9')
gem.add_development_dependency('rspec-core', '~> 3.9')
gem.add_development_dependency('rspec-its', '~> 1.3.0')
Expand Down