scc-codestyle 0.5.0 → 0.6.0
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/gem-push.yml +2 -2
- data/.gitignore +1 -0
- data/Dockerfile +5 -0
- data/Makefile +6 -0
- data/README.md +14 -0
- data/default.yml +3 -11
- data/lib/scc/codestyle/version.rb +1 -1
- metadata +5 -5
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f15110177bed9c27864e82b29d73badcb2cb6ac5ea984a98ef38766b44e363e
|
|
4
|
+
data.tar.gz: 8259e1a8738276f13bb6e109dbdcf4bc8c16e730b78aa27bb483927532fbbe65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af3d8266761c3ed8e5ea0cacc435db0e4d73c88948726024959e38a51fe1d487911444d84047e67e47bf390f1e746f9c26d44cfe641b730e3bccc230986e05d4
|
|
7
|
+
data.tar.gz: ddcd3501841f785184f7f14bdfdd6748a36bbf49d5741b31eec69d4bf750bd6b6b532f1ff0bb04c36aa398a6e2ce5eb1a1516618cbc9412b9905f4e4132d25e6
|
data/.gitignore
CHANGED
data/Dockerfile
ADDED
data/Makefile
ADDED
data/README.md
CHANGED
|
@@ -41,3 +41,17 @@ And add this to `.rubocop.yml` below the previous block:
|
|
|
41
41
|
```yaml
|
|
42
42
|
inherit_from: .rubocop_todo.yml
|
|
43
43
|
```
|
|
44
|
+
|
|
45
|
+
### Development
|
|
46
|
+
|
|
47
|
+
Build the docker container with:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
$ make build
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
And then enter in the container with:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
$ make console
|
|
57
|
+
```
|
data/default.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
AllCops:
|
|
2
|
-
TargetRubyVersion: 2.
|
|
2
|
+
TargetRubyVersion: 2.7
|
|
3
3
|
DisplayCopNames: true
|
|
4
4
|
DisplayStyleGuide: true
|
|
5
5
|
ExtraDetails: true
|
|
@@ -18,14 +18,6 @@ require:
|
|
|
18
18
|
- rubocop-rspec
|
|
19
19
|
- rubocop-thread_safety
|
|
20
20
|
|
|
21
|
-
# TODO: These three checks are ruby 2.3-only. Let's discuss them after we've upgraded
|
|
22
|
-
Style/SafeNavigation:
|
|
23
|
-
Enabled: false
|
|
24
|
-
Style/NumericPredicate:
|
|
25
|
-
Enabled: false
|
|
26
|
-
Layout/HeredocIndentation:
|
|
27
|
-
Enabled: false
|
|
28
|
-
|
|
29
21
|
# TODO: team wants to have this enabled (2017-07-13)
|
|
30
22
|
# This cop is quite some work. Last time we checked we had 63 offenses and each would need a 'rubocop:disable' (no one will ever improve them then) or a proper fix.
|
|
31
23
|
# We should do that with caution. Maybe as a separate (Demolition Squad?) card.
|
|
@@ -725,6 +717,8 @@ Performance/Sum: # (new in 1.8)
|
|
|
725
717
|
Enabled: true
|
|
726
718
|
Gemspec/DateAssignment: # new in 1.10
|
|
727
719
|
Enabled: true
|
|
720
|
+
Gemspec/DeprecatedAttributeAssignment:
|
|
721
|
+
Enabled: true
|
|
728
722
|
Layout/LineEndStringConcatenationIndentation: # new in 1.18
|
|
729
723
|
Enabled: true
|
|
730
724
|
EnforcedStyle: indented
|
|
@@ -838,8 +832,6 @@ Rails/AttributeDefaultBlockValue: # new in 2.9
|
|
|
838
832
|
Enabled: true
|
|
839
833
|
Rails/EagerEvaluationLogMessage: # new in 2.11
|
|
840
834
|
Enabled: true
|
|
841
|
-
Rails/ExpandedDateRange: # new in 2.11
|
|
842
|
-
Enabled: true
|
|
843
835
|
Rails/FindById: # new in 2.7
|
|
844
836
|
Enabled: true
|
|
845
837
|
Rails/I18nLocaleAssignment: # new in 2.11
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scc-codestyle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SCC Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -132,9 +132,10 @@ files:
|
|
|
132
132
|
- ".github/workflows/gem-push.yml"
|
|
133
133
|
- ".gitignore"
|
|
134
134
|
- ".rubocop.yml"
|
|
135
|
-
-
|
|
135
|
+
- Dockerfile
|
|
136
136
|
- Gemfile
|
|
137
137
|
- LICENSE
|
|
138
|
+
- Makefile
|
|
138
139
|
- README.md
|
|
139
140
|
- Rakefile
|
|
140
141
|
- default.yml
|
|
@@ -160,8 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
160
161
|
- !ruby/object:Gem::Version
|
|
161
162
|
version: '0'
|
|
162
163
|
requirements: []
|
|
163
|
-
|
|
164
|
-
rubygems_version: 2.7.6.3
|
|
164
|
+
rubygems_version: 3.1.6
|
|
165
165
|
signing_key:
|
|
166
166
|
specification_version: 4
|
|
167
167
|
summary: SCC style guides and shared style configs.
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.5.8
|