Skip to content

Commit

Permalink
Allow Rails 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Feb 9, 2022
1 parent 0153eef commit bcea63f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
rails-version:
- '5.2'
- '6.0'
- '6.1'
services:
postgres:
image: manageiq/postgresql:10
Expand Down Expand Up @@ -41,6 +42,6 @@ jobs:
- name: Run tests
run: bundle exec rake
- name: Report code coverage
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '2.7' && matrix.rails-version == '6.0' }}
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '2.7' && matrix.rails-version == '6.1' }}
continue-on-error: true
uses: paambaati/codeclimate-action@v3.0.0
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ when "5.2"
gem "activerecord", "~>5.2.6"
when "6.0"
gem "activerecord", "~>6.0.4"
when "6.1"
gem "activesupport", "~>6.1.4"
end
2 changes: 1 addition & 1 deletion inventory_refresh.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activerecord", ">=5.0", "< 6.1"
spec.add_dependency "activerecord", ">=5.0", "< 7.0"
spec.add_dependency "more_core_extensions", ">=3.5", "< 5"
spec.add_dependency "pg", "> 0"

Expand Down

0 comments on commit bcea63f

Please sign in to comment.