-
Notifications
You must be signed in to change notification settings - Fork 94
/
.rubocop.yml
715 lines (704 loc) · 32.8 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
inherit_from:
- .rubocop_rspec.yml
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Exclude:
- db/**/*
- tmp/**/*
- node_modules/**/*
- script/**/*
- bin/**/*
- vendor/**/*
- storage/**/*
- Gemfile*
- gems/bess/bin/**/*
- gems/houdini_upgrade/bin/**/*
- gems/houdini_full_contact/bin/**/*
- 'config.ru'
- 'app/views/app_data/_profile.jbuilder'
- 'app/views/app_data/_user.jbuilder'
- 'app/views/app_data/_nonprofit.jbuilder'
- 'app/views/campaigns/_create.jbuilder'
- 'app/views/campaigns/index.jbuilder'
- 'app/views/api/nonprofits/create.json.jbuilder'
- 'app/views/nonprofits/custom_field_joins/index.jbuilder'
- 'app/views/nonprofits/payments/show.jbuilder'
- 'app/views/nonprofits/refunds/index.jbuilder'
- 'app/views/nonprofits/custom_field_definitions/index.jbuilder'
- 'app/views/nonprofits/recurring_donations/show.jbuilder'
- 'gems/houdini_upgrade/lib/tasks/houdini_upgrade_tasks.rake'
- 'gems/bess/lib/tasks/houdini_tasks.rake'
- 'lib/tasks/settings.rake'
- 'lib/tasks/scheduler.rake'
- 'lib/tasks/seed.rake'
- 'lib/tasks/health_report.rake'
- 'lib/tasks/notice.rake'
- 'gems/houdini_full_contact/houdini_full_contact.gemspec'
- 'gems/houdini_upgrade/houdini_upgrade.gemspec'
- 'gems/ruby-param-validation/param_validation.gemspec'
- 'gems/ruby-qx/qx.gemspec'
- 'gems/bess/bess.gemspec'
- 'gems/houdini_full_contact/Rakefile'
- 'gems/houdini_upgrade/Rakefile'
- 'gems/ruby-param-validation/Rakefile'
- 'gems/bess/Rakefile'
- 'Rakefile'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/org.rb'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/social_profile.rb'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/topic.rb'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/info.rb'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/job.rb'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/application_record.rb'
- 'gems/houdini_full_contact/app/models/houdini/full_contact/photo.rb'
- 'gems/houdini_full_contact/app/listeners/houdini/full_contact/full_contact_listener.rb'
- 'gems/houdini_full_contact/app/jobs/houdini/full_contact/application_job.rb'
- 'gems/houdini_full_contact/app/jobs/houdini/full_contact/full_contact_job.rb'
- 'gems/houdini_full_contact/lib/houdini.rb'
- 'gems/houdini_full_contact/lib/houdini_full_contact/version.rb'
- 'gems/houdini_full_contact/lib/houdini/full_contact.rb'
- 'gems/houdini_full_contact/lib/houdini/full_contact/engine.rb'
- 'gems/houdini_full_contact/lib/houdini/full_contact/insert_infos.rb'
- 'gems/houdini_full_contact/lib/houdini_full_contact.rb'
- 'gems/houdini_full_contact/config/routes.rb'
- 'gems/houdini_full_contact/config/initializers/houdini_event_publisher.rb'
- 'gems/houdini_full_contact/db/migrate/20200611182909_create_full_contact.rb'
- 'gems/houdini_upgrade/lib/houdini_upgrade/version.rb'
- 'gems/houdini_upgrade/lib/houdini_upgrade/table_to_migrate.rb'
- 'gems/houdini_upgrade/lib/houdini_upgrade/column_to_migrate.rb'
- 'gems/houdini_upgrade/lib/houdini_upgrade/engine.rb'
- 'gems/houdini_upgrade/lib/houdini_upgrade.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/cw_to_activestorage_generator.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/event_background_image_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/nonprofit_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/campaign_background_image_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/article_background_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/article_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/nonprofit_background_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/image_attachment_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/nonprofit_logo_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/campaign_main_image_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/campaign_banner_image_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/profile_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/uploaders/event_main_image_uploader.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/migrate/rename_uploader_columns.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/models/campaign.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/models/profile.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/models/event.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/models/nonprofit.rb'
- 'gems/houdini_upgrade/lib/generators/cw_to_activestorage/templates/models/image_attachment.rb'
- 'gems/houdini_upgrade/lib/tasks/templates/backup_uploader_columns.rb'
- 'gems/houdini_upgrade/lib/tasks/templates/delete_uploader_backup_tables.rb'
- 'gems/houdini_upgrade/config/routes.rb'
- 'gems/houdini_upgrade/db/migrate/20200602215911_remove_picture_from_profile.rb'
- 'gems/houdini_upgrade/db/migrate/20210204013426_remove_long_and_lat.rb'
- 'gems/houdini_upgrade/db/migrate/20210204174909_remove_supporter_emails.rb'
- 'gems/houdini_upgrade/db/migrate/20191105200033_remove_billing_plan_tiers.rb'
- 'gems/ruby-param-validation/lib/param_validation.rb'
- 'gems/ruby-param-validation/test/param_validation_test.rb'
- 'gems/ruby-qx/lib/qx.rb'
- 'gems/ruby-qx/test/UpsertTest.rb'
- 'gems/ruby-qx/test/qx_test.rb'
- 'gems/bess/lib/houdini.rb'
- 'gems/bess/lib/bess.rb'
- 'gems/bess/lib/houdini/ccs/local_tar_gz_adapter.rb'
- 'gems/bess/lib/houdini/ccs/github_adapter.rb'
- 'gems/bess/lib/houdini/event_publisher.rb'
- 'gems/bess/lib/houdini/webhook_adapter/open_fn_adapter.rb'
- 'gems/bess/lib/houdini/ccs.rb'
- 'gems/bess/lib/houdini/webhook_adapter.rb'
- 'gems/bess/lib/houdini/payment_provider/stripe_provider.rb'
- 'gems/bess/lib/houdini/payment_provider/registry.rb'
- 'gems/bess/lib/houdini/intl.rb'
- 'gems/bess/lib/houdini/engine.rb'
- 'gems/bess/lib/houdini/maintenance.rb'
- 'gems/bess/lib/houdini/payment_provider.rb'
- 'gems/bess/lib/bess/version.rb'
- 'gems/bess/lib/generators/react/component_generator.rb'
- 'gems/bess/spec/lib/houdini/maintenance_spec.rb'
- 'gems/bess/spec/spec_helper.rb'
- 'app/mailers/event_mailer.rb'
- 'app/mailers/payment_mailer.rb'
- 'app/mailers/base_mailer.rb'
- 'app/mailers/nonprofit_mailer.rb'
- 'app/mailers/generic_mailer.rb'
- 'app/mailers/admin_mailer.rb'
- 'app/mailers/export_mailer.rb'
- 'app/mailers/ticket_mailer.rb'
- 'app/mailers/campaign_mailer.rb'
- 'app/mailers/testing.rb'
- 'app/mailers/user_mailer.rb'
- 'app/mailers/donation_mailer.rb'
- 'app/mailers/nonprofit_admin_mailer.rb'
- 'app/mailers/recurring_donation_mailer.rb'
- 'app/mailers/import_mailer.rb'
- 'app/models/campaign.rb'
- 'app/models/tag_definition.rb'
- 'app/models/ticket_purchase.rb'
- 'app/models/supporter.rb'
- 'app/models/billing_plan.rb'
- 'app/models/modern_donation.rb'
- 'app/models/import.rb'
- 'app/models/email_list.rb'
- 'app/models/supporter_note.rb'
- 'app/models/email_setting.rb'
- 'app/models/campaign_gift.rb'
- 'app/models/card.rb'
- 'app/models/ticket_to_legacy_ticket.rb'
- 'app/models/profile.rb'
- 'app/models/nonprofit_account.rb'
- 'app/models/charge.rb'
- 'app/models/campaign_gift_option.rb'
- 'app/models/activity.rb'
- 'app/models/payment.rb'
- 'app/models/export.rb'
- 'app/models/transaction.rb'
- 'app/models/tag_join.rb'
- 'app/models/payout.rb'
- 'app/models/campaign_gift_purchase.rb'
- 'app/models/custom_field_join.rb'
- 'app/models/bank_account.rb'
- 'app/models/payment_import.rb'
- 'app/models/concerns/model/eventable.rb'
- 'app/models/concerns/model/jbuilder.rb'
- 'app/models/concerns/model/trx_assignable.rb'
- 'app/models/concerns/image/attachment_extensions.rb'
- 'app/models/source_token.rb'
- 'app/models/errors/message_invalid.rb'
- 'app/models/errors/active_model_error.rb'
- 'app/models/dispute.rb'
- 'app/models/create_model.rb'
- 'app/models/object_event_hook_config.rb'
- 'app/models/payment_payout.rb'
- 'app/models/import_request.rb'
- 'app/models/billing_subscription.rb'
- 'app/models/offsite_payment.rb'
- 'app/models/modern_campaign_gift.rb'
- 'app/models/donation.rb'
- 'app/models/user.rb'
- 'app/models/refund.rb'
- 'app/models/application_record.rb'
- 'app/models/base.rb'
- 'app/models/comment.rb'
- 'app/models/recurring_donation.rb'
- 'app/models/event.rb'
- 'app/models/transaction_assignment.rb'
- 'app/models/nonprofit.rb'
- 'app/models/ticket.rb'
- 'app/models/tracking.rb'
- 'app/models/event_discount.rb'
- 'app/models/ticket_level.rb'
- 'app/models/direct_debit_detail.rb'
- 'app/models/role.rb'
- 'app/models/image_attachment.rb'
- 'app/models/miscellaneous_np_info.rb'
- 'app/controllers/tickets_controller.rb'
- 'app/controllers/button_debug_controller.rb'
- 'app/controllers/application_controller.rb'
- 'app/controllers/campaign_gift_options_controller.rb'
- 'app/controllers/roles_controller.rb'
- 'app/controllers/event_discounts_controller.rb'
- 'app/controllers/nonprofits_controller.rb'
- 'app/controllers/email_settings_controller.rb'
- 'app/controllers/super_admins_controller.rb'
- 'app/controllers/front_controller.rb'
- 'app/controllers/cards_controller.rb'
- 'app/controllers/campaign_gifts_controller.rb'
- 'app/controllers/users/sessions_controller.rb'
- 'app/controllers/users/registrations_controller.rb'
- 'app/controllers/users/confirmations_controller.rb'
- 'app/controllers/image_attachments_controller.rb'
- 'app/controllers/ticket_levels_controller.rb'
- 'app/controllers/campaigns/supporters_controller.rb'
- 'app/controllers/campaigns/campaign_gift_options_controller.rb'
- 'app/controllers/campaigns/donations_controller.rb'
- 'app/controllers/recurring_donations_controller.rb'
- 'app/controllers/api/nonprofits_controller.rb'
- 'app/controllers/settings_controller.rb'
- 'app/controllers/profiles_controller.rb'
- 'app/controllers/emails_controller.rb'
- 'app/controllers/direct_debit_details_controller.rb'
- 'app/controllers/events_controller.rb'
- 'app/controllers/nonprofits/supporters_controller.rb'
- 'app/controllers/nonprofits/activities_controller.rb'
- 'app/controllers/nonprofits/tag_joins_controller.rb'
- 'app/controllers/nonprofits/refunds_controller.rb'
- 'app/controllers/nonprofits/nonprofit_keys_controller.rb'
- 'app/controllers/nonprofits/custom_field_joins_controller.rb'
- 'app/controllers/nonprofits/payouts_controller.rb'
- 'app/controllers/nonprofits/charges_controller.rb'
- 'app/controllers/nonprofits/donations_controller.rb'
- 'app/controllers/nonprofits/reports_controller.rb'
- 'app/controllers/nonprofits/bank_accounts_controller.rb'
- 'app/controllers/nonprofits/miscellaneous_np_infos_controller.rb'
- 'app/controllers/nonprofits/email_lists_controller.rb'
- 'app/controllers/nonprofits/button_controller.rb'
- 'app/controllers/nonprofits/recurring_donations_controller.rb'
- 'app/controllers/nonprofits/custom_field_definitions_controller.rb'
- 'app/controllers/nonprofits/imports_controller.rb'
- 'app/controllers/nonprofits/supporter_notes_controller.rb'
- 'app/controllers/nonprofits/trackings_controller.rb'
- 'app/controllers/nonprofits/tag_definitions_controller.rb'
- 'app/controllers/nonprofits/payments_controller.rb'
- 'app/controllers/static_controller.rb'
- 'app/listeners/credit_card_payment_listener.rb'
- 'app/listeners/application_listener.rb'
- 'app/listeners/campaign_listener.rb'
- 'app/listeners/sepa_payment_listener.rb'
- 'app/listeners/nonprofit_mailer_listener.rb'
- 'app/listeners/wemove_listener.rb'
- 'app/listeners/object_event_listener.rb'
- 'app/listeners/ticket_mailing_listener.rb'
- 'app/helpers/profiles_helper.rb'
- 'app/helpers/card_helper.rb'
- 'app/helpers/nonprofits_helper.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/devise_helper.rb'
- 'app/helpers/api/nonprofits_helper.rb'
- 'app/jobs/application_job.rb'
- 'app/jobs/admin_failed_gift_job.rb'
- 'app/jobs/recurring_donation_cancelled_job.rb'
- 'app/jobs/payment_notification_email_nonprofit_job.rb'
- 'app/jobs/export_payments_failed_job.rb'
- 'app/jobs/export_supporters_failed_job.rb'
- 'app/jobs/supporter_notes_export_create_job.rb'
- 'app/jobs/failed_recurring_donation_payment_donor_email_job.rb'
- 'app/jobs/verification_failed_job.rb'
- 'app/jobs/campaign_creation_email_followup_job.rb'
- 'app/jobs/recurring_donations_export_create_job.rb'
- 'app/jobs/refund_notification_donor_email_job.rb'
- 'app/jobs/export_supporters_completed_job.rb'
- 'app/jobs/we_move_execute_for_donations_job.rb'
- 'app/jobs/direct_debit_create_notify_donor_job.rb'
- 'app/jobs/campaign_creation_federated_email_job.rb'
- 'app/jobs/nonprofit_create_job.rb'
- 'app/jobs/user_invite_create_job.rb'
- 'app/jobs/payment_notification_email_donor_job.rb'
- 'app/jobs/role_added_job.rb'
- 'app/jobs/refund_notification_nonprofit_email_job.rb'
- 'app/jobs/direct_debit_create_notify_nonprofit_job.rb'
- 'app/jobs/recurring_donation_change_amount_nonprofit_email_job.rb'
- 'app/jobs/event_create_creator_email_job.rb'
- 'app/jobs/export_supporter_notes_failed_job.rb'
- 'app/jobs/bank_account_create_job.rb'
- 'app/jobs/payment_export_create_job.rb'
- 'app/jobs/import_completed_job.rb'
- 'app/jobs/refund_notification_job.rb'
- 'app/jobs/export_recurring_donations_completed_job.rb'
- 'app/jobs/recurring_donation_change_amount_job.rb'
- 'app/jobs/email_job.rb'
- 'app/jobs/recurring_donation_change_amount_donor_email_job.rb'
- 'app/jobs/export_recurring_donations_failed_job.rb'
- 'app/jobs/failed_recurring_donation_payment_nonprofit_email_job.rb'
- 'app/jobs/supporters_export_create_job.rb'
- 'app/jobs/pay_recurring_donation_job.rb'
- 'app/jobs/event_create_job.rb'
- 'app/jobs/payout_pending_job.rb'
- 'app/jobs/import_creation_job.rb'
- 'app/jobs/email_list_create_job.rb'
- 'app/jobs/verification_completed_job.rb'
- 'app/jobs/supporter_fundraiser_create_job.rb'
- 'app/jobs/mailchimp_supporter_sync_job.rb'
- 'app/jobs/export_supporter_notes_completed_job.rb'
- 'app/jobs/pay_recurring_donations_job.rb'
- 'app/jobs/export_payments_completed_job.rb'
- 'app/jobs/webhook_transmit_job.rb'
- 'app/jobs/stripe_account_create_job.rb'
- 'app/legacy_lib/import_civicrm_payments.rb'
- 'app/legacy_lib/name_copy_naming_algorithm.rb'
- 'app/legacy_lib/health_report.rb'
- 'app/legacy_lib/qexpr_query_chunker.rb'
- 'app/legacy_lib/qexpr.rb'
- 'app/legacy_lib/slug_nonprofit_naming_algorithm.rb'
- 'app/legacy_lib/chunked_uploader.rb'
- 'app/legacy_lib/hash.rb'
- 'app/legacy_lib/uuid.rb'
- 'app/legacy_lib/validation_error.rb'
- 'app/legacy_lib/slug_copy_naming_algorithm.rb'
- 'app/legacy_lib/create_campaign_gift_option.rb'
- 'app/legacy_lib/create_custom_field_join.rb'
- 'app/legacy_lib/create_campaign_gift.rb'
- 'app/legacy_lib/create_stripe_account.rb'
- 'app/legacy_lib/create_custom_field_definition.rb'
- 'app/legacy_lib/update_miscellaneous_np_info.rb'
- 'app/legacy_lib/update_supporter_notes.rb'
- 'app/legacy_lib/update_email_settings.rb'
- 'app/legacy_lib/update_charges.rb'
- 'app/legacy_lib/update_recurring_donations.rb'
- 'app/legacy_lib/update_tickets.rb'
- 'app/legacy_lib/update_campaign_gift_option.rb'
- 'app/legacy_lib/update_order.rb'
- 'app/legacy_lib/update_email_lists.rb'
- 'app/legacy_lib/update_payouts.rb'
- 'app/legacy_lib/update_disputes.rb'
- 'app/legacy_lib/update_donation.rb'
- 'app/legacy_lib/update_supporter.rb'
- 'app/legacy_lib/update_activities.rb'
- 'app/legacy_lib/update_refunds.rb'
- 'app/legacy_lib/update_custom_field_joins.rb'
- 'app/legacy_lib/update_nonprofit.rb'
- 'app/legacy_lib/maintain_dedications.rb'
- 'app/legacy_lib/maintain_ticket_records.rb'
- 'app/legacy_lib/maintain_payment_records.rb'
- 'app/legacy_lib/include_asset.rb'
- 'app/legacy_lib/query_email_settings.rb'
- 'app/legacy_lib/query_campaign_gifts.rb'
- 'app/legacy_lib/query_donations.rb'
- 'app/legacy_lib/query_source_token.rb'
- 'app/legacy_lib/query_recurring_donations.rb'
- 'app/legacy_lib/query_campaign_metrics.rb'
- 'app/legacy_lib/query_nonprofit_keys.rb'
- 'app/legacy_lib/query_ticket_levels.rb'
- 'app/legacy_lib/query_event_organizer.rb'
- 'app/legacy_lib/query_roles.rb'
- 'app/legacy_lib/billing_plans.rb'
- 'app/legacy_lib/query_payments.rb'
- 'app/legacy_lib/query_activities.rb'
- 'app/legacy_lib/query_full_contact_infos.rb'
- 'app/legacy_lib/query_event_discounts.rb'
- 'app/legacy_lib/query_event_metrics.rb'
- 'app/legacy_lib/query_tickets.rb'
- 'app/legacy_lib/query_custom_fields.rb'
- 'app/legacy_lib/query_profiles.rb'
- 'app/legacy_lib/query_supporters.rb'
- 'app/legacy_lib/query_campaigns.rb'
- 'app/legacy_lib/query_nonprofits.rb'
- 'app/legacy_lib/query_users.rb'
- 'app/legacy_lib/copy_naming_algorithm.rb'
- 'app/legacy_lib/email.rb'
- 'app/legacy_lib/slug_p2p_campaign_naming_algorithm.rb'
- 'app/legacy_lib/pay_recurring_donation.rb'
- 'app/errors/not_enough_quantity_error.rb'
- 'app/errors/charge_error.rb'
- 'app/errors/expired_token_error.rb'
- 'app/errors/authentication_error.rb'
- 'app/legacy_lib/merge_supporters.rb'
- 'app/legacy_lib/delete_campaign_gift_option.rb'
- 'app/legacy_lib/delete_tag_joins.rb'
- 'app/legacy_lib/delete_custom_field_joins.rb'
- 'app/legacy_lib/cypher.rb'
- 'app/legacy_lib/timespan.rb'
- 'app/legacy_lib/required_keys.rb'
- 'app/legacy_lib/fetch_event.rb'
- 'app/legacy_lib/fetch_todo_status.rb'
- 'app/legacy_lib/fetch_miscellaneous_np_info.rb'
- 'app/legacy_lib/fetch_nonprofit.rb'
- 'app/legacy_lib/fetch_stripe_account.rb'
- 'app/legacy_lib/fetch_nonprofit_email.rb'
- 'app/legacy_lib/fetch_campaign.rb'
- 'app/legacy_lib/retrieve_active_record_items.rb'
- 'app/legacy_lib/json_resp.rb'
- 'app/legacy_lib/image.rb'
- 'app/legacy_lib/format/geography.rb'
- 'app/legacy_lib/format/phone.rb'
- 'app/legacy_lib/format/interpolate.rb'
- 'app/legacy_lib/format/date.rb'
- 'app/legacy_lib/format/csv.rb'
- 'app/legacy_lib/format/indefinitize.rb'
- 'app/legacy_lib/format/timezone.rb'
- 'app/legacy_lib/format/url.rb'
- 'app/legacy_lib/format/name.rb'
- 'app/legacy_lib/format/dedication.rb'
- 'app/legacy_lib/format/remove_diacritics.rb'
- 'app/legacy_lib/format/address.rb'
- 'app/legacy_lib/format/html.rb'
- 'app/legacy_lib/format/currency.rb'
- 'app/legacy_lib/list_activities.rb'
- 'app/legacy_lib/numeric.rb'
- 'app/legacy_lib/stripe_utils.rb'
- 'app/legacy_lib/insert_donation.rb'
- 'app/legacy_lib/insert_supporter.rb'
- 'app/legacy_lib/insert_payout.rb'
- 'app/legacy_lib/insert_direct_debit_detail.rb'
- 'app/legacy_lib/insert_tracking.rb'
- 'app/legacy_lib/insert_activities.rb'
- 'app/legacy_lib/insert_email_lists.rb'
- 'app/legacy_lib/insert_tag_joins.rb'
- 'app/legacy_lib/insert_custom_field_joins.rb'
- 'app/legacy_lib/insert_tickets.rb'
- 'app/legacy_lib/insert_disputes.rb'
- 'app/legacy_lib/insert_duplicate.rb'
- 'app/legacy_lib/insert_refunds.rb'
- 'app/legacy_lib/insert_recurring_donation.rb'
- 'app/legacy_lib/insert_card.rb'
- 'app/legacy_lib/insert_nonprofit_keys.rb'
- 'app/legacy_lib/insert_bank_account.rb'
- 'app/legacy_lib/insert_charge.rb'
- 'app/legacy_lib/insert_source_token.rb'
- 'app/legacy_lib/insert_supporter_notes.rb'
- 'app/legacy_lib/scheduled_jobs.rb'
- 'app/legacy_lib/qx_query_chunker.rb'
- 'app/legacy_lib/mailchimp.rb'
- 'app/legacy_lib/generate_locales.rb'
- 'app/legacy_lib/psql.rb'
- 'app/legacy_lib/calculate_fees.rb'
- 'app/legacy_lib/calculate_suggested_amounts.rb'
- 'app/legacy_lib/nonprofit_metrics.rb'
- 'app/legacy_lib/stripe_account.rb'
- 'lib/generators/overrides.rb'
- 'lib/generators/libmodule/libmodule_generator.rb'
- 'lib/generators/overrides/rails/plugin/plugin_builder.rb'
- 'lib/generators/ts/declaration/declaration_generator.rb'
- 'app/legacy_lib/construct_nonprofit.rb'
- 'app/legacy_lib/search_vector.rb'
- 'app/legacy_lib/export_payments.rb'
- 'app/legacy_lib/export_supporter_notes.rb'
- 'app/legacy_lib/export_supporters.rb'
- 'app/legacy_lib/export_recurring_donations.rb'
- 'spec/mailers/donation_mailer_spec.rb'
- 'spec/mailers/admin_spec.rb'
- 'spec/factories/ticket_to_legacy_tickets.rb'
- 'spec/factories/modern_campaign_gifts.rb'
- 'spec/factories/import_requests.rb'
- 'spec/factories/cards.rb'
- 'spec/factories/ticket_levels.rb'
- 'spec/factories/tickets.rb'
- 'spec/factories/campaign_gifts.rb'
- 'spec/factories/payment_payouts.rb'
- 'spec/factories/transactions.rb'
- 'spec/factories/payouts.rb'
- 'spec/factories/supporters.rb'
- 'spec/factories/billing_plans.rb'
- 'spec/factories/miscellaneous_np_infos.rb'
- 'spec/factories/transaction_assignments.rb'
- 'spec/factories/donations.rb'
- 'spec/factories/object_event_hook_configs.rb'
- 'spec/factories/direct_debit_details.rb'
- 'spec/factories/ticket_purchases.rb'
- 'spec/factories/billing_subscriptions.rb'
- 'spec/factories/email_lists.rb'
- 'spec/factories/payments.rb'
- 'spec/factories/campaigns.rb'
- 'spec/factories/refunds.rb'
- 'spec/factories/tag_joins.rb'
- 'spec/factories/exports.rb'
- 'spec/factories/charges.rb'
- 'spec/factories/modern_donations.rb'
- 'spec/factories/disputes.rb'
- 'spec/factories/custom_field_joins.rb'
- 'spec/factories/bank_accounts.rb'
- 'spec/factories/profiles.rb'
- 'spec/factories/event_discounts.rb'
- 'spec/factories/recurring_donations.rb'
- 'spec/factories/source_tokens.rb'
- 'spec/factories/roles.rb'
- 'spec/factories/campaign_gift_purchases.rb'
- 'spec/factories/custom_field_definitions.rb'
- 'spec/factories/nonprofits.rb'
- 'spec/factories/payment_imports.rb'
- 'spec/factories/offsite_payments.rb'
- 'spec/factories/events.rb'
- 'spec/rails_helper.rb'
- 'spec/legacy_lib/import/import_civicrm_payments_spec.rb'
- 'spec/legacy_lib/chunked_uploader_spec.rb'
- 'spec/legacy_lib/copy_naming_algorithm_spec.rb'
- 'spec/legacy_lib/slug_p2p_campaign_naming_algorithm_spec.rb'
- 'spec/legacy_lib/stripe_utils_spec.rb'
- 'spec/legacy_lib/merge_supporters_spec.rb'
- 'spec/legacy_lib/pay_recurring_donation_spec.rb'
- 'spec/legacy_lib/create/create_campaign_spec.rb'
- 'spec/legacy_lib/create/create_campaign_gift_spec.rb'
- 'spec/legacy_lib/mailchimp_spec.rb'
- 'spec/legacy_lib/update/update_recurring_donations_spec.rb'
- 'spec/legacy_lib/update/update_payouts_spec.rb'
- 'spec/legacy_lib/update/update_disputes_spec.rb'
- 'spec/legacy_lib/update/update_charges_spec.rb'
- 'spec/legacy_lib/update/update_tickets_spec.rb'
- 'spec/legacy_lib/update/update_donation_spec.rb'
- 'spec/legacy_lib/update/update_refunds_spec.rb'
- 'spec/legacy_lib/update/update_supporter_spec.rb'
- 'spec/legacy_lib/update/update_misc_nonprofit_settings_spec.rb'
- 'spec/legacy_lib/query/query_users_spec.rb'
- 'spec/legacy_lib/query/billing_plans_spec.rb'
- 'spec/legacy_lib/query/query_roles_spec.rb'
- 'spec/legacy_lib/query/query_campaign_metrics_spec.rb'
- 'spec/legacy_lib/query/query_ticket_levels_spec.rb'
- 'spec/legacy_lib/query/query_payments_spec.rb'
- 'spec/legacy_lib/query/query_campaign_gifts_spec.rb'
- 'spec/legacy_lib/query/query_recurring_donations_spec.rb'
- 'spec/legacy_lib/query/query_source_token_spec.rb'
- 'spec/legacy_lib/query/query_donations_spec.rb'
- 'spec/legacy_lib/query/query_supporters_spec.rb'
- 'spec/legacy_lib/numeric_spec.rb'
- 'spec/legacy_lib/name_copy_naming_algorithm_spec.rb'
- 'spec/legacy_lib/delete/delete_campaign_gift_option_spec.rb'
- 'spec/legacy_lib/fetch/fetch_misc_nonprofit_settings_spec.rb'
- 'spec/legacy_lib/fetch/fetch_nonprofit_email_spec.rb'
- 'spec/legacy_lib/retrieve/retrieve_active_record_items_spec.rb'
- 'spec/legacy_lib/slug_copy_naming_algorithm_spec.rb'
- 'spec/legacy_lib/format/geography_spec.rb'
- 'spec/legacy_lib/format/indefinitize_spec.rb'
- 'spec/legacy_lib/format/name_spec.rb'
- 'spec/legacy_lib/format/currency_spec.rb'
- 'spec/legacy_lib/format/url_spec.rb'
- 'spec/legacy_lib/format/dedication_spec.rb'
- 'spec/legacy_lib/insert/insert_recurring_donation_spec.rb'
- 'spec/legacy_lib/insert/insert_charge_spec.rb'
- 'spec/legacy_lib/insert/insert_disputes_spec.rb'
- 'spec/legacy_lib/insert/insert_bank_account_spec.rb'
- 'spec/legacy_lib/insert/insert_payout_spec.rb'
- 'spec/legacy_lib/insert/insert_custom_field_joins_spec.rb'
- 'spec/legacy_lib/insert/insert_tag_joins_spec.rb'
- 'spec/legacy_lib/insert/insert_supporter_notes_spec.rb'
- 'spec/legacy_lib/insert/insert_duplicate_spec.rb'
- 'spec/legacy_lib/insert/insert_source_token_spec.rb'
- 'spec/legacy_lib/insert/insert_tickets_spec.rb'
- 'spec/legacy_lib/insert/insert_card_spec.rb'
- 'spec/legacy_lib/uuid_spec.rb'
- 'spec/legacy_lib/stripe_account_spec.rb'
- 'spec/legacy_lib/timespan_spec.rb'
- 'spec/legacy_lib/calculate/calculate_suggested_amounts_spec.rb'
- 'spec/legacy_lib/calculate/calculate_fees_spec.rb'
- 'spec/legacy_lib/construct/construct_nonprofit_spec.rb'
- 'spec/legacy_lib/slug_nonprofit_naming_algorithm_spec.rb'
- 'spec/legacy_lib/export/export_recurring_donations_spec.rb'
- 'spec/legacy_lib/export/export_supporters_spec.rb'
- 'spec/legacy_lib/export/export_payments_spec.rb'
- 'spec/legacy_lib/export/export_supporter_notes_spec.rb'
- 'spec/spec_helper.rb'
- 'spec/models/campaign_gift_purchase_spec.rb'
- 'spec/models/custom_field_definition_spec.rb'
- 'spec/models/user_spec.rb'
- 'spec/models/modern_campaign_gift_spec.rb'
- 'spec/models/import_request_spec.rb'
- 'spec/models/nonprofit_spec.rb'
- 'spec/models/concerns/model/eventable_spec.rb'
- 'spec/models/payment_import_spec.rb'
- 'spec/models/ticket_spec.rb'
- 'spec/models/ticket_purchase_spec.rb'
- 'spec/models/transaction_spec.rb'
- 'spec/models/event_discount_spec.rb'
- 'spec/models/supporter_spec.rb'
- 'spec/models/ticket_to_legacy_ticket_spec.rb'
- 'spec/models/transaction_assignment_spec.rb'
- 'spec/models/modern_donation_spec.rb'
- 'spec/models/ticket_level_spec.rb'
- 'spec/models/object_event_hook_config_spec.rb'
- 'spec/models/tag_definition_spec.rb'
- 'spec/models/campaign_spec.rb'
- 'spec/models/campaign_gift_option_spec.rb'
- 'spec/controllers/image_attachments_spec.rb'
- 'spec/controllers/event_discounts_spec.rb'
- 'spec/controllers/cards_spec.rb'
- 'spec/controllers/front_spec.rb'
- 'spec/controllers/email_settings_spec.rb'
- 'spec/controllers/profiles_spec.rb'
- 'spec/controllers/roles_spec.rb'
- 'spec/controllers/direct_debit_details_spec.rb'
- 'spec/controllers/emails_spec.rb'
- 'spec/controllers/ticket_levels_spec.rb'
- 'spec/controllers/support/new_controller_user_context.rb'
- 'spec/controllers/support/shared_user_context.rb'
- 'spec/controllers/campaigns/donations_spec.rb'
- 'spec/controllers/campaigns/supporters_spec.rb'
- 'spec/controllers/campaigns/campaign_gift_options_spec.rb'
- 'spec/controllers/campaign_gifts_spec.rb'
- 'spec/controllers/api/nonprofits_controller_spec.rb'
- 'spec/controllers/static_controller_spec.rb'
- 'spec/controllers/tickets_spec.rb'
- 'spec/controllers/campaign_gift_options_spec.rb'
- 'spec/controllers/settings_spec.rb'
- 'spec/controllers/nonprofits_spec.rb'
- 'spec/controllers/nonprofits/charges_spec.rb'
- 'spec/controllers/nonprofits/trackings_spec.rb'
- 'spec/controllers/nonprofits/payments_spec.rb'
- 'spec/controllers/nonprofits/donations_spec.rb'
- 'spec/controllers/nonprofits/supporters_spec.rb'
- 'spec/controllers/nonprofits/email_lists_spec.rb'
- 'spec/controllers/nonprofits/tag_joins_spec.rb'
- 'spec/controllers/nonprofits/bank_accounts_spec.rb'
- 'spec/controllers/nonprofits/activities_spec.rb'
- 'spec/controllers/nonprofits/button_spec.rb'
- 'spec/controllers/nonprofits/custom_fields_joins_spec.rb'
- 'spec/controllers/nonprofits/custom_field_definitions_spec.rb'
- 'spec/controllers/nonprofits/tag_definitions_spec.rb'
- 'spec/controllers/nonprofits/reports_spec.rb'
- 'spec/controllers/nonprofits/payouts_spec.rb'
- 'spec/controllers/nonprofits/imports_spec.rb'
- 'spec/controllers/nonprofits/recurring_donations_spec.rb'
- 'spec/controllers/nonprofits/miscellaneous_np_infos_spec.rb'
- 'spec/controllers/nonprofits/nonprofit_keys_spec.rb'
- 'spec/controllers/super_admins_spec.rb'
- 'spec/controllers/recurring_donations_spec.rb'
- 'spec/controllers/events_spec.rb'
- 'spec/support/contexts.rb'
- 'spec/support/expect.rb'
- 'spec/support/factory_bot.rb'
- 'spec/support/mock_helpers.rb'
- 'spec/support/contexts/shared_rd_donation_value_context.rb'
- 'spec/support/contexts/shared_donation_charge_context.rb'
- 'spec/support/contexts/general_shared_user_context.rb'
- 'spec/support/payments_for_a_payout.rb'
- 'spec/support/test_upload_service.rb'
- 'spec/requests/nonprofits/direct_debit_details_spec.rb'
- 'spec/migration/delete_tag_join_spec.rb'
- 'spec/migration/delete_custom_field_join_spec.rb'
- 'spec/routing/state_code_routing_spec.rb'
- 'config/puma.rb'
- 'config/state_code_constraint.rb'
- 'config/boot.rb'
- 'config/spring.rb'
- 'config/routes.rb'
- 'config/initializers/hamster_extensions.rb'
- 'config/initializers/new_framework_defaults_6_1.rb'
- 'config/initializers/assets.rb'
- 'config/initializers/log_rage.rb'
- 'config/initializers/secret_token.rb'
- 'config/initializers/quiet_assets.rb'
- 'config/initializers/permissions_policy.rb'
- 'config/initializers/devise_async.rb'
- 'config/initializers/timeout.rb'
- 'config/initializers/content_security_policy.rb'
- 'config/initializers/filter_parameter_logging.rb'
- 'config/initializers/devise.rb'
- 'config/initializers/stripe.rb'
- 'config/initializers/mime_types.rb'
- 'config/initializers/reload_api.rb'
- 'config/initializers/session_store.rb'
- 'config/initializers/application_controller_renderer.rb'
- 'config/initializers/chunked_uploader_service.rb'
- 'config/initializers/slack_notice.rb'
- 'config/initializers/email_jobs.rb'
- 'config/initializers/pg_type_map.rb'
- 'config/initializers/wrap_parameters.rb'
- 'config/initializers/backtrace_silencers.rb'
- 'config/initializers/houdini_event_publisher.rb'
- 'config/initializers/locale.rb'
- 'config/initializers/inflections.rb'
- 'config/initializers/mailchimp.rb'
- 'config/initializers/cookies_serializer.rb'
- 'config/initializers/block_ips.rb'
- 'config/initializers/new_framework_defaults_6_0.rb'
- 'config/initializers/time.rb'
- 'config/application.rb'
- 'config/environment.rb'
- 'config/environments/test.rb'
- 'config/environments/staging.rb'
- 'config/environments/ci.rb'
- 'config/environments/production.rb'
- 'config/environments/development.rb'
DisplayCopNames: true
require:
- rubocop-rails
- rubocop-rake
Layout/IndentationStyle:
EnforcedStyle: tabs
Layout/IndentationWidth:
Width: 1
Metrics/MethodLength:
Max: 25
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always_true
Style/PreferredHashMethods:
Enabled: false
Style/LambdaCall:
# jbuilder uses this a lot so we want it.
Enabled: false
RSpec/MultipleMemoizedHelpers:
Max: 15