0007-Move-only-modules-and-classes-that-match-Zeitwerk-ru.patch

Mizuki ISHIKAWA, 2021-10-19 08:50

Download (109 KB)

View differences:

.gitignore
17 17
/db/*.sqlite3-*
18 18
/db/schema.rb
19 19
/files/*
20
/lib/redmine/scm/adapters/mercurial/redminehelper.pyc
21
/lib/redmine/scm/adapters/mercurial/redminehelper.pyo
20
/lib/autoloads/redmine/scm/adapters/mercurial/redminehelper.pyc
21
/lib/autoloads/redmine/scm/adapters/mercurial/redminehelper.pyo
22 22
/log/*.log*
23 23
/log/mongrel_debug
24 24
/plugins/*
.hgignore
19 19
db/*.sqlite3-*
20 20
db/schema.rb
21 21
files/*
22
lib/redmine/scm/adapters/mercurial/redminehelper.pyc
23
lib/redmine/scm/adapters/mercurial/redminehelper.pyo
22
lib/autoloads/redmine/scm/adapters/mercurial/redminehelper.pyc
23
lib/autoloads/redmine/scm/adapters/mercurial/redminehelper.pyo
24 24
log/*.log*
25 25
log/mongrel_debug
26 26
public/dispatch.*
.rubocop.yml
35 35
Layout/ClosingParenthesisIndentation:
36 36
  Enabled: true
37 37
  Exclude:
38
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
38
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
39 39

  
40 40
Layout/EmptyLinesAroundAccessModifier:
41 41
  Enabled: true
......
48 48
Layout/FirstHashElementIndentation:
49 49
  Enabled: true
50 50
  Exclude:
51
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
51
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
52 52

  
53 53
Layout/LineLength:
54 54
  Enabled: true
......
58 58
    - 'db/migrate/1*.rb'
59 59
    - 'db/migrate/201*.rb'
60 60
    - 'db/migrate/20200*.rb'
61
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
61
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
62 62

  
63 63
Layout/RescueEnsureAlignment:
64 64
  Enabled: true
......
176 176
Style/IdenticalConditionalBranches:
177 177
  Exclude:
178 178
    - 'config/initializers/10-patches.rb'
179
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
179
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
180 180

  
181 181
Style/NegatedIfElseCondition:
182 182
  Enabled: false
.rubocop_todo.yml
23 23
  Exclude:
24 24
    - 'db/migrate/101_populate_changesets_user_id.rb'
25 25
    - 'lib/diff.rb'
26
    - 'lib/redmine/default_data/loader.rb'
27
    - 'lib/redmine/safe_attributes.rb'
28
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
26
    - 'lib/autoloads/redmine/default_data/loader.rb'
27
    - 'lib/autoloads/redmine/safe_attributes.rb'
28
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
29 29

  
30 30
# Cop supports --auto-correct.
31 31
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
......
45 45
Layout/EmptyLinesAroundAttributeAccessor:
46 46
  Exclude:
47 47
    - 'app/models/issue.rb'
48
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
49
    - 'lib/redmine/sudo_mode.rb'
50
    - 'test/unit/lib/redmine/safe_attributes_test.rb'
48
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
49
    - 'lib/autoloads/redmine/sudo_mode.rb'
50
    - 'test/unit/lib/autoloads/redmine/safe_attributes_test.rb'
51 51

  
52 52
# Cop supports --auto-correct.
53 53
# Configuration parameters: EnforcedStyle.
......
59 59
    - 'db/migrate/20110223180953_salt_user_passwords.rb'
60 60
    - 'db/migrate/20131215104612_store_relation_type_in_journal_details.rb'
61 61
    - 'db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb'
62
    - 'lib/redmine/notifiable.rb'
63
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
64
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
65
    - 'lib/redmine/wiki_formatting/html_parser.rb'
66
    - 'lib/redmine/wiki_formatting/markdown/html_parser.rb'
67
    - 'lib/redmine/wiki_formatting/textile/html_parser.rb'
62
    - 'lib/autoloads/redmine/notifiable.rb'
63
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
64
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
65
    - 'lib/autoloads/redmine/wiki_formatting/html_parser.rb'
66
    - 'lib/autoloads/redmine/wiki_formatting/markdown/html_parser.rb'
67
    - 'lib/autoloads/redmine/wiki_formatting/textile/html_parser.rb'
68 68
    - 'test/integration/api_test/api_routing_test.rb'
69
    - 'test/integration/lib/redmine/themes_test.rb'
69
    - 'test/integration/lib/autoloads/redmine/themes_test.rb'
70 70
    - 'test/integration/routing/activities_test.rb'
71 71
    - 'test/integration/routing/repositories_test.rb'
72
    - 'test/unit/lib/redmine/field_format/link_format_test.rb'
72
    - 'test/unit/lib/autoloads/redmine/field_format/link_format_test.rb'
73 73

  
74 74
# Cop supports --auto-correct.
75 75
Layout/EmptyLinesAroundExceptionHandlingKeywords:
......
105 105
    - 'app/helpers/trackers_helper.rb'
106 106
    - 'app/helpers/versions_helper.rb'
107 107
    - 'app/helpers/watchers_helper.rb'
108
    - 'lib/redmine/access_control.rb'
109
    - 'lib/redmine/activity.rb'
110
    - 'lib/redmine/codeset_util.rb'
111
    - 'lib/redmine/configuration.rb'
112
    - 'lib/redmine/helpers/calendar.rb'
113
    - 'lib/redmine/mime_type.rb'
114
    - 'lib/redmine/plugin.rb'
115
    - 'lib/redmine/search.rb'
108
    - 'lib/autoloads/redmine/access_control.rb'
109
    - 'lib/autoloads/redmine/activity.rb'
110
    - 'lib/autoloads/redmine/codeset_util.rb'
111
    - 'lib/autoloads/redmine/configuration.rb'
112
    - 'lib/autoloads/redmine/helpers/calendar.rb'
113
    - 'lib/autoloads/redmine/mime_type.rb'
114
    - 'lib/autoloads/redmine/plugin.rb'
115
    - 'lib/autoloads/redmine/search.rb'
116 116

  
117 117
# Cop supports --auto-correct.
118 118
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
......
126 126
  Exclude:
127 127
    - 'test/application_system_test_case.rb'
128 128
    - 'test/unit/auth_source_ldap_test.rb'
129
    - 'test/unit/lib/redmine/helpers/gantt_test.rb'
130
    - 'test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb'
129
    - 'test/unit/lib/autoloads/redmine/helpers/gantt_test.rb'
130
    - 'test/unit/lib/autoloads/redmine/scm/adapters/filesystem_adapter_test.rb'
131 131
    - 'test/unit/repository_cvs_test.rb'
132 132

  
133 133
# Cop supports --auto-correct.
......
145 145
    - 'db/migrate/20110902000000_create_changeset_parents.rb'
146 146
    - 'db/migrate/20111201201315_add_unique_index_to_issue_relations.rb'
147 147
    - 'db/migrate/20120115143126_set_default_repositories.rb'
148
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
148
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
149 149
    - 'test/mocks/open_id_authentication_mock.rb'
150 150

  
151 151
# Cop supports --auto-correct.
......
170 170
Layout/SpaceAfterComma:
171 171
  Exclude:
172 172
    - 'app/controllers/projects_controller.rb'
173
    - 'lib/redmine/configuration.rb'
174
    - 'lib/redmine/helpers/time_report.rb'
175
    - 'lib/redmine/imap.rb'
176
    - 'lib/redmine/pop3.rb'
177
    - 'lib/redmine/project_jump_box.rb'
178
    - 'lib/redmine/safe_attributes.rb'
179
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
180
    - 'lib/redmine/sort_criteria.rb'
181
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
173
    - 'lib/autoloads/redmine/configuration.rb'
174
    - 'lib/autoloads/redmine/helpers/time_report.rb'
175
    - 'lib/autoloads/redmine/imap.rb'
176
    - 'lib/autoloads/redmine/pop3.rb'
177
    - 'lib/autoloads/redmine/project_jump_box.rb'
178
    - 'lib/autoloads/redmine/safe_attributes.rb'
179
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
180
    - 'lib/autoloads/redmine/sort_criteria.rb'
181
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
182 182
    - 'test/functional/imports_controller_test.rb'
183 183
    - 'test/integration/layout_test.rb'
184 184
    - 'test/system/timelog_test.rb'
185 185
    - 'test/unit/attachment_test.rb'
186
    - 'test/unit/lib/redmine/field_format/version_field_format_test.rb'
186
    - 'test/unit/lib/autoloads/redmine/field_format/version_field_format_test.rb'
187 187

  
188 188
# Cop supports --auto-correct.
189 189
Layout/SpaceAfterNot:
......
191 191
    - 'app/controllers/application_controller.rb'
192 192
    - 'app/models/repository/cvs.rb'
193 193
    - 'app/models/repository/git.rb'
194
    - 'lib/redmine/codeset_util.rb'
194
    - 'lib/autoloads/redmine/codeset_util.rb'
195 195
    - 'test/functional/account_controller_test.rb'
196 196
    - 'test/functional/documents_controller_test.rb'
197 197
    - 'test/functional/repositories_git_controller_test.rb'
198 198
    - 'test/functional/timelog_controller_test.rb'
199 199
    - 'test/functional/workflows_controller_test.rb'
200 200
    - 'test/unit/attachment_test.rb'
201
    - 'test/unit/lib/redmine/export/pdf_test.rb'
201
    - 'test/unit/lib/autoloads/redmine/export/pdf_test.rb'
202 202
    - 'test/unit/project_copy_test.rb'
203 203
    - 'test/unit/project_test.rb'
204 204
    - 'test/unit/query_test.rb'
......
216 216
Layout/SpaceBeforeFirstArg:
217 217
  Exclude:
218 218
    - 'test/helpers/issues_helper_test.rb'
219
    - 'test/unit/lib/redmine/menu_manager_test.rb'
219
    - 'test/unit/lib/autoloads/redmine/menu_manager_test.rb'
220 220

  
221 221
# Cop supports --auto-correct.
222 222
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
......
236 236
    - 'app/helpers/issues_helper.rb'
237 237
    - 'app/models/auth_source_ldap.rb'
238 238
    - 'app/models/repository/cvs.rb'
239
    - 'lib/redmine/sudo_mode.rb'
240
    - 'lib/redmine/wiki_formatting/textile/formatter.rb'
241
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
239
    - 'lib/autoloads/redmine/sudo_mode.rb'
240
    - 'lib/autoloads/redmine/wiki_formatting/textile/formatter.rb'
241
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
242 242
    - 'test/unit/changeset_test.rb'
243 243
    - 'test/unit/issue_subtasking_test.rb'
244
    - 'test/unit/lib/redmine/export/pdf_test.rb'
244
    - 'test/unit/lib/autoloads/redmine/export/pdf_test.rb'
245 245

  
246 246
# Cop supports --auto-correct.
247 247
# Configuration parameters: EnforcedStyle.
......
251 251
    - 'app/helpers/workflows_helper.rb'
252 252
    - 'app/models/issue_query.rb'
253 253
    - 'app/models/mail_handler.rb'
254
    - 'lib/redmine/core_ext/string/inflections.rb'
254
    - 'lib/string/inflections.rb'
255 255
    - 'test/integration/admin_test.rb'
256 256

  
257 257
# Configuration parameters: IgnoredMethods.
......
276 276

  
277 277
Lint/BinaryOperatorWithIdenticalOperands:
278 278
  Exclude:
279
    - 'lib/redmine/helpers/calendar.rb'
279
    - 'lib/autoloads/redmine/helpers/calendar.rb'
280 280

  
281 281
# Cop supports --auto-correct.
282 282
Lint/DeprecatedClassMethods:
......
286 286
    - 'config/application.rb'
287 287
    - 'config/boot.rb'
288 288
    - 'config/routes.rb'
289
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
290
    - 'lib/redmine/thumbnail.rb'
291
    - 'lib/redmine/utils.rb'
289
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
290
    - 'lib/autoloads/redmine/thumbnail.rb'
291
    - 'lib/autoloads/redmine/utils.rb'
292 292
    - 'test/functional/issues_controller_test.rb'
293 293
    - 'test/unit/attachment_test.rb'
294 294
    - 'test/unit/issue_import_test.rb'
......
298 298
  Exclude:
299 299
    - 'app/helpers/queries_helper.rb'
300 300
    - 'app/models/issue.rb'
301
    - 'lib/redmine/sudo_mode.rb'
301
    - 'lib/autoloads/redmine/sudo_mode.rb'
302 302

  
303 303
# Configuration parameters: AllowComments, AllowEmptyLambdas.
304 304
Lint/EmptyBlock:
305 305
  Exclude:
306 306
    - 'app/controllers/issues_controller.rb'
307 307
    - 'app/models/auth_source_ldap.rb'
308
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
308
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
309 309
    - 'test/helpers/application_helper_test.rb'
310
    - 'test/unit/lib/redmine/plugin_test.rb'
310
    - 'test/unit/lib/autoloads/redmine/plugin_test.rb'
311 311

  
312 312
Lint/FloatComparison:
313 313
  Exclude:
......
322 322
# Cop supports --auto-correct.
323 323
Lint/Loop:
324 324
  Exclude:
325
    - 'lib/redmine/helpers/gantt.rb'
325
    - 'lib/autoloads/redmine/helpers/gantt.rb'
326 326

  
327 327
Lint/MissingSuper:
328 328
  Exclude:
329 329
    - 'app/models/query.rb'
330
    - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
331
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
332
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
333
    - 'lib/redmine/syntax_highlighting.rb'
334
    - 'lib/redmine/twofa/base.rb'
335
    - 'lib/redmine/unified_diff.rb'
336
    - 'lib/redmine/views/builders/structure.rb'
337
    - 'lib/redmine/wiki_formatting/html_parser.rb'
330
    - 'lib/autoloads/redmine/scm/adapters/bazaar_adapter.rb'
331
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
332
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
333
    - 'lib/autoloads/redmine/syntax_highlighting.rb'
334
    - 'lib/autoloads/redmine/twofa/base.rb'
335
    - 'lib/autoloads/redmine/unified_diff.rb'
336
    - 'lib/autoloads/redmine/views/builders/structure.rb'
337
    - 'lib/autoloads/redmine/wiki_formatting/html_parser.rb'
338 338

  
339 339
Lint/MixedRegexpCaptureTypes:
340 340
  Exclude:
......
343 343
# Cop supports --auto-correct.
344 344
Lint/NonDeterministicRequireOrder:
345 345
  Exclude:
346
    - 'lib/redmine/core_ext.rb'
346
    - 'lib/core_ext.rb'
347 347

  
348 348
Lint/OutOfRangeRegexpRef:
349 349
  Exclude:
350
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
350
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
351 351

  
352 352
# Cop supports --auto-correct.
353 353
Lint/ParenthesesAsGroupedExpression:
......
356 356
    - 'test/functional/settings_controller_test.rb'
357 357
    - 'test/functional/users_controller_test.rb'
358 358
    - 'test/unit/attachment_test.rb'
359
    - 'test/unit/lib/redmine/export/pdf_test.rb'
359
    - 'test/unit/lib/autoloads/redmine/export/pdf_test.rb'
360 360

  
361 361
# Cop supports --auto-correct.
362 362
Lint/RedundantStringCoercion:
363 363
  Exclude:
364
    - 'lib/redmine/export/pdf/issues_pdf_helper.rb'
364
    - 'lib/autoloads/redmine/export/pdf/issues_pdf_helper.rb'
365 365
    - 'test/functional/repositories_filesystem_controller_test.rb'
366 366
    - 'test/functional/repositories_git_controller_test.rb'
367 367

  
368 368
# Cop supports --auto-correct.
369 369
Lint/SendWithMixinArgument:
370 370
  Exclude:
371
    - 'lib/redmine/acts/positioned.rb'
371
    - 'lib/autoloads/redmine/acts/positioned.rb'
372 372
    - 'test/object_helpers.rb'
373 373

  
374 374
Lint/ShadowingOuterLocalVariable:
......
380 380
    - 'app/controllers/activities_controller.rb'
381 381
    - 'app/models/import.rb'
382 382
    - 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb'
383
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
384
    - 'lib/redmine/scm/adapters/subversion_adapter.rb'
383
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
384
    - 'lib/autoloads/redmine/scm/adapters/subversion_adapter.rb'
385 385

  
386 386
# Cop supports --auto-correct.
387 387
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
......
408 408
    - 'app/models/query.rb'
409 409
    - 'app/models/time_entry.rb'
410 410
    - 'app/models/wiki_content_version.rb'
411
    - 'lib/redmine/unified_diff.rb'
411
    - 'lib/autoloads/redmine/unified_diff.rb'
412 412

  
413 413
Naming/ConstantName:
414 414
  Exclude:
415 415
    - 'app/models/document_category.rb'
416 416
    - 'app/models/issue_priority.rb'
417 417
    - 'app/models/time_entry_activity.rb'
418
    - 'lib/redmine/helpers/gantt.rb'
418
    - 'lib/autoloads/redmine/helpers/gantt.rb'
419 419

  
420 420
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms.
421 421
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
......
437 437
    - 'app/models/project.rb'
438 438
    - 'app/models/query.rb'
439 439
    - 'app/models/role.rb'
440
    - 'lib/redmine/field_format.rb'
441
    - 'lib/redmine/helpers/calendar.rb'
442
    - 'lib/redmine/search.rb'
440
    - 'lib/autoloads/redmine/field_format.rb'
441
    - 'lib/autoloads/redmine/helpers/calendar.rb'
442
    - 'lib/autoloads/redmine/search.rb'
443 443

  
444 444
# Configuration parameters: EnforcedStyle, IgnoredPatterns.
445 445
# SupportedStyles: snake_case, camelCase
446 446
Naming/MethodName:
447 447
  Exclude:
448
    - 'lib/redmine/export/pdf.rb'
449
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
450
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
448
    - 'lib/autoloads/redmine/export/pdf.rb'
449
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
450
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
451 451
    - 'test/helpers/application_helper_test.rb'
452 452

  
453 453
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
......
460 460
Naming/RescuedExceptionsVariableName:
461 461
  Exclude:
462 462
    - 'app/models/user.rb'
463
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
464
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
463
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
464
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
465 465

  
466 466
# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
467 467
# SupportedStyles: snake_case, camelCase
468 468
Naming/VariableName:
469 469
  Exclude:
470
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
471
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
470
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
471
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
472 472

  
473 473
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
474 474
# SupportedStyles: snake_case, normalcase, non_integer
......
477 477
  Exclude:
478 478
    - 'test/functional/versions_controller_test.rb'
479 479
    - 'test/helpers/application_helper_test.rb'
480
    - 'test/unit/lib/redmine/export/pdf_test.rb'
481
    - 'test/unit/lib/redmine/scm/adapters/git_adapter_test.rb'
482
    - 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
480
    - 'test/unit/lib/autoloads/redmine/export/pdf_test.rb'
481
    - 'test/unit/lib/autoloads/redmine/scm/adapters/git_adapter_test.rb'
482
    - 'test/unit/lib/autoloads/redmine/scm/adapters/mercurial_adapter_test.rb'
483 483
    - 'test/unit/project_test.rb'
484 484

  
485 485
# Cop supports --auto-correct.
......
497 497
    - 'app/helpers/application_helper.rb'
498 498
    - 'app/models/mailer.rb'
499 499
    - 'app/models/user.rb'
500
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
501
    - 'lib/redmine/views/builders.rb'
502
    - 'lib/redmine/views/builders/structure.rb'
503
    - 'lib/redmine/wiki_formatting/macros.rb'
500
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
501
    - 'lib/autoloads/redmine/views/builders.rb'
502
    - 'lib/autoloads/redmine/views/builders/structure.rb'
503
    - 'lib/autoloads/redmine/wiki_formatting/macros.rb'
504 504

  
505 505
# Configuration parameters: MinSize.
506 506
Performance/CollectionLiteralInLoop:
......
511 511
    - 'app/helpers/timelog_helper.rb'
512 512
    - 'app/models/issue.rb'
513 513
    - 'app/models/workflow_transition.rb'
514
    - 'lib/redmine/helpers/time_report.rb'
515
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
516
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
514
    - 'lib/autoloads/redmine/helpers/time_report.rb'
515
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
516
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
517 517
    - 'test/functional/issues_custom_fields_visibility_test.rb'
518 518
    - 'test/functional/repositories_git_controller_test.rb'
519 519
    - 'test/functional/repositories_mercurial_controller_test.rb'
520 520
    - 'test/functional/timelog_custom_fields_visibility_test.rb'
521
    - 'test/unit/lib/redmine/scm/adapters/git_adapter_test.rb'
521
    - 'test/unit/lib/autoloads/redmine/scm/adapters/git_adapter_test.rb'
522 522
    - 'test/unit/repository_git_test.rb'
523 523
    - 'test/unit/repository_mercurial_test.rb'
524 524

  
......
526 526
Performance/ConstantRegexp:
527 527
  Exclude:
528 528
    - 'app/models/changeset.rb'
529
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
530
    - 'lib/redmine/wiki_formatting/textile/formatter.rb'
531
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
529
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
530
    - 'lib/autoloads/redmine/wiki_formatting/textile/formatter.rb'
531
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
532 532

  
533 533
Performance/FixedSize:
534 534
  Exclude:
......
540 540
  Exclude:
541 541
    - 'app/models/query.rb'
542 542
    - 'app/models/setting.rb'
543
    - 'lib/redmine/field_format.rb'
543
    - 'lib/autoloads/redmine/field_format.rb'
544 544
    - 'test/integration/api_test/issues_test.rb'
545 545

  
546 546
# Cop supports --auto-correct.
547 547
Performance/RedundantMatch:
548 548
  Exclude:
549 549
    - 'app/models/issue_relation.rb'
550
    - 'lib/redmine/wiki_formatting/textile/formatter.rb'
551
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
550
    - 'lib/autoloads/redmine/wiki_formatting/textile/formatter.rb'
551
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
552 552

  
553 553
# Cop supports --auto-correct.
554 554
Performance/RedundantSplitRegexpArgument:
555 555
  Exclude:
556
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
556
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
557 557

  
558 558
# Cop supports --auto-correct.
559 559
# Configuration parameters: AutoCorrect.
......
561 561
  Exclude:
562 562
    - 'test/functional/versions_controller_test.rb'
563 563
    - 'test/integration/sessions_test.rb'
564
    - 'test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb'
565
    - 'test/unit/lib/redmine/wiki_formatting/macros_test.rb'
564
    - 'test/unit/lib/autoloads/redmine/scm/adapters/bazaar_adapter_test.rb'
565
    - 'test/unit/lib/autoloads/redmine/wiki_formatting/macros_test.rb'
566 566

  
567 567
# Cop supports --auto-correct.
568 568
Performance/Sum:
......
599 599
  Exclude:
600 600
    - 'app/controllers/mail_handler_controller.rb'
601 601
    - 'app/controllers/sys_controller.rb'
602
    - 'test/unit/lib/redmine/hook_test.rb'
602
    - 'test/unit/lib/autoloads/redmine/hook_test.rb'
603 603

  
604 604
# Cop supports --auto-correct.
605 605
Rails/ApplicationMailer:
......
631 631
    - 'app/models/query.rb'
632 632
    - 'app/models/repository/git.rb'
633 633
    - 'app/models/role.rb'
634
    - 'lib/redmine/field_format.rb'
635
    - 'lib/redmine/wiki_formatting/macros.rb'
634
    - 'lib/autoloads/redmine/field_format.rb'
635
    - 'lib/autoloads/redmine/wiki_formatting/macros.rb'
636 636

  
637 637
# Cop supports --auto-correct.
638 638
Rails/ContentTag:
......
664 664
    - 'app/models/time_entry_activity.rb'
665 665
    - 'app/models/wiki_content.rb'
666 666
    - 'app/models/wiki_content_version.rb'
667
    - 'lib/redmine/menu_manager.rb'
667
    - 'lib/autoloads/redmine/menu_manager.rb'
668 668

  
669 669
# Cop supports --auto-correct.
670 670
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
......
697 697
    - 'config/environment.rb'
698 698
    - 'config/initializers/00-core_plugins.rb'
699 699
    - 'config/initializers/10-patches.rb'
700
    - 'lib/redmine/configuration.rb'
701
    - 'lib/redmine/plugin.rb'
702
    - 'lib/redmine/twofa.rb'
703
    - 'lib/redmine/version.rb'
700
    - 'lib/autoloads/redmine/configuration.rb'
701
    - 'lib/autoloads/redmine/plugin.rb'
702
    - 'lib/autoloads/redmine/twofa.rb'
703
    - 'lib/autoloads/redmine/version.rb'
704 704
    - 'test/application_system_test_case.rb'
705 705
    - 'test/functional/custom_fields_controller_test.rb'
706 706
    - 'test/functional/settings_controller_test.rb'
707 707
    - 'test/test_helper.rb'
708
    - 'test/unit/lib/redmine/configuration_test.rb'
709
    - 'test/unit/lib/redmine/i18n_test.rb'
710
    - 'test/unit/lib/redmine/plugin_test.rb'
708
    - 'test/unit/lib/autoloads/redmine/configuration_test.rb'
709
    - 'test/unit/lib/autoloads/redmine/i18n_test.rb'
710
    - 'test/unit/lib/autoloads/redmine/plugin_test.rb'
711 711

  
712 712
# Cop supports --auto-correct.
713 713
# Configuration parameters: Include, IgnoredMethods.
......
783 783
    - 'test/helpers/application_helper_test.rb'
784 784
    - 'test/helpers/custom_fields_helper_test.rb'
785 785
    - 'test/test_helper.rb'
786
    - 'test/unit/lib/redmine/field_format/user_field_format_test.rb'
787
    - 'test/unit/lib/redmine/i18n_test.rb'
786
    - 'test/unit/lib/autoloads/redmine/field_format/user_field_format_test.rb'
787
    - 'test/unit/lib/autoloads/redmine/i18n_test.rb'
788 788
    - 'test/unit/query_test.rb'
789 789
    - 'test/unit/role_test.rb'
790 790

  
......
840 840
  Exclude:
841 841
    - 'app/models/mail_handler.rb'
842 842
    - 'config/routes.rb'
843
    - 'lib/redmine/unified_diff.rb'
843
    - 'lib/autoloads/redmine/unified_diff.rb'
844 844

  
845 845
Rails/OutputSafety:
846 846
  Enabled: false
......
854 854
# Cop supports --auto-correct.
855 855
Rails/PluralizationGrammar:
856 856
  Exclude:
857
    - 'lib/redmine/helpers/time_report.rb'
857
    - 'lib/autoloads/redmine/helpers/time_report.rb'
858 858
    - 'test/functional/gantts_controller_test.rb'
859 859
    - 'test/unit/mailer_test.rb'
860 860
    - 'test/unit/query_test.rb'
......
865 865
    - 'app/controllers/activities_controller.rb'
866 866
    - 'app/helpers/application_helper.rb'
867 867
    - 'app/models/repository.rb'
868
    - 'lib/redmine/codeset_util.rb'
869
    - 'lib/redmine/i18n.rb'
870
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
871
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
872
    - 'lib/redmine/scm/adapters/git_adapter.rb'
873
    - 'lib/redmine/scm/adapters/mercurial_adapter.rb'
874
    - 'lib/redmine/sort_criteria.rb'
868
    - 'lib/autoloads/redmine/codeset_util.rb'
869
    - 'lib/autoloads/redmine/i18n.rb'
870
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
871
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
872
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
873
    - 'lib/autoloads/redmine/scm/adapters/mercurial_adapter.rb'
874
    - 'lib/autoloads/redmine/sort_criteria.rb'
875 875

  
876 876
# Cop supports --auto-correct.
877 877
# Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
......
911 911

  
912 912
Rails/ReflectionClassName:
913 913
  Exclude:
914
    - 'lib/redmine/nested_set/issue_nested_set.rb'
915
    - 'lib/redmine/nested_set/project_nested_set.rb'
914
    - 'lib/autoloads/redmine/nested_set/issue_nested_set.rb'
915
    - 'lib/autoloads/redmine/nested_set/project_nested_set.rb'
916 916

  
917 917
# Cop supports --auto-correct.
918 918
# Configuration parameters: EnforcedStyle, Include.
......
926 926
    - 'test/integration/api_test/my_test.rb'
927 927
    - 'test/unit/attachment_test.rb'
928 928
    - 'test/unit/custom_field_test.rb'
929
    - 'test/unit/lib/redmine/project_jump_box_test.rb'
929
    - 'test/unit/lib/autoloads/redmine/project_jump_box_test.rb'
930 930

  
931 931
# Cop supports --auto-correct.
932 932
# Configuration parameters: EnforcedStyle.
......
972 972
    - 'db/migrate/20111201201315_add_unique_index_to_issue_relations.rb'
973 973
    - 'db/migrate/20120115143126_set_default_repositories.rb'
974 974
    - 'db/migrate/20120422150750_change_repositories_to_full_sti.rb'
975
    - 'lib/redmine/helpers/gantt.rb'
975
    - 'lib/autoloads/redmine/helpers/gantt.rb'
976 976
    - 'test/functional/issues_controller_test.rb'
977 977

  
978 978
# Cop supports --auto-correct.
......
985 985
    - 'app/models/project.rb'
986 986
    - 'app/models/user.rb'
987 987
    - 'app/models/watcher.rb'
988
    - 'lib/redmine/default_data/loader.rb'
988
    - 'lib/autoloads/redmine/default_data/loader.rb'
989 989
    - 'test/functional/workflows_controller_test.rb'
990 990
    - 'test/unit/document_category_test.rb'
991 991
    - 'test/unit/enumeration_test.rb'
......
1018 1018
  Exclude:
1019 1019
    - 'Gemfile'
1020 1020
    - 'app/models/setting.rb'
1021
    - 'lib/redmine/configuration.rb'
1021
    - 'lib/autoloads/redmine/configuration.rb'
1022 1022

  
1023 1023
# Cop supports --auto-correct.
1024 1024
# Configuration parameters: EnforcedStyle.
......
1026 1026
Style/AccessorGrouping:
1027 1027
  Exclude:
1028 1028
    - 'app/models/user.rb'
1029
    - 'lib/redmine/helpers/gantt.rb'
1030
    - 'lib/redmine/unified_diff.rb'
1029
    - 'lib/autoloads/redmine/helpers/gantt.rb'
1030
    - 'lib/autoloads/redmine/unified_diff.rb'
1031 1031

  
1032 1032
# Cop supports --auto-correct.
1033 1033
# Configuration parameters: EnforcedStyle.
......
1046 1046
    - 'app/models/user.rb'
1047 1047
    - 'app/models/version.rb'
1048 1048
    - 'config/initializers/10-patches.rb'
1049
    - 'lib/redmine/export/pdf.rb'
1050
    - 'lib/redmine/menu_manager.rb'
1051
    - 'lib/redmine/plugin.rb'
1052
    - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
1053
    - 'lib/redmine/wiki_formatting/textile/formatter.rb'
1049
    - 'lib/autoloads/redmine/export/pdf.rb'
1050
    - 'lib/autoloads/redmine/menu_manager.rb'
1051
    - 'lib/autoloads/redmine/plugin.rb'
1052
    - 'lib/autoloads/redmine/wiki_formatting/markdown/formatter.rb'
1053
    - 'lib/autoloads/redmine/wiki_formatting/textile/formatter.rb'
1054 1054

  
1055 1055
# Cop supports --auto-correct.
1056 1056
# Configuration parameters: EnforcedStyle.
......
1062 1062
    - 'app/helpers/repositories_helper.rb'
1063 1063
    - 'app/models/query.rb'
1064 1064
    - 'db/migrate/022_serialize_possibles_values.rb'
1065
    - 'lib/redmine/export/pdf.rb'
1066
    - 'lib/redmine/field_format.rb'
1067
    - 'lib/redmine/helpers/gantt.rb'
1068
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
1069
    - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
1070
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1071
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1072
    - 'lib/redmine/scm/adapters/subversion_adapter.rb'
1073
    - 'lib/redmine/wiki_formatting.rb'
1074
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1065
    - 'lib/autoloads/redmine/export/pdf.rb'
1066
    - 'lib/autoloads/redmine/field_format.rb'
1067
    - 'lib/autoloads/redmine/helpers/gantt.rb'
1068
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
1069
    - 'lib/autoloads/redmine/scm/adapters/bazaar_adapter.rb'
1070
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1071
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1072
    - 'lib/autoloads/redmine/scm/adapters/subversion_adapter.rb'
1073
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1074
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1075 1075

  
1076 1076
# Cop supports --auto-correct.
1077 1077
# Configuration parameters: EnforcedStyle.
......
1092 1092
    - 'app/models/time_entry.rb'
1093 1093
    - 'app/models/user.rb'
1094 1094
    - 'app/models/workflow_transition.rb'
1095
    - 'lib/redmine/access_control.rb'
1096
    - 'lib/redmine/export/pdf/issues_pdf_helper.rb'
1097
    - 'lib/redmine/field_format.rb'
1098
    - 'lib/redmine/i18n.rb'
1099
    - 'lib/redmine/plugin.rb'
1100
    - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
1101
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1102
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1103
    - 'lib/redmine/unified_diff.rb'
1095
    - 'lib/autoloads/redmine/access_control.rb'
1096
    - 'lib/autoloads/redmine/export/pdf/issues_pdf_helper.rb'
1097
    - 'lib/autoloads/redmine/field_format.rb'
1098
    - 'lib/autoloads/redmine/i18n.rb'
1099
    - 'lib/autoloads/redmine/plugin.rb'
1100
    - 'lib/autoloads/redmine/scm/adapters/bazaar_adapter.rb'
1101
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1102
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1103
    - 'lib/autoloads/redmine/unified_diff.rb'
1104 1104

  
1105 1105
# Cop supports --auto-correct.
1106 1106
# Configuration parameters: EnforcedStyle.
......
1124 1124
  Exclude:
1125 1125
    - 'app/models/attachment.rb'
1126 1126
    - 'config/initializers/10-patches.rb'
1127
    - 'lib/redmine/activity.rb'
1128
    - 'lib/redmine/hook.rb'
1129
    - 'lib/redmine/i18n.rb'
1130
    - 'lib/redmine/menu_manager.rb'
1131
    - 'lib/redmine/my_page.rb'
1132
    - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
1133
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1134
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1135
    - 'lib/redmine/scm/adapters/mercurial_adapter.rb'
1136
    - 'lib/redmine/scm/adapters/subversion_adapter.rb'
1137
    - 'lib/redmine/search.rb'
1138
    - 'lib/redmine/themes.rb'
1139
    - 'lib/redmine/twofa.rb'
1140
    - 'lib/redmine/wiki_formatting.rb'
1141
    - 'lib/redmine/wiki_formatting/macros.rb'
1142
    - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
1127
    - 'lib/autoloads/redmine/activity.rb'
1128
    - 'lib/autoloads/redmine/hook.rb'
1129
    - 'lib/autoloads/redmine/i18n.rb'
1130
    - 'lib/autoloads/redmine/menu_manager.rb'
1131
    - 'lib/autoloads/redmine/my_page.rb'
1132
    - 'lib/autoloads/redmine/scm/adapters/bazaar_adapter.rb'
1133
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1134
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1135
    - 'lib/autoloads/redmine/scm/adapters/mercurial_adapter.rb'
1136
    - 'lib/autoloads/redmine/scm/adapters/subversion_adapter.rb'
1137
    - 'lib/autoloads/redmine/search.rb'
1138
    - 'lib/autoloads/redmine/themes.rb'
1139
    - 'lib/autoloads/redmine/twofa.rb'
1140
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1141
    - 'lib/autoloads/redmine/wiki_formatting/macros.rb'
1142
    - 'lib/autoloads/redmine/wiki_formatting/markdown/formatter.rb'
1143 1143
    - 'test/helpers/activities_helper_test.rb'
1144 1144

  
1145 1145
# Cop supports --auto-correct.
......
1147 1147
  Exclude:
1148 1148
    - 'app/controllers/issues_controller.rb'
1149 1149
    - 'app/controllers/projects_controller.rb'
1150
    - 'lib/redmine/sudo_mode.rb'
1150
    - 'lib/autoloads/redmine/sudo_mode.rb'
1151 1151

  
1152 1152
# Cop supports --auto-correct.
1153 1153
Style/ColonMethodCall:
......
1155 1155
    - 'Gemfile'
1156 1156
    - 'app/controllers/admin_controller.rb'
1157 1157
    - 'app/models/setting.rb'
1158
    - 'lib/redmine/configuration.rb'
1159
    - 'lib/redmine/export/pdf.rb'
1160
    - 'lib/redmine/wiki_formatting.rb'
1161
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1158
    - 'lib/autoloads/redmine/configuration.rb'
1159
    - 'lib/autoloads/redmine/export/pdf.rb'
1160
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1161
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1162 1162
    - 'test/unit/default_data_test.rb'
1163
    - 'test/unit/lib/redmine/export/pdf_test.rb'
1163
    - 'test/unit/lib/autoloads/redmine/export/pdf_test.rb'
1164 1164

  
1165 1165
Style/CombinableLoops:
1166 1166
  Exclude:
1167 1167
    - 'app/models/wiki_page.rb'
1168
    - 'lib/redmine/default_data/loader.rb'
1168
    - 'lib/autoloads/redmine/default_data/loader.rb'
1169 1169

  
1170 1170
# Cop supports --auto-correct.
1171 1171
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
......
1190 1190
    - 'app/models/mailer.rb'
1191 1191
    - 'app/models/query.rb'
1192 1192
    - 'app/models/user.rb'
1193
    - 'lib/redmine/sudo_mode.rb'
1193
    - 'lib/autoloads/redmine/sudo_mode.rb'
1194 1194

  
1195 1195
# Cop supports --auto-correct.
1196 1196
Style/EachWithObject:
......
1208 1208
    - 'app/models/time_entry_import.rb'
1209 1209
    - 'app/models/workflow_permission.rb'
1210 1210
    - 'config/initializers/10-patches.rb'
1211
    - 'lib/redmine/acts/positioned.rb'
1212
    - 'lib/redmine/configuration.rb'
1213
    - 'lib/redmine/i18n.rb'
1214
    - 'lib/redmine/mime_type.rb'
1215
    - 'lib/redmine/my_page.rb'
1216
    - 'lib/redmine/sort_criteria.rb'
1211
    - 'lib/autoloads/redmine/acts/positioned.rb'
1212
    - 'lib/autoloads/redmine/configuration.rb'
1213
    - 'lib/autoloads/redmine/i18n.rb'
1214
    - 'lib/autoloads/redmine/mime_type.rb'
1215
    - 'lib/autoloads/redmine/my_page.rb'
1216
    - 'lib/autoloads/redmine/sort_criteria.rb'
1217 1217
    - 'test/test_helper.rb'
1218 1218

  
1219 1219
# Cop supports --auto-correct.
......
1248 1248
Style/ExplicitBlockArgument:
1249 1249
  Exclude:
1250 1250
    - 'app/models/board.rb'
1251
    - 'lib/redmine/activity/fetcher.rb'
1252
    - 'lib/redmine/menu_manager.rb'
1253
    - 'lib/redmine/plugin.rb'
1254
    - 'lib/redmine/scm/adapters/subversion_adapter.rb'
1251
    - 'lib/autoloads/redmine/activity/fetcher.rb'
1252
    - 'lib/autoloads/redmine/menu_manager.rb'
1253
    - 'lib/autoloads/redmine/plugin.rb'
1254
    - 'lib/autoloads/redmine/scm/adapters/subversion_adapter.rb'
1255 1255
    - 'test/test_helper.rb'
1256 1256

  
1257 1257
# Cop supports --auto-correct.
......
1262 1262
    - 'app/models/query.rb'
1263 1263
    - 'config/initializers/10-patches.rb'
1264 1264
    - 'lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb'
1265
    - 'lib/redmine/export/csv.rb'
1266
    - 'lib/redmine/helpers/gantt.rb'
1267
    - 'lib/redmine/i18n.rb'
1268
    - 'lib/redmine/info.rb'
1265
    - 'lib/autoloads/redmine/export/csv.rb'
1266
    - 'lib/autoloads/redmine/helpers/gantt.rb'
1267
    - 'lib/autoloads/redmine/i18n.rb'
1268
    - 'lib/autoloads/redmine/info.rb'
1269 1269

  
1270 1270
# Configuration parameters: AllowedVariables.
1271 1271
Style/GlobalVars:
......
1310 1310
    - 'app/models/query.rb'
1311 1311
    - 'app/models/version.rb'
1312 1312
    - 'config/initializers/10-patches.rb'
1313
    - 'lib/redmine/field_format.rb'
1314
    - 'lib/redmine/helpers/gantt.rb'
1315
    - 'lib/redmine/menu_manager.rb'
1316
    - 'lib/redmine/pop3.rb'
1317
    - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
1318
    - 'lib/redmine/views/builders/structure.rb'
1313
    - 'lib/autoloads/redmine/field_format.rb'
1314
    - 'lib/autoloads/redmine/helpers/gantt.rb'
1315
    - 'lib/autoloads/redmine/menu_manager.rb'
1316
    - 'lib/autoloads/redmine/pop3.rb'
1317
    - 'lib/autoloads/redmine/scm/adapters/bazaar_adapter.rb'
1318
    - 'lib/autoloads/redmine/views/builders/structure.rb'
1319 1319

  
1320 1320
# Cop supports --auto-correct.
1321 1321
Style/IfUnlessModifier:
......
1335 1335
    - 'app/helpers/application_helper.rb'
1336 1336
    - 'app/models/enumeration.rb'
1337 1337
    - 'app/models/query.rb'
1338
    - 'lib/redmine/field_format.rb'
1338
    - 'lib/autoloads/redmine/field_format.rb'
1339 1339

  
1340 1340
# Cop supports --auto-correct.
1341 1341
# Configuration parameters: InverseMethods, InverseBlocks.
......
1353 1353
    - 'app/models/version.rb'
1354 1354
    - 'app/models/wiki_content.rb'
1355 1355
    - 'db/migrate/096_add_commit_access_permission.rb'
1356
    - 'lib/redmine/default_data/loader.rb'
1357
    - 'lib/redmine/helpers/diff.rb'
1358
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
1359
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1360
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1356
    - 'lib/autoloads/redmine/default_data/loader.rb'
1357
    - 'lib/autoloads/redmine/helpers/diff.rb'
1358
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
1359
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1360
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1361 1361
    - 'test/unit/issue_test.rb'
1362 1362
    - 'test/unit/query_test.rb'
1363 1363

  
......
1375 1375
# Configuration parameters: IgnoredMethods.
1376 1376
Style/MethodCallWithoutArgsParentheses:
1377 1377
  Exclude:
1378
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1379
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1378
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1379
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1380 1380

  
1381 1381
Style/MissingRespondToMissing:
1382 1382
  Exclude:
1383
    - 'lib/redmine/views/builders/structure.rb'
1383
    - 'lib/autoloads/redmine/views/builders/structure.rb'
1384 1384

  
1385 1385
Style/MixinUsage:
1386 1386
  Exclude:
......
1399 1399
    - 'app/models/query.rb'
1400 1400
    - 'app/models/time_entry_query.rb'
1401 1401
    - 'app/views/common/feed.atom.builder'
1402
    - 'lib/redmine/helpers/gantt.rb'
1403
    - 'lib/redmine/wiki_formatting.rb'
1404
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1402
    - 'lib/autoloads/redmine/helpers/gantt.rb'
1403
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1404
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1405 1405

  
1406 1406
# Cop supports --auto-correct.
1407 1407
Style/MultilineTernaryOperator:
1408 1408
  Exclude:
1409
    - 'lib/redmine/ciphering.rb'
1410
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1409
    - 'lib/autoloads/redmine/ciphering.rb'
1410
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1411 1411

  
1412 1412
# Cop supports --auto-correct.
1413 1413
Style/MultipleComparison:
......
1436 1436
    - 'app/models/project.rb'
1437 1437
    - 'app/models/repository/cvs.rb'
1438 1438
    - 'lib/diff.rb'
1439
    - 'lib/redmine/codeset_util.rb'
1440
    - 'lib/redmine/thumbnail.rb'
1439
    - 'lib/autoloads/redmine/codeset_util.rb'
1440
    - 'lib/autoloads/redmine/thumbnail.rb'
1441 1441

  
1442 1442
# Cop supports --auto-correct.
1443 1443
Style/NegatedWhile:
......
1449 1449
# AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
1450 1450
Style/NestedParenthesizedCalls:
1451 1451
  Exclude:
1452
    - 'lib/redmine/views/labelled_form_builder.rb'
1452
    - 'lib/autoloads/redmine/views/labelled_form_builder.rb'
1453 1453

  
1454 1454
# Cop supports --auto-correct.
1455 1455
Style/NestedTernaryOperator:
......
1467 1467
Style/Not:
1468 1468
  Exclude:
1469 1469
    - 'db/migrate/096_add_commit_access_permission.rb'
1470
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1471
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1470
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1471
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1472 1472

  
1473 1473
# Cop supports --auto-correct.
1474 1474
# Configuration parameters: EnforcedOctalStyle.
......
1499 1499
    - 'app/helpers/sort_helper.rb'
1500 1500
    - 'app/models/repository/cvs.rb'
1501 1501
    - 'app/models/user.rb'
1502
    - 'lib/redmine/helpers/diff.rb'
1502
    - 'lib/autoloads/redmine/helpers/diff.rb'
1503 1503

  
1504 1504
# Cop supports --auto-correct.
1505 1505
Style/ParallelAssignment:
......
1510 1510
Style/ParenthesesAroundCondition:
1511 1511
  Exclude:
1512 1512
    - 'app/models/repository/subversion.rb'
1513
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1514
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1513
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1514
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1515 1515

  
1516 1516
# Cop supports --auto-correct.
1517 1517
# Configuration parameters: PreferredDelimiters.
......
1545 1545
    - 'app/models/wiki_content_version.rb'
1546 1546
    - 'config/initializers/10-patches.rb'
1547 1547
    - 'lib/redmine.rb'
1548
    - 'test/integration/lib/redmine/menu_manager_test.rb'
1549
    - 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
1550
    - 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
1548
    - 'test/integration/lib/autoloads/redmine/menu_manager_test.rb'
1549
    - 'test/unit/lib/autoloads/redmine/menu_manager/menu_helper_test.rb'
1550
    - 'test/unit/lib/autoloads/redmine/menu_manager/menu_item_test.rb'
1551 1551

  
1552 1552
# Cop supports --auto-correct.
1553 1553
# Configuration parameters: EnforcedStyle.
......
1555 1555
Style/QuotedSymbols:
1556 1556
  Exclude:
1557 1557
    - 'test/functional/timelog_controller_test.rb'
1558
    - 'test/unit/lib/redmine/i18n_test.rb'
1558
    - 'test/unit/lib/autoloads/redmine/i18n_test.rb'
1559 1559

  
1560 1560
# Cop supports --auto-correct.
1561 1561
# Configuration parameters: Methods.
1562 1562
Style/RedundantArgument:
1563 1563
  Exclude:
1564 1564
    - 'app/controllers/account_controller.rb'
1565
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1566
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1565
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1566
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1567 1567
    - 'test/functional/projects_controller_test.rb'
1568 1568
    - 'test/unit/issue_test.rb'
1569 1569

  
......
1572 1572
  Exclude:
1573 1573
    - 'app/models/mail_handler.rb'
1574 1574
    - 'app/models/query.rb'
1575
    - 'lib/redmine/scm/adapters/bazaar_adapter.rb'
1576
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1577
    - 'lib/redmine/wiki_formatting.rb'
1578
    - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
1575
    - 'lib/autoloads/redmine/scm/adapters/bazaar_adapter.rb'
1576
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1577
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1578
    - 'lib/autoloads/redmine/wiki_formatting/markdown/formatter.rb'
1579 1579

  
1580 1580
# Cop supports --auto-correct.
1581 1581
Style/RedundantBegin:
......
1585 1585
    - 'app/models/member.rb'
1586 1586
    - 'app/models/repository.rb'
1587 1587
    - 'app/models/setting.rb'
1588
    - 'lib/redmine/codeset_util.rb'
1589
    - 'lib/redmine/plugin.rb'
1588
    - 'lib/autoloads/redmine/codeset_util.rb'
1589
    - 'lib/autoloads/redmine/plugin.rb'
1590 1590
    - 'test/unit/issue_nested_set_concurrency_test.rb'
1591 1591
    - 'test/unit/project_nested_set_concurrency_test.rb'
1592 1592
    - 'test/unit/query_test.rb'
......
1604 1604
    - 'app/controllers/workflows_controller.rb'
1605 1605
    - 'app/helpers/application_helper.rb'
1606 1606
    - 'app/models/enumeration.rb'
1607
    - 'lib/redmine/field_format.rb'
1607
    - 'lib/autoloads/redmine/field_format.rb'
1608 1608

  
1609 1609
# Cop supports --auto-correct.
1610 1610
Style/RedundantInterpolation:
......
1614 1614
    - 'app/models/query.rb'
1615 1615
    - 'app/views/common/feed.atom.builder'
1616 1616
    - 'app/views/journals/index.builder'
1617
    - 'lib/redmine/helpers/time_report.rb'
1618
    - 'lib/redmine/scm/adapters/subversion_adapter.rb'
1619
    - 'lib/redmine/wiki_formatting.rb'
1617
    - 'lib/autoloads/redmine/helpers/time_report.rb'
1618
    - 'lib/autoloads/redmine/scm/adapters/subversion_adapter.rb'
1619
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1620 1620
    - 'test/functional/versions_controller_test.rb'
1621 1621
    - 'test/functional/watchers_controller_test.rb'
1622 1622

  
......
1627 1627
    - 'app/models/enumeration.rb'
1628 1628
    - 'app/models/principal.rb'
1629 1629
    - 'app/models/repository/cvs.rb'
1630
    - 'lib/redmine/field_format.rb'
1631
    - 'lib/redmine/platform.rb'
1632
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1633
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1630
    - 'lib/autoloads/redmine/field_format.rb'
1631
    - 'lib/autoloads/redmine/platform.rb'
1632
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1633
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1634 1634
    - 'test/unit/project_test.rb'
1635 1635
    - 'test/unit/user_test.rb'
1636 1636
    - 'test/unit/version_test.rb'
......
1656 1656
# Cop supports --auto-correct.
1657 1657
Style/RedundantSelfAssignment:
1658 1658
  Exclude:
1659
    - 'lib/redmine/menu_manager.rb'
1659
    - 'lib/autoloads/redmine/menu_manager.rb'
1660 1660

  
1661 1661
# Cop supports --auto-correct.
1662 1662
Style/RedundantSort:
1663 1663
  Exclude:
1664 1664
    - 'app/models/import.rb'
1665
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
1665
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
1666 1666
    - 'test/functional/issues_controller_test.rb'
1667 1667
    - 'test/unit/member_test.rb'
1668 1668

  
......
1680 1680
    - 'app/models/import.rb'
1681 1681
    - 'app/models/query.rb'
1682 1682
    - 'app/models/repository.rb'
1683
    - 'lib/redmine/export/csv.rb'
1684
    - 'lib/redmine/field_format.rb'
1685
    - 'lib/redmine/search.rb'
1686
    - 'lib/redmine/wiki_formatting.rb'
1687
    - 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
1683
    - 'lib/autoloads/redmine/export/csv.rb'
1684
    - 'lib/autoloads/redmine/field_format.rb'
1685
    - 'lib/autoloads/redmine/search.rb'
1686
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1687
    - 'test/unit/lib/autoloads/redmine/wiki_formatting/markdown_formatter_test.rb'
1688 1688

  
1689 1689
# Cop supports --auto-correct.
1690 1690
# Configuration parameters: EnforcedStyle.
......
1707 1707
    - 'app/models/project.rb'
1708 1708
    - 'app/models/query.rb'
1709 1709
    - 'app/models/repository/cvs.rb'
1710
    - 'lib/redmine/helpers/calendar.rb'
1711
    - 'lib/redmine/helpers/gantt.rb'
1712
    - 'lib/redmine/helpers/time_report.rb'
1710
    - 'lib/autoloads/redmine/helpers/calendar.rb'
1711
    - 'lib/autoloads/redmine/helpers/gantt.rb'
1712
    - 'lib/autoloads/redmine/helpers/time_report.rb'
1713 1713

  
1714 1714
# Cop supports --auto-correct.
1715 1715
# Configuration parameters: AllowAsExpressionSeparator.
......
1723 1723
    - 'app/models/journal.rb'
1724 1724
    - 'app/models/mail_handler.rb'
1725 1725
    - 'app/models/query.rb'
1726
    - 'lib/redmine/configuration.rb'
1727
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1728
    - 'lib/redmine/sort_criteria.rb'
1729
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1726
    - 'lib/autoloads/redmine/configuration.rb'
1727
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1728
    - 'lib/autoloads/redmine/sort_criteria.rb'
1729
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1730 1730

  
1731 1731
# Cop supports --auto-correct.
1732 1732
# Configuration parameters: AllowIfMethodIsEmpty.
......
1754 1754
    - 'app/models/version.rb'
1755 1755
    - 'app/models/watcher.rb'
1756 1756
    - 'app/models/wiki_page.rb'
1757
    - 'lib/redmine/core_ext/active_record.rb'
1757
    - 'lib/autoloads/redmine//active_record.rb'
1758 1758

  
1759 1759
# Cop supports --auto-correct.
1760 1760
# Configuration parameters: .
......
1790 1790
  Exclude:
1791 1791
    - 'app/models/issue_query.rb'
1792 1792
    - 'config/environment.rb'
1793
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1794
    - 'lib/redmine/wiki_formatting.rb'
1795
    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
1793
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1794
    - 'lib/autoloads/redmine/wiki_formatting.rb'
1795
    - 'lib/autoloads/redmine/wiki_formatting/textile/redcloth3.rb'
1796 1796
    - 'test/unit/member_test.rb'
1797 1797

  
1798 1798
# Cop supports --auto-correct.
1799 1799
Style/StructInheritance:
1800 1800
  Exclude:
1801
    - 'lib/redmine/notifiable.rb'
1802
    - 'lib/redmine/sudo_mode.rb'
1801
    - 'lib/autoloads/redmine/notifiable.rb'
1802
    - 'lib/autoloads/redmine/sudo_mode.rb'
1803 1803

  
1804 1804
# Cop supports --auto-correct.
1805 1805
# Configuration parameters: MinSize.
......
1827 1827
    - 'app/models/issue.rb'
1828 1828
    - 'app/models/journal.rb'
1829 1829
    - 'app/models/query.rb'
1830
    - 'lib/redmine/access_control.rb'
1831
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
1832
    - 'lib/redmine/scm/adapters/cvs_adapter.rb'
1833
    - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
1834
    - 'lib/redmine/scm/adapters/git_adapter.rb'
1835
    - 'lib/redmine/scm/adapters/mercurial_adapter.rb'
1830
    - 'lib/autoloads/redmine/access_control.rb'
1831
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
1832
    - 'lib/autoloads/redmine/scm/adapters/cvs_adapter.rb'
1833
    - 'lib/autoloads/redmine/scm/adapters/filesystem_adapter.rb'
1834
    - 'lib/autoloads/redmine/scm/adapters/git_adapter.rb'
1835
    - 'lib/autoloads/redmine/scm/adapters/mercurial_adapter.rb'
1836 1836

  
1837 1837
# Cop supports --auto-correct.
1838 1838
Style/UnlessElse:
1839 1839
  Exclude:
1840 1840
    - 'app/controllers/auth_sources_controller.rb'
1841 1841
    - 'app/controllers/trackers_controller.rb'
1842
    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
1843
    - 'lib/redmine/unified_diff.rb'
1842
    - 'lib/autoloads/redmine/scm/adapters/abstract_adapter.rb'
1843
    - 'lib/autoloads/redmine/unified_diff.rb'
1844 1844

  
1845 1845
# Cop supports --auto-correct.
1846 1846
Style/VariableInterpolation:
1847 1847
  Exclude:
1848
    - 'lib/redmine/configuration.rb'
1848
    - 'lib/autoloads/redmine/configuration.rb'
1849 1849

  
1850 1850
# Cop supports --auto-correct.
1851 1851
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
......
1859 1859
    - 'app/models/import.rb'
1860 1860
    - 'app/models/mail_handler.rb'
1861 1861
    - 'app/models/user.rb'
1862
    - 'lib/redmine/field_format.rb'
1863
    - 'lib/redmine/unified_diff.rb'
1864
    - 'lib/redmine/wiki_formatting/macros.rb'
1862
    - 'lib/autoloads/redmine/field_format.rb'
1863
    - 'lib/autoloads/redmine/unified_diff.rb'
1864
    - 'lib/autoloads/redmine/wiki_formatting/macros.rb'
1865 1865
    - 'test/functional/custom_fields_controller_test.rb'
1866 1866
    - 'test/object_helpers.rb'
1867 1867
    - 'test/unit/activity_test.rb'
app/controllers/repositories_controller.rb
18 18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 19

  
20 20
require 'digest/sha1'
21
require 'redmine/scm/adapters'
21
require 'autoloads/redmine/scm/adapters'
22 22

  
23 23
class ChangesetNotFound < StandardError; end
24 24
class InvalidRevisionParam < StandardError; end
app/helpers/queries_helper.rb
17 17
# along with this program; if not, write to the Free Software
18 18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
... This diff was truncated because it exceeds the maximum size that can be displayed.