Skip to content

Commit 10ed227

Browse files
committed
Update dependencies
1 parent e6c8b47 commit 10ed227

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

.github/workflows/rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest]
19-
ruby-version: ['3.3']
19+
ruby-version: ['3.4']
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- name: Set up Ruby
2424
uses: ruby/setup-ruby@v1
2525
with:

.github/workflows/ruby.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,11 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
21+
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
2222
gemfile: [ csv_22.0, mongoid_8.0, mongoid_9.0 ]
2323
channel: ['stable']
2424

2525
include:
26-
- ruby-version: '2.7'
27-
gemfile: csv_edge
28-
channel: 'experimental'
29-
- ruby-version: '3.0'
30-
gemfile: csv_edge
31-
channel: 'experimental'
3226
- ruby-version: '3.1'
3327
gemfile: csv_edge
3428
channel: 'experimental'
@@ -38,6 +32,9 @@ jobs:
3832
- ruby-version: '3.3'
3933
gemfile: csv_edge
4034
channel: 'experimental'
35+
- ruby-version: '3.4'
36+
gemfile: csv_edge
37+
channel: 'experimental'
4138
- ruby-version: 'head'
4239
gemfile: csv_edge
4340
channel: 'experimental'
@@ -57,6 +54,9 @@ jobs:
5754
- ruby-version: '3.3'
5855
gemfile: mongoid_edge
5956
channel: 'experimental'
57+
- ruby-version: '3.4'
58+
gemfile: mongoid_edge
59+
channel: 'experimental'
6060
- ruby-version: 'head'
6161
gemfile: mongoid_edge
6262
channel: 'experimental'
@@ -67,7 +67,7 @@ jobs:
6767
continue-on-error: ${{ matrix.channel != 'stable' }}
6868

6969
steps:
70-
- uses: actions/checkout@v4
70+
- uses: actions/checkout@v5
7171
- name: Set up Ruby
7272
uses: ruby/setup-ruby@v1
7373
with:

.rubocop.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require:
1+
plugins:
22
- rubocop-minitest
33
- rubocop-packaging
44
- rubocop-performance
@@ -9,10 +9,15 @@ AllCops:
99
TargetRailsVersion: 6.1
1010
TargetRubyVersion: 2.7
1111
NewCops: enable
12+
DisplayStyleGuide: true
13+
ExtraDetails: true
1214
Exclude:
13-
- 'gemfiles/**/*'
14-
- 'node_modules/**/*'
15-
- 'vendor/bundle/**/*'
15+
- .git/**/*
16+
- gemfiles/**/*
17+
- node_modules/**/*
18+
- test/generators/tmp/**/*
19+
- tmp/**/*
20+
- vendor/**/*
1621

1722
Layout/HashAlignment:
1823
EnforcedColonStyle: table
@@ -35,7 +40,8 @@ Metrics/ClassLength:
3540
- 'test/**/*'
3641

3742
Metrics/CyclomaticComplexity:
38-
Max: 7 # TODO: Lower to 6
43+
Exclude:
44+
- 'test/**/*'
3945

4046
Metrics/MethodLength:
4147
Max: 14

client_side_validations-mongoid.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
2727
spec.platform = Gem::Platform::RUBY
2828
spec.required_ruby_version = '>= 2.7'
2929

30-
spec.add_dependency 'client_side_validations', '~> 22.0'
31-
spec.add_dependency 'mongoid', '>= 8.0', '< 10'
30+
spec.add_dependency 'client_side_validations', '>= 22.0'
31+
spec.add_dependency 'mongoid', '>= 8.0'
3232
end

0 commit comments

Comments
 (0)