standard-rspec 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -14
- data/config/base.yml +3 -3
- data/lib/standard/rspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 783c0b239a91d3ade36ab464be084551957aa2636b53576000f0b5da36d86fe6
|
4
|
+
data.tar.gz: 02a22014b1e35fb72107598b9b540639c7c40b9e15d9329d0b6967d5715933e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70a6773e709b3be9f5b4b0932821e4756d6482152cc115e001eb253df41a910f7562a48afb3e2d7820a756857a1c8d89e38ea1e676d82d8677de71b2f6ccd63
|
7
|
+
data.tar.gz: 2586612699c55a2bafa654ba85cac2bbf973ca4460a209a9f22fb039aa431c1e97289e4e21f334b7a2796928befad962377ed24316251b17f3453532b7cdf200
|
data/README.md
CHANGED
@@ -1,24 +1,18 @@
|
|
1
1
|
# Standard::Rspec
|
2
2
|
|
3
|
-
|
3
|
+
This gem provides a [lint_roller](https://github.com/standardrb/lint_roller) plugin configuration for the [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) ruleset as an extension to the Standard Ruby gem.
|
4
4
|
|
5
|
-
|
5
|
+
Add this to your Gemfile, to install:
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
-
|
11
|
-
Install the gem and add to the application's Gemfile by executing:
|
12
|
-
|
13
|
-
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
|
14
|
-
|
15
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
|
-
|
17
|
-
$ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
|
7
|
+
`gem "standard-rspec"`
|
18
8
|
|
19
9
|
## Usage
|
20
10
|
|
21
|
-
|
11
|
+
In your `.standard.yml` file, you can list standard-rspec as a plugin:
|
12
|
+
```
|
13
|
+
plugins:
|
14
|
+
- standard-rspec
|
15
|
+
```
|
22
16
|
|
23
17
|
## Development
|
24
18
|
|
data/config/base.yml
CHANGED
@@ -789,7 +789,7 @@ RSpec/FactoryBot/AttributeDefinedStatically:
|
|
789
789
|
VersionChanged: '2.0'
|
790
790
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically
|
791
791
|
|
792
|
-
|
792
|
+
FactoryBot/CreateList:
|
793
793
|
Description: Checks for create_list usage.
|
794
794
|
Enabled: true
|
795
795
|
Include:
|
@@ -806,7 +806,7 @@ RSpec/FactoryBot/CreateList:
|
|
806
806
|
VersionChanged: '2.0'
|
807
807
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList
|
808
808
|
|
809
|
-
|
809
|
+
FactoryBot/FactoryClassName:
|
810
810
|
Description: Use string value when setting the class attribute explicitly.
|
811
811
|
Enabled: true
|
812
812
|
Include:
|
@@ -817,7 +817,7 @@ RSpec/FactoryBot/FactoryClassName:
|
|
817
817
|
VersionChanged: '2.0'
|
818
818
|
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/FactoryClassName
|
819
819
|
|
820
|
-
|
820
|
+
FactoryBot/SyntaxMethods:
|
821
821
|
Description: Use shorthands from `FactoryBot::Syntax::Methods` in your specs.
|
822
822
|
Enabled: pending
|
823
823
|
SafeAutoCorrect: false
|