Skip to content

Commit

Permalink
We officially support Ruby >= 2.7.5
Browse files Browse the repository at this point in the history
Adding .ruby-version made rubocop want to enforce 3.1 syntax, which isn't
what we said we'd support in the gemspec (we said 2.3 (!)) - bump that
to 2.7, which is the earliest minor version any of our live services use
  • Loading branch information
duncanjbrown committed Jun 23, 2022
1 parent 5a901bf commit d78deef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Style/EachWithObject:
Enabled: false

AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- 'spec/dummy/db/schema.rb'
Expand Down
2 changes: 1 addition & 1 deletion dfe-analytics.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = 'Event pump for DfE Rails applications'
spec.homepage = 'https://teacher-services-tech-docs.london.cloudapps.digital/#teacher-services-technical-documentation'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.5')

spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"

Expand Down

0 comments on commit d78deef

Please sign in to comment.