diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ac4a4b8..2df7893 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,7 @@ # .github/workflows/main.yml name: CI -on: - push: - branches: - - main - pull_request: - branches: - - main +on: [push, pull_request] jobs: test-ruby-2-4-x: @@ -47,7 +41,7 @@ jobs: strategy: matrix: os: [ubuntu] - ruby-version: [2.6, 2.7, "3.0", 3.1, 3.2] + ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2"] steps: - uses: actions/checkout@v2 - name: Setup Ruby ${{ matrix.ruby-version }} diff --git a/.github/workflows/skunk.yml b/.github/workflows/skunk.yml index 839e707..80cb4a3 100644 --- a/.github/workflows/skunk.yml +++ b/.github/workflows/skunk.yml @@ -10,7 +10,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6 + ruby-version: 3.1 bundler-cache: true - name: Run test suite with COVERAGE=true run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b34d10..99fccfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * +* [BUGFIX: Update reek, rubocop, and terminal-table dependencies](https://github.com/fastruby/skunk/pull/111) * [BUGFIX: Better test coverage tracking for skunk](https://github.com/fastruby/skunk/pull/108) * [FEATURE: Add Ruby 3.2 Support](https://github.com/fastruby/skunk/pull/106) * [BUGFIX: Fix skunk workflow](https://github.com/fastruby/skunk/pull/104) diff --git a/Gemfile b/Gemfile index 8e5fdca..6412983 100644 --- a/Gemfile +++ b/Gemfile @@ -7,4 +7,6 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } # Specify your gem's dependencies in skunk.gemspec gemspec +gem "reek", "~> 6.1" +gem "rubocop", "~> 1.48" gem "vcr", "~> 6.1.0" diff --git a/Gemfile-Ruby-2-4 b/Gemfile-Ruby-2-4 index 0733169..3b6deb4 100644 --- a/Gemfile-Ruby-2-4 +++ b/Gemfile-Ruby-2-4 @@ -7,5 +7,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } # Specify your gem's dependencies in skunk.gemspec gemspec +gem "reek", "~> 6.0.0" +gem "rubocop", "~> 1.0" gem "simplecov", "< 0.19.0" gem "vcr", "< 6.1.0" diff --git a/Gemfile-Ruby-2-5 b/Gemfile-Ruby-2-5 index 0733169..3b6deb4 100644 --- a/Gemfile-Ruby-2-5 +++ b/Gemfile-Ruby-2-5 @@ -7,5 +7,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } # Specify your gem's dependencies in skunk.gemspec gemspec +gem "reek", "~> 6.0.0" +gem "rubocop", "~> 1.0" gem "simplecov", "< 0.19.0" gem "vcr", "< 6.1.0" diff --git a/skunk.gemspec b/skunk.gemspec index 8d75f26..d3225f2 100644 --- a/skunk.gemspec +++ b/skunk.gemspec @@ -39,7 +39,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency "rubycritic", ">= 4.5.2", "< 5.0" - spec.add_dependency "terminal-table", "~> 1.8.0" + spec.add_dependency "terminal-table", "~> 3.0" spec.add_development_dependency "codecov", "~> 0.1.16" spec.add_development_dependency "debug" @@ -48,8 +48,8 @@ Gem::Specification.new do |spec| spec.add_development_dependency "minitest-stub_any_instance", "~> 1.0.2" spec.add_development_dependency "minitest-stub-const", "~> 0.6" spec.add_development_dependency "rake", "~> 13.0" - spec.add_development_dependency "reek", "~> 6.0.0" - spec.add_development_dependency "rubocop", "~> 1.0" + spec.add_development_dependency "reek" + spec.add_development_dependency "rubocop" spec.add_development_dependency "simplecov", "~> 0.18" spec.add_development_dependency "simplecov-console", "0.5.0" spec.add_development_dependency "webmock", "~> 3.10.0"