rentvine 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +4 -0
  3. data/.rubocop.yml +704 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/CHANGELOG.md +5 -0
  7. data/CODE_OF_CONDUCT.md +84 -0
  8. data/Gemfile +11 -0
  9. data/Gemfile.lock +75 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +152 -0
  12. data/Rakefile +8 -0
  13. data/bin/console +15 -0
  14. data/bin/setup +8 -0
  15. data/examples/accounts.rb +17 -0
  16. data/examples/applications.rb +19 -0
  17. data/examples/associations.rb +17 -0
  18. data/examples/bills.rb +54 -0
  19. data/examples/diagnostics.rb +67 -0
  20. data/examples/files.rb +37 -0
  21. data/examples/inspections.rb +37 -0
  22. data/examples/leases.rb +23 -0
  23. data/examples/ledgers.rb +28 -0
  24. data/examples/object_types.rb +15 -0
  25. data/examples/owners.rb +17 -0
  26. data/examples/portfolios.rb +17 -0
  27. data/examples/properties.rb +75 -0
  28. data/examples/tenants.rb +17 -0
  29. data/examples/transaction_entries.rb +17 -0
  30. data/examples/transactions.rb +17 -0
  31. data/examples/units.rb +29 -0
  32. data/examples/vendor_trades.rb +36 -0
  33. data/examples/vendors.rb +17 -0
  34. data/examples/work_order_statuses.rb +36 -0
  35. data/examples/work_orders.rb +42 -0
  36. data/lib/rentvine/client/accounts.rb +13 -0
  37. data/lib/rentvine/client/applications.rb +18 -0
  38. data/lib/rentvine/client/associations.rb +13 -0
  39. data/lib/rentvine/client/bills.rb +32 -0
  40. data/lib/rentvine/client/diagnostics.rb +81 -0
  41. data/lib/rentvine/client/files.rb +37 -0
  42. data/lib/rentvine/client/inspections.rb +27 -0
  43. data/lib/rentvine/client/leases.rb +20 -0
  44. data/lib/rentvine/client/ledgers.rb +25 -0
  45. data/lib/rentvine/client/owners.rb +13 -0
  46. data/lib/rentvine/client/portfolios.rb +19 -0
  47. data/lib/rentvine/client/properties.rb +49 -0
  48. data/lib/rentvine/client/tenants.rb +13 -0
  49. data/lib/rentvine/client/transaction_entries.rb +25 -0
  50. data/lib/rentvine/client/transactions.rb +21 -0
  51. data/lib/rentvine/client/units.rb +20 -0
  52. data/lib/rentvine/client/vendor_trades.rb +27 -0
  53. data/lib/rentvine/client/vendors.rb +13 -0
  54. data/lib/rentvine/client/work_order_statuses.rb +30 -0
  55. data/lib/rentvine/client/work_orders.rb +27 -0
  56. data/lib/rentvine/client.rb +149 -0
  57. data/lib/rentvine/model/account.rb +7 -0
  58. data/lib/rentvine/model/application.rb +7 -0
  59. data/lib/rentvine/model/association.rb +7 -0
  60. data/lib/rentvine/model/bill.rb +7 -0
  61. data/lib/rentvine/model/diagnostic.rb +7 -0
  62. data/lib/rentvine/model/file.rb +7 -0
  63. data/lib/rentvine/model/inspection.rb +7 -0
  64. data/lib/rentvine/model/lease.rb +7 -0
  65. data/lib/rentvine/model/ledger.rb +7 -0
  66. data/lib/rentvine/model/owner.rb +7 -0
  67. data/lib/rentvine/model/portfolio.rb +7 -0
  68. data/lib/rentvine/model/property.rb +16 -0
  69. data/lib/rentvine/model/rentvine_model.rb +26 -0
  70. data/lib/rentvine/model/tenant.rb +7 -0
  71. data/lib/rentvine/model/transaction.rb +7 -0
  72. data/lib/rentvine/model/transaction_entry.rb +7 -0
  73. data/lib/rentvine/model/unit.rb +7 -0
  74. data/lib/rentvine/model/vendor.rb +7 -0
  75. data/lib/rentvine/model/vendor_trade.rb +7 -0
  76. data/lib/rentvine/model/work_order.rb +7 -0
  77. data/lib/rentvine/model/work_order_status.rb +7 -0
  78. data/lib/rentvine/rentvine_error.rb +61 -0
  79. data/lib/rentvine/rentvine_object_types.rb +57 -0
  80. data/lib/rentvine/version.rb +5 -0
  81. data/lib/rentvine.rb +14 -0
  82. data/rentvine.gemspec +34 -0
  83. metadata +185 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f46b3c038f078ae2b3f258e6dbc823a83e1dadedf69abc468d5ac01c2efdaa0f
4
+ data.tar.gz: 7eb3580fd56d9ec05aaabeb877b7e26fc100180701292682b662064bf46ae556
5
+ SHA512:
6
+ metadata.gz: 0526fb377f7c87906394a044dafa1dc78c8e32b7899a64536f3415bb1bbc881469e49acac8c20872b395845c77b3e89499c6949e1a2722a3a6d98c0bf22380fe
7
+ data.tar.gz: 981d03241bf3826b09fc7e83949d97f00ec3c2729ea8bd12f8a1e371548a3dad1646480571b68f5a7b96eb0685233fc2ed489fcb5f9628aa77d8d4afa3b43b16
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --profile
2
+ --require rails_helper
3
+ --require spec_helper
4
+ --format progress
data/.rubocop.yml ADDED
@@ -0,0 +1,704 @@
1
+ require:
2
+ - rubocop-factory_bot
3
+ - rubocop-rails
4
+ - rubocop-rspec
5
+ - rubocop-rspec_rails
6
+
7
+ AllCops:
8
+ Exclude:
9
+ - "bin/**/*"
10
+ - "config/**/*"
11
+ - "coverage/**/*"
12
+ - "db/**/*"
13
+ - "lib/**/*"
14
+ - "log/**/*"
15
+ - "notes/**/*"
16
+ - "public/**/*"
17
+ - "spec/**/*"
18
+ - "storage/**/*"
19
+ - "test/**/*"
20
+ - "tmp/**/*"
21
+ - "vendor/**/*"
22
+ - "config.ru"
23
+ - "docker-compose.yml"
24
+ - "docker-entrypoint.sh"
25
+ - "Dockerfile"
26
+ - "Gemfile"
27
+ - "Gemfile.lock"
28
+ - "Procfile"
29
+ - "Rakefile"
30
+ - "README.mb"
31
+ TargetRubyVersion: 3.2.1
32
+ Style/Documentation:
33
+ Enabled: false
34
+ Style/ClassAndModuleChildren:
35
+ Enabled: false
36
+ Metrics/AbcSize:
37
+ Max: 35
38
+ Metrics/MethodLength:
39
+ Max: 100
40
+ Metrics/ClassLength:
41
+ Max: 250
42
+ Metrics/ModuleLength:
43
+ Max: 250
44
+ Metrics/PerceivedComplexity:
45
+ Enabled: false
46
+ Metrics/CyclomaticComplexity:
47
+ Enabled: false
48
+ Layout/ParameterAlignment:
49
+ EnforcedStyle: with_fixed_indentation
50
+ Layout/FirstArrayElementIndentation:
51
+ EnforcedStyle: consistent
52
+ Layout/ClosingParenthesisIndentation:
53
+ Enabled: false
54
+ Style/FrozenStringLiteralComment:
55
+ Enabled: false
56
+ Layout/ArrayAlignment:
57
+ Enabled: true
58
+ Layout/ClassStructure:
59
+ ExpectedOrder:
60
+ - module_inclusion
61
+ - constants
62
+ - association
63
+ - public_attribute_macros
64
+ - public_delegate
65
+ - macros
66
+ - public_class_methods
67
+ - initializer
68
+ - public_methods
69
+ - protected_attribute_macros
70
+ - protected_methods
71
+ - private_attribute_macros
72
+ - private_delegate
73
+ - private_methods
74
+ Categories:
75
+ association:
76
+ - has_many
77
+ - has_one
78
+ attribute_macros:
79
+ - attr_accessor
80
+ - attr_reader
81
+ - attr_writer
82
+ macros:
83
+ - validates
84
+ - validate
85
+ module_inclusion:
86
+ - include
87
+ - prepend
88
+ - extend
89
+ Layout/EmptyLinesAroundAttributeAccessor:
90
+ Enabled: true
91
+ Layout/LineLength:
92
+ Max: 120
93
+ Layout/MultilineArrayLineBreaks:
94
+ Enabled: true
95
+ Layout/MultilineHashKeyLineBreaks:
96
+ Enabled: true
97
+ Naming/RescuedExceptionsVariableName:
98
+ Enabled: false
99
+ Naming/VariableNumber:
100
+ Enabled: false
101
+ # EnforcedStyle: snake_case
102
+ Style/AutoResourceCleanup:
103
+ Enabled: true
104
+ Style/FormatStringToken:
105
+ Enabled: false
106
+ Style/DateTime:
107
+ Enabled: true
108
+ Style/IpAddresses:
109
+ Enabled: true
110
+ Style/ReturnNil:
111
+ Enabled: true
112
+ Style/StringMethods:
113
+ Enabled: true
114
+ Style/Send:
115
+ Enabled: true
116
+ Style/StringHashKeys:
117
+ Enabled: false
118
+ Style/ImplicitRuntimeError:
119
+ Enabled: true
120
+ Style/HashEachMethods:
121
+ Enabled: true
122
+ Style/HashTransformKeys:
123
+ Enabled: true
124
+ Style/HashTransformValues:
125
+ Enabled: true
126
+ Style/SlicingWithRange:
127
+ Enabled: true
128
+ # Style/MethodCallWithArgsParentheses:
129
+ # Enabled: false
130
+ Layout/SpaceAroundMethodCallOperator:
131
+ Enabled: true
132
+ Lint/DeprecatedOpenSSLConstant:
133
+ Enabled: true
134
+ Lint/RaiseException:
135
+ Enabled: true
136
+ Lint/StructNewOverride:
137
+ Enabled: true
138
+ Style/ExponentialNotation:
139
+ Enabled: true
140
+ Lint/MixedRegexpCaptureTypes:
141
+ Enabled: true
142
+ Style/RedundantFetchBlock:
143
+ Enabled: true
144
+ Style/RedundantRegexpCharacterClass:
145
+ Enabled: true
146
+ Style/RedundantRegexpEscape:
147
+ Enabled: true
148
+
149
+ Lint/BinaryOperatorWithIdenticalOperands: # (new in 0.89)
150
+ Enabled: true
151
+ Lint/DuplicateElsifCondition: # (new in 0.88)
152
+ Enabled: true
153
+ Lint/DuplicateRequire: # (new in 0.90)
154
+ Enabled: true
155
+ Lint/DuplicateRescueException: # (new in 0.89)
156
+ Enabled: true
157
+ Lint/EmptyConditionalBody: # (new in 0.89)
158
+ Enabled: true
159
+ Lint/EmptyFile: # (new in 0.90)
160
+ Enabled: true
161
+ Lint/FloatComparison: # (new in 0.89)
162
+ Enabled: true
163
+ Lint/MissingSuper: # (new in 0.89)
164
+ Enabled: true
165
+ Lint/OutOfRangeRegexpRef: # (new in 0.89)
166
+ Enabled: true
167
+ Lint/SelfAssignment: # (new in 0.89)
168
+ Enabled: true
169
+ Lint/TopLevelReturnWithArgument: # (new in 0.89)
170
+ Enabled: true
171
+ Lint/TrailingCommaInAttributeDeclaration: # (new in 0.90)
172
+ Enabled: true
173
+ Lint/UnreachableLoop: # (new in 0.89)
174
+ Enabled: true
175
+ Lint/UselessMethodDefinition: # (new in 0.90)
176
+ Enabled: true
177
+ Style/AccessorGrouping: # (new in 0.87)
178
+ Enabled: true
179
+ Style/ArrayCoercion: # (new in 0.88)
180
+ Enabled: true
181
+ Style/BisectedAttrAccessor: # (new in 0.87)
182
+ Enabled: true
183
+ Style/CaseLikeIf: # (new in 0.88)
184
+ Enabled: true
185
+ Style/CombinableLoops: # (new in 0.90)
186
+ Enabled: true
187
+ Style/ExplicitBlockArgument: # (new in 0.89)
188
+ Enabled: true
189
+ Style/GlobalStdStream: # (new in 0.89)
190
+ Enabled: true
191
+ Style/HashAsLastArrayItem: # (new in 0.88)
192
+ Enabled: true
193
+ Style/HashLikeCase: # (new in 0.88)
194
+ Enabled: true
195
+ Style/KeywordParametersOrder: # (new in 0.90)
196
+ Enabled: true
197
+ Style/OptionalBooleanParameter: # (new in 0.89)
198
+ Enabled: false
199
+ Style/RedundantAssignment: # (new in 0.87)
200
+ Enabled: true
201
+ Style/RedundantFileExtensionInRequire: # (new in 0.88)
202
+ Enabled: true
203
+ Style/RedundantSelfAssignment: # (new in 0.90)
204
+ Enabled: true
205
+ Style/SingleArgumentDig: # (new in 0.89)
206
+ Enabled: true
207
+ Style/SoleNestedConditional: # (new in 0.89)
208
+ Enabled: true
209
+ Style/StringConcatenation: # (new in 0.89)
210
+ Enabled: true
211
+
212
+ Layout/BeginEndAlignment: # (new in 0.91)
213
+ Enabled: true
214
+ Lint/ConstantDefinitionInBlock: # (new in 0.91)
215
+ Enabled: true
216
+ Lint/IdentityComparison: # (new in 0.91)
217
+ Enabled: true
218
+ Lint/UselessTimes: # (new in 0.91)
219
+ Enabled: true
220
+
221
+ Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
222
+ Enabled: true
223
+ Lint/EmptyBlock: # (new in 1.1)
224
+ Enabled: true
225
+ Lint/ToEnumArguments: # (new in 1.1)
226
+ Enabled: true
227
+ Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
228
+ Enabled: true
229
+ Style/ArgumentsForwarding: # (new in 1.1)
230
+ Enabled: true
231
+ Style/DocumentDynamicEvalDefinition: # (new in 1.1)
232
+ Enabled: true
233
+ Style/SwapValues: # (new in 1.1)
234
+ Enabled: true
235
+
236
+ Lint/DuplicateBranch: # (new in 1.3)
237
+ Enabled: true
238
+ Lint/EmptyClass: # (new in 1.3)
239
+ Enabled: true
240
+ Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
241
+ Enabled: true
242
+ Style/CollectionCompact: # (new in 1.2)
243
+ Enabled: true
244
+ Style/NegatedIfElseCondition: # (new in 1.2)
245
+ Enabled: true
246
+ Style/NilLambda: # (new in 1.3)
247
+ Enabled: true
248
+ Style/RedundantArgument: # (new in 1.4)
249
+ Enabled: true
250
+
251
+ Layout/SpaceBeforeBrackets: # (new in 1.7)
252
+ Enabled: true
253
+ Lint/AmbiguousAssignment: # (new in 1.7)
254
+ Enabled: true
255
+ Lint/UnexpectedBlockArity: # (new in 1.5)
256
+ Enabled: true
257
+ Style/HashExcept: # (new in 1.7)
258
+ Enabled: true
259
+
260
+ Lint/DeprecatedConstants: # (new in 1.8)
261
+ Enabled: true
262
+ Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
263
+ Enabled: true
264
+ Lint/NumberedParameterAssignment: # (new in 1.9)
265
+ Enabled: true
266
+ Lint/OrAssignmentToConstant: # (new in 1.9)
267
+ Enabled: true
268
+ Lint/RedundantDirGlobSort: # (new in 1.8)
269
+ Enabled: true
270
+ Lint/SymbolConversion: # (new in 1.9)
271
+ Enabled: true
272
+ Lint/TripleQuotes: # (new in 1.9)
273
+ Enabled: true
274
+ Style/EndlessMethod: # (new in 1.8)
275
+ Enabled: true
276
+ Style/IfWithBooleanLiteralBranches: # (new in 1.9)
277
+ Enabled: true
278
+ Style/HashConversion: # (new in 1.10)
279
+ Enabled: true
280
+
281
+ Lint/EmptyInPattern: # (new in 1.16)
282
+ Enabled: true
283
+ Style/InPatternThen: # (new in 1.16)
284
+ Enabled: true
285
+ Style/MultilineInPatternThen: # (new in 1.16)
286
+ Enabled: true
287
+ Style/QuotedSymbols: # (new in 1.16)
288
+ Enabled: true
289
+ Style/StringChars: # (new in 1.12)
290
+ Enabled: true
291
+
292
+ Layout/LineEndStringConcatenationIndentation: # (new in 1.18)
293
+ Enabled: true
294
+ Naming/InclusiveLanguage: # (new in 1.18)
295
+ Enabled: false
296
+
297
+ Lint/AmbiguousOperatorPrecedence: # new in 1.21
298
+ Enabled: true
299
+ Lint/AmbiguousRange: # new in 1.19
300
+ Enabled: true
301
+ Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
302
+ Enabled: true
303
+ Lint/RequireRelativeSelfPath: # new in 1.22
304
+ Enabled: true
305
+ Security/IoMethods: # new in 1.22
306
+ Enabled: true
307
+ Style/NumberedParameters: # new in 1.22
308
+ Enabled: true
309
+ Style/NumberedParametersLimit: # new in 1.22
310
+ Enabled: true
311
+ Style/RedundantSelfAssignmentBranch: # new in 1.19
312
+ Enabled: true
313
+ Style/SelectByRegexp: # new in 1.22
314
+ Enabled: true
315
+ Style/TrailingCommaInArguments: # new in 1.19
316
+ EnforcedStyleForMultiline: no_comma
317
+
318
+ Gemspec/DeprecatedAttributeAssignment: # new in 1.10
319
+ Enabled: true
320
+ Gemspec/OrderedDependencies: # (new in 1.10)
321
+ Enabled: true
322
+
323
+ Gemspec/RequireMFA: # new in 1.23
324
+ Enabled: true
325
+ Layout/LineContinuationLeadingSpace: # new in 1.31
326
+ Enabled: true
327
+ Layout/LineContinuationSpacing: # new in 1.31
328
+ Enabled: true
329
+ Lint/ConstantOverwrittenInRescue: # new in 1.31
330
+ Enabled: true
331
+ Lint/DuplicateMagicComment: # new in 1.37
332
+ Enabled: true
333
+ Lint/NonAtomicFileOperation: # new in 1.31
334
+ Enabled: true
335
+ Lint/RefinementImportMethods: # new in 1.27
336
+ Enabled: true
337
+ Lint/RequireRangeParentheses: # new in 1.32
338
+ Enabled: true
339
+ Lint/UselessRescue: # new in 1.43
340
+ Enabled: true
341
+ Lint/UselessRuby2Keywords: # new in 1.23
342
+ Enabled: true
343
+ Naming/BlockForwarding: # new in 1.24
344
+ Enabled: true
345
+ Security/CompoundHash: # new in 1.28
346
+ Enabled: true
347
+ Style/ArrayIntersect: # new in 1.40
348
+ Enabled: true
349
+ Style/ConcatArrayLiterals: # new in 1.41
350
+ Enabled: true
351
+ Style/EmptyHeredoc: # new in 1.32
352
+ Enabled: true
353
+ Style/EnvHome: # new in 1.29
354
+ Enabled: true
355
+ Style/FetchEnvVar: # new in 1.28
356
+ Enabled: true
357
+ Style/FileRead: # new in 1.24
358
+ Enabled: true
359
+ Style/FileWrite: # new in 1.24
360
+ Enabled: true
361
+ Style/MagicCommentFormat: # new in 1.35
362
+ Enabled: true
363
+ Style/MapCompactWithConditionalBlock: # new in 1.30
364
+ Enabled: true
365
+ Style/MapToHash: # new in 1.24
366
+ Enabled: true
367
+ Style/MapToSet: # new in 1.42
368
+ Enabled: true
369
+ Style/MinMaxComparison: # new in 1.42
370
+ Enabled: true
371
+ Style/NestedFileDirname: # new in 1.26
372
+ Enabled: true
373
+ Style/ObjectThen: # new in 1.28
374
+ Enabled: true
375
+ Style/OpenStructUse: # new in 1.23
376
+ Enabled: true
377
+ Style/OperatorMethodCall: # new in 1.37
378
+ Enabled: true
379
+ Style/RedundantConstantBase: # new in 1.40
380
+ Enabled: true
381
+ Style/RedundantDoubleSplatHashBraces: # new in 1.41
382
+ Enabled: true
383
+ Style/RedundantEach: # new in 1.38
384
+ Enabled: true
385
+ Style/RedundantInitialize: # new in 1.27
386
+ Enabled: true
387
+ Style/RedundantStringEscape: # new in 1.37
388
+ Enabled: true
389
+ Style/HashSyntax: # new in 1.45
390
+ EnforcedShorthandSyntax: never
391
+
392
+ Gemspec/DevelopmentDependencies: # new in 1.44
393
+ Enabled: true
394
+ Style/ComparableClamp: # new in 1.44
395
+ Enabled: true
396
+ Style/RedundantHeredocDelimiterQuotes: # new in 1.45
397
+ Enabled: true
398
+ # Metrics/CollectionLiteralLength: # new in 1.47
399
+ # Enabled: true
400
+
401
+ Rails/UnknownEnv:
402
+ Environments:
403
+ - production
404
+ - development
405
+ - staging
406
+ - test
407
+
408
+ Rails/ActionControllerFlashBeforeRender: # new in 2.16
409
+ Enabled: true
410
+ Rails/ActionControllerTestCase: # new in 2.14
411
+ Enabled: true
412
+ Rails/ActionOrder: # new in 2.17
413
+ Enabled: true
414
+ Rails/ActiveRecordCallbacksOrder: # new in 2.7
415
+ Enabled: true
416
+ Rails/ActiveSupportOnLoad: # new in 2.16
417
+ Enabled: true
418
+ Rails/AddColumnIndex: # new in 2.11
419
+ Enabled: true
420
+ Rails/AfterCommitOverride: # new in 2.8
421
+ Enabled: true
422
+ Rails/AttributeDefaultBlockValue: # new in 2.9
423
+ Enabled: true
424
+ Rails/CompactBlank: # new in 2.13
425
+ Enabled: true
426
+ Rails/DeprecatedActiveModelErrorsMethods: # new in 2.14
427
+ Enabled: true
428
+ Rails/DotSeparatedKeys: # new in 2.15
429
+ Enabled: true
430
+ Rails/DuplicateAssociation: # new in 2.14
431
+ Enabled: true
432
+ Rails/DuplicateScope: # new in 2.14
433
+ Enabled: true
434
+ Rails/DurationArithmetic: # new in 2.13
435
+ Enabled: true
436
+ Rails/EagerEvaluationLogMessage: # new in 2.11
437
+ Enabled: true
438
+ Rails/ExpandedDateRange: # new in 2.11
439
+ Enabled: true
440
+ Rails/FindById: # new in 2.7
441
+ Enabled: true
442
+ Rails/FreezeTime: # new in 2.16
443
+ Enabled: true
444
+ Rails/I18nLazyLookup: # new in 2.14
445
+ Enabled: true
446
+ Rails/I18nLocaleAssignment: # new in 2.11
447
+ Enabled: false
448
+ Rails/I18nLocaleTexts: # new in 2.14
449
+ Enabled: false
450
+ Rails/IgnoredColumnsAssignment: # new in 2.17
451
+ Enabled: true
452
+ Rails/Inquiry: # new in 2.7
453
+ Enabled: true
454
+ Rails/MailerName: # new in 2.7
455
+ Enabled: true
456
+ Rails/MatchRoute: # new in 2.7
457
+ Enabled: true
458
+ Rails/MigrationClassName: # new in 2.14
459
+ Enabled: true
460
+ Rails/NegateInclude: # new in 2.7
461
+ Enabled: true
462
+ Rails/Pluck: # new in 2.7
463
+ Enabled: true
464
+ Rails/PluckInWhere: # new in 2.7
465
+ Enabled: true
466
+ Rails/RedundantPresenceValidationOnBelongsTo: # new in 2.13
467
+ Enabled: true
468
+ Rails/RedundantTravelBack: # new in 2.12
469
+ Enabled: true
470
+ Rails/RenderInline: # new in 2.7
471
+ Enabled: true
472
+ Rails/RenderPlainText: # new in 2.7
473
+ Enabled: true
474
+ Rails/ResponseParsedBody: # new in 2.18
475
+ Enabled: true
476
+ Rails/RootJoinChain: # new in 2.13
477
+ Enabled: true
478
+ Rails/RootPathnameMethods: # new in 2.16
479
+ Enabled: true
480
+ Rails/RootPublicPath: # new in 2.15
481
+ Enabled: true
482
+ Rails/ShortI18n: # new in 2.7
483
+ Enabled: true
484
+ Rails/SquishedSQLHeredocs: # new in 2.8
485
+ Enabled: true
486
+ Rails/StripHeredoc: # new in 2.15
487
+ Enabled: true
488
+ Rails/TimeZoneAssignment: # new in 2.10
489
+ Enabled: true
490
+ Rails/ToFormattedS: # new in 2.15
491
+ Enabled: true
492
+ Rails/ToSWithArgument: # new in 2.16
493
+ Enabled: true
494
+ Rails/TopLevelHashWithIndifferentAccess: # new in 2.16
495
+ Enabled: true
496
+ Rails/TransactionExitStatement: # new in 2.14
497
+ Enabled: true
498
+ Rails/UnusedIgnoredColumns: # new in 2.11
499
+ Enabled: true
500
+ Rails/WhereEquals: # new in 2.9
501
+ Enabled: true
502
+ Rails/WhereExists: # new in 2.7
503
+ Enabled: true
504
+ Rails/WhereMissing: # new in 2.16
505
+ Enabled: true
506
+ Rails/WhereNot: # new in 2.8
507
+ Enabled: true
508
+ Rails/WhereNotWithMultipleConditions: # new in 2.17
509
+ Enabled: true
510
+ RSpec/BeEq: # new in 2.9.0
511
+ Enabled: true
512
+ RSpec/BeNil: # new in 2.9.0
513
+ Enabled: true
514
+ RSpec/ChangeByZero: # new in 2.11
515
+ Enabled: true
516
+ RSpec/DuplicatedMetadata: # new in 2.16
517
+ Enabled: true
518
+ RSpec/ExcessiveDocstringSpacing: # new in 2.5
519
+ Enabled: true
520
+ RSpec/IdenticalEqualityAssertion: # new in 2.4
521
+ Enabled: true
522
+ RSpec/NoExpectationExample: # new in 2.13
523
+ Enabled: true
524
+ RSpec/PendingWithoutReason: # new in 2.16
525
+ Enabled: true
526
+ RSpec/RedundantAround: # new in 2.19
527
+ Enabled: true
528
+ RSpec/SkipBlockInsideExample: # new in 2.19
529
+ Enabled: true
530
+ RSpec/SortMetadata: # new in 2.14
531
+ Enabled: true
532
+ RSpec/SubjectDeclaration: # new in 2.5
533
+ Enabled: true
534
+ RSpec/VerifiedDoubleReference: # new in 2.10.0
535
+ Enabled: true
536
+ RSpecRails/AvoidSetupHook: # new in 2.4
537
+ Enabled: true
538
+ RSpecRails/HaveHttpStatus: # new in 2.12
539
+ Enabled: true
540
+ RSpecRails/InferredSpecType: # new in 2.14
541
+ Enabled: true
542
+ RSpecRails/MinitestAssertions: # new in 2.17
543
+ Enabled: true
544
+ RSpecRails/TravelAround: # new in 2.19
545
+ Enabled: true
546
+ FactoryBot/ConsistentParenthesesStyle: # new in 2.14
547
+ Enabled: true
548
+ FactoryBot/FactoryNameStyle: # new in 2.16
549
+ Enabled: true
550
+ FactoryBot/SyntaxMethods: # new in 2.7
551
+ Enabled: true
552
+
553
+ Lint/DuplicateMatchPattern: # new in 1.50
554
+ Enabled: true
555
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
556
+ Enabled: true
557
+ Lint/LiteralAssignmentInCondition: # new in 1.58
558
+ Enabled: true
559
+ Lint/MixedCaseRange: # new in 1.53
560
+ Enabled: true
561
+ Lint/RedundantRegexpQuantifiers: # new in 1.53
562
+ Enabled: true
563
+ Metrics/CollectionLiteralLength: # new in 1.47
564
+ Enabled: true
565
+ Style/DataInheritance: # new in 1.49
566
+ Enabled: true
567
+ Style/DirEmpty: # new in 1.48
568
+ Enabled: true
569
+ Style/ExactRegexpMatch: # new in 1.51
570
+ Enabled: true
571
+ Style/FileEmpty: # new in 1.48
572
+ Enabled: true
573
+ Style/RedundantArrayConstructor: # new in 1.52
574
+ Enabled: true
575
+ Style/RedundantCurrentDirectoryInPath: # new in 1.53
576
+ Enabled: true
577
+ Style/RedundantFilterChain: # new in 1.52
578
+ Enabled: true
579
+ Style/RedundantLineContinuation: # new in 1.49
580
+ Enabled: true
581
+ Style/RedundantRegexpArgument: # new in 1.53
582
+ Enabled: true
583
+ Style/RedundantRegexpConstructor: # new in 1.52
584
+ Enabled: true
585
+ Style/SingleLineDoEndBlock: # new in 1.57
586
+ Enabled: true
587
+ Style/SuperWithArgsParentheses: # new in 1.58
588
+ Enabled: true
589
+ Style/YAMLFileRead: # new in 1.53
590
+ Enabled: true
591
+ Rails/DangerousColumnNames: # new in 2.21
592
+ Enabled: true
593
+ Rails/EnvLocal: # new in 2.22
594
+ Enabled: true
595
+ Rails/RedundantActiveRecordAllMethod: # new in 2.21
596
+ Enabled: true
597
+ Rails/SelectMap: # new in 2.21
598
+ Enabled: true
599
+ Rails/ThreeStateBooleanColumn: # new in 2.19
600
+ Enabled: true
601
+ Rails/UnusedRenderContent: # new in 2.21
602
+ Enabled: true
603
+ FactoryBot/AssociationStyle: # new in 2.23
604
+ Enabled: true
605
+ FactoryBot/ExcessiveCreateList: # new in 2.25
606
+ Enabled: true
607
+ FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
608
+ Enabled: true
609
+ FactoryBot/IdSequence: # new in 2.24
610
+ Enabled: true
611
+ FactoryBot/RedundantFactoryOption: # new in 2.23
612
+ Enabled: true
613
+ RSpec/BeEmpty: # new in 2.20
614
+ Enabled: true
615
+ RSpec/ContainExactly: # new in 2.19
616
+ Enabled: true
617
+ RSpec/EmptyMetadata: # new in 2.24
618
+ Enabled: true
619
+ RSpec/Eq: # new in 2.24
620
+ Enabled: true
621
+ RSpec/IndexedLet: # new in 2.20
622
+ Enabled: true
623
+ RSpec/MatchArray: # new in 2.19
624
+ Enabled: true
625
+ RSpec/MetadataStyle: # new in 2.24
626
+ Enabled: true
627
+ RSpec/ReceiveMessages: # new in 2.23
628
+ Enabled: true
629
+ RSpec/RedundantPredicateMatcher: # new in 2.26
630
+ Enabled: true
631
+ RSpec/RemoveConst: # new in 2.26
632
+ Enabled: true
633
+ RSpec/SpecFilePathFormat: # new in 2.24
634
+ Enabled: true
635
+ RSpec/SpecFilePathSuffix: # new in 2.24
636
+ Enabled: true
637
+ RSpecRails/NegationBeValid: # new in 2.23
638
+ Enabled: true
639
+
640
+
641
+
642
+ ## Enable later
643
+ Rails/SkipsModelValidations: # new in 2.11
644
+ Enabled: false
645
+ Rails/HasAndBelongsToMany: # new in 2.11
646
+ Enabled: false
647
+ Rails/LexicallyScopedActionFilter: # new in 2.11
648
+ Enabled: false
649
+ Rails/ReadWriteAttribute: # new in 2.11
650
+ Enabled: false
651
+ # -------
652
+
653
+ Capybara/MatchStyle: # new in 2.17
654
+ Enabled: true
655
+ Capybara/NegationMatcher: # new in 2.14
656
+ Enabled: true
657
+ Capybara/SpecificActions: # new in 2.14
658
+ Enabled: true
659
+ Capybara/SpecificFinders: # new in 2.13
660
+ Enabled: true
661
+ Capybara/SpecificMatcher: # new in 2.12
662
+ Enabled: true
663
+ # RSpec/Capybara/MatchStyle: # new in 2.17
664
+ # Enabled: true
665
+ # RSpec/Capybara/NegationMatcher: # new in 2.14
666
+ # Enabled: true
667
+ # RSpec/Capybara/SpecificActions: # new in 2.14
668
+ # Enabled: true
669
+ # RSpec/Capybara/SpecificFinders: # new in 2.13
670
+ # Enabled: true
671
+ # RSpec/Capybara/SpecificMatcher: # new in 2.12
672
+ # Enabled: true
673
+
674
+ Capybara/ClickLinkOrButtonStyle: # new in 2.19
675
+ Enabled: true
676
+ Capybara/RedundantWithinFind: # new in 2.20
677
+ Enabled: true
678
+ Capybara/RSpec/HaveSelector: # new in 2.19
679
+ Enabled: true
680
+ Capybara/RSpec/PredicateMatcher: # new in 2.19
681
+ Enabled: true
682
+
683
+ Style/MapIntoArray: # new in 1.63
684
+ Enabled: true
685
+ RSpec/EmptyOutput: # new in 2.29
686
+ Enabled: true
687
+ RSpec/IsExpectedSpecify: # new in 2.27
688
+ Enabled: true
689
+ RSpec/RepeatedSubjectCall: # new in 2.27
690
+ Enabled: true
691
+ RSpec/UndescriptiveLiteralsDescription: # new in 2.29
692
+ Enabled: true
693
+
694
+ Style/SendWithLiteralMethodName: # new in 1.64
695
+ Enabled: true
696
+ Style/SuperArguments: # new in 1.64
697
+ Enabled: true
698
+ Rails/WhereRange: # new in 2.25
699
+ Enabled: true
700
+
701
+
702
+ ## Disabled cops
703
+ Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
704
+ Enabled: false # true
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ rentvine
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-3.3.1