Skip to content

Commit 6e62448

Browse files
RUBY-3554 Update required_ruby_version (mongodb#2909)
1 parent 6709482 commit 6e62448

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

gemfiles/standard.rb

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,10 @@ def standard_dependencies
2828
gem 'yajl-ruby', platforms: :mri, require: false
2929
gem 'celluloid', platforms: :mri, require: false
3030

31-
# for static analysis -- ignore ruby < 2.6 because of rubocop
32-
# version incompatibilities
33-
if RUBY_VERSION > '2.5.99'
34-
gem 'rubocop', '~> 1.45.1'
35-
gem 'rubocop-performance', '~> 1.16.0'
36-
gem 'rubocop-rake', '~> 0.6.0'
37-
gem 'rubocop-rspec', '~> 2.18.1'
38-
end
31+
gem 'rubocop', '~> 1.45.1'
32+
gem 'rubocop-performance', '~> 1.16.0'
33+
gem 'rubocop-rake', '~> 0.6.0'
34+
gem 'rubocop-rspec', '~> 2.18.1'
3935

4036
platform :mri do
4137
# Debugger for VSCode.

mongo.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
3636
s.require_paths = ['lib']
3737
s.bindir = 'bin'
3838

39-
s.required_ruby_version = ">= 2.5"
39+
s.required_ruby_version = ">= 2.7"
4040

4141
s.add_dependency 'base64'
4242
s.add_dependency 'bson', '>=4.14.1', '<6.0.0'

0 commit comments

Comments
 (0)