Skip to content

Commit

Permalink
feat: Add activesupport 8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bilby91 committed Nov 9, 2024
1 parent d2608ad commit 8dee55e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,34 @@ jobs:
strategy:
fail-fast: false
matrix:
activesupport: ['6.1', '7.0', '7.1', '7.2']
versions:
- { activesupport: '6.1', ruby: '3.1' }
- { activesupport: '7.0', ruby: '3.1' }
- { activesupport: '7.1', ruby: '3.1' }
- { activesupport: '7.2', ruby: '3.1' }
- { activesupport: '6.1', ruby: '3.2' }
- { activesupport: '7.0', ruby: '3.2' }
- { activesupport: '7.1', ruby: '3.2' }
- { activesupport: '7.2', ruby: '3.2' }
- { activesupport: '8.0', ruby: '3.2' }
- { activesupport: '6.1', ruby: '3.3' }
- { activesupport: '7.0', ruby: '3.3' }
- { activesupport: '7.1', ruby: '3.3' }
- { activesupport: '7.2', ruby: '3.3' }
- { activesupport: '8.0', ruby: '3.3' }
json_schemer: ['2.0', '2.1', '2.2', '2.3']
ruby: ['3.1', '3.2', '3.3']
env:
ACTIVESUPPORT: '${{ matrix.activesupport }}'
ACTIVESUPPORT: '${{ matrix.versions.activesupport }}'
COVERAGE: 'true'
JSON_SCHEMER: '${{ matrix.json_schemer }}'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '${{ matrix.ruby }}'
ruby-version: '${{ matrix.versions.ruby }}'
bundler-cache: true
cache-version: ${{ matrix.activesupport }}-${{ matrix.json_schemer }}
cache-version: ${{ matrix.versions.activesupport }}-${{ matrix.json_schemer }}
- name: Rspec
run: bundle exec rspec

Expand Down
2 changes: 1 addition & 1 deletion openapi_contracts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|

s.files = Dir['lib/**/*', 'README.md']

s.add_dependency 'activesupport', '>= 6.1', '< 8'
s.add_dependency 'activesupport', '>= 6.1', '< 8.1'
s.add_dependency 'json_schemer', '>= 2', '< 2.4'
s.add_dependency 'openapi_parameters', '>= 0.3.3', '< 0.4'
s.add_dependency 'rack', '>= 2.0.0'
Expand Down

0 comments on commit 8dee55e

Please sign in to comment.