diff --git a/CHANGELOG.md b/CHANGELOG.md index e70f83f6..bb241ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.8.1...main) +* [CHANGE] Bump aruba, cucumber, fakefs, flog, mdl, minitest, and rubocop dependencies (by [@faisal][]) * [CHANGE] Fix test warning related to `cucumber_opts` declaration (by [@faisal][]) * [BUGFIX] Stop using long-deprecated MiniTest module name, removed in 5.19.0 (by [@faisal][]) diff --git a/README.md b/README.md index d47e4ef7..09452a5d 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ See [formatters](docs/formatters.md) RubyCritic is supporting Ruby versions: | Ruby version | Latest RubyCritic version | -| - | - | +| --- | --- | | 2.4 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) | | 2.5 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) | | 2.6 | [v4.7.0](https://github.com/whitesmith/rubycritic/tree/v4.7.0) | diff --git a/rubycritic.gemspec b/rubycritic.gemspec index b0ab1287..9d4dc4cb 100644 --- a/rubycritic.gemspec +++ b/rubycritic.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.require_path = 'lib' spec.add_runtime_dependency 'flay', '~> 2.13' - spec.add_runtime_dependency 'flog', '~> 4.6' + spec.add_runtime_dependency 'flog', '~> 4.7' spec.add_runtime_dependency 'launchy', '>= 2.5.2' spec.add_runtime_dependency 'parser', '>= 3.2.2.1' spec.add_runtime_dependency 'rainbow', '~> 3.1.1' @@ -41,23 +41,23 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency 'tty-which', '~> 0.5.0' spec.add_runtime_dependency 'virtus', '~> 2.0' - spec.add_development_dependency 'aruba', '~> 2.1.0' + spec.add_development_dependency 'aruba', '~> 2.2.0' spec.add_development_dependency 'bundler', '>= 2.0.0' if RUBY_PLATFORM == 'java' spec.add_development_dependency 'pry-debugger-jruby' else spec.add_development_dependency 'byebug', '~> 11.0', '>= 10.0' end - spec.add_development_dependency 'cucumber', '~> 8.0.0' + spec.add_development_dependency 'cucumber', '~> 9.0.2' spec.add_development_dependency 'diff-lcs', '~> 1.3' - spec.add_development_dependency 'fakefs', '~> 2.4.0' - spec.add_development_dependency 'mdl', '~> 0.12.0' - spec.add_development_dependency 'minitest', '>= 5.3.0' + spec.add_development_dependency 'fakefs', '~> 2.5.0' + spec.add_development_dependency 'mdl', '~> 0.13.0', '>= 0.12.0' + spec.add_development_dependency 'minitest', '~> 5.20.0', '>= 5.3.0' spec.add_development_dependency 'minitest-around', '~> 0.5.0', '>= 0.4.0' spec.add_development_dependency 'mocha', '~> 2.1.0' spec.add_development_dependency 'rake', '~> 13.0.6', '>= 11.0.0' spec.add_development_dependency 'rexml', '>= 3.2.0' - spec.add_development_dependency 'rubocop', '~> 1.51.0' + spec.add_development_dependency 'rubocop', '~> 1.56.3', '>= 1.54.0' spec.add_development_dependency 'rubocop-minitest' spec.add_development_dependency 'rubocop-performance' spec.add_development_dependency 'rubocop-rake' diff --git a/test/lib/rubycritic/generators/console_report_test.rb b/test/lib/rubycritic/generators/console_report_test.rb index 268e507d..0a3b0dd8 100644 --- a/test/lib/rubycritic/generators/console_report_test.rb +++ b/test/lib/rubycritic/generators/console_report_test.rb @@ -23,7 +23,7 @@ it "starts the report with the module's name" do lines = @output.split("\n") - assert lines[0][/#{mock_analysed_module.name}/] + assert_operator lines[0], :[], /#{mock_analysed_module.name}/ end it "includes the module's rating in the report" do