diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54f1a98bc..aef2967bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - ruby: [2.7, '3.0', 3.1, 3.2] + ruby: ['3.0', 3.1, 3.2, 3.3] steps: - name: Checkout code @@ -31,8 +31,11 @@ jobs: run: | bundle exec rubocop + # Runs Specs which are not tagged as slow first to speed up the process in case of failure in those + # Then will run the full specs suite (and generate the final coverage report) - name: rspec run: | + bundle exec rspec --tag ~slow bundle exec rspec - name: Coveralls diff --git a/README.md b/README.md index a57541c61..71ebffdc1 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ ## Prerequisites - (Optional but highly recommended: [RVM](https://rvm.io/rvm/install)) -- Ruby >= 2.7 - Recommended: latest +- Ruby >= 3.0 - Recommended: latest - Curl >= 7.72 - Recommended: latest - The 7.29 has a segfault - The < 7.72 could result in `Stream error in the HTTP/2 framing layer` in some cases diff --git a/wpscan.gemspec b/wpscan.gemspec index dfd863942..fe55526a3 100644 --- a/wpscan.gemspec +++ b/wpscan.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.name = 'wpscan' s.version = WPScan::VERSION s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 2.7' + s.required_ruby_version = '>= 3.0' s.authors = ['WPScanTeam'] s.email = ['contact@wpscan.com'] s.summary = 'WPScan - WordPress Vulnerability Scanner'