rt_rubocop_defaults 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +4 -31
- data/lib/rt_rubocop_defaults/version.rb +1 -1
- data/rt_rubocop_defaults.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c2f83ac289a0cb5eb44e6b55efde6d6ffece9ad2737b2d4006a257fbd8372e6
|
4
|
+
data.tar.gz: ec8e2340a79a7cd09a3a5a00d144f04d032b9c1826f916eb5c7ea960bb7283a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebd8dea812ca2424dc60979fe6485e4a4ebc34034968482408929f6c217b948dc9f3f041d1764c13b710b06db4a2d77f959e89a48bce8bbbd61dba225d9e0a0b
|
7
|
+
data.tar.gz: d6ae1eec6947115d0137898721d6b15c5ebb954bc74ef8a32b8849ddbacbbe97969df15c75c5dee8fcd11c30e6eaf849177b13b7ebf0dd3fea38415c0546db7e
|
data/config/default.yml
CHANGED
@@ -4,7 +4,8 @@ AllCops:
|
|
4
4
|
Exclude:
|
5
5
|
- coverage/**/*
|
6
6
|
TargetRubyVersion: 2.5
|
7
|
-
|
7
|
+
# HINT: New cops are enabled by default and have to be disabled if they do not fit the projects needs
|
8
|
+
NewCops: enable
|
8
9
|
|
9
10
|
### Lint
|
10
11
|
|
@@ -12,20 +13,6 @@ Lint/NestedMethodDefinition:
|
|
12
13
|
Exclude:
|
13
14
|
- api/sinatra/**/*
|
14
15
|
|
15
|
-
Lint/DuplicateRegexpCharacterClassElement:
|
16
|
-
Enabled: true
|
17
|
-
|
18
|
-
Lint/EmptyBlock:
|
19
|
-
Enabled: true
|
20
|
-
|
21
|
-
Lint/NoReturnInBeginEndBlocks:
|
22
|
-
Enabled: true
|
23
|
-
|
24
|
-
Lint/ToEnumArguments:
|
25
|
-
Enabled: true
|
26
|
-
|
27
|
-
Lint/UnmodifiedReduceAccumulator:
|
28
|
-
Enabled: true
|
29
16
|
|
30
17
|
### Metrics
|
31
18
|
|
@@ -73,6 +60,7 @@ Metrics/ModuleLength:
|
|
73
60
|
- 'app/api/routes.rb'
|
74
61
|
- 'spec/requests/**/*'
|
75
62
|
|
63
|
+
|
76
64
|
### Style / Layout
|
77
65
|
|
78
66
|
#### Hash
|
@@ -94,29 +82,16 @@ Layout/MultilineOperationIndentation:
|
|
94
82
|
EnforcedStyle: indented
|
95
83
|
|
96
84
|
#### Rest
|
97
|
-
Style/ArgumentsForwarding:
|
98
|
-
Enabled: true
|
99
|
-
|
100
|
-
Style/CollectionCompact:
|
101
|
-
Enabled: true
|
102
|
-
|
103
85
|
Style/Documentation:
|
104
86
|
Enabled: false
|
105
87
|
|
106
|
-
Style/DocumentDynamicEvalDefinition:
|
107
|
-
Enabled: true
|
108
|
-
|
109
88
|
Style/DoubleNegation:
|
110
89
|
Enabled: false
|
111
90
|
|
112
91
|
Style/ExponentialNotation:
|
113
92
|
# https://docs.rubocop.org/rubocop/cops_style.html#styleexponentialnotation
|
114
|
-
Enabled: true
|
115
93
|
EnforcedStyle: engineering
|
116
94
|
|
117
|
-
Style/NegatedIfElseCondition:
|
118
|
-
Enabled: true
|
119
|
-
|
120
95
|
Style/NumericLiterals:
|
121
96
|
Description: Add underscores to large numeric literals to improve their readability.
|
122
97
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
|
@@ -137,12 +112,10 @@ Style/SignalException:
|
|
137
112
|
Style/StringLiterals:
|
138
113
|
EnforcedStyle: double_quotes
|
139
114
|
|
140
|
-
Style/SwapValues:
|
141
|
-
Enabled: true
|
142
|
-
|
143
115
|
Style/OptionalBooleanParameter:
|
144
116
|
Enabled: false
|
145
117
|
|
118
|
+
|
146
119
|
### RSpec
|
147
120
|
|
148
121
|
RSpec/DescribeClass:
|
data/rt_rubocop_defaults.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "rubocop", "~> 1.
|
25
|
+
spec.add_dependency "rubocop", "~> 1.5"
|
26
26
|
spec.add_development_dependency "bundler", "> 1.13", "< 3"
|
27
27
|
spec.add_development_dependency "rake", "> 10.0"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rt_rubocop_defaults
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Eger
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ homepage: https://github.com/runtastic/rt_rubocop_defaults
|
|
81
81
|
licenses:
|
82
82
|
- MIT
|
83
83
|
metadata: {}
|
84
|
-
post_install_message:
|
84
|
+
post_install_message:
|
85
85
|
rdoc_options: []
|
86
86
|
require_paths:
|
87
87
|
- lib
|
@@ -96,8 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
|
-
rubygems_version: 3.1.
|
100
|
-
signing_key:
|
99
|
+
rubygems_version: 3.1.4
|
100
|
+
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: rubocop defaults used at runtastic
|
103
103
|
test_files: []
|