rubocop-rspec 2.6.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/config/default.yml +137 -92
- data/lib/rubocop/cop/rspec/be_eq.rb +45 -0
- data/lib/rubocop/cop/rspec/be_eql.rb +1 -1
- data/lib/rubocop/cop/rspec/be_nil.rb +40 -0
- data/lib/rubocop/cop/rspec/capybara/current_path_expectation.rb +7 -7
- data/lib/rubocop/cop/rspec/capybara/feature_methods.rb +2 -23
- data/lib/rubocop/cop/rspec/capybara/visibility_matcher.rb +3 -2
- data/lib/rubocop/cop/rspec/empty_line_after_subject.rb +3 -9
- data/lib/rubocop/cop/rspec/factory_bot/create_list.rb +4 -3
- data/lib/rubocop/cop/rspec/factory_bot/syntax_methods.rb +107 -0
- data/lib/rubocop/cop/rspec/leading_subject.rb +3 -7
- data/lib/rubocop/cop/rspec/mixin/inside_example_group.rb +29 -0
- data/lib/rubocop/cop/rspec/subject_stub.rb +44 -18
- data/lib/rubocop/cop/rspec/yield.rb +1 -1
- data/lib/rubocop/cop/rspec_cops.rb +3 -0
- data/lib/rubocop/rspec/config_formatter.rb +3 -4
- data/lib/rubocop/rspec/factory_bot/language.rb +17 -0
- data/lib/rubocop/rspec/version.rb +1 -1
- data/lib/rubocop-rspec.rb +5 -2
- metadata +9 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Backus
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-02-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
@@ -135,7 +135,9 @@ files:
|
|
135
135
|
- lib/rubocop/cop/rspec/around_block.rb
|
136
136
|
- lib/rubocop/cop/rspec/base.rb
|
137
137
|
- lib/rubocop/cop/rspec/be.rb
|
138
|
+
- lib/rubocop/cop/rspec/be_eq.rb
|
138
139
|
- lib/rubocop/cop/rspec/be_eql.rb
|
140
|
+
- lib/rubocop/cop/rspec/be_nil.rb
|
139
141
|
- lib/rubocop/cop/rspec/before_after_all.rb
|
140
142
|
- lib/rubocop/cop/rspec/capybara/current_path_expectation.rb
|
141
143
|
- lib/rubocop/cop/rspec/capybara/feature_methods.rb
|
@@ -166,6 +168,7 @@ files:
|
|
166
168
|
- lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb
|
167
169
|
- lib/rubocop/cop/rspec/factory_bot/create_list.rb
|
168
170
|
- lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb
|
171
|
+
- lib/rubocop/cop/rspec/factory_bot/syntax_methods.rb
|
169
172
|
- lib/rubocop/cop/rspec/file_path.rb
|
170
173
|
- lib/rubocop/cop/rspec/focus.rb
|
171
174
|
- lib/rubocop/cop/rspec/hook_argument.rb
|
@@ -189,6 +192,7 @@ files:
|
|
189
192
|
- lib/rubocop/cop/rspec/mixin/comments_help.rb
|
190
193
|
- lib/rubocop/cop/rspec/mixin/empty_line_separation.rb
|
191
194
|
- lib/rubocop/cop/rspec/mixin/final_end_location.rb
|
195
|
+
- lib/rubocop/cop/rspec/mixin/inside_example_group.rb
|
192
196
|
- lib/rubocop/cop/rspec/mixin/top_level_group.rb
|
193
197
|
- lib/rubocop/cop/rspec/mixin/variable.rb
|
194
198
|
- lib/rubocop/cop/rspec/multiple_describes.rb
|
@@ -234,6 +238,7 @@ files:
|
|
234
238
|
- lib/rubocop/rspec/example.rb
|
235
239
|
- lib/rubocop/rspec/example_group.rb
|
236
240
|
- lib/rubocop/rspec/factory_bot.rb
|
241
|
+
- lib/rubocop/rspec/factory_bot/language.rb
|
237
242
|
- lib/rubocop/rspec/hook.rb
|
238
243
|
- lib/rubocop/rspec/inject.rb
|
239
244
|
- lib/rubocop/rspec/language.rb
|
@@ -247,6 +252,7 @@ licenses:
|
|
247
252
|
metadata:
|
248
253
|
changelog_uri: https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md
|
249
254
|
documentation_uri: https://docs.rubocop.org/rubocop-rspec/
|
255
|
+
rubygems_mfa_required: 'true'
|
250
256
|
post_install_message:
|
251
257
|
rdoc_options: []
|
252
258
|
require_paths:
|
@@ -262,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
268
|
- !ruby/object:Gem::Version
|
263
269
|
version: '0'
|
264
270
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
271
|
+
rubygems_version: 3.3.1
|
266
272
|
signing_key:
|
267
273
|
specification_version: 4
|
268
274
|
summary: Code style checking for RSpec files
|