Skip to content

Commit f6e3bff

Browse files
authored
Allow ruby version 4.0 (#1003)
* Allow ruby version 4.0 in gemspec * Add ruby 4.0 to CI matrix
1 parent 677b694 commit f6e3bff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
ruby: [ '3.2', '3.3', '3.4' ]
20+
ruby: [ '3.2', '3.3', '3.4', '4.0' ]
2121
gemfile: [rails.7.2.activerecord, rails.8.0.activerecord, rails.8.1.activerecord]
2222
name: ${{ matrix.ruby }}-${{ matrix.gemfile }}
2323

chewy.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.description = 'Chewy provides functionality for Elasticsearch index handling, documents import mappings and chainable query DSL'
1212
spec.homepage = 'https://github.com/toptal/chewy'
1313
spec.license = 'MIT'
14-
spec.required_ruby_version = '~> 3.2'
14+
spec.required_ruby_version = '>= 3.2'
1515

1616
spec.files = Dir['CHANGELOG.md', 'LICENSE.txt', 'README.md', 'lib/**/*']
1717
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)