marty 5.2.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +1 -1
  3. data/.rubocop_todo.yml +62 -77
  4. data/Dockerfile.dummy +1 -1
  5. data/app/assets/javascripts/marty/extjs/extensions/marty.js +11 -0
  6. data/app/components/marty/log_view.rb +1 -1
  7. data/app/components/marty/promise_view.rb +0 -3
  8. data/app/jobs/marty/remove_old_promises_job.rb +7 -0
  9. data/app/models/marty/data_grid.rb +0 -163
  10. data/app/models/marty/event.rb +2 -2
  11. data/app/models/marty/posting.rb +0 -7
  12. data/app/models/marty/promise.rb +1 -1
  13. data/app/services/marty/data_grid_view/save_grid.rb +2 -2
  14. data/app/services/marty/jobs/schedule.rb +5 -0
  15. data/db/migrate/510_schedule_job_to_remove_old_promises.rb +19 -0
  16. data/lib/marty.rb +8 -0
  17. data/{other → lib}/marty/api/base.rb +14 -17
  18. data/{other → lib}/marty/diagnostic/aws/ec2_instance.rb +2 -2
  19. data/{other → lib}/marty/diagnostic/aws/error.rb +0 -0
  20. data/{other → lib}/marty/diagnostic/base.rb +0 -0
  21. data/{other → lib}/marty/diagnostic/collection.rb +0 -0
  22. data/{other → lib}/marty/diagnostic/connections.rb +0 -0
  23. data/{other → lib}/marty/diagnostic/database.rb +0 -0
  24. data/{other → lib}/marty/diagnostic/delayed_job_version.rb +0 -0
  25. data/{other → lib}/marty/diagnostic/delayed_job_workers.rb +0 -0
  26. data/{other → lib}/marty/diagnostic/environment_variables.rb +0 -0
  27. data/{other → lib}/marty/diagnostic/fatal.rb +0 -0
  28. data/{other → lib}/marty/diagnostic/node.rb +0 -0
  29. data/{other → lib}/marty/diagnostic/nodes.rb +1 -2
  30. data/{other → lib}/marty/diagnostic/packer.rb +0 -0
  31. data/{other → lib}/marty/diagnostic/reporter.rb +2 -2
  32. data/{other → lib}/marty/diagnostic/request.rb +0 -0
  33. data/{other → lib}/marty/diagnostic/scheduled_jobs.rb +0 -0
  34. data/{other → lib}/marty/diagnostic/version.rb +0 -0
  35. data/lib/marty/engine.rb +5 -0
  36. data/lib/marty/version.rb +3 -1
  37. data/lib/marty/xl.rb +5 -5
  38. data/spec/dummy/app/assets/config/manifest.js +0 -0
  39. data/spec/dummy/app/jobs/test2_job.rb +4 -0
  40. data/spec/dummy/config/application.rb +1 -4
  41. data/spec/dummy/config/initializers/assets.rb +1 -1
  42. data/spec/features/extjs_spec.rb +58 -0
  43. data/spec/features/schedule_jobs_dashboard_spec.rb +9 -9
  44. data/spec/lib/logger_spec.rb +2 -2
  45. data/spec/models/posting_spec.rb +0 -13
  46. data/spec/services/jobs/schedule_spec.rb +40 -0
  47. data/spec/support/chromedriver.rb +2 -0
  48. metadata +27 -22
  49. data/spec/dummy/app/jobs/test_job2.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c09276b6e27aad355d8f9b512b7bdd753f62a19fc669757f6835337c20554f7f
4
- data.tar.gz: 91626928a7caa158cc81628978b00d5b1a8b0266c24960c5d6164e06ef0815aa
3
+ metadata.gz: 1f1457a8c273c33b4b74c01a76e07fc6b690fb5dd836511c648e7e60211ae2d7
4
+ data.tar.gz: 570417d238e3225b53914e99c7f293804c75bd3498bb3ce4ba90976a48d81c8b
5
5
  SHA512:
6
- metadata.gz: b5901679d961b8484cdf274566d1f0bf8781364b0ce83a542bf1aee859f72ba6d95e8de2f71430ae5ceb86888c301e45fa0b29444ff770e60a3aed58ba64456c
7
- data.tar.gz: 1b849061d5d1293f43e6949820426004f73fe3e6f385e72a18e33bc0bc8d52446dd854069944e77cc0dcf55549b3308930b7c0058aef5e63c36e55a22ca7fdef
6
+ metadata.gz: 90b58649b5c1d327798ed130f0725fec9c08b4aa1bf74cdf09b170d28d8067052563f985b3be49cf76a0a80a835845a1224682ffc973ded8f6eeee196a978318
7
+ data.tar.gz: 8c73073a407a988bf6a13e7f3ec19305b0253e7e18d1f948bba4e47fbbf2993852c87858b407a6ed0c57ca63c810a5fa417723a90859fff1791b85eac10cf347
@@ -1,4 +1,4 @@
1
- image: 415596832415.dkr.ecr.us-west-2.amazonaws.com/cm_tech/docker-ruby-ci-image:2.4.2-20190129
1
+ image: 415596832415.dkr.ecr.us-west-2.amazonaws.com/cm_tech/docker-ruby-ci-image:2.6.3-20191003
2
2
 
3
3
  services:
4
4
  - "postgres:9.6"
@@ -1,12 +1,12 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-08-13 13:20:18 -0700 using RuboCop version 0.73.0.
3
+ # on 2019-09-12 08:37:20 -0700 using RuboCop version 0.73.0.
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: 418
9
+ # Offense count: 416
10
10
  # Cop supports --auto-correct.
11
11
  # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
12
12
  # SupportedHashRocketStyles: key, separator, table
@@ -23,21 +23,20 @@ Layout/ClosingHeredocIndentation:
23
23
  - 'spec/support/components/netzke_combobox.rb'
24
24
  - 'spec/support/components/netzke_grid.rb'
25
25
 
26
- # Offense count: 56
26
+ # Offense count: 57
27
27
  # Cop supports --auto-correct.
28
28
  # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
29
29
  # SupportedStylesAlignWith: keyword, variable, start_of_line
30
30
  Layout/EndAlignment:
31
31
  Enabled: false
32
32
 
33
- # Offense count: 33
33
+ # Offense count: 32
34
34
  # Cop supports --auto-correct.
35
35
  # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
36
36
  Layout/ExtraSpacing:
37
37
  Exclude:
38
38
  - 'app/components/marty/data_grid_view.rb'
39
39
  - 'app/components/marty/posting_window.rb'
40
- - 'app/models/marty/data_grid.rb'
41
40
  - 'lib/marty/logger.rb'
42
41
  - 'lib/marty/migrations.rb'
43
42
  - 'lib/marty/monkey.rb'
@@ -69,13 +68,13 @@ Layout/IndentFirstHashElement:
69
68
  Layout/IndentHeredoc:
70
69
  Enabled: false
71
70
 
72
- # Offense count: 288
71
+ # Offense count: 290
73
72
  # Cop supports --auto-correct.
74
73
  # Configuration parameters: Width, IgnoredPatterns.
75
74
  Layout/IndentationWidth:
76
75
  Enabled: false
77
76
 
78
- # Offense count: 22
77
+ # Offense count: 20
79
78
  # Cop supports --auto-correct.
80
79
  # Configuration parameters: EnforcedStyle.
81
80
  # SupportedStyles: symmetrical, new_line, same_line
@@ -86,20 +85,18 @@ Layout/MultilineHashBraceLayout:
86
85
  - 'app/models/marty/delorean_rule.rb'
87
86
  - 'lib/marty/migrations.rb'
88
87
  - 'lib/marty/schema_helper.rb'
89
- - 'other/marty/api/base.rb'
90
- - 'other/marty/diagnostic/nodes.rb'
91
88
  - 'spec/features/rule_spec.rb'
92
89
  - 'spec/lib/json_schema_spec.rb'
93
90
  - 'spec/other/diagnostic/base_spec.rb'
94
91
 
95
- # Offense count: 123
92
+ # Offense count: 118
96
93
  # Cop supports --auto-correct.
97
94
  # Configuration parameters: EnforcedStyle.
98
95
  # SupportedStyles: symmetrical, new_line, same_line
99
96
  Layout/MultilineMethodCallBraceLayout:
100
97
  Enabled: false
101
98
 
102
- # Offense count: 88
99
+ # Offense count: 92
103
100
  # Cop supports --auto-correct.
104
101
  # Configuration parameters: EnforcedStyle, IndentationWidth.
105
102
  # SupportedStyles: aligned, indented, indented_relative_to_receiver
@@ -114,7 +111,7 @@ Layout/MultilineMethodDefinitionBraceLayout:
114
111
  Exclude:
115
112
  - 'lib/marty/data_importer.rb'
116
113
 
117
- # Offense count: 18
114
+ # Offense count: 17
118
115
  # Cop supports --auto-correct.
119
116
  # Configuration parameters: EnforcedStyle, IndentationWidth.
120
117
  # SupportedStyles: aligned, indented
@@ -126,7 +123,6 @@ Layout/MultilineOperationIndentation:
126
123
  - 'app/models/marty/script.rb'
127
124
  - 'app/models/marty/user.rb'
128
125
  - 'lib/marty/data_change.rb'
129
- - 'other/marty/api/base.rb'
130
126
  - 'spec/controllers/application_controller_spec.rb'
131
127
  - 'spec/models/api_auth_spec.rb'
132
128
  - 'spec/models/script_spec.rb'
@@ -148,7 +144,7 @@ Lint/AmbiguousBlockAssociation:
148
144
  Lint/AmbiguousOperator:
149
145
  Exclude:
150
146
  - 'app/components/marty/script_form.rb'
151
- - 'other/marty/diagnostic/aws/ec2_instance.rb'
147
+ - 'lib/marty/diagnostic/aws/ec2_instance.rb'
152
148
 
153
149
  # Offense count: 3
154
150
  Lint/AmbiguousRegexpLiteral:
@@ -180,20 +176,20 @@ Lint/HandleExceptions:
180
176
  Exclude:
181
177
  - 'spec/support/netzke.rb'
182
178
 
183
- # Offense count: 25
179
+ # Offense count: 19
184
180
  Lint/IneffectiveAccessModifier:
185
181
  Exclude:
186
182
  - 'app/components/marty/mcfly_grid_panel.rb'
187
183
  - 'app/models/marty/data_grid.rb'
188
184
  - 'app/models/marty/token.rb'
189
185
  - 'lib/marty/content_handler.rb'
186
+ - 'lib/marty/diagnostic/reporter.rb'
190
187
  - 'lib/marty/migrations.rb'
191
- - 'other/marty/diagnostic/reporter.rb'
192
188
 
193
189
  # Offense count: 1
194
190
  Lint/InterpolationCheck:
195
191
  Exclude:
196
- - 'other/marty/diagnostic/request.rb'
192
+ - 'lib/marty/diagnostic/request.rb'
197
193
 
198
194
  # Offense count: 1
199
195
  Lint/LiteralAsCondition:
@@ -222,12 +218,12 @@ Lint/ScriptPermission:
222
218
  Lint/ShadowingOuterLocalVariable:
223
219
  Exclude:
224
220
  - 'app/models/marty/data_grid.rb'
221
+ - 'lib/marty/api/base.rb'
225
222
  - 'lib/marty/data_change.rb'
226
223
  - 'lib/marty/data_conversion.rb'
224
+ - 'lib/marty/diagnostic/base.rb'
225
+ - 'lib/marty/diagnostic/database.rb'
227
226
  - 'lib/marty/json_schema.rb'
228
- - 'other/marty/api/base.rb'
229
- - 'other/marty/diagnostic/base.rb'
230
- - 'other/marty/diagnostic/database.rb'
231
227
 
232
228
  # Offense count: 7
233
229
  # Cop supports --auto-correct.
@@ -257,8 +253,8 @@ Lint/UselessAccessModifier:
257
253
  - 'app/components/marty/mcfly_grid_panel.rb'
258
254
  - 'app/models/marty/data_grid.rb'
259
255
  - 'lib/marty/content_handler.rb'
256
+ - 'lib/marty/diagnostic/reporter.rb'
260
257
  - 'lib/marty/json_schema.rb'
261
- - 'other/marty/diagnostic/reporter.rb'
262
258
 
263
259
  # Offense count: 90
264
260
  Lint/UselessAssignment:
@@ -274,20 +270,20 @@ Lint/Void:
274
270
  - 'spec/lib/xl_styles_spec.rb'
275
271
  - 'spec/models/posting_spec.rb'
276
272
 
277
- # Offense count: 109
273
+ # Offense count: 107
278
274
  Metrics/AbcSize:
279
275
  Max: 129
280
276
 
281
- # Offense count: 22
277
+ # Offense count: 21
282
278
  # Configuration parameters: CountComments.
283
279
  Metrics/ClassLength:
284
- Max: 578
280
+ Max: 452
285
281
 
286
- # Offense count: 68
282
+ # Offense count: 65
287
283
  Metrics/CyclomaticComplexity:
288
284
  Max: 40
289
285
 
290
- # Offense count: 171
286
+ # Offense count: 169
291
287
  # Configuration parameters: CountComments, ExcludedMethods.
292
288
  Metrics/MethodLength:
293
289
  Max: 98
@@ -302,7 +298,7 @@ Metrics/ModuleLength:
302
298
  Metrics/ParameterLists:
303
299
  Max: 10
304
300
 
305
- # Offense count: 50
301
+ # Offense count: 48
306
302
  Metrics/PerceivedComplexity:
307
303
  Max: 35
308
304
 
@@ -356,12 +352,12 @@ Naming/PredicateName:
356
352
  - 'app/components/marty/grid.rb'
357
353
  - 'app/components/marty/main_auth_app.rb'
358
354
  - 'app/models/marty/user.rb'
355
+ - 'lib/marty/api/base.rb'
359
356
  - 'lib/marty/aws/base.rb'
357
+ - 'lib/marty/diagnostic/packer.rb'
360
358
  - 'lib/marty/permissions.rb'
361
- - 'other/marty/api/base.rb'
362
- - 'other/marty/diagnostic/packer.rb'
363
359
 
364
- # Offense count: 148
360
+ # Offense count: 145
365
361
  # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
366
362
  # AllowedNames: io, id, to, by, on, in, at, ip, db
367
363
  Naming/UncommunicativeMethodParamName:
@@ -396,19 +392,12 @@ Performance/DoubleStartEndWith:
396
392
  Exclude:
397
393
  - 'lib/marty/migrations.rb'
398
394
 
399
- # Offense count: 2
395
+ # Offense count: 1
400
396
  # Cop supports --auto-correct.
401
397
  # Configuration parameters: EnabledForFlattenWithoutParams.
402
398
  Performance/FlatMap:
403
399
  Exclude:
404
400
  - 'lib/marty/aws/request.rb'
405
- - 'other/marty/diagnostic/aws/ec2_instance.rb'
406
-
407
- # Offense count: 1
408
- # Cop supports --auto-correct.
409
- Performance/InefficientHashSearch:
410
- Exclude:
411
- - 'other/marty/diagnostic/reporter.rb'
412
401
 
413
402
  # Offense count: 5
414
403
  # Cop supports --auto-correct.
@@ -495,7 +484,21 @@ Style/BarePercentLiterals:
495
484
  - 'spec/models/config_spec.rb'
496
485
  - 'spec/support/netzke.rb'
497
486
 
498
- # Offense count: 130
487
+ # Offense count: 1
488
+ Style/CaseEquality:
489
+ Exclude:
490
+ - 'app/components/marty/report_form.rb'
491
+ - 'app/models/marty/data_grid.rb'
492
+ - 'app/helpers/marty/enum_helper.rb'
493
+ - 'lib/marty/data_change.rb'
494
+ - 'lib/marty/data_conversion.rb'
495
+ - 'lib/marty/mcfly_model.rb'
496
+ - 'lib/marty/monkey.rb'
497
+ - 'other/marty/api/base.rb'
498
+ - 'spec/lib/mcfly_model_spec.rb'
499
+ - 'lib/marty/api/base.rb'
500
+
501
+ # Offense count: 132
499
502
  # Cop supports --auto-correct.
500
503
  # Configuration parameters: AutoCorrect, EnforcedStyle.
501
504
  # SupportedStyles: nested, compact
@@ -518,23 +521,22 @@ Style/ClassVars:
518
521
  - 'app/helpers/marty/script_set.rb'
519
522
  - 'app/models/marty/data_grid.rb'
520
523
  - 'app/models/marty/tag.rb'
524
+ - 'lib/marty/api/base.rb'
521
525
  - 'lib/marty/data_conversion.rb'
526
+ - 'lib/marty/diagnostic/base.rb'
527
+ - 'lib/marty/diagnostic/request.rb'
522
528
  - 'lib/marty/rule_script_set.rb'
523
529
  - 'lib/marty/util.rb'
524
- - 'other/marty/api/base.rb'
525
- - 'other/marty/diagnostic/base.rb'
526
- - 'other/marty/diagnostic/request.rb'
527
530
  - 'spec/support/helper.rb'
528
531
  - 'spec/support/post_run_logger.rb'
529
532
  - 'spec/support/shared_connection.rb'
530
533
 
531
- # Offense count: 6
534
+ # Offense count: 2
532
535
  # Cop supports --auto-correct.
533
536
  Style/ColonMethodCall:
534
537
  Exclude:
535
538
  - 'app/components/marty/data_grid_view.rb'
536
539
  - 'app/components/marty/script_tester.rb'
537
- - 'other/marty/api/base.rb'
538
540
 
539
541
  # Offense count: 5
540
542
  # Cop supports --auto-correct.
@@ -547,11 +549,6 @@ Style/CommentAnnotation:
547
549
  - 'app/models/marty/promise.rb'
548
550
  - 'lib/marty/xl.rb'
549
551
 
550
- # Offense count: 1
551
- Style/CommentedKeyword:
552
- Exclude:
553
- - 'app/models/marty/data_grid.rb'
554
-
555
552
  # Offense count: 5
556
553
  # Cop supports --auto-correct.
557
554
  # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
@@ -564,7 +561,7 @@ Style/ConditionalAssignment:
564
561
  - 'spec/support/components/netzke_combobox.rb'
565
562
  - 'spec/support/components/netzke_grid.rb'
566
563
 
567
- # Offense count: 159
564
+ # Offense count: 164
568
565
  Style/Documentation:
569
566
  Enabled: false
570
567
 
@@ -582,7 +579,7 @@ Style/EachForSimpleLoop:
582
579
  Exclude:
583
580
  - 'spec/controllers/rpc_import_spec.rb'
584
581
 
585
- # Offense count: 8
582
+ # Offense count: 6
586
583
  # Cop supports --auto-correct.
587
584
  # Configuration parameters: EnforcedStyle.
588
585
  # SupportedStyles: compact, expanded
@@ -590,7 +587,6 @@ Style/EmptyMethod:
590
587
  Exclude:
591
588
  - 'app/models/marty/data_grid.rb'
592
589
  - 'app/models/marty/pg_enum.rb'
593
- - 'other/marty/api/base.rb'
594
590
  - 'spec/job_helper.rb'
595
591
  - 'spec/models/import_type_spec.rb'
596
592
  - 'spec/support/empty_job.rb'
@@ -636,8 +632,9 @@ Style/FormatStringToken:
636
632
  - 'spec/features/rule_spec.rb'
637
633
  - 'spec/lib/struct_compare_spec.rb'
638
634
  - 'spec/models/rule_spec.rb'
635
+ - 'spec/support/performance_helper.rb'
639
636
 
640
- # Offense count: 211
637
+ # Offense count: 215
641
638
  # Cop supports --auto-correct.
642
639
  # Configuration parameters: EnforcedStyle.
643
640
  # SupportedStyles: always, never
@@ -719,7 +716,7 @@ Style/Lambda:
719
716
  - 'spec/lib/xl_styles_spec.rb'
720
717
  - 'spec/support/shared_connection.rb'
721
718
 
722
- # Offense count: 24
719
+ # Offense count: 23
723
720
  # Cop supports --auto-correct.
724
721
  Style/LineEndConcatenation:
725
722
  Exclude:
@@ -729,7 +726,6 @@ Style/LineEndConcatenation:
729
726
  - 'lib/marty/data_importer.rb'
730
727
  - 'lib/marty/mcfly_model.rb'
731
728
  - 'lib/marty/migrations.rb'
732
- - 'other/marty/api/base.rb'
733
729
  - 'spec/controllers/application_controller_spec.rb'
734
730
  - 'spec/features/reporting_spec.rb'
735
731
  - 'spec/features/user_view_spec.rb'
@@ -777,12 +773,12 @@ Style/MultilineBlockChain:
777
773
  Exclude:
778
774
  - 'app/components/marty/report_select.rb'
779
775
  - 'app/models/marty/event.rb'
776
+ - 'lib/marty/diagnostic/delayed_job_version.rb'
777
+ - 'lib/marty/diagnostic/node.rb'
780
778
  - 'lib/marty/migrations.rb'
781
779
  - 'lib/marty/xl.rb'
782
- - 'other/marty/diagnostic/delayed_job_version.rb'
783
- - 'other/marty/diagnostic/node.rb'
784
780
 
785
- # Offense count: 22
781
+ # Offense count: 21
786
782
  # Cop supports --auto-correct.
787
783
  Style/MultilineIfModifier:
788
784
  Exclude:
@@ -803,11 +799,10 @@ Style/MultilineIfModifier:
803
799
  Style/MultilineTernaryOperator:
804
800
  Enabled: false
805
801
 
806
- # Offense count: 3
802
+ # Offense count: 2
807
803
  Style/MultipleComparison:
808
804
  Exclude:
809
805
  - 'app/components/marty/base_rule_view.rb'
810
- - 'app/models/marty/data_grid.rb'
811
806
  - 'lib/marty/xl.rb'
812
807
 
813
808
  # Offense count: 74
@@ -884,7 +879,7 @@ Style/NumericPredicate:
884
879
  - 'lib/marty/data_importer.rb'
885
880
  - 'lib/marty/xl.rb'
886
881
 
887
- # Offense count: 40
882
+ # Offense count: 36
888
883
  # Cop supports --auto-correct.
889
884
  Style/ParallelAssignment:
890
885
  Enabled: false
@@ -898,7 +893,7 @@ Style/ParenthesesAroundCondition:
898
893
  - 'lib/marty/data_change.rb'
899
894
  - 'lib/marty/xl.rb'
900
895
 
901
- # Offense count: 12
896
+ # Offense count: 11
902
897
  # Cop supports --auto-correct.
903
898
  # Configuration parameters: PreferredDelimiters.
904
899
  Style/PercentLiteralDelimiters:
@@ -906,7 +901,6 @@ Style/PercentLiteralDelimiters:
906
901
  - 'app/components/marty/simple_app.rb'
907
902
  - 'app/models/marty/data_grid.rb'
908
903
  - 'lib/marty/migrations.rb'
909
- - 'other/marty/api/base.rb'
910
904
  - 'spec/models/event_spec.rb'
911
905
  - 'spec/models/rule_spec.rb'
912
906
 
@@ -926,14 +920,6 @@ Style/PerlBackrefs:
926
920
  Exclude:
927
921
  - 'lib/marty/migrations.rb'
928
922
 
929
- # Offense count: 1
930
- # Cop supports --auto-correct.
931
- # Configuration parameters: EnforcedStyle.
932
- # SupportedStyles: compact, exploded
933
- Style/RaiseArgs:
934
- Exclude:
935
- - 'other/marty/diagnostic/reporter.rb'
936
-
937
923
  # Offense count: 6
938
924
  # Cop supports --auto-correct.
939
925
  # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
@@ -1005,7 +991,7 @@ Style/StructInheritance:
1005
991
  - 'lib/marty/promise_job.rb'
1006
992
  - 'lib/marty/promise_ruby_job.rb'
1007
993
 
1008
- # Offense count: 4
994
+ # Offense count: 3
1009
995
  # Cop supports --auto-correct.
1010
996
  # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
1011
997
  # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
@@ -1013,9 +999,8 @@ Style/TernaryParentheses:
1013
999
  Exclude:
1014
1000
  - 'app/models/marty/data_grid.rb'
1015
1001
  - 'lib/marty/xl.rb'
1016
- - 'other/marty/api/base.rb'
1017
1002
 
1018
- # Offense count: 39
1003
+ # Offense count: 40
1019
1004
  # Cop supports --auto-correct.
1020
1005
  Style/TrailingBodyOnModule:
1021
1006
  Enabled: false
@@ -1034,7 +1019,7 @@ Style/TrailingCommaInArguments:
1034
1019
  Style/TrailingCommaInArrayLiteral:
1035
1020
  Enabled: false
1036
1021
 
1037
- # Offense count: 147
1022
+ # Offense count: 146
1038
1023
  # Cop supports --auto-correct.
1039
1024
  # Configuration parameters: EnforcedStyleForMultiline.
1040
1025
  # SupportedStylesForMultiline: comma, consistent_comma, no_comma
@@ -1055,14 +1040,14 @@ Style/UnneededSort:
1055
1040
  Exclude:
1056
1041
  - 'app/models/marty/event.rb'
1057
1042
 
1058
- # Offense count: 96
1043
+ # Offense count: 97
1059
1044
  # Cop supports --auto-correct.
1060
1045
  # Configuration parameters: EnforcedStyle, MinSize, WordRegex.
1061
1046
  # SupportedStyles: percent, brackets
1062
1047
  Style/WordArray:
1063
1048
  Enabled: false
1064
1049
 
1065
- # Offense count: 136
1050
+ # Offense count: 137
1066
1051
  # Cop supports --auto-correct.
1067
1052
  # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
1068
1053
  # URISchemes: http, https