rubocop-discourse 3.8.0 → 3.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5b75497583add89cff544cd40ac534768c6694e53ff350469e6a4a83bf5e285
4
- data.tar.gz: 840195a9bbe85b1fc5d83c3d87af5b137418fe037e1890997de40bb3a1b61692
3
+ metadata.gz: a6b21abdd18093c8fdfbcf7811f0bb520da340cbd12b70a4f47bb996d960e9c8
4
+ data.tar.gz: dd1e656a4ce9b42ae87ea61717db604d102c693e5bed2b9d56b9ac1b75e9b32f
5
5
  SHA512:
6
- metadata.gz: f082de2cc3cad1becdb56cceb6576d653337a93d3912012be3fbb2fe9b18dcfde6c8182051b3a71389f9c943f36122817e7f52bc5c409357c98d0d077796d4b5
7
- data.tar.gz: c3eaf22eb291495aae7ee022585892e451361b30e59b59c176d37ffee91fa53e3c57d650189a543e591166a4759ff5c90c531e4a4779f3a1e765474576d8b82b
6
+ metadata.gz: 455fa288eb139814eb3deb1ad92495ff3822ab055b4584f44da708be10958049f10e7023d3a2df0080861979aa1302d84e00688bb116edff957c6bdc56de930c
7
+ data.tar.gz: 90ada24a89b5649487653c5a9c40b0ad7199b839c92a3388ecf8b5b2e71bb4e73381a1d6ca511b2cf78b0a5257b31d49ac2f700041a91710a70253d4e9f83c38
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubocop-discourse"
5
- s.version = "3.8.0"
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,10 +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", ">= 2.25.0"
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
19
  s.add_runtime_dependency "rubocop-rails", ">= 2.25.0"
20
+ s.add_runtime_dependency "rubocop-rspec_rails", ">= 2.30.0"
20
21
 
21
22
  s.add_development_dependency "rake", "~> 13.1.0"
22
23
  s.add_development_dependency "rspec", "~> 3.12.0"
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/Capybara/FeatureMethods:
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
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.8.0
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-05-27 00:00:00.000000000 Z
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: 2.25.0
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: 2.25.0
54
+ version: 3.0.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-factory_bot
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
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
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rake
99
113
  requirement: !ruby/object:Gem::Requirement