fablicop 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/run-ci.yml +2 -2
- data/CHANGELOG.md +14 -0
- data/README.md +2 -0
- data/config/.base_rubocop.yml +28 -3
- data/fablicop.gemspec +2 -1
- data/lib/fablicop/version.rb +1 -1
- metadata +16 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c18a179d1a9561baecc377d75c37c2411bbf3e62c574c8d34550745f467ae24e
|
4
|
+
data.tar.gz: 70209ca3b77e0ee5007a30361538f7387ae5b07fa14cb42f6c7939123975e47c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4371dcf93f67af17574377009d5c0f0aedaa3edcefa24511605fd5866494f08fc7b5fa09f68e130972b3956dea9b4638a95c672d443f77a887dbd921baf59b35
|
7
|
+
data.tar.gz: 5f65be5e687ec38f54887676608344c0d44975a7d09b3be34a5ad636f3b011a3a087b0a8776b3bf56cbbd04ccaccca389627bb8e24041ded9978e720d52f17dc
|
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
matrix:
|
15
15
|
ruby: ["2.5", "2.6", "2.7", "3.0"]
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
17
|
+
- uses: actions/checkout@v3
|
18
18
|
- uses: ruby/setup-ruby@v1
|
19
19
|
with:
|
20
20
|
ruby-version: ${{ matrix.ruby }}
|
@@ -28,7 +28,7 @@ jobs:
|
|
28
28
|
matrix:
|
29
29
|
ruby: ["2.5", "2.6", "2.7", "3.0"]
|
30
30
|
steps:
|
31
|
-
- uses: actions/checkout@
|
31
|
+
- uses: actions/checkout@v3
|
32
32
|
- uses: ruby/setup-ruby@v1
|
33
33
|
with:
|
34
34
|
ruby-version: ${{ matrix.ruby }}
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [Unreleased](https://github.com/Fablic/fablicop/tree/HEAD)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.2.1...HEAD)
|
6
|
+
|
7
|
+
- Disable RSpec/DescribedClass [\#75](https://github.com/Fablic/fablicop/pull/75) ([yykamei](https://github.com/yykamei))
|
8
|
+
|
9
|
+
## [v1.2.1](https://github.com/Fablic/fablicop/tree/v1.2.1) (2022-04-15)
|
10
|
+
|
11
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.2.0...v1.2.1)
|
12
|
+
|
13
|
+
- Update rubocop requirement from ~> 1.14.0 to >= 1.14, < 1.28 [\#71](https://github.com/Fablic/fablicop/pull/71) ([dependabot](https://github.com/apps/dependabot))
|
14
|
+
- disable `RSpec/ExampleLength` and `RSpec/NamedSubject` [\#70](https://github.com/Fablic/fablicop/pull/70) ([tana2034](https://github.com/tana2034))
|
data/README.md
CHANGED
data/config/.base_rubocop.yml
CHANGED
@@ -96,10 +96,21 @@ Style/ClassAndModuleChildren:
|
|
96
96
|
- "test/**/*.rb"
|
97
97
|
- "spec/**/*.rb"
|
98
98
|
|
99
|
-
#
|
99
|
+
# Sometimes, 1000 is better than 1_000. Especially, it's useful to run grep(1) for searching `1000`.
|
100
100
|
Style/NumericLiterals:
|
101
|
-
|
102
|
-
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
# We don't care which we use: #yield_self or #then
|
104
|
+
Style/ObjectThen:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
# We don't care using ENV.fetch or ENV.[]
|
108
|
+
Style/FetchEnvVar:
|
109
|
+
Enabled: false
|
110
|
+
|
111
|
+
# We don't care which style we should use.
|
112
|
+
Style/IfUnlessModifier:
|
113
|
+
Enabled: false
|
103
114
|
|
104
115
|
##################### Layout ##################################
|
105
116
|
# We sometimes want to put multiple spaces before arguments.
|
@@ -226,6 +237,20 @@ Metrics/ClassLength:
|
|
226
237
|
Naming/RescuedExceptionsVariableName:
|
227
238
|
Enabled: false
|
228
239
|
|
240
|
+
##################### RSpec ##################################
|
241
|
+
|
229
242
|
# disabling to not to show errors if there is no when/with/without in the context
|
230
243
|
RSpec/ContextWording:
|
231
244
|
Enabled: false
|
245
|
+
|
246
|
+
# controller specs and request specs are hard to name reasonably
|
247
|
+
RSpec/NamedSubject:
|
248
|
+
Enabled: false
|
249
|
+
|
250
|
+
# because response validation in `request spec` is expected to result in large rows
|
251
|
+
RSpec/ExampleLength:
|
252
|
+
Enabled: false
|
253
|
+
|
254
|
+
# We don't care about whether using `described_class` or not.
|
255
|
+
RSpec/DescribedClass:
|
256
|
+
Enabled: false
|
data/fablicop.gemspec
CHANGED
@@ -30,10 +30,11 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.bindir = 'exe'
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
32
|
spec.require_paths = ['lib']
|
33
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
33
34
|
|
34
35
|
spec.required_ruby_version = '>= 2.5.0'
|
35
36
|
|
36
|
-
spec.add_dependency 'rubocop', '
|
37
|
+
spec.add_dependency 'rubocop', '>= 1.14', '< 1.29'
|
37
38
|
spec.add_dependency 'rubocop-rspec', '>= 1.15.1'
|
38
39
|
spec.add_dependency 'rubocop-rails'
|
39
40
|
spec.add_development_dependency 'bundler'
|
data/lib/fablicop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fablicop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tommy
|
@@ -10,22 +10,28 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-04-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - "
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.14'
|
22
|
+
- - "<"
|
20
23
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
24
|
+
version: '1.29'
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
25
28
|
requirements:
|
26
|
-
- - "
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '1.14'
|
32
|
+
- - "<"
|
27
33
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.
|
34
|
+
version: '1.29'
|
29
35
|
- !ruby/object:Gem::Dependency
|
30
36
|
name: rubocop-rspec
|
31
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,6 +131,7 @@ files:
|
|
125
131
|
- ".gitignore"
|
126
132
|
- ".rspec"
|
127
133
|
- ".rubocop.yml"
|
134
|
+
- CHANGELOG.md
|
128
135
|
- CODE_OF_CONDUCT.md
|
129
136
|
- Gemfile
|
130
137
|
- LICENSE.txt
|
@@ -142,7 +149,8 @@ files:
|
|
142
149
|
homepage: https://github.com/Fablic/fablicop
|
143
150
|
licenses:
|
144
151
|
- MIT
|
145
|
-
metadata:
|
152
|
+
metadata:
|
153
|
+
rubygems_mfa_required: 'true'
|
146
154
|
post_install_message:
|
147
155
|
rdoc_options: []
|
148
156
|
require_paths:
|
@@ -158,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
166
|
- !ruby/object:Gem::Version
|
159
167
|
version: '0'
|
160
168
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
169
|
+
rubygems_version: 3.3.7
|
162
170
|
signing_key:
|
163
171
|
specification_version: 4
|
164
172
|
summary: fablicop is a RuboCop configration gem.
|