ThunderKey-rubocop 0.0.30 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop-rails.yml +4 -17
  3. data/rubocop.yml +1 -34
  4. metadata +19 -39
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0b35f9a45f519368812a0e0756204f9d971fb71aec20532310581ec0aa354ba
4
- data.tar.gz: 7e3c4b71228d7957e622332fbb8c0e00cdbe017018ffc59f94d524b30ba9c17e
3
+ metadata.gz: 72977b84b45b6238ebfbdcf93862094b8f598cea0f3b7683e65409eb0c864467
4
+ data.tar.gz: ae2181359b101ad958aab3b42e12a414a8b7a1011f9941b618e4a7a3eea1b501
5
5
  SHA512:
6
- metadata.gz: 1b129e48bdee7ebfaeebb051c73d0bae9537071414882f5c7d025d42ac38577dd6a0b90b353e20d9bcbc372d6c90ba73c58516acf6c244be2dd67d703b9117e4
7
- data.tar.gz: d786a140df2e1d81d768ff92988e45516bac07c6709ff80e26cb27ac6e16162dd59acd4a195079c2d388e1b3def1f964071c54d1bb3a7f69f4fd563a7f462603
6
+ metadata.gz: 53ed6199db6813e60fac57a17e7e25a8997dd9fc3344ca16cc4a773581fb30d9b2db8cefc4313a91a8647d7fbbd8cd721e8d61e12f0eda706a28aaf566be149a
7
+ data.tar.gz: 0f1a43a23044efe32a3879b18402d57ad0dc940113944240c043191b4fae5d4f9f379f0fcb62cfe179da51dc0208a1c79650754f05248568551bb6e8c7ce5ddb
data/rubocop-rails.yml CHANGED
@@ -6,13 +6,9 @@ inherit_mode:
6
6
  require:
7
7
  - rubocop-rails
8
8
  - rubocop-i18n
9
- - rubocop/cop/github
10
-
11
- inherit_gem:
12
- rubocop-github:
13
- - config/_rails_shared.yml
14
9
 
15
10
  AllCops:
11
+ NewCops: enable
16
12
  Exclude:
17
13
  - 'db/**/*'
18
14
  - 'node_modules/**/*'
@@ -27,22 +23,13 @@ Rails/FilePath:
27
23
  EnforcedStyle: arguments
28
24
 
29
25
  # use rails i18n and not GetText
30
- RailsI18n:
26
+ I18n/RailsI18n:
31
27
  Enabled: true
32
- GetText:
28
+ I18n/GetText:
33
29
  Enabled: false
34
- RailsI18n/DecorateString:
30
+ I18n/RailsI18n/DecorateString:
35
31
  Exclude:
36
32
  - 'spec/**/*'
37
33
 
38
34
  Rails/EnumHash:
39
35
  Enabled: false
40
- # I don't agree
41
- GitHub/RailsControllerRenderActionSymbol:
42
- Enabled: false
43
- # I don't agree
44
- GitHub/RailsControllerRenderLiteral:
45
- Enabled: false
46
- # does not handle calls to actions (without controller name)
47
- GitHub/RailsControllerRenderPathsExist:
48
- Enabled: false
data/rubocop.yml CHANGED
@@ -30,7 +30,7 @@ Layout/LineLength:
30
30
 
31
31
 
32
32
  Metrics/BlockLength:
33
- ExcludedMethods:
33
+ IgnoredMethods:
34
34
  - included
35
35
  - rails_admin
36
36
  - state_machine
@@ -115,39 +115,6 @@ RSpec/MultipleExpectations:
115
115
  Exclude:
116
116
  - 'spec/features/**/*'
117
117
 
118
- # New styles
119
-
120
- Style/ExponentialNotation:
121
- Enabled: true
122
- Style/HashEachMethods:
123
- Enabled: true
124
- Style/HashTransformKeys:
125
- Enabled: true
126
- Style/HashTransformValues:
127
- Enabled: true
128
- Layout/SpaceAroundMethodCallOperator:
129
- Enabled: true
130
- Lint/RaiseException:
131
- Enabled: true
132
- Lint/StructNewOverride:
133
- Enabled: true
134
- Performance/AncestorsInclude:
135
- Enabled: true
136
- Performance/BigDecimalWithNumericArgument:
137
- Enabled: true
138
- Performance/RedundantSortBlock:
139
- Enabled: true
140
- Performance/RedundantStringChars:
141
- Enabled: true
142
- Performance/ReverseFirst:
143
- Enabled: true
144
- Performance/SortReverse:
145
- Enabled: true
146
- Performance/Squeeze:
147
- Enabled: true
148
- Performance/StringInclude:
149
- Enabled: true
150
-
151
118
  # Disabled
152
119
 
153
120
  Style/MethodDefParentheses:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ThunderKey-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Ganz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-21 00:00:00.000000000 Z
11
+ date: 2021-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,47 +16,47 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.82.0
19
+ version: 1.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '1'
22
+ version: '2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.82.0
29
+ version: 1.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '1'
32
+ version: '2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubocop-rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 1.39.0
39
+ version: 2.2.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '2'
42
+ version: '3'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 1.39.0
49
+ version: 2.2.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '2'
52
+ version: '3'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rubocop-performance
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 1.5.2
59
+ version: 1.10.0
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2'
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 1.5.2
69
+ version: 1.10.0
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '2'
@@ -76,7 +76,7 @@ dependencies:
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 2.5.2
79
+ version: 2.9.1
80
80
  - - "<"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3'
@@ -86,50 +86,30 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 2.5.2
89
+ version: 2.9.1
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
92
  version: '3'
93
- - !ruby/object:Gem::Dependency
94
- name: rubocop-github
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: 0.15.0
100
- - - "<"
101
- - !ruby/object:Gem::Version
102
- version: '1'
103
- type: :runtime
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: 0.15.0
110
- - - "<"
111
- - !ruby/object:Gem::Version
112
- version: '1'
113
93
  - !ruby/object:Gem::Dependency
114
94
  name: rubocop-i18n
115
95
  requirement: !ruby/object:Gem::Requirement
116
96
  requirements:
117
97
  - - ">="
118
98
  - !ruby/object:Gem::Version
119
- version: 2.0.1
99
+ version: 3.0.0
120
100
  - - "<"
121
101
  - !ruby/object:Gem::Version
122
- version: '3'
102
+ version: '4'
123
103
  type: :runtime
124
104
  prerelease: false
125
105
  version_requirements: !ruby/object:Gem::Requirement
126
106
  requirements:
127
107
  - - ">="
128
108
  - !ruby/object:Gem::Version
129
- version: 2.0.1
109
+ version: 3.0.0
130
110
  - - "<"
131
111
  - !ruby/object:Gem::Version
132
- version: '3'
112
+ version: '4'
133
113
  description:
134
114
  email:
135
115
  - nicolas@keltec.ch
@@ -158,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
138
  - !ruby/object:Gem::Version
159
139
  version: '0'
160
140
  requirements: []
161
- rubygems_version: 3.1.4
141
+ rubygems_version: 3.2.7
162
142
  signing_key:
163
143
  specification_version: 4
164
144
  summary: rubocop configurations of ThunderKey