friendly_fk 1.0.17 → 1.0.18
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.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -125
- data/Gemfile.lock +19 -19
- data/lib/friendly_fk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc0d9a04ccfa5de2f378a9153753d2d20018e15a143b63fca337bc61e8fb8aa7
|
|
4
|
+
data.tar.gz: 69d61fecfd41a3f43889bf1aaf55cbe31b577df0fae70548d001042b29ebf3e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e5d60f852862115072598a290412c58dd44a5d7648e72b7c2ed2941e2cfa0aebc96420c7dd4386db86e368030ad494237c5f202b154cbab11935c33e56f5685
|
|
7
|
+
data.tar.gz: d4051b183bc2c89ee2f0fd7f5a7cd7286d117477c29693098544ddda7ec997b341c1336266fcee64a7a13937101bdbab3c5cc871394586befd06ed8d65fb6871
|
data/.rubocop.yml
CHANGED
|
@@ -18,17 +18,7 @@ AllCops:
|
|
|
18
18
|
|
|
19
19
|
NewCops: enable
|
|
20
20
|
|
|
21
|
-
# Gems in consecutive lines should be alphabetically sorted
|
|
22
|
-
Bundler/OrderedGems:
|
|
23
|
-
TreatCommentsAsGroupSeparators: true
|
|
24
|
-
|
|
25
|
-
Gemspec/OrderedDependencies:
|
|
26
|
-
Enabled: true
|
|
27
|
-
|
|
28
21
|
# Layout ######################################################################
|
|
29
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
|
30
|
-
Enabled: true
|
|
31
|
-
|
|
32
22
|
Layout/LineLength:
|
|
33
23
|
Max: 120
|
|
34
24
|
|
|
@@ -55,9 +45,6 @@ Layout/MultilineOperationIndentation:
|
|
|
55
45
|
Enabled: true
|
|
56
46
|
EnforcedStyle: indented
|
|
57
47
|
|
|
58
|
-
Layout/SpaceAroundMethodCallOperator:
|
|
59
|
-
Enabled: true
|
|
60
|
-
|
|
61
48
|
# Checks for padding/surrounding spaces inside string interpolation.
|
|
62
49
|
Layout/SpaceInsideStringInterpolation:
|
|
63
50
|
EnforcedStyle: no_space
|
|
@@ -178,26 +165,11 @@ Metrics/PerceivedComplexity:
|
|
|
178
165
|
Lint/AmbiguousRegexpLiteral:
|
|
179
166
|
Enabled: false
|
|
180
167
|
|
|
181
|
-
Lint/DeprecatedOpenSSLConstant:
|
|
182
|
-
Enabled: true
|
|
183
|
-
|
|
184
|
-
Lint/DuplicateElsifCondition:
|
|
185
|
-
Enabled: true
|
|
186
|
-
|
|
187
|
-
Lint/MixedRegexpCaptureTypes:
|
|
188
|
-
Enabled: true
|
|
189
|
-
|
|
190
|
-
Lint/RaiseException:
|
|
191
|
-
Enabled: true
|
|
192
|
-
|
|
193
168
|
# This cop looks for use of the same name as outer local variables
|
|
194
169
|
# for block arguments or block local variables.
|
|
195
170
|
Lint/ShadowingOuterLocalVariable:
|
|
196
171
|
Enabled: false
|
|
197
172
|
|
|
198
|
-
Lint/StructNewOverride:
|
|
199
|
-
Enabled: true
|
|
200
|
-
|
|
201
173
|
# RSpec #######################################################################
|
|
202
174
|
|
|
203
175
|
# Checks for long example.
|
|
@@ -241,100 +213,3 @@ RSpec/NamedSubject:
|
|
|
241
213
|
RSpec/NotToNot:
|
|
242
214
|
EnforcedStyle: not_to
|
|
243
215
|
Enabled: true
|
|
244
|
-
|
|
245
|
-
# Style #######################################################################
|
|
246
|
-
|
|
247
|
-
Style/AccessorGrouping:
|
|
248
|
-
Enabled: true
|
|
249
|
-
|
|
250
|
-
# Use alias_method instead of alias.
|
|
251
|
-
Style/Alias:
|
|
252
|
-
EnforcedStyle: prefer_alias_method
|
|
253
|
-
Enabled: true
|
|
254
|
-
|
|
255
|
-
Style/ArrayCoercion:
|
|
256
|
-
Enabled: true
|
|
257
|
-
|
|
258
|
-
Style/AsciiComments:
|
|
259
|
-
Enabled: false
|
|
260
|
-
StyleGuide: http://relaxed.ruby.style/#styleasciicomments
|
|
261
|
-
|
|
262
|
-
Style/BisectedAttrAccessor:
|
|
263
|
-
Enabled: true
|
|
264
|
-
|
|
265
|
-
Style/CaseLikeIf:
|
|
266
|
-
Enabled: true
|
|
267
|
-
|
|
268
|
-
# This cop checks that comment annotation keywords are written according
|
|
269
|
-
# to guidelines.
|
|
270
|
-
Style/CommentAnnotation:
|
|
271
|
-
Enabled: false
|
|
272
|
-
|
|
273
|
-
# Document classes and non-namespace modules.
|
|
274
|
-
Style/Documentation:
|
|
275
|
-
Enabled: false
|
|
276
|
-
|
|
277
|
-
Style/ExponentialNotation:
|
|
278
|
-
Enabled: true
|
|
279
|
-
|
|
280
|
-
# Checks if there is a magic comment to enforce string literals
|
|
281
|
-
Style/FrozenStringLiteralComment:
|
|
282
|
-
Enabled: false
|
|
283
|
-
|
|
284
|
-
Style/HashAsLastArrayItem:
|
|
285
|
-
Enabled: true
|
|
286
|
-
|
|
287
|
-
Style/HashEachMethods:
|
|
288
|
-
Enabled: true
|
|
289
|
-
|
|
290
|
-
Style/HashLikeCase:
|
|
291
|
-
Enabled: true
|
|
292
|
-
|
|
293
|
-
Style/HashTransformKeys:
|
|
294
|
-
Enabled: true
|
|
295
|
-
|
|
296
|
-
Style/HashTransformValues:
|
|
297
|
-
Enabled: true
|
|
298
|
-
|
|
299
|
-
Style/RedundantAssignment:
|
|
300
|
-
Enabled: true
|
|
301
|
-
|
|
302
|
-
Style/RedundantFetchBlock:
|
|
303
|
-
Enabled: true
|
|
304
|
-
|
|
305
|
-
Style/RedundantFileExtensionInRequire:
|
|
306
|
-
Enabled: true
|
|
307
|
-
|
|
308
|
-
# Checks for %q/%Q when single quotes or double quotes would do.
|
|
309
|
-
Style/RedundantPercentQ:
|
|
310
|
-
Enabled: false
|
|
311
|
-
|
|
312
|
-
Style/RedundantRegexpCharacterClass:
|
|
313
|
-
Enabled: true
|
|
314
|
-
|
|
315
|
-
Style/RedundantRegexpEscape:
|
|
316
|
-
Enabled: true
|
|
317
|
-
|
|
318
|
-
Style/RegexpLiteral:
|
|
319
|
-
EnforcedStyle: mixed
|
|
320
|
-
Enabled: false
|
|
321
|
-
|
|
322
|
-
# Checks for proper usage of fail and raise.
|
|
323
|
-
Style/SignalException:
|
|
324
|
-
EnforcedStyle: only_raise
|
|
325
|
-
Enabled: true
|
|
326
|
-
|
|
327
|
-
Style/SlicingWithRange:
|
|
328
|
-
Enabled: true
|
|
329
|
-
|
|
330
|
-
# Check for the usage of parentheses around stabby lambda arguments.
|
|
331
|
-
Style/StabbyLambdaParentheses:
|
|
332
|
-
EnforcedStyle: require_parentheses
|
|
333
|
-
Enabled: true
|
|
334
|
-
|
|
335
|
-
# Checks if configured preferred methods are used over non-preferred.
|
|
336
|
-
Style/StringMethods:
|
|
337
|
-
PreferredMethods:
|
|
338
|
-
intern: to_sym
|
|
339
|
-
Enabled: true
|
|
340
|
-
|
data/Gemfile.lock
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
friendly_fk (1.0.
|
|
4
|
+
friendly_fk (1.0.18)
|
|
5
5
|
activerecord
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activemodel (6.1.3.
|
|
11
|
-
activesupport (= 6.1.3.
|
|
12
|
-
activerecord (6.1.3.
|
|
13
|
-
activemodel (= 6.1.3.
|
|
14
|
-
activesupport (= 6.1.3.
|
|
15
|
-
activesupport (6.1.3.
|
|
10
|
+
activemodel (6.1.3.2)
|
|
11
|
+
activesupport (= 6.1.3.2)
|
|
12
|
+
activerecord (6.1.3.2)
|
|
13
|
+
activemodel (= 6.1.3.2)
|
|
14
|
+
activesupport (= 6.1.3.2)
|
|
15
|
+
activesupport (6.1.3.2)
|
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
17
17
|
i18n (>= 1.6, < 2)
|
|
18
18
|
minitest (>= 5.1)
|
|
@@ -21,7 +21,7 @@ GEM
|
|
|
21
21
|
ast (2.4.2)
|
|
22
22
|
concurrent-ruby (1.1.8)
|
|
23
23
|
diff-lcs (1.4.4)
|
|
24
|
-
docile (1.
|
|
24
|
+
docile (1.4.0)
|
|
25
25
|
fuubar (2.5.1)
|
|
26
26
|
rspec-core (~> 3.0)
|
|
27
27
|
ruby-progressbar (~> 1.4)
|
|
@@ -30,7 +30,7 @@ GEM
|
|
|
30
30
|
minitest (5.14.4)
|
|
31
31
|
mysql2 (0.5.3)
|
|
32
32
|
parallel (1.20.1)
|
|
33
|
-
parser (3.0.1.
|
|
33
|
+
parser (3.0.1.1)
|
|
34
34
|
ast (~> 2.4.1)
|
|
35
35
|
pg (1.2.3)
|
|
36
36
|
rack (2.2.3)
|
|
@@ -51,27 +51,27 @@ GEM
|
|
|
51
51
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
52
52
|
rspec-support (~> 3.10.0)
|
|
53
53
|
rspec-support (3.10.2)
|
|
54
|
-
rubocop (1.
|
|
54
|
+
rubocop (1.15.0)
|
|
55
55
|
parallel (~> 1.10)
|
|
56
56
|
parser (>= 3.0.0.0)
|
|
57
57
|
rainbow (>= 2.2.2, < 4.0)
|
|
58
58
|
regexp_parser (>= 1.8, < 3.0)
|
|
59
59
|
rexml
|
|
60
|
-
rubocop-ast (>= 1.
|
|
60
|
+
rubocop-ast (>= 1.5.0, < 2.0)
|
|
61
61
|
ruby-progressbar (~> 1.7)
|
|
62
62
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
63
|
-
rubocop-ast (1.
|
|
64
|
-
parser (>=
|
|
65
|
-
rubocop-performance (1.
|
|
66
|
-
rubocop (>=
|
|
63
|
+
rubocop-ast (1.5.0)
|
|
64
|
+
parser (>= 3.0.1.1)
|
|
65
|
+
rubocop-performance (1.11.3)
|
|
66
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
67
67
|
rubocop-ast (>= 0.4.0)
|
|
68
|
-
rubocop-rails (2.
|
|
68
|
+
rubocop-rails (2.10.1)
|
|
69
69
|
activesupport (>= 4.2.0)
|
|
70
70
|
rack (>= 1.1)
|
|
71
|
-
rubocop (>=
|
|
71
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
72
72
|
rubocop-rake (0.5.1)
|
|
73
73
|
rubocop
|
|
74
|
-
rubocop-rspec (2.
|
|
74
|
+
rubocop-rspec (2.3.0)
|
|
75
75
|
rubocop (~> 1.0)
|
|
76
76
|
rubocop-ast (>= 1.1.0)
|
|
77
77
|
ruby-progressbar (1.11.0)
|
|
@@ -82,7 +82,7 @@ GEM
|
|
|
82
82
|
simplecov-html (0.12.3)
|
|
83
83
|
simplecov-rcov (0.2.3)
|
|
84
84
|
simplecov (>= 0.4.1)
|
|
85
|
-
simplecov_json_formatter (0.1.
|
|
85
|
+
simplecov_json_formatter (0.1.3)
|
|
86
86
|
tzinfo (2.0.4)
|
|
87
87
|
concurrent-ruby (~> 1.0)
|
|
88
88
|
unicode-display_width (2.0.0)
|
data/lib/friendly_fk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: friendly_fk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Kiselyov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|