Skip to content

Commit be3de5e

Browse files
committed
Regenerate .rubocop_todo.yml
cop `RSpec/FilePath` is now obsoleted. following message was shown when rubocop executed. ``` Error: The `RSpec/FilePath` cop has been split into `RSpec/SpecFilePathFormat` and `RSpec/SpecFilePathSuffix`. (obsolete configuration found in .rubocop_todo.yml, please update it) ```
1 parent bedc9f3 commit be3de5e

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.rubocop_todo.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2024-04-06 14:14:58 UTC using RuboCop version 1.62.1.
3+
# on 2024-07-25 11:34:20 UTC using RuboCop version 1.65.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -49,6 +49,7 @@ Metrics/BlockLength:
4949
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
5050
Naming/FileName:
5151
Exclude:
52+
- 'Rakefile.rb'
5253
- 'lib/grape-swagger-rails.rb'
5354
- 'spec/features/grape-swagger-rails_spec.rb'
5455

@@ -61,7 +62,7 @@ RSpec/ContextWording:
6162

6263
# Offense count: 1
6364
# This cop supports unsafe autocorrection (--autocorrect-all).
64-
# Configuration parameters: SkipBlocks, EnforcedStyle.
65+
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
6566
# SupportedStyles: described_class, explicit
6667
RSpec/DescribedClass:
6768
Exclude:
@@ -72,13 +73,6 @@ RSpec/DescribedClass:
7273
RSpec/ExampleLength:
7374
Max: 8
7475

75-
# Offense count: 1
76-
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
77-
# Include: **/*_spec*rb*, **/spec/**/*
78-
RSpec/FilePath:
79-
Exclude:
80-
- 'spec/features/grape-swagger-rails_spec.rb'
81-
8276
# Offense count: 2
8377
# Configuration parameters: AssignmentOnly.
8478
RSpec/InstanceVariable:

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
### 0.5.1 (Next)
22

33
* Your contribution here.
4-
4+
* [#120](https://github.com/ruby-grape/grape-swagger-rails/pull/120): Regenerate .rubocop_todo.yml - [@kakubin](https://github.com/kakubin).
5+
56
### 0.5.0 (2024/04/06)
67

78
* [#110](https://github.com/ruby-grape/grape-swagger-rails/pull/110): Update dummy app to current rails conventions - [@duffn](https://github.com/duffn).

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ group :development, :test do
2525
gem 'rubocop'
2626
gem 'rubocop-capybara'
2727
gem 'rubocop-rake'
28-
gem 'rubocop-rspec'
28+
gem 'rubocop-rspec', '>= 3.0.0'
2929
gem 'ruby-grape-danger', '~> 0.2.0', require: false
3030
gem 'selenium-webdriver'
3131
gem 'sprockets-rails', require: 'sprockets/railtie'

0 commit comments

Comments
 (0)