Skip to content

Commit e1a1130

Browse files
committed
mend
1 parent b389e4d commit e1a1130

25 files changed

+1440
-435
lines changed

.rubocop_todo.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
2-
# `rubocop --auto-gen-config --no-exclude-limit`
3-
# on 2023-08-28 04:34:32 UTC using RuboCop version 1.56.1.
2+
# `rubocop --auto-gen-config --auto-gen-only-exclude --no-exclude-limit`
3+
# on 2025-08-21 04:35:42 UTC using RuboCop version 1.79.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -12,20 +12,13 @@ Layout/EmptyLineAfterMagicComment:
1212
Exclude:
1313
- 'Gemfile'
1414

15-
# Offense count: 1
16-
# This cop supports safe autocorrection (--autocorrect).
17-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
18-
# URISchemes: http, https
19-
Layout/LineLength:
20-
Max: 382
21-
2215
# Offense count: 1
2316
# This cop supports safe autocorrection (--autocorrect).
2417
# Configuration parameters: EnforcedStyle.
2518
# SupportedStyles: final_newline, final_blank_line
2619
Layout/TrailingEmptyLines:
2720
Exclude:
28-
- 'lib/rails_fields/railtie.rb'
21+
- 'test/dummy/app/models/application_record.rb'
2922

3023
# Offense count: 1
3124
# This cop supports unsafe autocorrection (--autocorrect-all).
@@ -35,19 +28,30 @@ Rails/Date:
3528
Exclude:
3629
- 'rails_fields.gemspec'
3730

38-
# Offense count: 1
31+
# Offense count: 5
32+
# This cop supports safe autocorrection (--autocorrect).
33+
# Configuration parameters: EnforcedStyle, Include.
34+
# SupportedStyles: assert_not, refute
35+
# Include: **/test/**/*
36+
Rails/RefuteMethods:
37+
Exclude:
38+
- 'test/utils_detect_changes_test.rb'
39+
- 'test/utils_test.rb'
40+
41+
# Offense count: 2
3942
# This cop supports unsafe autocorrection (--autocorrect-all).
4043
# Configuration parameters: EnforcedStyle.
4144
# SupportedStyles: always, always_true, never
4245
Style/FrozenStringLiteralComment:
4346
Exclude:
4447
- 'Gemfile'
48+
- 'test/dummy/config/boot.rb'
4549

46-
# Offense count: 6
50+
# Offense count: 2
4751
# This cop supports safe autocorrection (--autocorrect).
4852
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
4953
# SupportedStyles: single_quotes, double_quotes
5054
Style/StringLiterals:
5155
Exclude:
52-
- 'lib/rails_fields/railtie.rb'
53-
- 'rails_fields.gemspec'
56+
- 'lib/rails_fields/class_methods.rb'
57+
- 'lib/rails_fields/utils/helpers.rb'

docs/yard/RailsFields.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2>Overview</h2><div class="docstring">
103103

104104

105105

106-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RailsFields/EnforceFieldsMiddleware.html" title="RailsFields::EnforceFieldsMiddleware (class)">EnforceFieldsMiddleware</a></span>, <span class='object_link'><a href="RailsFields/Railtie.html" title="RailsFields::Railtie (class)">Railtie</a></span>
106+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RailsFields/DeclaredField.html" title="RailsFields::DeclaredField (class)">DeclaredField</a></span>, <span class='object_link'><a href="RailsFields/EnforceFieldsMiddleware.html" title="RailsFields::EnforceFieldsMiddleware (class)">EnforceFieldsMiddleware</a></span>, <span class='object_link'><a href="RailsFields/Railtie.html" title="RailsFields::Railtie (class)">Railtie</a></span>
107107

108108

109109
</p>
@@ -119,7 +119,7 @@ <h2>
119119
<dt id="VERSION-constant" class="">VERSION =
120120

121121
</dt>
122-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.3.2</span><span class='tstring_end'>&quot;</span></span></pre></dd>
122+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.3.3</span><span class='tstring_end'>&quot;</span></span></pre></dd>
123123

124124
</dl>
125125

@@ -205,9 +205,9 @@ <h3 class="signature first" id="processed_classes-class_method">
205205
</div>
206206

207207
<div id="footer">
208-
Generated on Mon Aug 28 02:43:30 2023 by
208+
Generated on Thu Aug 21 00:35:57 2025 by
209209
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
210-
0.9.34 (ruby-3.2.2).
210+
0.9.37 (ruby-3.4.5).
211211
</div>
212212

213213
</div>

docs/yard/RailsFields/ClassMethods.html

Lines changed: 55 additions & 45 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)