rubocop-discourse 3.7.1 → 3.8.1
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 +4 -2
- data/rubocop-rails.yml +11 -0
- data/rubocop-rspec.yml +10 -2
- data/stree-compat.yml +1 -0
- metadata +33 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6b21abdd18093c8fdfbcf7811f0bb520da340cbd12b70a4f47bb996d960e9c8
|
4
|
+
data.tar.gz: dd1e656a4ce9b42ae87ea61717db604d102c693e5bed2b9d56b9ac1b75e9b32f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 455fa288eb139814eb3deb1ad92495ff3822ab055b4584f44da708be10958049f10e7023d3a2df0080861979aa1302d84e00688bb116edff957c6bdc56de930c
|
7
|
+
data.tar.gz: 90ada24a89b5649487653c5a9c40b0ad7199b839c92a3388ecf8b5b2e71bb4e73381a1d6ca511b2cf78b0a5257b31d49ac2f700041a91710a70253d4e9f83c38
|
data/rubocop-discourse.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "rubocop-discourse"
|
5
|
-
s.version = "3.
|
5
|
+
s.version = "3.8.1"
|
6
6
|
s.summary = "Custom rubocop cops used by Discourse"
|
7
7
|
s.authors = ["Discourse Team"]
|
8
8
|
s.license = "MIT"
|
@@ -13,9 +13,11 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.add_runtime_dependency "activesupport", ">= 6.1"
|
15
15
|
s.add_runtime_dependency "rubocop", ">= 1.59.0"
|
16
|
-
s.add_runtime_dependency "rubocop-rspec", ">=
|
16
|
+
s.add_runtime_dependency "rubocop-rspec", ">= 3.0.1"
|
17
17
|
s.add_runtime_dependency "rubocop-factory_bot", ">= 2.0.0"
|
18
18
|
s.add_runtime_dependency "rubocop-capybara", ">= 2.0.0"
|
19
|
+
s.add_runtime_dependency "rubocop-rails", ">= 2.25.0"
|
20
|
+
s.add_runtime_dependency "rubocop-rspec_rails", ">= 2.30.0"
|
19
21
|
|
20
22
|
s.add_development_dependency "rake", "~> 13.1.0"
|
21
23
|
s.add_development_dependency "rspec", "~> 3.12.0"
|
data/rubocop-rails.yml
ADDED
data/rubocop-rspec.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rspec
|
3
|
+
- rubocop-rspec_rails
|
3
4
|
|
4
5
|
RSpec/AnyInstance:
|
5
6
|
Enabled: false # To be decided
|
@@ -223,8 +224,15 @@ RSpec/VoidExpect:
|
|
223
224
|
RSpec/Yield:
|
224
225
|
Enabled: true
|
225
226
|
|
226
|
-
RSpec/
|
227
|
+
RSpec/Dialect:
|
227
228
|
Enabled: true
|
229
|
+
PreferredMethods:
|
230
|
+
background: :before
|
231
|
+
scenario: :it
|
232
|
+
xscenario: :xit
|
233
|
+
given: :let
|
234
|
+
given!: :let!
|
235
|
+
feature: :describe
|
228
236
|
|
229
|
-
|
237
|
+
RSpecRails/HttpStatus:
|
230
238
|
Enabled: true
|
data/stree-compat.yml
CHANGED
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: 3.
|
4
|
+
version: 3.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Discourse Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 3.0.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.0.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-factory_bot
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,34 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.0.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.25.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.25.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-rspec_rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.30.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.30.0
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
112
|
name: rake
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,6 +179,7 @@ files:
|
|
151
179
|
- rubocop-discourse.gemspec
|
152
180
|
- rubocop-factory_bot.yml
|
153
181
|
- rubocop-layout.yml
|
182
|
+
- rubocop-rails.yml
|
154
183
|
- rubocop-rspec.yml
|
155
184
|
- spec/fixtures/controllers/bad_controller.rb
|
156
185
|
- spec/fixtures/controllers/base_controller.rb
|