Skip to content

Commit c60708d

Browse files
authored
Expand tested Ruby versions to include all currently existing 3.x and 4.x versions (#397)
1 parent cc72601 commit c60708d

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

.github/workflows/ruby.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
test:
2121

2222
runs-on: ubuntu-latest
23+
continue-on-error: true
2324
strategy:
2425
matrix:
25-
ruby-version: ['2.7', '3.0']
26+
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0']
2627

2728
steps:
2829
- uses: actions/checkout@v3

.rubocop.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
require:
33
- rubocop/require_tools
4+
- rubocop-rake
5+
- rubocop-rspec
46
Style/MultipleComparison:
57
Enabled: false
68
Style/PercentLiteralDelimiters:
@@ -11,19 +13,17 @@ Style/FrozenStringLiteralComment:
1113
Enabled: false
1214
Style/SafeNavigation:
1315
Enabled: false
14-
Performance/RegexpMatch:
15-
Enabled: false
16-
Performance/StringReplacement:
17-
Enabled: false
1816
Style/NumericPredicate:
1917
Enabled: false
2018
Metrics/BlockLength:
2119
Enabled: false
2220
Metrics/ModuleLength:
2321
Enabled: false
24-
Style/VariableNumber:
22+
Naming/VariableNumber:
2523
Enabled: false
26-
Style/MethodMissing:
24+
Lint/MissingSuper:
25+
Enabled: false
26+
Style/MissingRespondToMissing:
2727
Enabled: false
2828
MultilineBlockChain:
2929
Enabled: false
@@ -33,8 +33,6 @@ Style/TernaryParentheses:
3333
Enabled: false
3434
Style/EmptyMethod:
3535
Enabled: false
36-
Style/BracesAroundHashParameters:
37-
Enabled: false
3836
Lint/UselessAssignment:
3937
Exclude:
4038
- "**/spec/**/*"
@@ -50,22 +48,22 @@ Require/MissingRequireStatement:
5048
- "**/Rakefile"
5149
- fastlane/**/*
5250
- supply/**/*
53-
Layout/IndentHash:
51+
Layout/FirstHashElementIndentation:
5452
Enabled: false
55-
Layout/AlignHash:
53+
Layout/HashAlignment:
5654
Enabled: false
5755
Layout/DotPosition:
5856
Enabled: false
5957
Style/DoubleNegation:
6058
Enabled: false
6159
Style/SymbolArray:
6260
Enabled: false
63-
Layout/IndentHeredoc:
61+
Layout/HeredocIndentation:
6462
Enabled: false
6563
Style/MixinGrouping:
6664
Exclude:
6765
- "**/spec/**/*"
68-
Lint/HandleExceptions:
66+
Lint/SuppressedException:
6967
Enabled: false
7068
Lint/UnusedBlockArgument:
7169
Enabled: false
@@ -96,7 +94,7 @@ Style/AndOr:
9694
EnforcedStyle: conditionals
9795
Metrics/ClassLength:
9896
Max: 320
99-
Metrics/LineLength:
97+
Layout/LineLength:
10098
Max: 370
10199
Metrics/ParameterLists:
102100
Max: 17
@@ -123,7 +121,7 @@ Layout/SpaceAroundOperators:
123121
Exclude:
124122
- "**/spec/actions_specs/xcodebuild_spec.rb"
125123
AllCops:
126-
TargetRubyVersion: 2.3
124+
TargetRubyVersion: 2.7
127125
Include:
128126
- "*/lib/assets/*Template"
129127
- "*/lib/assets/*TemplateAndroid"
@@ -133,7 +131,7 @@ AllCops:
133131
- "**/lib/assets/DefaultFastfileTemplate"
134132
- "**/lib/assets/MatchfileTemplate"
135133
- "**/spec/fixtures/broken_files/broken_file.rb"
136-
Style/FileName:
134+
Naming/FileName:
137135
Exclude:
138136
- "**/Dangerfile"
139137
- "**/Brewfile"

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 3.0.6
1+
ruby 3.4.8

fastlane-plugin-firebase_app_distribution.gemspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ Gem::Specification.new do |spec|
2929
spec.add_development_dependency('rspec')
3030
spec.add_development_dependency('rspec_junit_formatter')
3131
spec.add_development_dependency('rake')
32-
spec.add_development_dependency('rubocop', '0.49.1')
32+
spec.add_development_dependency('rubocop', '~> 1.84')
3333
spec.add_development_dependency('rubocop-require_tools')
34+
spec.add_development_dependency('rubocop-rake')
35+
spec.add_development_dependency('rubocop-rspec')
3436
spec.add_development_dependency('simplecov')
37+
spec.add_development_dependency('racc')
3538
end

0 commit comments

Comments
 (0)