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
4 changes: 2 additions & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby-version: ['3.3']
ruby-version: ['3.4']

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,11 @@ jobs:

strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
gemfile: [ csv_22.0, mongoid_8.0, mongoid_9.0 ]
channel: ['stable']

include:
- ruby-version: '2.7'
gemfile: csv_edge
channel: 'experimental'
- ruby-version: '3.0'
gemfile: csv_edge
channel: 'experimental'
- ruby-version: '3.1'
gemfile: csv_edge
channel: 'experimental'
Expand All @@ -38,6 +32,9 @@ jobs:
- ruby-version: '3.3'
gemfile: csv_edge
channel: 'experimental'
- ruby-version: '3.4'
gemfile: csv_edge
channel: 'experimental'
- ruby-version: 'head'
gemfile: csv_edge
channel: 'experimental'
Expand All @@ -57,6 +54,9 @@ jobs:
- ruby-version: '3.3'
gemfile: mongoid_edge
channel: 'experimental'
- ruby-version: '3.4'
gemfile: mongoid_edge
channel: 'experimental'
- ruby-version: 'head'
gemfile: mongoid_edge
channel: 'experimental'
Expand All @@ -67,7 +67,7 @@ jobs:
continue-on-error: ${{ matrix.channel != 'stable' }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
16 changes: 11 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require:
plugins:
- rubocop-minitest
- rubocop-packaging
- rubocop-performance
Expand All @@ -9,10 +9,15 @@ AllCops:
TargetRailsVersion: 6.1
TargetRubyVersion: 2.7
NewCops: enable
DisplayStyleGuide: true
ExtraDetails: true
Exclude:
- 'gemfiles/**/*'
- 'node_modules/**/*'
- 'vendor/bundle/**/*'
- .git/**/*
- gemfiles/**/*
- node_modules/**/*
- test/generators/tmp/**/*
- tmp/**/*
- vendor/**/*

Layout/HashAlignment:
EnforcedColonStyle: table
Expand All @@ -35,7 +40,8 @@ Metrics/ClassLength:
- 'test/**/*'

Metrics/CyclomaticComplexity:
Max: 7 # TODO: Lower to 6
Exclude:
- 'test/**/*'

Metrics/MethodLength:
Max: 14
Expand Down
4 changes: 2 additions & 2 deletions client_side_validations-mongoid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = '>= 2.7'

spec.add_dependency 'client_side_validations', '~> 22.0'
spec.add_dependency 'mongoid', '>= 8.0', '< 10'
spec.add_dependency 'client_side_validations', '>= 22.0'
spec.add_dependency 'mongoid', '>= 8.0'
end
Loading