rubocop-discourse 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop-discourse.gemspec +2 -2
- data/rubocop-rspec.yml +28 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d323501481e0e731a79b93e81cb53e5a2b67d0761aebf7ac6ed8088d607bf912
|
4
|
+
data.tar.gz: 8ab7c331ea82087f6a2f8a626ac9de4192a231aff5a58ca853938903d16bfc37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567ae9f6c1175704e4146fdb1d24ec8220560edc5f438fb4ac8cb4be655f90f92cc5fbc0b2b9a1a2992bd8861725681d0e860be73d16288e34298e61e41d85b1
|
7
|
+
data.tar.gz: 38f89b89b1d18efd564afd9c2dc5de3830ace80aa8908e0430697f32436d6a3c91ffd87ec4f467da43f87df5132f1adb34d9161a93da8bc5882c5292fba71337
|
data/rubocop-discourse.gemspec
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "rubocop-discourse"
|
5
|
-
s.version = "2.
|
5
|
+
s.version = "2.6.0"
|
6
6
|
s.summary = "Custom rubocop cops used by Discourse"
|
7
|
-
s.authors = ["
|
7
|
+
s.authors = ["Discourse Team"]
|
8
8
|
s.license = "MIT"
|
9
9
|
s.homepage = "https://github.com/discourse/rubocop-discourse"
|
10
10
|
|
data/rubocop-rspec.yml
CHANGED
@@ -8,16 +8,40 @@ RSpec/AroundBlock:
|
|
8
8
|
Enabled: true
|
9
9
|
|
10
10
|
RSpec/BeforeAfterAll:
|
11
|
-
Enabled:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
RSpec/ChangeByZero:
|
14
|
+
Enabled: true
|
12
15
|
|
13
16
|
RSpec/ContextMethod:
|
14
|
-
Enabled:
|
17
|
+
Enabled: true
|
15
18
|
|
16
19
|
RSpec/ContextWording:
|
17
|
-
Enabled:
|
20
|
+
Enabled: true
|
21
|
+
Prefixes:
|
22
|
+
- when
|
23
|
+
- with
|
24
|
+
- without
|
25
|
+
- for
|
26
|
+
- while
|
27
|
+
- if
|
28
|
+
- as
|
29
|
+
- after
|
18
30
|
|
19
31
|
RSpec/DescribeClass:
|
20
|
-
Enabled:
|
32
|
+
Enabled: true
|
33
|
+
Exclude:
|
34
|
+
- "**/spec/features/**/*"
|
35
|
+
- "**/spec/requests/**/*"
|
36
|
+
- "**/spec/routing/**/*"
|
37
|
+
- "**/spec/system/**/*"
|
38
|
+
- "**/spec/views/**/*"
|
39
|
+
- "**/spec/initializers/**/*"
|
40
|
+
- "**/spec/integration/**/*"
|
41
|
+
- "**/spec/integrity/**/*"
|
42
|
+
- "**/spec/tasks/**/*"
|
43
|
+
- "**/spec/lib/freedom_patches/**/*"
|
44
|
+
- "**/spec/multisite/**/*"
|
21
45
|
|
22
46
|
RSpec/DescribeMethod:
|
23
47
|
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-discourse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Discourse Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|