|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config` |
3 | | -# on 2017-09-13 14:18:39 -0400 using RuboCop version 0.33.0. |
| 3 | +# on 2026-01-02 19:41:49 UTC using RuboCop version 1.36.0. |
4 | 4 | # The point is for the user to remove these configuration records |
5 | 5 | # one by one as the offenses are removed from the code base. |
6 | 6 | # Note that changes in the inspected code, or installation of new |
7 | 7 | # versions of RuboCop, may require this file to be generated again. |
8 | 8 |
|
9 | | -# Offense count: 20 |
10 | | -# Configuration parameters: AllowURI, URISchemes. |
11 | | -Metrics/LineLength: |
12 | | - Max: 118 |
13 | | - |
| 9 | +# Offense count: 1 |
| 10 | +# Configuration parameters: Include. |
| 11 | +# Include: **/*.gemspec |
14 | 12 | Gemspec/RequiredRubyVersion: |
15 | 13 | Exclude: |
16 | 14 | - 'mongoid-compatibility.gemspec' |
17 | 15 |
|
18 | | -Metrics/BlockLength: |
| 16 | +# Offense count: 1 |
| 17 | +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 18 | +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src |
| 19 | +# 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 |
| 20 | +Naming/FileName: |
19 | 21 | Exclude: |
20 | | - - 'spec/**/*' |
21 | | - - 'test/**/*' |
| 22 | + - 'lib/mongoid-compatibility.rb' |
22 | 23 |
|
23 | | -# Offense count: 4 |
24 | | -Style/Documentation: |
| 24 | +# Offense count: 1 |
| 25 | +# Configuration parameters: Prefixes, AllowedPatterns. |
| 26 | +# Prefixes: when, with, without |
| 27 | +RSpec/ContextWording: |
25 | 28 | Exclude: |
26 | | - - 'lib/mongoid/compatibility/object_id.rb' |
27 | | - - 'lib/mongoid/compatibility/self.rb' |
28 | | - - 'lib/mongoid/compatibility/version.rb' |
| 29 | + - 'spec/mongoid/compatibility/version_spec.rb' |
| 30 | + |
| 31 | +# Offense count: 18 |
| 32 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 33 | +# Configuration parameters: SkipBlocks, EnforcedStyle. |
| 34 | +# SupportedStyles: described_class, explicit |
| 35 | +RSpec/DescribedClass: |
| 36 | + Exclude: |
| 37 | + - 'spec/mongoid/compatibility/object_id_spec.rb' |
| 38 | + - 'spec/mongoid/compatibility/version_spec.rb' |
| 39 | + |
| 40 | +# Offense count: 1 |
| 41 | +# Configuration parameters: CountAsOne. |
| 42 | +RSpec/ExampleLength: |
| 43 | + Max: 13 |
29 | 44 |
|
30 | 45 | # Offense count: 1 |
31 | | -Style/DoubleNegation: |
| 46 | +# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. |
| 47 | +# Include: **/*_spec*rb*, **/spec/**/* |
| 48 | +RSpec/FilePath: |
32 | 49 | Exclude: |
33 | | - - 'lib/mongoid/compatibility/version.rb' |
| 50 | + - 'spec/mongoid/compatibility/self_spec.rb' |
34 | 51 |
|
35 | 52 | # Offense count: 1 |
36 | | -# Configuration parameters: Exclude. |
37 | | -Style/FileName: |
| 53 | +RSpec/MultipleExpectations: |
| 54 | + Max: 5 |
| 55 | + |
| 56 | +# Offense count: 3 |
| 57 | +# Configuration parameters: AllowedConstants. |
| 58 | +Style/Documentation: |
38 | 59 | Exclude: |
39 | | - - 'lib/mongoid-compatibility.rb' |
| 60 | + - 'spec/**/*' |
| 61 | + - 'test/**/*' |
| 62 | + - 'lib/mongoid/compatibility/object_id.rb' |
| 63 | + - 'lib/mongoid/compatibility/version.rb' |
0 commit comments