File tree 3 files changed +31
-31
lines changed
3 files changed +31
-31
lines changed Original file line number Diff line number Diff line change
1
+ Layout/ClosingParenthesisIndentation :
2
+ Enabled : false
3
+
4
+ Layout/DotPosition :
5
+ EnforcedStyle : trailing
6
+
7
+ # Fails on AppVeyor builds
8
+ Layout/EndOfLine :
9
+ Enabled : false
10
+
11
+ Layout/FirstParameterIndentation :
12
+ Enabled : false
13
+
14
+ Layout/IndentArray :
15
+ Enabled : false
16
+
17
+ Layout/IndentHeredoc :
18
+ Enabled : false
19
+
20
+ Layout/MultilineMethodCallIndentation :
21
+ Enabled : false
22
+
23
+ Layout/MultilineOperationIndentation :
24
+ Enabled : false
25
+
26
+ Layout/SpaceBeforeFirstArg :
27
+ Exclude :
28
+ - ' *.gemspec'
29
+
1
30
Lint/AmbiguousBlockAssociation :
2
31
Enabled : false
3
32
@@ -29,33 +58,20 @@ Metrics/ModuleLength:
29
58
Style/ClassAndModuleChildren :
30
59
Enabled : false
31
60
32
- Style/ClosingParenthesisIndentation :
33
- Enabled : false
34
-
35
61
Style/Documentation :
36
62
Exclude :
37
63
- ' spec/overcommit/**/*'
38
64
39
- Style/DotPosition :
40
- EnforcedStyle : trailing
41
-
42
65
Style/Encoding :
43
66
EnforcedStyle : when_needed
44
67
45
- # Fails on AppVeyor builds
46
- Style/EndOfLine :
47
- Enabled : false
48
-
49
68
Style/FileName :
50
69
Exclude :
51
70
- ' template-dir/hooks/*'
52
71
- ' Gemfile'
53
72
- ' Rakefile'
54
73
- ' *.gemspec'
55
74
56
- Style/FirstParameterIndentation :
57
- Enabled : false
58
-
59
75
Style/FormatString :
60
76
Enabled : false
61
77
@@ -64,12 +80,6 @@ Style/FormatString:
64
80
Style/GuardClause :
65
81
Enabled : false
66
82
67
- Style/IndentArray :
68
- Enabled : false
69
-
70
- Style/IndentHeredoc :
71
- Enabled : false
72
-
73
83
Style/IfUnlessModifier :
74
84
Enabled : false
75
85
@@ -79,12 +89,6 @@ Style/IfUnlessModifier:
79
89
Style/Lambda :
80
90
Enabled : false
81
91
82
- Style/MultilineMethodCallIndentation :
83
- Enabled : false
84
-
85
- Style/MultilineOperationIndentation :
86
- Enabled : false
87
-
88
92
Style/Next :
89
93
Enabled : false
90
94
@@ -121,10 +125,6 @@ Style/SignalException:
121
125
Style/SingleLineBlockParams :
122
126
Enabled : false
123
127
124
- Style/SpaceBeforeFirstArg :
125
- Exclude :
126
- - ' *.gemspec'
127
-
128
128
Style/SpecialGlobalVars :
129
129
Enabled : false
130
130
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ gem 'rspec', '~> 3.0'
10
10
gem 'coveralls' , '~> 0.8'
11
11
12
12
# Pin RuboCop for Travis builds.
13
- gem 'rubocop' , '0.48 .1'
13
+ gem 'rubocop' , '0.49 .1'
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def concurrency
41
41
@concurrency ||=
42
42
begin
43
43
cores = Overcommit ::Utils . processor_count
44
- content = @hash . fetch ( 'concurrency' , '%{ processors} ' )
44
+ content = @hash . fetch ( 'concurrency' , '%< processors>d ' )
45
45
if content . is_a? ( String )
46
46
concurrency_expr = content % { processors : cores }
47
47
You can’t perform that action at this time.
0 commit comments