Skip to content

Commit

Permalink
ruby 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed Feb 6, 2025
1 parent 32268d2 commit 8550599
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7']
ruby-version: ['3.0']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7
3.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.6
FROM ruby:3.0

RUN apt-get update && apt-get install -y nano vim

Expand Down
2 changes: 2 additions & 0 deletions restpack_serializer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Gem::Specification.new do |gem|

gem.add_dependency 'activesupport', ['>= 5.0.0', '< 7.1']
gem.add_dependency 'activerecord', ['>= 5.0.0', '< 7.1']
# Concurrent Ruby 1.3.5+ does not work well with ActiveRecord/ActiveSupport v7.0 and lower
gem.add_dependency 'concurrent-ruby', '1.3.4'
gem.add_dependency 'kaminari', '< 2.0'

gem.add_development_dependency 'restpack_gem', '~> 0.0.9'
Expand Down

0 comments on commit 8550599

Please sign in to comment.