Skip to content

Commit

Permalink
Regenerate .rubocop_todo.yml
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
kakubin committed Jul 27, 2024
1 parent bedc9f3 commit be3de5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-04-06 14:14:58 UTC using RuboCop version 1.62.1.
# on 2024-07-25 11:34:20 UTC using RuboCop version 1.65.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -49,6 +49,7 @@ Metrics/BlockLength:
# 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
Naming/FileName:
Exclude:
- 'Rakefile.rb'
- 'lib/grape-swagger-rails.rb'
- 'spec/features/grape-swagger-rails_spec.rb'

Expand All @@ -61,7 +62,7 @@ RSpec/ContextWording:

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle.
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
Expand All @@ -72,13 +73,6 @@ RSpec/DescribedClass:
RSpec/ExampleLength:
Max: 8

# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/features/grape-swagger-rails_spec.rb'

# Offense count: 2
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
### 0.5.1 (Next)

* Your contribution here.

* [#120](https://github.com/ruby-grape/grape-swagger-rails/pull/120): Regenerate .rubocop_todo.yml - [@kakubin](https://github.com/kakubin).

### 0.5.0 (2024/04/06)

* [#110](https://github.com/ruby-grape/grape-swagger-rails/pull/110): Update dummy app to current rails conventions - [@duffn](https://github.com/duffn).
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ group :development, :test do
gem 'rubocop'
gem 'rubocop-capybara'
gem 'rubocop-rake'
gem 'rubocop-rspec'
gem 'rubocop-rspec', '>= 3.0.0'
gem 'ruby-grape-danger', '~> 0.2.0', require: false
gem 'selenium-webdriver'
gem 'sprockets-rails', require: 'sprockets/railtie'
Expand Down

0 comments on commit be3de5e

Please sign in to comment.