trollolo 0.1.1 → 0.2.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/.rubocop.yml +21 -2
- data/.rubocop_todo.yml +105 -270
- data/CHANGELOG.md +10 -0
- data/CONTRIBUTING.md +6 -4
- data/Gemfile +1 -1
- data/README.md +10 -1
- data/Rakefile +4 -4
- data/bin/trollolo +2 -2
- data/lib/backup.rb +21 -23
- data/lib/burndown_chart.rb +46 -49
- data/lib/burndown_data.rb +21 -21
- data/lib/card.rb +23 -32
- data/lib/checklist.rb +13 -1
- data/lib/cli.rb +105 -110
- data/lib/column.rb +11 -10
- data/lib/empty_column.rb +2 -2
- data/lib/scrum/backlog_mover.rb +3 -3
- data/lib/scrum/card_type_detection.rb +1 -1
- data/lib/scrum/creator.rb +7 -7
- data/lib/scrum/prioritizer.rb +1 -1
- data/lib/scrum/sprint_board.rb +4 -4
- data/lib/scrum/sprint_cleaner.rb +3 -3
- data/lib/scrum/sprint_planning_board.rb +2 -4
- data/lib/scrum_board.rb +3 -3
- data/lib/settings.rb +29 -27
- data/lib/trello_service.rb +1 -1
- data/lib/trello_wrapper.rb +9 -9
- data/lib/version.rb +1 -1
- data/spec/data/card.json +19 -0
- data/spec/data/trollolorc +3 -0
- data/spec/integration/command_line_spec.rb +14 -14
- data/spec/integration/create_burndown_spec.rb +25 -25
- data/spec/integration/integration_spec_helper.rb +1 -1
- data/spec/integration/wrapper/credentials_input_wrapper +7 -11
- data/spec/integration/wrapper/empty_config_trollolo_wrapper +2 -2
- data/spec/integration/wrapper/trollolo_wrapper +2 -2
- data/spec/unit/backup_spec.rb +14 -14
- data/spec/unit/burndown_chart_spec.rb +176 -184
- data/spec/unit/burndown_data_spec.rb +21 -23
- data/spec/unit/card_spec.rb +38 -24
- data/spec/unit/cli_spec.rb +57 -57
- data/spec/unit/empty_column_spec.rb +1 -1
- data/spec/unit/retrieve_data_spec.rb +13 -13
- data/spec/unit/scrum/backlog_mover_spec.rb +8 -8
- data/spec/unit/scrum/card_type_detection_spec.rb +12 -12
- data/spec/unit/scrum/creator_spec.rb +8 -8
- data/spec/unit/scrum/prioritizer_spec.rb +19 -19
- data/spec/unit/scrum/priority_name_spec.rb +16 -16
- data/spec/unit/scrum/sprint_board_spec.rb +3 -3
- data/spec/unit/scrum/sprint_cleaner_spec.rb +15 -15
- data/spec/unit/scrum/sprint_planning_board_spec.rb +2 -2
- data/spec/unit/scrum_board_spec.rb +56 -56
- data/spec/unit/settings_spec.rb +23 -23
- data/spec/unit/spec_helper.rb +3 -3
- data/spec/unit/support/test_data_operations.rb +4 -0
- data/spec/unit/support/update_webmock_data +9 -11
- data/spec/unit/support/vcr.rb +3 -3
- data/spec/unit/support/webmocks.rb +21 -12
- data/spec/unit/trello_wrapper_spec.rb +40 -29
- data/trollolo.gemspec +3 -3
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 561041c5f8420e41a174b2c3f54b493454b1a220
|
4
|
+
data.tar.gz: fcdcb4abeab34f5e6e3b1b823851a5a1fd9d7081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7322aef84f271b3cb8d457ffb6af4c9f7c46b302966e96403ca7f17753007602c31dd11d06ba739554fb8914b3e44017cefe5613ab72a2844a1e0e8bbdf6738a
|
7
|
+
data.tar.gz: dd8f8af43466dd9663eee33df0fba9a8559c0ea26fcf6e40a81108a396c3177a5bf606e84a7ac0994cf01e93db8dd27dd39fe3a5fe32b2cca96b8de6e79d40a6
|
data/.rubocop.yml
CHANGED
@@ -4,6 +4,25 @@ inherit_from: .rubocop_todo.yml
|
|
4
4
|
|
5
5
|
Metrics/AbcSize:
|
6
6
|
Enabled: false
|
7
|
-
|
7
|
+
|
8
|
+
Metrics/BlockLength:
|
9
|
+
Exclude:
|
10
|
+
- 'spec/**/*'
|
11
|
+
|
12
|
+
Metrics/ClassLength:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Metrics/CyclomaticComplexity:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Metrics/LineLength:
|
19
|
+
Max: 160
|
20
|
+
|
21
|
+
# TODO: Down it to 30, 3 times more than Rubocop default
|
22
|
+
Metrics/MethodLength:
|
23
|
+
Max: 35
|
24
|
+
Exclude:
|
25
|
+
- 'spec/unit/support/webmocks.rb'
|
26
|
+
|
8
27
|
Metrics/PerceivedComplexity:
|
9
|
-
Enabled: false
|
28
|
+
Enabled: false
|
data/.rubocop_todo.yml
CHANGED
@@ -1,22 +1,37 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2018-01-12 14:39:45 +0100 using RuboCop version 0.52.1.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
9
|
+
# Offense count: 7
|
10
10
|
# Cop supports --auto-correct.
|
11
11
|
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
12
|
-
# Include: **/Gemfile, **/gems.rb
|
12
|
+
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
13
13
|
Bundler/OrderedGems:
|
14
14
|
Exclude:
|
15
15
|
- 'Gemfile'
|
16
16
|
|
17
|
-
# Offense count:
|
17
|
+
# Offense count: 1
|
18
|
+
# Cop supports --auto-correct.
|
19
|
+
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
20
|
+
# Include: **/*.gemspec
|
21
|
+
Gemspec/OrderedDependencies:
|
22
|
+
Exclude:
|
23
|
+
- 'trollolo.gemspec'
|
24
|
+
|
25
|
+
# Offense count: 1
|
26
|
+
# Configuration parameters: Include.
|
27
|
+
# Include: **/*.gemspec
|
28
|
+
Gemspec/RequiredRubyVersion:
|
29
|
+
Exclude:
|
30
|
+
- 'trollolo.gemspec'
|
31
|
+
|
32
|
+
# Offense count: 8
|
18
33
|
# Cop supports --auto-correct.
|
19
|
-
# Configuration parameters: EnforcedStyle
|
34
|
+
# Configuration parameters: EnforcedStyle.
|
20
35
|
# SupportedStyles: leading, trailing
|
21
36
|
Layout/DotPosition:
|
22
37
|
Exclude:
|
@@ -47,7 +62,7 @@ Layout/EmptyLines:
|
|
47
62
|
|
48
63
|
# Offense count: 7
|
49
64
|
# Cop supports --auto-correct.
|
50
|
-
# Configuration parameters: EnforcedStyle
|
65
|
+
# Configuration parameters: EnforcedStyle.
|
51
66
|
# SupportedStyles: empty_lines, no_empty_lines
|
52
67
|
Layout/EmptyLinesAroundBlockBody:
|
53
68
|
Exclude:
|
@@ -59,7 +74,7 @@ Layout/EmptyLinesAroundBlockBody:
|
|
59
74
|
|
60
75
|
# Offense count: 11
|
61
76
|
# Cop supports --auto-correct.
|
62
|
-
# Configuration parameters: EnforcedStyle
|
77
|
+
# Configuration parameters: EnforcedStyle.
|
63
78
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
64
79
|
Layout/EmptyLinesAroundClassBody:
|
65
80
|
Exclude:
|
@@ -78,30 +93,22 @@ Layout/EmptyLinesAroundMethodBody:
|
|
78
93
|
|
79
94
|
# Offense count: 2
|
80
95
|
# Cop supports --auto-correct.
|
81
|
-
# Configuration parameters: EnforcedStyle
|
96
|
+
# Configuration parameters: EnforcedStyle.
|
82
97
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
83
98
|
Layout/EmptyLinesAroundModuleBody:
|
84
99
|
Exclude:
|
85
100
|
- 'lib/version.rb'
|
86
101
|
|
87
|
-
# Offense count:
|
102
|
+
# Offense count: 1
|
88
103
|
# Cop supports --auto-correct.
|
89
104
|
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
90
105
|
Layout/ExtraSpacing:
|
91
106
|
Exclude:
|
92
|
-
- 'lib/scrum/backlog_mover.rb'
|
93
107
|
- 'spec/unit/scrum/prioritizer_spec.rb'
|
94
108
|
|
95
|
-
# Offense count: 2
|
96
|
-
# Cop supports --auto-correct.
|
97
|
-
# Configuration parameters: SupportedStyles, IndentationWidth.
|
98
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
99
|
-
Layout/IndentHash:
|
100
|
-
EnforcedStyle: consistent
|
101
|
-
|
102
109
|
# Offense count: 16
|
103
110
|
# Cop supports --auto-correct.
|
104
|
-
# Configuration parameters: EnforcedStyle
|
111
|
+
# Configuration parameters: EnforcedStyle.
|
105
112
|
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
|
106
113
|
Layout/IndentHeredoc:
|
107
114
|
Exclude:
|
@@ -126,9 +133,9 @@ Layout/MultilineBlockLayout:
|
|
126
133
|
Exclude:
|
127
134
|
- 'spec/unit/trello_wrapper_spec.rb'
|
128
135
|
|
129
|
-
# Offense count:
|
136
|
+
# Offense count: 6
|
130
137
|
# Cop supports --auto-correct.
|
131
|
-
# Configuration parameters: EnforcedStyle
|
138
|
+
# Configuration parameters: EnforcedStyle.
|
132
139
|
# SupportedStyles: symmetrical, new_line, same_line
|
133
140
|
Layout/MultilineHashBraceLayout:
|
134
141
|
Exclude:
|
@@ -136,16 +143,16 @@ Layout/MultilineHashBraceLayout:
|
|
136
143
|
|
137
144
|
# Offense count: 9
|
138
145
|
# Cop supports --auto-correct.
|
139
|
-
# Configuration parameters: EnforcedStyle
|
146
|
+
# Configuration parameters: EnforcedStyle.
|
140
147
|
# SupportedStyles: symmetrical, new_line, same_line
|
141
148
|
Layout/MultilineMethodCallBraceLayout:
|
142
149
|
Exclude:
|
143
150
|
- 'spec/unit/burndown_chart_spec.rb'
|
144
151
|
- 'spec/unit/cli_spec.rb'
|
145
152
|
|
146
|
-
# Offense count:
|
153
|
+
# Offense count: 6
|
147
154
|
# Cop supports --auto-correct.
|
148
|
-
# Configuration parameters: EnforcedStyle,
|
155
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
149
156
|
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
150
157
|
Layout/MultilineMethodCallIndentation:
|
151
158
|
Exclude:
|
@@ -154,17 +161,18 @@ Layout/MultilineMethodCallIndentation:
|
|
154
161
|
|
155
162
|
# Offense count: 2
|
156
163
|
# Cop supports --auto-correct.
|
157
|
-
# Configuration parameters: EnforcedStyle,
|
164
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
158
165
|
# SupportedStyles: aligned, indented
|
159
166
|
Layout/MultilineOperationIndentation:
|
160
167
|
Exclude:
|
161
168
|
- 'lib/backup.rb'
|
162
169
|
- 'lib/card.rb'
|
163
170
|
|
164
|
-
# Offense count:
|
171
|
+
# Offense count: 18
|
165
172
|
# Cop supports --auto-correct.
|
166
|
-
# Configuration parameters: EnforcedStyle,
|
173
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
167
174
|
# SupportedStyles: space, no_space
|
175
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
168
176
|
Layout/SpaceBeforeBlockBraces:
|
169
177
|
Exclude:
|
170
178
|
- 'lib/card.rb'
|
@@ -175,9 +183,20 @@ Layout/SpaceBeforeBlockBraces:
|
|
175
183
|
- 'spec/unit/trello_wrapper_spec.rb'
|
176
184
|
- 'trollolo.gemspec'
|
177
185
|
|
178
|
-
# Offense count:
|
186
|
+
# Offense count: 7
|
179
187
|
# Cop supports --auto-correct.
|
180
|
-
# Configuration parameters: EnforcedStyle,
|
188
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
189
|
+
# SupportedStyles: space, no_space, compact
|
190
|
+
# SupportedStylesForEmptyBrackets: space, no_space
|
191
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
192
|
+
Exclude:
|
193
|
+
- 'lib/burndown_chart.rb'
|
194
|
+
- 'spec/unit/burndown_chart_spec.rb'
|
195
|
+
- 'spec/unit/support/webmocks.rb'
|
196
|
+
|
197
|
+
# Offense count: 24
|
198
|
+
# Cop supports --auto-correct.
|
199
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
181
200
|
# SupportedStyles: space, no_space
|
182
201
|
# SupportedStylesForEmptyBraces: space, no_space
|
183
202
|
Layout/SpaceInsideBlockBraces:
|
@@ -188,29 +207,19 @@ Layout/SpaceInsideBlockBraces:
|
|
188
207
|
- 'spec/unit/scrum_board_spec.rb'
|
189
208
|
- 'trollolo.gemspec'
|
190
209
|
|
191
|
-
# Offense count:
|
192
|
-
# Cop supports --auto-correct.
|
193
|
-
Layout/SpaceInsideBrackets:
|
194
|
-
Exclude:
|
195
|
-
- 'lib/burndown_chart.rb'
|
196
|
-
- 'spec/unit/burndown_chart_spec.rb'
|
197
|
-
- 'spec/unit/support/webmocks.rb'
|
198
|
-
|
199
|
-
# Offense count: 46
|
210
|
+
# Offense count: 38
|
200
211
|
# Cop supports --auto-correct.
|
201
|
-
# Configuration parameters: EnforcedStyle,
|
212
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
202
213
|
# SupportedStyles: space, no_space, compact
|
203
214
|
# SupportedStylesForEmptyBraces: space, no_space
|
204
215
|
Layout/SpaceInsideHashLiteralBraces:
|
205
216
|
Exclude:
|
206
|
-
- 'lib/cli.rb'
|
207
217
|
- 'lib/empty_column.rb'
|
208
218
|
- 'spec/unit/burndown_chart_spec.rb'
|
209
219
|
- 'spec/unit/cli_spec.rb'
|
210
|
-
- 'spec/unit/settings_spec.rb'
|
211
220
|
- 'spec/unit/trello_wrapper_spec.rb'
|
212
221
|
|
213
|
-
# Offense count:
|
222
|
+
# Offense count: 97
|
214
223
|
# Cop supports --auto-correct.
|
215
224
|
Layout/SpaceInsideParens:
|
216
225
|
Exclude:
|
@@ -246,7 +255,7 @@ Lint/DeprecatedClassMethods:
|
|
246
255
|
Exclude:
|
247
256
|
- 'lib/settings.rb'
|
248
257
|
|
249
|
-
# Offense count:
|
258
|
+
# Offense count: 6
|
250
259
|
Lint/ParenthesesAsGroupedExpression:
|
251
260
|
Exclude:
|
252
261
|
- 'spec/unit/burndown_chart_spec.rb'
|
@@ -270,71 +279,48 @@ Lint/UselessAssignment:
|
|
270
279
|
Exclude:
|
271
280
|
- 'spec/unit/support/webmocks.rb'
|
272
281
|
|
273
|
-
# Offense count: 41
|
274
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
275
|
-
Metrics/BlockLength:
|
276
|
-
Max: 456
|
277
|
-
|
278
|
-
# Offense count: 3
|
279
|
-
# Configuration parameters: CountComments.
|
280
|
-
Metrics/ClassLength:
|
281
|
-
Max: 328
|
282
|
-
|
283
|
-
# Offense count: 1
|
284
|
-
Metrics/CyclomaticComplexity:
|
285
|
-
Max: 9
|
286
|
-
|
287
|
-
# Offense count: 135
|
288
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
289
|
-
# URISchemes: http, https
|
290
|
-
Metrics/LineLength:
|
291
|
-
Max: 220
|
292
|
-
|
293
|
-
# Offense count: 18
|
294
|
-
# Configuration parameters: CountComments.
|
295
|
-
Metrics/MethodLength:
|
296
|
-
Max: 35
|
297
|
-
|
298
|
-
# Offense count: 1
|
299
|
-
# Cop supports --auto-correct.
|
300
|
-
Security/YAMLLoad:
|
301
|
-
Exclude:
|
302
|
-
- 'lib/card.rb'
|
303
|
-
|
304
282
|
# Offense count: 6
|
305
|
-
|
283
|
+
Naming/AccessorMethodName:
|
306
284
|
Exclude:
|
307
285
|
- 'lib/burndown_data.rb'
|
308
286
|
- 'lib/cli.rb'
|
309
287
|
|
310
|
-
# Offense count:
|
311
|
-
#
|
312
|
-
#
|
313
|
-
|
314
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
315
|
-
# FunctionalMethods: let, let!, subject, watch
|
316
|
-
# IgnoredMethods: lambda, proc, it
|
317
|
-
Style/BlockDelimiters:
|
288
|
+
# Offense count: 21
|
289
|
+
# Configuration parameters: Blacklist.
|
290
|
+
# Blacklist: END, (?-mix:EO[A-Z]{1})
|
291
|
+
Naming/HeredocDelimiterNaming:
|
318
292
|
Exclude:
|
319
293
|
- 'lib/cli.rb'
|
294
|
+
- 'spec/unit/backup_spec.rb'
|
295
|
+
- 'spec/unit/burndown_chart_spec.rb'
|
296
|
+
- 'spec/unit/card_spec.rb'
|
320
297
|
- 'spec/unit/cli_spec.rb'
|
321
|
-
- 'spec/unit/
|
322
|
-
- 'spec/unit/scrum/creator_spec.rb'
|
323
|
-
- 'spec/unit/scrum/prioritizer_spec.rb'
|
324
|
-
- 'spec/unit/scrum/sprint_cleaner_spec.rb'
|
298
|
+
- 'spec/unit/retrieve_data_spec.rb'
|
325
299
|
- 'spec/unit/trello_wrapper_spec.rb'
|
326
300
|
|
327
|
-
# Offense count:
|
328
|
-
#
|
329
|
-
|
330
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
331
|
-
Style/BracesAroundHashParameters:
|
301
|
+
# Offense count: 6
|
302
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
303
|
+
Naming/UncommunicativeMethodArgName:
|
332
304
|
Exclude:
|
333
305
|
- 'lib/burndown_chart.rb'
|
334
306
|
- 'lib/cli.rb'
|
335
|
-
- '
|
336
|
-
- '
|
337
|
-
- '
|
307
|
+
- 'lib/scrum/priority_name.rb'
|
308
|
+
- 'lib/scrum/sprint_board.rb'
|
309
|
+
- 'lib/scrum/sprint_planning_board.rb'
|
310
|
+
|
311
|
+
# Offense count: 2
|
312
|
+
# Cop supports --auto-correct.
|
313
|
+
# Configuration parameters: AutoCorrect.
|
314
|
+
Performance/HashEachMethods:
|
315
|
+
Exclude:
|
316
|
+
- 'lib/cli.rb'
|
317
|
+
- 'lib/scrum/creator.rb'
|
318
|
+
|
319
|
+
# Offense count: 1
|
320
|
+
# Cop supports --auto-correct.
|
321
|
+
Security/YAMLLoad:
|
322
|
+
Exclude:
|
323
|
+
- 'lib/card.rb'
|
338
324
|
|
339
325
|
# Offense count: 1
|
340
326
|
Style/ClassVars:
|
@@ -343,26 +329,31 @@ Style/ClassVars:
|
|
343
329
|
|
344
330
|
# Offense count: 3
|
345
331
|
# Cop supports --auto-correct.
|
346
|
-
# Configuration parameters: EnforcedStyle,
|
332
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
347
333
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
348
334
|
Style/ConditionalAssignment:
|
349
335
|
Exclude:
|
350
336
|
- 'lib/cli.rb'
|
351
337
|
- 'spec/unit/support/webmocks.rb'
|
352
338
|
|
339
|
+
# Offense count: 13
|
340
|
+
Style/DateTime:
|
341
|
+
Exclude:
|
342
|
+
- 'lib/burndown_data.rb'
|
343
|
+
- 'spec/unit/burndown_chart_spec.rb'
|
344
|
+
- 'spec/unit/burndown_data_spec.rb'
|
345
|
+
|
353
346
|
# Offense count: 22
|
354
347
|
Style/Documentation:
|
355
348
|
Enabled: false
|
356
349
|
|
357
350
|
# Offense count: 1
|
358
351
|
# Cop supports --auto-correct.
|
359
|
-
|
360
|
-
# SupportedStyles: empty, nil, both
|
361
|
-
Style/EmptyElse:
|
352
|
+
Style/Encoding:
|
362
353
|
Exclude:
|
363
|
-
- '
|
354
|
+
- 'trollolo.gemspec'
|
364
355
|
|
365
|
-
# Offense count:
|
356
|
+
# Offense count: 7
|
366
357
|
# Configuration parameters: MinBodyLength.
|
367
358
|
Style/GuardClause:
|
368
359
|
Exclude:
|
@@ -373,73 +364,32 @@ Style/GuardClause:
|
|
373
364
|
- 'lib/scrum_board.rb'
|
374
365
|
- 'lib/settings.rb'
|
375
366
|
|
376
|
-
# Offense count:
|
377
|
-
# Cop supports --auto-correct.
|
378
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
379
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
380
|
-
Style/HashSyntax:
|
381
|
-
Exclude:
|
382
|
-
- 'Rakefile'
|
383
|
-
- 'lib/cli.rb'
|
384
|
-
- 'spec/unit/cli_spec.rb'
|
385
|
-
- 'spec/unit/spec_helper.rb'
|
386
|
-
- 'spec/unit/support/webmocks.rb'
|
387
|
-
- 'spec/unit/trello_wrapper_spec.rb'
|
388
|
-
|
389
|
-
# Offense count: 14
|
367
|
+
# Offense count: 6
|
390
368
|
# Cop supports --auto-correct.
|
391
|
-
# Configuration parameters: MaxLineLength.
|
392
369
|
Style/IfUnlessModifier:
|
393
370
|
Exclude:
|
394
|
-
- 'lib/backup.rb'
|
395
371
|
- 'lib/burndown_chart.rb'
|
396
|
-
- 'lib/card.rb'
|
397
372
|
- 'lib/cli.rb'
|
398
|
-
- 'lib/scrum/
|
399
|
-
- 'spec/integration/
|
400
|
-
- 'spec/unit/
|
373
|
+
- 'lib/scrum/sprint_cleaner.rb'
|
374
|
+
- 'spec/integration/integration_spec_helper.rb'
|
375
|
+
- 'spec/unit/spec_helper.rb'
|
401
376
|
|
402
377
|
# Offense count: 9
|
403
|
-
|
404
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
405
|
-
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
406
|
-
Style/MethodDefParentheses:
|
378
|
+
Style/MixinUsage:
|
407
379
|
Exclude:
|
408
|
-
- '
|
409
|
-
- '
|
410
|
-
- '
|
411
|
-
- '
|
380
|
+
- 'spec/integration/command_line_spec.rb'
|
381
|
+
- 'spec/integration/create_burndown_spec.rb'
|
382
|
+
- 'spec/unit/backup_spec.rb'
|
383
|
+
- 'spec/unit/burndown_chart_spec.rb'
|
384
|
+
- 'spec/unit/burndown_data_spec.rb'
|
385
|
+
- 'spec/unit/cli_spec.rb'
|
386
|
+
- 'spec/unit/trello_wrapper_spec.rb'
|
412
387
|
|
413
388
|
# Offense count: 1
|
414
389
|
Style/MultilineBlockChain:
|
415
390
|
Exclude:
|
416
391
|
- 'lib/cli.rb'
|
417
392
|
|
418
|
-
# Offense count: 1
|
419
|
-
# Cop supports --auto-correct.
|
420
|
-
Style/MutableConstant:
|
421
|
-
Exclude:
|
422
|
-
- 'lib/version.rb'
|
423
|
-
|
424
|
-
# Offense count: 7
|
425
|
-
# Cop supports --auto-correct.
|
426
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
427
|
-
# SupportedStyles: both, prefix, postfix
|
428
|
-
Style/NegatedIf:
|
429
|
-
Exclude:
|
430
|
-
- 'lib/backup.rb'
|
431
|
-
- 'lib/cli.rb'
|
432
|
-
- 'lib/trello_wrapper.rb'
|
433
|
-
- 'spec/integration/wrapper/credentials_input_wrapper'
|
434
|
-
|
435
|
-
# Offense count: 1
|
436
|
-
# Cop supports --auto-correct.
|
437
|
-
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
438
|
-
# SupportedStyles: skip_modifier_ifs, always
|
439
|
-
Style/Next:
|
440
|
-
Exclude:
|
441
|
-
- 'lib/card.rb'
|
442
|
-
|
443
393
|
# Offense count: 2
|
444
394
|
# Cop supports --auto-correct.
|
445
395
|
# Configuration parameters: Strict.
|
@@ -448,7 +398,7 @@ Style/NumericLiterals:
|
|
448
398
|
|
449
399
|
# Offense count: 1
|
450
400
|
# Cop supports --auto-correct.
|
451
|
-
# Configuration parameters: AutoCorrect, EnforcedStyle
|
401
|
+
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
452
402
|
# SupportedStyles: predicate, comparison
|
453
403
|
Style/NumericPredicate:
|
454
404
|
Exclude:
|
@@ -462,125 +412,10 @@ Style/PercentLiteralDelimiters:
|
|
462
412
|
Exclude:
|
463
413
|
- 'spec/unit/burndown_chart_spec.rb'
|
464
414
|
|
465
|
-
# Offense count: 3
|
466
|
-
# Cop supports --auto-correct.
|
467
|
-
Style/PerlBackrefs:
|
468
|
-
Exclude:
|
469
|
-
- 'lib/burndown_chart.rb'
|
470
|
-
- 'lib/card.rb'
|
471
|
-
- 'trollolo.gemspec'
|
472
|
-
|
473
|
-
# Offense count: 3
|
474
|
-
# Cop supports --auto-correct.
|
475
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
476
|
-
# SupportedStyles: short, verbose
|
477
|
-
Style/PreferredHashMethods:
|
478
|
-
Exclude:
|
479
|
-
- 'lib/burndown_chart.rb'
|
480
|
-
- 'spec/unit/support/update_webmock_data'
|
481
|
-
|
482
|
-
# Offense count: 4
|
483
|
-
# Cop supports --auto-correct.
|
484
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
485
|
-
# SupportedStyles: compact, exploded
|
486
|
-
Style/RaiseArgs:
|
487
|
-
Exclude:
|
488
|
-
- 'lib/burndown_chart.rb'
|
489
|
-
- 'lib/trello_wrapper.rb'
|
490
|
-
|
491
415
|
# Offense count: 1
|
492
416
|
# Cop supports --auto-correct.
|
493
|
-
|
494
|
-
Exclude:
|
495
|
-
- 'spec/unit/burndown_chart_spec.rb'
|
496
|
-
|
497
|
-
# Offense count: 2
|
498
|
-
# Cop supports --auto-correct.
|
499
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
500
|
-
Style/RedundantReturn:
|
501
|
-
Exclude:
|
502
|
-
- 'lib/burndown_chart.rb'
|
503
|
-
- 'lib/trello_service.rb'
|
504
|
-
|
505
|
-
# Offense count: 5
|
506
|
-
# Cop supports --auto-correct.
|
507
|
-
Style/RedundantSelf:
|
508
|
-
Exclude:
|
509
|
-
- 'lib/burndown_chart.rb'
|
510
|
-
- 'lib/card.rb'
|
511
|
-
|
512
|
-
# Offense count: 1
|
513
|
-
# Cop supports --auto-correct.
|
514
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
417
|
+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
515
418
|
# SupportedStyles: slashes, percent_r, mixed
|
516
419
|
Style/RegexpLiteral:
|
517
420
|
Exclude:
|
518
421
|
- 'trollolo.gemspec'
|
519
|
-
|
520
|
-
# Offense count: 8
|
521
|
-
# Cop supports --auto-correct.
|
522
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
523
|
-
# SupportedStyles: only_raise, only_fail, semantic
|
524
|
-
Style/SignalException:
|
525
|
-
Exclude:
|
526
|
-
- 'lib/scrum/backlog_mover.rb'
|
527
|
-
- 'lib/scrum/prioritizer.rb'
|
528
|
-
- 'lib/scrum/sprint_cleaner.rb'
|
529
|
-
- 'spec/unit/support/vcr.rb'
|
530
|
-
|
531
|
-
# Offense count: 944
|
532
|
-
# Cop supports --auto-correct.
|
533
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
534
|
-
# SupportedStyles: single_quotes, double_quotes
|
535
|
-
Style/StringLiterals:
|
536
|
-
Enabled: false
|
537
|
-
|
538
|
-
# Offense count: 7
|
539
|
-
# Cop supports --auto-correct.
|
540
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
541
|
-
# SupportedStyles: single_quotes, double_quotes
|
542
|
-
Style/StringLiteralsInInterpolation:
|
543
|
-
Exclude:
|
544
|
-
- 'lib/burndown_chart.rb'
|
545
|
-
- 'lib/cli.rb'
|
546
|
-
- 'lib/scrum/sprint_cleaner.rb'
|
547
|
-
- 'spec/integration/wrapper/credentials_input_wrapper'
|
548
|
-
- 'spec/integration/wrapper/empty_config_trollolo_wrapper'
|
549
|
-
- 'spec/integration/wrapper/trollolo_wrapper'
|
550
|
-
|
551
|
-
# Offense count: 1
|
552
|
-
# Cop supports --auto-correct.
|
553
|
-
# Configuration parameters: MinSize, SupportedStyles.
|
554
|
-
# SupportedStyles: percent, brackets
|
555
|
-
Style/SymbolArray:
|
556
|
-
EnforcedStyle: brackets
|
557
|
-
|
558
|
-
# Offense count: 5
|
559
|
-
# Cop supports --auto-correct.
|
560
|
-
# Configuration parameters: IgnoredMethods.
|
561
|
-
# IgnoredMethods: respond_to, define_method
|
562
|
-
Style/SymbolProc:
|
563
|
-
Exclude:
|
564
|
-
- 'lib/column.rb'
|
565
|
-
|
566
|
-
# Offense count: 1
|
567
|
-
# Cop supports --auto-correct.
|
568
|
-
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline.
|
569
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
570
|
-
Style/TrailingCommaInLiteral:
|
571
|
-
Exclude:
|
572
|
-
- 'lib/settings.rb'
|
573
|
-
|
574
|
-
# Offense count: 2
|
575
|
-
# Cop supports --auto-correct.
|
576
|
-
Style/UnneededInterpolation:
|
577
|
-
Exclude:
|
578
|
-
- 'spec/integration/command_line_spec.rb'
|
579
|
-
|
580
|
-
# Offense count: 1
|
581
|
-
# Cop supports --auto-correct.
|
582
|
-
# Configuration parameters: SupportedStyles, WordRegex.
|
583
|
-
# SupportedStyles: percent, brackets
|
584
|
-
Style/WordArray:
|
585
|
-
EnforcedStyle: percent
|
586
|
-
MinSize: 3
|