Skip to content

Commit 57b3f96

Browse files
Bump rubocop-rspec from 3.7.0 to 3.8.0 in the rubocop group (#381)
* Bump rubocop-rspec from 3.7.0 to 3.8.0 in the rubocop group Bumps the rubocop group with 1 update: [rubocop-rspec](https://github.com/rubocop/rubocop-rspec). Updates `rubocop-rspec` from 3.7.0 to 3.8.0 - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-rspec@v3.7.0...v3.8.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-version: 3.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rubocop ... Signed-off-by: dependabot[bot] <support@github.com> * Resolve violations * 3.5 -> 4.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Douglas Eichelberger <d@eic.email>
1 parent 75b819b commit 57b3f96

File tree

9 files changed

+16
-20
lines changed

9 files changed

+16
-20
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
ruby-version: ['3.2', '3.3', '3.4', '3.5']
13+
ruby-version: ['3.2', '3.3', '3.4', '4.0']
1414
steps:
1515
- uses: actions/checkout@v6
1616
- name: Set up Ruby

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ gem 'rubocop', '~> 1.81.7'
1212
gem 'rubocop-packaging', '~> 0.6.0'
1313
gem 'rubocop-performance', '~> 1.26.1'
1414
gem 'rubocop-rake', '~> 0.7.1'
15-
gem 'rubocop-rspec', '~> 3.7.0'
15+
gem 'rubocop-rspec', '~> 3.8.0'
1616
gem 'rubocop-sorbet', '~> 0.11.0'
1717
gem 'simplecov'
1818
gem 'simplecov-cobertura'

Gemfile.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GEM
1313
diff-lcs (1.6.2)
1414
docile (1.4.1)
1515
erubi (1.13.1)
16-
json (2.15.2)
16+
json (2.16.0)
1717
language_server-protocol (3.17.0.5)
1818
lint_roller (1.1.0)
1919
logger (1.7.0)
@@ -60,7 +60,7 @@ GEM
6060
rubocop-ast (>= 1.47.1, < 2.0)
6161
ruby-progressbar (~> 1.7)
6262
unicode-display_width (>= 2.4.0, < 4.0)
63-
rubocop-ast (1.47.1)
63+
rubocop-ast (1.48.0)
6464
parser (>= 3.3.7.2)
6565
prism (~> 1.4)
6666
rubocop-packaging (0.6.0)
@@ -73,9 +73,9 @@ GEM
7373
rubocop-rake (0.7.1)
7474
lint_roller (~> 1.1)
7575
rubocop (>= 1.72.1)
76-
rubocop-rspec (3.7.0)
76+
rubocop-rspec (3.8.0)
7777
lint_roller (~> 1.1)
78-
rubocop (~> 1.72, >= 1.72.1)
78+
rubocop (~> 1.81)
7979
rubocop-sorbet (0.11.0)
8080
lint_roller
8181
rubocop (>= 1.75.2)
@@ -93,6 +93,7 @@ GEM
9393
sorbet-static (= 0.6.12690)
9494
sorbet-runtime (0.6.12690)
9595
sorbet-static (0.6.12690-universal-darwin)
96+
sorbet-static (0.6.12690-x86_64-linux)
9697
sorbet-static-and-runtime (0.6.12690)
9798
sorbet (= 0.6.12690)
9899
sorbet-runtime (= 0.6.12690)
@@ -133,7 +134,7 @@ DEPENDENCIES
133134
rubocop-packaging (~> 0.6.0)
134135
rubocop-performance (~> 1.26.1)
135136
rubocop-rake (~> 0.7.1)
136-
rubocop-rspec (~> 3.7.0)
137+
rubocop-rspec (~> 3.8.0)
137138
rubocop-sorbet (~> 0.11.0)
138139
simplecov
139140
simplecov-cobertura

spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# frozen_string_literal: true
33

44
RSpec.describe YARDSorbet::Handlers::AbstractDSLHandler do
5-
path = File.join(File.expand_path('../../data', __dir__), 'abstract_dsl_handler.txt')
6-
75
before do
6+
path = File.join(File.expand_path('../../data', __dir__), 'abstract_dsl_handler.txt')
87
YARD::Registry.clear
98
YARD::Parser::SourceParser.parse(path)
109
end

spec/yard_sorbet/handlers/enums_handler_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# frozen_string_literal: true
33

44
RSpec.describe YARDSorbet::Handlers::EnumsHandler do
5-
path = File.join(File.expand_path('../../data', __dir__), 'enums_handler.txt')
6-
75
before do
6+
path = File.join(File.expand_path('../../data', __dir__), 'enums_handler.txt')
87
YARD::Registry.clear
98
YARD::Parser::SourceParser.parse(path)
109
end

spec/yard_sorbet/handlers/include_handler_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
# frozen_string_literal: true
33

44
RSpec.describe YARDSorbet::Handlers::IncludeHandler do
5-
mixes_in_path = File.join(File.expand_path('../../data', __dir__), 'mixes_in_class_methods_handler.txt')
6-
include_path = File.join(File.expand_path('../../data', __dir__), 'include_handler.txt')
7-
85
before do
6+
mixes_in_path = File.join(File.expand_path('../../data', __dir__), 'mixes_in_class_methods_handler.txt')
7+
include_path = File.join(File.expand_path('../../data', __dir__), 'include_handler.txt')
98
YARD::Registry.clear
109
YARD::Parser::SourceParser.parse(mixes_in_path)
1110
YARD::Parser::SourceParser.parse(include_path)

spec/yard_sorbet/handlers/sig_handler_ignored_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# frozen_string_literal: true
33

44
RSpec.describe YARDSorbet::Handlers::SigHandler do
5-
path = File.join(File.expand_path('../../data', __dir__), 'sig_handler_ignored.txt')
6-
75
before do
6+
path = File.join(File.expand_path('../../data', __dir__), 'sig_handler_ignored.txt')
87
allow(log).to receive(:warn)
98
YARD::Registry.clear
109
YARD::Parser::SourceParser.parse(path)

spec/yard_sorbet/handlers/struct_class_handler_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# frozen_string_literal: true
33

44
RSpec.describe YARDSorbet::Handlers::StructClassHandler do
5-
path = File.join(File.expand_path('../../data', __dir__), 'struct_handler.txt')
6-
75
before do
6+
path = File.join(File.expand_path('../../data', __dir__), 'struct_handler.txt')
87
YARD::Registry.clear
98
YARD::Parser::SourceParser.parse(path)
109
end

spec/yard_sorbet/handlers/struct_prop_handler_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# frozen_string_literal: true
33

44
RSpec.describe YARDSorbet::Handlers::StructPropHandler do
5-
path = File.join(File.expand_path('../../data', __dir__), 'struct_handler.txt')
6-
75
before do
6+
path = File.join(File.expand_path('../../data', __dir__), 'struct_handler.txt')
87
YARD::Registry.clear
98
YARD::Parser::SourceParser.parse(path)
109
end
@@ -46,6 +45,7 @@
4645
end
4746

4847
it 'does not trigger a redundant call to `register`' do
48+
path = File.join(File.expand_path('../../data', __dir__), 'struct_handler.txt')
4949
YARD::Registry.clear
5050
expect_any_instance_of(described_class).not_to receive(:register) # rubocop:disable RSpec/AnyInstance
5151
YARD::Parser::SourceParser.parse(path)

0 commit comments

Comments
 (0)