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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a52f43573a77eb3e913884f86127b843e24f0a1329567e5b979b71e4b9bfdbbe
4
- data.tar.gz: 2a7688b36e1d494ab25994214537acf2464d27ca79eef060438002facbeda054
3
+ metadata.gz: 783c0b239a91d3ade36ab464be084551957aa2636b53576000f0b5da36d86fe6
4
+ data.tar.gz: 02a22014b1e35fb72107598b9b540639c7c40b9e15d9329d0b6967d5715933e5
5
5
  SHA512:
6
- metadata.gz: d393923db44ff1282727519024c69077e771aa5fc0b2ddd4f5641fe7a458c9476d7976c6a50fef57ebef843d051ec974ab9a07d3774305f76f1d3061d35ced72
7
- data.tar.gz: d6e88c191aa9e2211950b89ccd66bbd65ce3a5acf92d333ff6959ff0c5ba39d3122de7ca7365e917a9e09676c22f3d95fa0c3fca95f34f89054987d3612829b7
6
+ metadata.gz: c70a6773e709b3be9f5b4b0932821e4756d6482152cc115e001eb253df41a910f7562a48afb3e2d7820a756857a1c8d89e38ea1e676d82d8677de71b2f6ccd63
7
+ data.tar.gz: 2586612699c55a2bafa654ba85cac2bbf973ca4460a209a9f22fb039aa431c1e97289e4e21f334b7a2796928befad962377ed24316251b17f3453532b7cdf200
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
@@ -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.1"
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - shilin-anton