diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6fc3d3d..b32fdd3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,9 +14,9 @@ jobs: - uses: actions/checkout@v2 - name: Set up Ruby - uses: ruby/setup-ruby@v1.97.0 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.0 - name: Install dependencies run: bundle install diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22a6307..ed6a29c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,10 +13,10 @@ jobs: strategy: matrix: ruby-version: - - '2.7' - '3.0' - '3.1' - '3.2' + - '3.3' redis-version: - '6.2' - '7.0' diff --git a/README.md b/README.md index 1925f3a..b31c4bd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ for use in tests. ## Requirements -Ruby 2.7+ +Ruby 3.0+ The current implementation is tested against Redis 6.2. Older versions may work, but can also return different results or not support some commands. diff --git a/mock_redis.gemspec b/mock_redis.gemspec index 50f2200..0629d33 100644 --- a/mock_redis.gemspec +++ b/mock_redis.gemspec @@ -32,7 +32,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] - s.required_ruby_version = '>= 2.7' + s.required_ruby_version = '>= 3.0' s.add_development_dependency 'rake', '~> 13' s.add_development_dependency 'redis', '~> 4.8.0'