diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 2bd59d4af..a89c174c2 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '3.2', '3.3', '3.4' ] + ruby: [ '3.2', '3.3', '3.4', '4.0' ] gemfile: [rails.7.2.activerecord, rails.8.0.activerecord, rails.8.1.activerecord] name: ${{ matrix.ruby }}-${{ matrix.gemfile }} diff --git a/chewy.gemspec b/chewy.gemspec index fd6bdf284..57aba4036 100644 --- a/chewy.gemspec +++ b/chewy.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| spec.description = 'Chewy provides functionality for Elasticsearch index handling, documents import mappings and chainable query DSL' spec.homepage = 'https://github.com/toptal/chewy' spec.license = 'MIT' - spec.required_ruby_version = '~> 3.2' + spec.required_ruby_version = '>= 3.2' spec.files = Dir['CHANGELOG.md', 'LICENSE.txt', 'README.md', 'lib/**/*'] spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }