Skip to content

Commit

Permalink
allow rails 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Apr 27, 2022
1 parent c5c1b7e commit b80e483
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 30 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,31 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby:
- 2.7
- 2.6
- 2.5
gemfile:
- rails_4.2
- rails_5.0
- rails_5.1
- rails_5_2
- rails_6.0
- rails_6.1
exclude:
- gemfile: rails_4.2
ruby: 2.7
- gemfile: rails_4.2
ruby: 3.0
- gemfile: rails_5.0
ruby: 2.7
- gemfile: rails_5.0
ruby: 3.0
- gemfile: rails_5.1
ruby: 2.7
- gemfile: rails_5.1
ruby: 3.0
gemfile: ["rails_7.0"]
ruby: [2.7]
include:
- gemfile: rails_7.0
ruby: '3.0'
- gemfile: rails_6.1
ruby: '3.0'
- gemfile: rails_6.1
ruby: 2.7
- gemfile: rails_6.1
ruby: 2.6
- gemfile: rails_6.0
ruby: 2.7
- gemfile: rails_6.0
ruby: 2.6
- gemfile: rails_5.2
ruby: 2.6
- gemfile: rails_5.1
ruby: 2.6
- gemfile: rails_5.0
ruby: 2.6
- gemfile: rails_4.2
ruby: 2.6
- gemfile: rails_4.2
ruby: 2.5

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
6 changes: 3 additions & 3 deletions gemfiles/rails_4.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ PATH
remote: ..
specs:
webhook_system (2.3.1)
activejob (> 4.2, < 7.0)
activerecord (> 4.2, < 7.0)
activesupport (> 4.2, < 7.0)
activejob (> 4.2, < 7.1)
activerecord (> 4.2, < 7.1)
activesupport (> 4.2, < 7.1)
faraday (> 0.9)
faraday-encoding (>= 0.0.2, < 1.0)
ph_model
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "rails", "~> 7.0.2"
gem "sqlite3"

gemspec path: "../"
6 changes: 3 additions & 3 deletions webhook_system.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.require_paths = ['lib']

gem.add_runtime_dependency 'activesupport', '> 4.2', '< 7.0'
gem.add_runtime_dependency 'activerecord', '> 4.2', '< 7.0'
gem.add_runtime_dependency 'activejob', '> 4.2', '< 7.0'
gem.add_runtime_dependency 'activesupport', '> 4.2', '< 7.1'
gem.add_runtime_dependency 'activerecord', '> 4.2', '< 7.1'
gem.add_runtime_dependency 'activejob', '> 4.2', '< 7.1'
gem.add_runtime_dependency 'faraday', '> 0.9'
gem.add_runtime_dependency 'faraday-encoding', '>= 0.0.2', '< 1.0'
gem.add_runtime_dependency 'ph_model'
Expand Down

0 comments on commit b80e483

Please sign in to comment.