Skip to content

Commit

Permalink
Remove failing codeclimate-action step (#132)
Browse files Browse the repository at this point in the history
- Drop Ruby 2.4, 2.5, 2.6 support, as all are EOL
- Add Ruby 3.2 support
- Remove all version locks in gemspec
  • Loading branch information
calebhearth authored Jan 25, 2023
1 parent 115ec38 commit b4700ca
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
strategy:
fail-fast: false
matrix:
# See: https://github.com/actions/runner/issues/849
ruby: [2.4, 2.5, 2.6, 2.7, "3.0", 3.1]
ruby: ["2.7", "3.0", "3.1", "3.2"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- run: bundle exec rspec
- uses: paambaati/codeclimate-action@v3.0.0
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.2.0
28 changes: 14 additions & 14 deletions microformats.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'microformats/version'

Gem::Specification.new do |spec|
spec.required_ruby_version = ['>= 2.4', '< 3.2']
spec.required_ruby_version = ['>= 2.7']

spec.name = 'microformats'
spec.version = Microformats::VERSION
Expand All @@ -23,17 +23,17 @@ Gem::Specification.new do |spec|

spec.post_install_message = 'Prior to version 4.0.0, the microformats gem was named "microformats2."'

spec.add_development_dependency 'bundler', '>= 1.16.2', '< 2.4'
spec.add_development_dependency 'guard-rspec', '~> 4.7'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rb-fsevent', '~> 0.10.3'
spec.add_development_dependency 'rspec', '~> 3.8'
spec.add_development_dependency 'rubocop', '~> 0.74.0'
spec.add_development_dependency 'rubocop-rspec', '~> 1.35'
spec.add_development_dependency 'simplecov', '~> 0.17.0'
spec.add_development_dependency 'simplecov-console', '~> 0.5.0'
spec.add_development_dependency 'webmock', '~> 3.6'

spec.add_runtime_dependency 'json', '~> 2.2'
spec.add_runtime_dependency 'nokogiri', '~> 1.10'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'guard-rspec'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rb-fsevent'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov-console'
spec.add_development_dependency 'webmock'

spec.add_runtime_dependency 'json'
spec.add_runtime_dependency 'nokogiri'
end

0 comments on commit b4700ca

Please sign in to comment.