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 +4 -4
- data/.rubocop-rails.yml +12 -0
- data/.rubocop-rspec.yml +6 -21
- data/.rubocop.yml +2 -6
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/rubocopital/version.rb +1 -1
- data/new_cops.yml +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1add573833a9f293c3bad79c70583723785189ce072ca900351906dc11c1266f
|
|
4
|
+
data.tar.gz: 8f9e59888d63c4b879b73cb0d058d1a66d773689e6a11a03c303e56b5a07f742
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
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
|
|
10
|
+
gem 'rubocopital', '~> 1.0', require: false
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
And then execute:
|
data/lib/rubocopital/version.rb
CHANGED
data/new_cops.yml
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rubocop
|