Skip to content

Commit cfc054b

Browse files
build: bump rubocop version
Old `rubocop` version was returning errors when running in Ruby 3.1 and 3.2: ``` 1 error occurred: An error occurred while Layout/BlockAlignment cop was inspecting /home/runner/work/openssl-signature_algorithm/openssl-signature_algorithm/spec/openssl/signature_algorithm_spec.rb:3:0. Errors are usually caused by RuboCop bugs. Please, report your problems to RuboCop's issue tracker. ```
1 parent 478948c commit cfc054b

File tree

7 files changed

+29
-20
lines changed

7 files changed

+29
-20
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
AllCops:
22
TargetRubyVersion: 2.4
33
DisabledByDefault: true
4+
NewCops: disable
45
Exclude:
56
- "gemfiles/**/*"
67
- "vendor/bundle/**/*"
@@ -20,6 +21,9 @@ Layout/LineLength:
2021
Lint:
2122
Enabled: true
2223

24+
Lint/MissingSuper:
25+
Enabled: false
26+
2327
Naming:
2428
Enabled: true
2529

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ gem "byebug", "~> 11.0"
1010
gem "ed25519", "~> 1.2"
1111
gem "rake", "~> 13.0"
1212
gem "rspec", "~> 3.0"
13-
gem "rubocop", "~> 0.80.1"
13+
gem "rubocop", "~> 1.0"

Gemfile.lock

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ GEM
1111
bundler
1212
rake
1313
thor (>= 0.14.0)
14-
ast (2.4.0)
14+
ast (2.4.2)
1515
byebug (11.1.1)
1616
diff-lcs (1.3)
1717
ed25519 (1.2.4)
18-
jaro_winkler (1.5.4)
18+
json (2.6.3)
1919
openssl (3.0.0)
20-
parallel (1.19.1)
21-
parser (2.7.0.5)
22-
ast (~> 2.4.0)
23-
rainbow (3.0.0)
20+
parallel (1.22.1)
21+
parser (3.2.1.0)
22+
ast (~> 2.4.1)
23+
rainbow (3.1.1)
2424
rake (13.0.1)
25-
rexml (3.2.4)
25+
regexp_parser (2.7.0)
26+
rexml (3.2.5)
2627
rspec (3.9.0)
2728
rspec-core (~> 3.9.0)
2829
rspec-expectations (~> 3.9.0)
@@ -36,17 +37,21 @@ GEM
3637
diff-lcs (>= 1.2.0, < 2.0)
3738
rspec-support (~> 3.9.0)
3839
rspec-support (3.9.2)
39-
rubocop (0.80.1)
40-
jaro_winkler (~> 1.5.1)
40+
rubocop (1.45.1)
41+
json (~> 2.3)
4142
parallel (~> 1.10)
42-
parser (>= 2.7.0.1)
43+
parser (>= 3.2.0.0)
4344
rainbow (>= 2.2.2, < 4.0)
44-
rexml
45+
regexp_parser (>= 1.8, < 3.0)
46+
rexml (>= 3.2.5, < 4.0)
47+
rubocop-ast (>= 1.24.1, < 2.0)
4548
ruby-progressbar (~> 1.7)
46-
unicode-display_width (>= 1.4.0, < 1.7)
47-
ruby-progressbar (1.10.1)
49+
unicode-display_width (>= 2.4.0, < 3.0)
50+
rubocop-ast (1.24.1)
51+
parser (>= 3.1.1.0)
52+
ruby-progressbar (1.11.0)
4853
thor (1.0.1)
49-
unicode-display_width (1.6.1)
54+
unicode-display_width (2.4.2)
5055

5156
PLATFORMS
5257
ruby
@@ -58,7 +63,7 @@ DEPENDENCIES
5863
openssl-signature_algorithm!
5964
rake (~> 13.0)
6065
rspec (~> 3.0)
61-
rubocop (~> 0.80.1)
66+
rubocop (~> 1.0)
6267

6368
BUNDLED WITH
6469
2.3.26

gemfiles/openssl_2_1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "byebug", "~> 11.0"
77
gem "ed25519", "~> 1.2"
88
gem "rake", "~> 13.0"
99
gem "rspec", "~> 3.0"
10-
gem "rubocop", "~> 0.80.1"
10+
gem "rubocop", "~> 1.0"
1111
gem "openssl", "~> 2.1.0"
1212

1313
gemspec path: "../"

gemfiles/openssl_2_2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "byebug", "~> 11.0"
77
gem "ed25519", "~> 1.2"
88
gem "rake", "~> 13.0"
99
gem "rspec", "~> 3.0"
10-
gem "rubocop", "~> 0.80.1"
10+
gem "rubocop", "~> 1.0"
1111
gem "openssl", "~> 2.2.0"
1212

1313
gemspec path: "../"

gemfiles/openssl_3_0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "byebug", "~> 11.0"
77
gem "ed25519", "~> 1.2"
88
gem "rake", "~> 13.0"
99
gem "rspec", "~> 3.0"
10-
gem "rubocop", "~> 0.80.1"
10+
gem "rubocop", "~> 1.0"
1111
gem "openssl", "~> 3.0.0"
1212

1313
gemspec path: "../"

gemfiles/openssl_3_1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "byebug", "~> 11.0"
77
gem "ed25519", "~> 1.2"
88
gem "rake", "~> 13.0"
99
gem "rspec", "~> 3.0"
10-
gem "rubocop", "~> 0.80.1"
10+
gem "rubocop", "~> 1.0"
1111
gem "openssl", "~> 3.1.0"
1212

1313
gemspec path: "../"

0 commit comments

Comments
 (0)