standard-rspec 0.1.0 → 0.1.2

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: a52f43573a77eb3e913884f86127b843e24f0a1329567e5b979b71e4b9bfdbbe
4
- data.tar.gz: 2a7688b36e1d494ab25994214537acf2464d27ca79eef060438002facbeda054
3
+ metadata.gz: 6a7df2ed9027afe0b7597cfa38a7c75ccc38368d641752a7955a6cf695b77b7b
4
+ data.tar.gz: 73545048ffb300f699739697eb68966729e6fd6f8a444afaf41bc5f1b0a76d8e
5
5
  SHA512:
6
- metadata.gz: d393923db44ff1282727519024c69077e771aa5fc0b2ddd4f5641fe7a458c9476d7976c6a50fef57ebef843d051ec974ab9a07d3774305f76f1d3061d35ced72
7
- data.tar.gz: d6e88c191aa9e2211950b89ccd66bbd65ce3a5acf92d333ff6959ff0c5ba39d3122de7ca7365e917a9e09676c22f3d95fa0c3fca95f34f89054987d3612829b7
6
+ metadata.gz: 55c407680bc30e520cca7d082acd8d24971e8bd4238af7ab73b3800a916130f198777ea83540719482b8bad4dbc1031781fb353bc0c7f12005f28f301b18655e
7
+ data.tar.gz: 39bf410b6b2cfc4607a70f4877d397e6738d05c6118ba4093c7f7134498d3169b28ffa9767c8801216bf3dd795d61c01ad972991e5341394065c8e61c6fca869
data/README.md CHANGED
@@ -1,24 +1,18 @@
1
1
  # Standard::Rspec
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/standard/rspec`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+ Add this to your Gemfile, to install:
6
6
 
7
- ## Installation
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
- TODO: Write usage instructions here
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
@@ -751,7 +751,7 @@ RSpec/Capybara:
751
751
  Include: *1
752
752
  Language: *2
753
753
 
754
- RSpec/Capybara/CurrentPathExpectation:
754
+ Capybara/CurrentPathExpectation:
755
755
  Description: Checks that no expectations are set on Capybara's `current_path`.
756
756
  Enabled: true
757
757
  VersionAdded: '1.18'
@@ -766,7 +766,7 @@ RSpec/Capybara/FeatureMethods:
766
766
  VersionChanged: '2.0'
767
767
  StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods
768
768
 
769
- RSpec/Capybara/VisibilityMatcher:
769
+ Capybara/VisibilityMatcher:
770
770
  Description: Checks for boolean visibility in capybara finders.
771
771
  Enabled: true
772
772
  VersionAdded: '1.39'
@@ -778,7 +778,7 @@ RSpec/FactoryBot:
778
778
  Include: *1
779
779
  Language: *2
780
780
 
781
- RSpec/FactoryBot/AttributeDefinedStatically:
781
+ FactoryBot/AttributeDefinedStatically:
782
782
  Description: Always declare attribute values as blocks.
783
783
  Enabled: true
784
784
  Include:
@@ -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
- RSpec/FactoryBot/CreateList:
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
- RSpec/FactoryBot/FactoryClassName:
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
- RSpec/FactoryBot/SyntaxMethods:
820
+ FactoryBot/SyntaxMethods:
821
821
  Description: Use shorthands from `FactoryBot::Syntax::Methods` in your specs.
822
822
  Enabled: pending
823
823
  SafeAutoCorrect: false
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Standard
4
4
  module Rspec
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - shilin-anton