Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4"]
ruby: ["3.1", "3.2", "3.3", "3.4"]
gemfile: [
dev/gemfiles/rails-7.1.x.gemfile,
dev/gemfiles/rails-7.2.x.gemfile,
dev/gemfiles/rails-8.0.x.gemfile,
Gemfile
]
exclude:
# Exclude rubies < 3.1 for ActiveModel ~> 7.2
- ruby: "2.7"
gemfile: dev/gemfiles/rails-7.2.x.gemfile
- ruby: "3.0"
gemfile: dev/gemfiles/rails-7.2.x.gemfile
# Exclude rubies < 3.2 for ActiveModel ~> 8.0
- ruby: "2.7"
gemfile: dev/gemfiles/rails-8.0.x.gemfile
- ruby: "2.7"
gemfile: Gemfile
- ruby: "3.0"
gemfile: dev/gemfiles/rails-8.0.x.gemfile
- ruby: "3.0"
gemfile: Gemfile
# Exclude rubies < 3.2 for ActiveModel < 8.0
- ruby: "3.1"
gemfile: dev/gemfiles/rails-8.0.x.gemfile
- ruby: "3.1"
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins:
- rubocop-rspec

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
NewCops: enable

Naming/FileName:
Expand Down
9 changes: 0 additions & 9 deletions dev/gemfiles/rails-7.1.x.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion postcode_validator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
f.match(excluded_dirs) || excluded_files.include?(f)
end

spec.required_ruby_version = '>= 2.7'
spec.required_ruby_version = '>= 3.1'

spec.add_dependency 'twitter_cldr', '> 4.4.0'

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
end
end

Dir[File.join(__dir__, 'support', '**', '*.rb')].sort.each { |f| require f }
Dir[File.join(__dir__, 'support', '**', '*.rb')].each { |f| require f }