rubocop-template 1.1.0 → 1.1.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/.gitignore +1 -0
- data/default.yml +19 -3
- data/lib/rubocop-template/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f380d0bdfe83518d0aaf4ca9adb6fb384f87d89
|
4
|
+
data.tar.gz: b54bb0c1fac541dfa0cf4d0c894bed8f3bcc4a36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac584b5025b065712761940edf07336efb630f809a7aea53eb22779058f74c0f9a9f4c041d630cead8dee45f4168237f54dfd0f118400e8ee40b01716b3238ca
|
7
|
+
data.tar.gz: 34da3e0b84cf67ba659e5c99ae9edcd68dea48efb2dfcbe2ff88a3a941f7bbb81274572fbf5177570b85948e0642b432e281f020dc9e99b474953d9abcf61f40
|
data/.gitignore
CHANGED
data/default.yml
CHANGED
@@ -6,34 +6,47 @@ AllCops:
|
|
6
6
|
- 'server/**/*'
|
7
7
|
- 'vendor/**/*'
|
8
8
|
TargetRubyVersion: 2.4
|
9
|
+
|
9
10
|
Layout/DefEndAlignment:
|
10
11
|
AutoCorrect: true
|
12
|
+
|
11
13
|
Layout/EndAlignment:
|
12
14
|
AutoCorrect: true
|
13
15
|
EnforcedStyleAlignWith: keyword
|
16
|
+
|
14
17
|
Layout/IndentationConsistency:
|
15
18
|
EnforcedStyle: normal
|
19
|
+
|
20
|
+
Layout/LineLength:
|
21
|
+
Enabled: false
|
22
|
+
Max: 100
|
23
|
+
|
16
24
|
Lint/AssignmentInCondition:
|
17
25
|
Enabled: false
|
26
|
+
|
18
27
|
Lint/Debugger:
|
19
28
|
Enabled: true
|
20
|
-
|
21
|
-
Enabled: false
|
22
|
-
Max: 100
|
29
|
+
|
23
30
|
Naming/FileName:
|
24
31
|
Description: Use snake_case for source file names.
|
25
32
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
|
26
33
|
Enabled: false
|
34
|
+
|
27
35
|
Rails:
|
28
36
|
Enabled: true
|
37
|
+
|
29
38
|
Style/Alias:
|
30
39
|
EnforcedStyle: prefer_alias_method
|
40
|
+
|
31
41
|
Style/AsciiComments:
|
32
42
|
Enabled: false
|
43
|
+
|
33
44
|
Style/AutoResourceCleanup:
|
34
45
|
Enabled: true
|
46
|
+
|
35
47
|
Style/ClassAndModuleChildren:
|
36
48
|
Enabled: false
|
49
|
+
|
37
50
|
Style/CollectionMethods:
|
38
51
|
Description: Preferred collection methods.
|
39
52
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
|
@@ -44,8 +57,10 @@ Style/CollectionMethods:
|
|
44
57
|
find: detect
|
45
58
|
find_all: select
|
46
59
|
reduce: inject
|
60
|
+
|
47
61
|
Style/Documentation:
|
48
62
|
Enabled: false
|
63
|
+
|
49
64
|
Style/PercentLiteralDelimiters:
|
50
65
|
PreferredDelimiters:
|
51
66
|
'%i': '()'
|
@@ -53,5 +68,6 @@ Style/PercentLiteralDelimiters:
|
|
53
68
|
'%r': '{}'
|
54
69
|
'%w': '()'
|
55
70
|
'%W': '()'
|
71
|
+
|
56
72
|
Style/StringLiterals:
|
57
73
|
EnforcedStyle: single_quotes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vitaliy Emeliyantsev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -52,7 +52,8 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description:
|
55
|
+
description: |2
|
56
|
+
My .rubocop.yml template as a separated ruby gem.
|
56
57
|
email: gambala.rus@gmail.com
|
57
58
|
executables: []
|
58
59
|
extensions: []
|
@@ -88,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
89
|
version: '0'
|
89
90
|
requirements: []
|
90
91
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
92
|
+
rubygems_version: 2.2.2
|
92
93
|
signing_key:
|
93
94
|
specification_version: 4
|
94
95
|
summary: Rubocop template as a gem
|