fablicop 1.2.1 → 1.4.1
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/.github/workflows/changelog.yml +29 -0
- data/CHANGELOG.md +78 -3
- data/config/.base_rubocop.yml +22 -3
- data/fablicop.gemspec +1 -1
- data/lib/fablicop/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07eb16fa26e1f0316ef778a520a56f77408b5c9e93677e1a6758a035e97cf299
|
|
4
|
+
data.tar.gz: cc78bd7069639395950bbf9aeccd42a7f4884481b1403792aa13a91da6159a7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ca4df2f25fc58700fc64ecb106ee876c309a6ee5fbd5d7c12411e11a1361880cfef6b1983ba38c9b1bba5aac1328c7b877aa81d1d5cb0aa56ed005774f67130
|
|
7
|
+
data.tar.gz: 9ca49292c708a1062ab5aacd8020a5b19476e4c472a63fbeae92a59ca3fdb1b6997916379b305a1f00fa5f566ab0f1af06a539104ee395940c03551a350c3ddd
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Changelog
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
jobs:
|
|
8
|
+
changelog:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v3
|
|
12
|
+
- uses: yykamei/actions-date@main
|
|
13
|
+
id: date
|
|
14
|
+
- uses: yykamei/actions-update-changelog@main
|
|
15
|
+
with:
|
|
16
|
+
since-tag: v1.1.0
|
|
17
|
+
- uses: yykamei/actions-git-push@main
|
|
18
|
+
with:
|
|
19
|
+
commit-message: Update CHANGELOG.md
|
|
20
|
+
branch: update-changelog-${{ steps.date.outputs.date }}
|
|
21
|
+
- uses: yykamei/actions-gh-pr-create@main
|
|
22
|
+
with:
|
|
23
|
+
branch: update-changelog-${{ steps.date.outputs.date }}
|
|
24
|
+
title: Update CHANGELOG.md
|
|
25
|
+
label: chore
|
|
26
|
+
body: |
|
|
27
|
+
*This pull request was automatically created to make CHANGELOG.md the latest*.
|
|
28
|
+
|
|
29
|
+
Check the files changes and merge if the changes make sense.
|
data/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,86 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased](https://github.com/Fablic/fablicop/tree/HEAD)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.
|
|
5
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.4.0...HEAD)
|
|
6
|
+
|
|
7
|
+
**Closed issues:**
|
|
8
|
+
|
|
9
|
+
- Disable Style/NumericPredicate [\#79](https://github.com/Fablic/fablicop/issues/79)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Disable Style/NumericPredicate [\#80](https://github.com/Fablic/fablicop/pull/80) ([sourcewc](https://github.com/sourcewc))
|
|
14
|
+
|
|
15
|
+
## [v1.4.0](https://github.com/Fablic/fablicop/tree/v1.4.0) (2022-04-27)
|
|
16
|
+
|
|
17
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.3.0...v1.4.0)
|
|
18
|
+
|
|
19
|
+
**Merged pull requests:**
|
|
20
|
+
|
|
21
|
+
- Disable Style/NumericLiterals and Style/IfUnlessModifier [\#76](https://github.com/Fablic/fablicop/pull/76) ([yykamei](https://github.com/yykamei))
|
|
22
|
+
- Disable RSpec/DescribedClass [\#75](https://github.com/Fablic/fablicop/pull/75) ([yykamei](https://github.com/yykamei))
|
|
23
|
+
|
|
24
|
+
## [v1.3.0](https://github.com/Fablic/fablicop/tree/v1.3.0) (2022-04-25)
|
|
25
|
+
|
|
26
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.2.1...v1.3.0)
|
|
27
|
+
|
|
28
|
+
**Merged pull requests:**
|
|
29
|
+
|
|
30
|
+
- Update rubocop requirement from \>= 1.14, \< 1.28 to \>= 1.14, \< 1.29 [\#74](https://github.com/Fablic/fablicop/pull/74) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
6
31
|
|
|
7
32
|
## [v1.2.1](https://github.com/Fablic/fablicop/tree/v1.2.1) (2022-04-15)
|
|
8
33
|
|
|
9
|
-
[Full Changelog](https://github.com/Fablic/fablicop/compare/
|
|
34
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.2.0...v1.2.1)
|
|
10
35
|
|
|
11
|
-
|
|
36
|
+
**Closed issues:**
|
|
37
|
+
|
|
38
|
+
- Change RSpec/ExampleLength MAX value from 5 -\> 7 [\#69](https://github.com/Fablic/fablicop/issues/69)
|
|
39
|
+
- Disable RSpec/NamedSubject [\#68](https://github.com/Fablic/fablicop/issues/68)
|
|
40
|
+
- test [\#64](https://github.com/Fablic/fablicop/issues/64)
|
|
41
|
+
- Disable to RSpec/LetSetup [\#62](https://github.com/Fablic/fablicop/issues/62)
|
|
42
|
+
|
|
43
|
+
**Merged pull requests:**
|
|
44
|
+
|
|
45
|
+
- Replace `be nil` with `be_nil` [\#73](https://github.com/Fablic/fablicop/pull/73) ([yykamei](https://github.com/yykamei))
|
|
46
|
+
- Add rubygems\_mfa\_required in gemspec [\#72](https://github.com/Fablic/fablicop/pull/72) ([yykamei](https://github.com/yykamei))
|
|
47
|
+
- Update rubocop requirement from ~\> 1.14.0 to \>= 1.14, \< 1.28 [\#71](https://github.com/Fablic/fablicop/pull/71) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
12
48
|
- disable `RSpec/ExampleLength` and `RSpec/NamedSubject` [\#70](https://github.com/Fablic/fablicop/pull/70) ([tana2034](https://github.com/tana2034))
|
|
49
|
+
- Bump actions/checkout from 2 to 3 [\#65](https://github.com/Fablic/fablicop/pull/65) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
50
|
+
|
|
51
|
+
## [v1.2.0](https://github.com/Fablic/fablicop/tree/v1.2.0) (2021-12-23)
|
|
52
|
+
|
|
53
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.1.2...v1.2.0)
|
|
54
|
+
|
|
55
|
+
**Merged pull requests:**
|
|
56
|
+
|
|
57
|
+
- Added Configuration to ignore context errors [\#59](https://github.com/Fablic/fablicop/pull/59) ([taheryasir](https://github.com/taheryasir))
|
|
58
|
+
|
|
59
|
+
## [v1.1.2](https://github.com/Fablic/fablicop/tree/v1.1.2) (2021-09-27)
|
|
60
|
+
|
|
61
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.1.1...v1.1.2)
|
|
62
|
+
|
|
63
|
+
**Merged pull requests:**
|
|
64
|
+
|
|
65
|
+
- Set Max: 20 for Metrics/AbcSize [\#55](https://github.com/Fablic/fablicop/pull/55) ([yykamei](https://github.com/yykamei))
|
|
66
|
+
- Add dependabot.yml [\#52](https://github.com/Fablic/fablicop/pull/52) ([yykamei](https://github.com/yykamei))
|
|
67
|
+
|
|
68
|
+
## [v1.1.1](https://github.com/Fablic/fablicop/tree/v1.1.1) (2021-09-01)
|
|
69
|
+
|
|
70
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.1.0...v1.1.1)
|
|
71
|
+
|
|
72
|
+
**Fixed bugs:**
|
|
73
|
+
|
|
74
|
+
- Configuration is incompatible with fablicop code [\#45](https://github.com/Fablic/fablicop/issues/45)
|
|
75
|
+
|
|
76
|
+
**Merged pull requests:**
|
|
77
|
+
|
|
78
|
+
- Fix RuboCop violations [\#51](https://github.com/Fablic/fablicop/pull/51) ([yykamei](https://github.com/yykamei))
|
|
79
|
+
- Add tests for Fablicop::CLI [\#50](https://github.com/Fablic/fablicop/pull/50) ([yykamei](https://github.com/yykamei))
|
|
80
|
+
- Enable rubocop-rspec [\#48](https://github.com/Fablic/fablicop/pull/48) ([yykamei](https://github.com/yykamei))
|
|
81
|
+
- Run CI in mulitple Ruby versions [\#47](https://github.com/Fablic/fablicop/pull/47) ([yykamei](https://github.com/yykamei))
|
|
82
|
+
- Translate comments in English [\#46](https://github.com/Fablic/fablicop/pull/46) ([yykamei](https://github.com/yykamei))
|
|
83
|
+
- Remove unnecessary comments from the template [\#44](https://github.com/Fablic/fablicop/pull/44) ([yykamei](https://github.com/yykamei))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/config/.base_rubocop.yml
CHANGED
|
@@ -96,10 +96,25 @@ 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
|
+
# foo.zero? don't care nil case, we should avoid undefined method risk
|
|
104
|
+
Style/NumericPredicate:
|
|
105
|
+
Enabled: false
|
|
106
|
+
|
|
107
|
+
# We don't care which we use: #yield_self or #then
|
|
108
|
+
Style/ObjectThen:
|
|
109
|
+
Enabled: false
|
|
110
|
+
|
|
111
|
+
# We don't care using ENV.fetch or ENV.[]
|
|
112
|
+
Style/FetchEnvVar:
|
|
113
|
+
Enabled: false
|
|
114
|
+
|
|
115
|
+
# We don't care which style we should use.
|
|
116
|
+
Style/IfUnlessModifier:
|
|
117
|
+
Enabled: false
|
|
103
118
|
|
|
104
119
|
##################### Layout ##################################
|
|
105
120
|
# We sometimes want to put multiple spaces before arguments.
|
|
@@ -239,3 +254,7 @@ RSpec/NamedSubject:
|
|
|
239
254
|
# because response validation in `request spec` is expected to result in large rows
|
|
240
255
|
RSpec/ExampleLength:
|
|
241
256
|
Enabled: false
|
|
257
|
+
|
|
258
|
+
# We don't care about whether using `described_class` or not.
|
|
259
|
+
RSpec/DescribedClass:
|
|
260
|
+
Enabled: false
|
data/fablicop.gemspec
CHANGED
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
|
34
34
|
|
|
35
35
|
spec.required_ruby_version = '>= 2.5.0'
|
|
36
36
|
|
|
37
|
-
spec.add_dependency 'rubocop', '>= 1.14', '< 1.
|
|
37
|
+
spec.add_dependency 'rubocop', '>= 1.14', '< 1.29'
|
|
38
38
|
spec.add_dependency 'rubocop-rspec', '>= 1.15.1'
|
|
39
39
|
spec.add_dependency 'rubocop-rails'
|
|
40
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.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tommy
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2022-
|
|
13
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rubocop
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '1.14'
|
|
22
22
|
- - "<"
|
|
23
23
|
- !ruby/object:Gem::Version
|
|
24
|
-
version: '1.
|
|
24
|
+
version: '1.29'
|
|
25
25
|
type: :runtime
|
|
26
26
|
prerelease: false
|
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -31,7 +31,7 @@ dependencies:
|
|
|
31
31
|
version: '1.14'
|
|
32
32
|
- - "<"
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: '1.
|
|
34
|
+
version: '1.29'
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: rubocop-rspec
|
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -127,6 +127,7 @@ extensions: []
|
|
|
127
127
|
extra_rdoc_files: []
|
|
128
128
|
files:
|
|
129
129
|
- ".github/dependabot.yml"
|
|
130
|
+
- ".github/workflows/changelog.yml"
|
|
130
131
|
- ".github/workflows/run-ci.yml"
|
|
131
132
|
- ".gitignore"
|
|
132
133
|
- ".rspec"
|