rubocopital 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63e97c9f503597572f1e1e8240e7ff2cbcca867a87f55173f5ae664702e00d48
4
- data.tar.gz: 7521bdaf213c9637d21985fc1277bd092cab25d5d67c57d38ff285c3eee142e9
3
+ metadata.gz: 1add573833a9f293c3bad79c70583723785189ce072ca900351906dc11c1266f
4
+ data.tar.gz: 8f9e59888d63c4b879b73cb0d058d1a66d773689e6a11a03c303e56b5a07f742
5
5
  SHA512:
6
- metadata.gz: 7974b4cdc043aeb3e0adea9f343d0153c06126775da904cf9a4c0a4dba1a181f238f70a81143154f93d7e70e01fcbaa5dc4b89866d0341e89c60b85919fe9009
7
- data.tar.gz: 61826ba3c21774a0419230b30ab85f1e7e4c2555d4d5f3d119b42a6f0d1754274559da0b7e12e1a7b6258532a68a6d4469396e282c0546dde3a5ed1197be1ce0
6
+ metadata.gz: 645b3490f93e5685502baca8625b5243f468dee7907604a91d5a93c8069eee2b4bdd3355f84d7ef67ea8060af365078074d26bcd3574e42840df69d4bb041d8e
7
+ data.tar.gz: 1ad3f29fa592c14f433fe80f2cc3ebdc0df6a17950382b3359bdaaccf04a83e4317bcb9f45844b145af9e0018dc744e06c396082bfabd5b6f9a99483cafabdc8
data/.rubocop-rails.yml CHANGED
@@ -111,3 +111,15 @@ Rails/UnknownEnv:
111
111
  - acceptance
112
112
  - training
113
113
  - production
114
+
115
+ # TODO Cops
116
+ Rails/AfterCommitOverride: # (new in 2.8)
117
+ Enabled: false
118
+ Rails/AttributeDefaultBlockValue: # (new in 2.9)
119
+ Enabled: false
120
+ Rails/SquishedSQLHeredocs: # (new in 2.8)
121
+ Enabled: false
122
+ Rails/WhereEquals: # (new in 2.9)
123
+ Enabled: false
124
+ Rails/WhereNot: # (new in 2.8)
125
+ Enabled: false
data/.rubocop-rspec.yml CHANGED
@@ -1,22 +1,22 @@
1
1
  require: rubocop-rspec
2
2
 
3
- Capybara/CurrentPathExpectation:
3
+ RSpec/Capybara/CurrentPathExpectation:
4
4
  Enabled: true
5
5
 
6
- Capybara/FeatureMethods:
6
+ RSpec/Capybara/FeatureMethods:
7
7
  Enabled: true
8
8
 
9
- FactoryBot/AttributeDefinedStatically:
9
+ RSpec/FactoryBot/AttributeDefinedStatically:
10
10
  Enabled: true
11
11
 
12
- FactoryBot/CreateList:
12
+ RSpec/FactoryBot/CreateList:
13
13
  Enabled: true
14
14
  EnforcedStyle: create_list
15
15
 
16
- FactoryBot/FactoryClassName:
16
+ RSpec/FactoryBot/FactoryClassName:
17
17
  Enabled: true
18
18
 
19
- Rails/HttpStatus:
19
+ RSpec/Rails/HttpStatus:
20
20
  Enabled: true
21
21
  EnforcedStyle: symbolic
22
22
 
@@ -138,9 +138,6 @@ RSpec/InstanceVariable:
138
138
  AssignmentOnly: true
139
139
  Enabled: true
140
140
 
141
- RSpec/InvalidPredicateMatcher:
142
- Enabled: true
143
-
144
141
  RSpec/ItBehavesLike:
145
142
  Enabled: true
146
143
  EnforcedStyle: it_behaves_like
@@ -264,15 +261,3 @@ RSpec/RepeatedExampleGroupBody:
264
261
 
265
262
  RSpec/EmptyHook:
266
263
  Enabled: true
267
-
268
- # TODO Cops
269
- Rails/AfterCommitOverride: # (new in 2.8)
270
- Enabled: false
271
- Rails/AttributeDefaultBlockValue: # (new in 2.9)
272
- Enabled: false
273
- Rails/SquishedSQLHeredocs: # (new in 2.8)
274
- Enabled: false
275
- Rails/WhereEquals: # (new in 2.9)
276
- Enabled: false
277
- Rails/WhereNot: # (new in 2.8)
278
- Enabled: false
data/.rubocop.yml CHANGED
@@ -1,8 +1,4 @@
1
- require:
2
- - rubocop-performance
3
- - rubocop-rails
4
- - rubocop-rspec
5
-
6
1
  inherit_from:
7
2
  - default.yml
8
-
3
+ - .rubocop-rails.yml
4
+ - .rubocop-rspec.yml
data/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.2] - 08 February 2021
10
+
11
+ ### Fixed
12
+ - Fix new Rails cops being loaded when using RSpec configuration
13
+ - Fix RSpec cop error for non-existing RSpec/InvalidPredicateMatcher
14
+ - Fix RSpec cop name warnings
15
+
9
16
  ## [1.0.1] - 05 February 2021
10
17
 
11
18
  ### Fixed
data/README.md CHANGED
@@ -7,7 +7,7 @@ This is the common configuration for ruby-style checks by [Rubocop](https://gith
7
7
  Add this line to your application's Gemfile under the `development` and `test` groups to include a specific version of this gem:
8
8
 
9
9
  ```ruby
10
- gem 'rubocopital', '~> 1.0.1', require: false
10
+ gem 'rubocopital', '~> 1.0', require: false
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubocopital
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
data/new_cops.yml CHANGED
@@ -86,4 +86,3 @@ Style/NilLambda: # (new in 1.3)
86
86
  Enabled: false
87
87
  Style/RedundantArgument: # (new in 1.4)
88
88
  Enabled: false
89
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocopital
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcel Eeken
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-02-05 00:00:00.000000000 Z
12
+ date: 2021-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop