yoshiki 7.0.0.pre.alpha.6 → 7.0.0.pre.alpha.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 117f2384ae2ea3dfd457a61a52e5d6ca00d864b66b151f109520f57ad1a6e71e
4
- data.tar.gz: bd328bf757694168f4a7cea5bd920b7fe21e4dcec7f6488c608737e1efde3ffc
3
+ metadata.gz: 184e9d228786308e67dae624c33a04ec14e3599f04ffe1e07af025cffdabe094
4
+ data.tar.gz: f12143a3288b928860b0e1d29c53b2c9d6508f8a84f085ea117ca84d441406d6
5
5
  SHA512:
6
- metadata.gz: 50c1ebf6695f4d365b10ee99f9f626834b736f71ceaed098faa606c81a3297fa3a2343742df36f7df4d2e4a98209178504ff32693e80da834d99606cf788254f
7
- data.tar.gz: 74975c2625de18303f9ab99759d6d549d18d81bf212818ad0ef841dbb5e3dc4db78e988de44cc6a8ad1697ef945e55025ae5339131e575e03dc7689546342417
6
+ metadata.gz: 24781245f31c2f9870303aa0fa2f870175baa8bb72a169681e1564664eb70f1b0d3bdf6c66bf3f67f4c1822b657e961659e81841bbd5648ad1a9f6299eef576d
7
+ data.tar.gz: 8950f3f943570a703d70beb4ceb9ccea6fe55466b5ef9e283842dcac8196cd7b11e93e8b5760d218b475d686e42b52477637e4e78f171329d1fd18aed029038d
data/.devfu-rubocop.yml CHANGED
@@ -18,9 +18,6 @@ AllCops:
18
18
  Rails:
19
19
  Enabled: true
20
20
 
21
- Gemspec/DateAssignment: # new in 1.10
22
- Enabled: true
23
-
24
21
  Gemspec/DeprecatedAttributeAssignment: # new in 1.30
25
22
  Enabled: true
26
23
 
@@ -70,6 +67,12 @@ Layout/HashAlignment:
70
67
  EnforcedHashRocketStyle: table
71
68
  EnforcedColonStyle: table
72
69
 
70
+ Layout/LineContinuationLeadingSpace: # new in 1.31
71
+ Enabled: true
72
+
73
+ Layout/LineContinuationSpacing: # new in 1.31
74
+ Enabled: true
75
+
73
76
  Layout/LineEndStringConcatenationIndentation: # new in 1.18
74
77
  Enabled: true
75
78
 
@@ -118,12 +121,18 @@ Lint/AmbiguousRegexpLiteral:
118
121
  Lint/AssignmentInCondition:
119
122
  Enabled: false
120
123
 
124
+ Lint/ConstantOverwrittenInRescue: # new in 1.31
125
+ Enabled: true
126
+
121
127
  Lint/DeprecatedConstants: # new in 1.8
122
128
  Enabled: true
123
129
 
124
130
  Lint/DuplicateBranch: # new in 1.3
125
131
  Enabled: true
126
132
 
133
+ Lint/DuplicateMagicComment: # new in 1.37
134
+ Enabled: true
135
+
127
136
  Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
128
137
  Enabled: true
129
138
 
@@ -142,6 +151,9 @@ Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
142
151
  Lint/LambdaWithoutLiteralBlock: # new in 1.8
143
152
  Enabled: true
144
153
 
154
+ Lint/NonAtomicFileOperation: # new in 1.31
155
+ Enabled: true
156
+
145
157
  Lint/NoReturnInBeginEndBlocks: # new in 1.2
146
158
  Enabled: true
147
159
 
@@ -162,6 +174,9 @@ Lint/RedundantSplatExpansion:
162
174
  Lint/RefinementImportMethods: # new in 1.27
163
175
  Enabled: false
164
176
 
177
+ Lint/RequireRangeParentheses: # new in 1.32
178
+ Enabled: false
179
+
165
180
  Lint/RequireRelativeSelfPath: # new in 1.22
166
181
  Enabled: true
167
182
 
@@ -225,12 +240,21 @@ Naming/PredicateName:
225
240
  Naming/VariableNumber:
226
241
  EnforcedStyle: snake_case
227
242
 
243
+ Rails/ActionControllerFlashBeforeRender: # new in 2.16
244
+ Enabled: true
245
+
228
246
  Rails/ActionControllerTestCase: # new in 2.14
229
247
  Enabled: true
230
248
 
249
+ Rails/ActionOrder: # new in 2.17
250
+ Enabled: true
251
+
231
252
  Rails/ActiveRecordCallbacksOrder: # new in 2.7
232
253
  Enabled: true
233
254
 
255
+ Rails/ActiveSupportOnLoad: # new in 2.16
256
+ Enabled: true
257
+
234
258
  Rails/AddColumnIndex: # new in 2.11
235
259
  Enabled: true
236
260
 
@@ -247,6 +271,9 @@ Rails/CompactBlank: # new in 2.13
247
271
  Rails/DeprecatedActiveModelErrorsMethods: # new in 2.14
248
272
  Enabled: false
249
273
 
274
+ Rails/DotSeparatedKeys: # new in 2.15
275
+ Enabled: true
276
+
250
277
  Rails/DuplicateAssociation: # new in 2.14
251
278
  Enabled: true
252
279
 
@@ -265,6 +292,12 @@ Rails/ExpandedDateRange: # new in 2.11
265
292
  Rails/FindById: # new in 2.7
266
293
  Enabled: true
267
294
 
295
+ Rails/FreezeTime: # new in 2.16
296
+ Enabled: true
297
+
298
+ Rails/IgnoredColumnsAssignment: # new in 2.17
299
+ Enabled: true
300
+
268
301
  Rails/I18nLazyLookup: # new in 2.14
269
302
  Enabled: true
270
303
 
@@ -318,19 +351,39 @@ Rails/RenderPlainText: # new in 2.7
318
351
  Rails/RootJoinChain: # new in 2.13
319
352
  Enabled: true
320
353
 
354
+ Rails/RootPathnameMethods: # new in 2.16
355
+ Enabled: true
356
+
357
+ Rails/RootPublicPath: # new in 2.15
358
+ Enabled: true
359
+
321
360
  Rails/ShortI18n: # new in 2.7
322
361
  Enabled: true
323
362
  EnforcedStyle: aggressive
324
363
 
364
+ Rails/SkipsModelValidations:
365
+ Enabled: false
366
+
325
367
  Rails/SquishedSQLHeredocs: # new in 2.8
326
368
  Enabled: true
327
369
 
328
- Rails/SkipsModelValidations:
329
- Enabled: false
370
+ Rails/StripHeredoc: # new in 2.15
371
+ Enabled: true
330
372
 
331
373
  Rails/TimeZoneAssignment: # new in 2.10
332
374
  Enabled: true
333
375
 
376
+ # prefer to_s(:format)
377
+ Rails/ToFormattedS: # new in 2.15
378
+ Enabled: false
379
+
380
+ # prefer to_s(:format)
381
+ Rails/ToSWithArgument: # new in 2.16
382
+ Enabled: false
383
+
384
+ Rails/TopLevelHashWithIndifferentAccess: # new in 2.16
385
+ Enabled: true
386
+
334
387
  Rails/TransactionExitStatement: # new in 2.14
335
388
  Enabled: true
336
389
 
@@ -343,9 +396,15 @@ Rails/WhereEquals: # new in 2.9
343
396
  Rails/WhereExists: # new in 2.7
344
397
  Enabled: true
345
398
 
399
+ Rails/WhereMissing: # new in 2.16
400
+ Enabled: true
401
+
346
402
  Rails/WhereNot: # new in 2.8
347
403
  Enabled: true
348
404
 
405
+ Rails/WhereNotWithMultipleConditions: # new in 2.17
406
+ Enabled: true
407
+
349
408
  RSpec/BeEq: # new in 2.9.0
350
409
  Enabled: true
351
410
 
@@ -356,6 +415,9 @@ RSpec/BeNil: # new in 2.9.0
356
415
  RSpec/ChangeByZero: # new in 2.11.0
357
416
  Enabled: true
358
417
 
418
+ RSpec/ClassCheck: # new in 2.13
419
+ Enabled: true
420
+
359
421
  RSpec/ContextWording:
360
422
  Prefixes:
361
423
  - as a
@@ -391,15 +453,39 @@ RSpec/LetSetup:
391
453
  RSpec/NestedGroups:
392
454
  Enabled: false
393
455
 
456
+ RSpec/NoExpectationExample: # new in 2.13
457
+ Enabled: true
458
+
394
459
  RSpec/RepeatedExample:
395
460
  Enabled: false
396
461
 
462
+ RSpec/SortMetadata: # new in 2.14
463
+ Enabled: true
464
+
397
465
  RSpec/SubjectDeclaration: # new in 2.5
398
466
  Enabled: true
399
467
 
400
468
  RSpec/VerifiedDoubleReference: # new in 2.10.0
401
469
  Enabled: true
402
470
 
471
+ # prefer to_not over not_to or have_no
472
+ RSpec/Capybara/NegationMatcher: # new in 2.14
473
+ Enabled: false
474
+
475
+ RSpec/Capybara/SpecificActions: # new in 2.14
476
+ Enabled: true
477
+
478
+ # prefer find('#css-id')
479
+ RSpec/Capybara/SpecificFinders: # new in 2.13
480
+ Enabled: false
481
+
482
+ RSpec/Capybara/SpecificMatcher: # new in 2.12
483
+ Enabled: true
484
+
485
+ RSpec/FactoryBot/ConsistentParenthesesStyle: # new in 2.14
486
+ Enabled: true
487
+ EnforcedStyle: omit_parentheses
488
+
403
489
  RSpec/FactoryBot/FactoryClassName:
404
490
  Enabled: false
405
491
 
@@ -409,6 +495,12 @@ RSpec/FactoryBot/SyntaxMethods: # new in 2.7
409
495
  RSpec/Rails/AvoidSetupHook: # new in 2.4
410
496
  Enabled: true
411
497
 
498
+ RSpec/Rails/HaveHttpStatus: # new in 2.12
499
+ Enabled: true
500
+
501
+ RSpec/Rails/InferredSpecType: # new in 2.14
502
+ Enabled: true
503
+
412
504
  Security/CompoundHash: # new in 1.28
413
505
  Enabled: true
414
506
 
@@ -422,6 +514,10 @@ Style/AndOr:
422
514
  Style/ArgumentsForwarding: # new in 1.1
423
515
  Enabled: false
424
516
 
517
+ # Required Ruby version: 3.1
518
+ Style/ArrayIntersect: # new in 1.40
519
+ Enabled: false
520
+
425
521
  Style/AsciiComments:
426
522
  Enabled: false
427
523
 
@@ -453,6 +549,9 @@ Style/DoubleNegation:
453
549
  Style/EachWithObject:
454
550
  Enabled: false
455
551
 
552
+ Style/EmptyHeredoc: # new in 1.32
553
+ Enabled: true
554
+
456
555
  # Required Ruby version: 3.0
457
556
  Style/EndlessMethod: # new in 1.8
458
557
  Enabled: false
@@ -490,6 +589,10 @@ Style/IfWithBooleanLiteralBranches: # new in 1.9
490
589
  Style/InPatternThen: # new in 1.16
491
590
  Enabled: false
492
591
 
592
+ Style/MagicCommentFormat: # new in 1.35
593
+ Enabled: true
594
+ ValueCapitalization: lowercase
595
+
493
596
  Style/MapCompactWithConditionalBlock: # new in 1.30
494
597
  Enabled: true
495
598
 
@@ -533,10 +636,13 @@ Style/NumberedParametersLimit:
533
636
  Enabled: false
534
637
  Max: 0
535
638
 
639
+ Style/ObjectThen: # new in 1.28
640
+ Enabled: true
641
+
536
642
  Style/OpenStructUse: # new in 1.23
537
643
  Enabled: true
538
644
 
539
- Style/ObjectThen: # new in 1.28
645
+ Style/OperatorMethodCall: # new in 1.37
540
646
  Enabled: true
541
647
 
542
648
  Style/OptionHash:
@@ -563,12 +669,21 @@ Style/QuotedSymbols: # new in 1.16
563
669
  Style/RedundantArgument: # new in 1.4
564
670
  Enabled: true
565
671
 
672
+ Style/RedundantConstantBase: # new in 1.40
673
+ Enabled: true
674
+
675
+ Style/RedundantEach: # new in 1.38
676
+ Enabled: true
677
+
566
678
  Style/RedundantInitialize: # new in 1.27
567
679
  Enabled: true
568
680
 
569
681
  Style/RedundantSelfAssignmentBranch: # new in 1.19
570
682
  Enabled: true
571
683
 
684
+ Style/RedundantStringEscape: # new in 1.37
685
+ Enabled: true
686
+
572
687
  Style/RegexpLiteral:
573
688
  EnforcedStyle: mixed
574
689
 
data/.gitlab-ci.yml CHANGED
@@ -8,7 +8,6 @@ before_script:
8
8
  - bundle install --clean --jobs $(nproc) --retry=3
9
9
 
10
10
  ruby 3.1:
11
- allow_failure: true
12
11
  cache:
13
12
  key: "$CI_BUILD_REF_NAME-3.1"
14
13
  paths:
@@ -19,7 +18,6 @@ ruby 3.1:
19
18
  stage: test
20
19
 
21
20
  ruby 3.0:
22
- allow_failure: true
23
21
  cache:
24
22
  key: "$CI_BUILD_REF_NAME-3.0"
25
23
  paths:
@@ -30,7 +28,6 @@ ruby 3.0:
30
28
  stage: test
31
29
 
32
30
  ruby 2.7:
33
- allow_failure: true
34
31
  cache:
35
32
  key: "$CI_BUILD_REF_NAME-2.7"
36
33
  paths:
@@ -45,7 +42,7 @@ ruby 2.6.1:
45
42
  key: "$CI_BUILD_REF_NAME-2.6"
46
43
  paths:
47
44
  - vendor/bundle
48
- image: ruby:2.6.10-alpine
45
+ image: ruby:2.6-alpine
49
46
  script:
50
47
  - bundle exec rake spec rubocop
51
48
  stage: test
data/Gemfile.lock CHANGED
@@ -1,31 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yoshiki (7.0.0.pre.alpha.6)
5
- rubocop (= 1.30.1)
6
- rubocop-rails (= 2.14.2)
4
+ yoshiki (7.0.0.pre.alpha.7)
5
+ rubocop (= 1.40.0)
6
+ rubocop-rails (= 2.17.3)
7
7
  rubocop-rake (= 0.6.0)
8
- rubocop-rspec (= 2.11.1)
8
+ rubocop-rspec (= 2.15.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (6.1.6)
13
+ activesupport (7.0.4)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 1.6, < 2)
16
16
  minitest (>= 5.1)
17
17
  tzinfo (~> 2.0)
18
- zeitwerk (~> 2.3)
19
18
  ast (2.4.2)
20
19
  coderay (1.1.1)
21
20
  concurrent-ruby (1.1.10)
22
21
  diff-lcs (1.3)
23
- i18n (1.10.0)
22
+ i18n (1.12.0)
24
23
  concurrent-ruby (~> 1.0)
24
+ json (2.6.3)
25
25
  method_source (0.8.2)
26
- minitest (5.15.0)
26
+ minitest (5.16.3)
27
27
  parallel (1.22.1)
28
- parser (3.1.2.0)
28
+ parser (3.1.3.0)
29
29
  ast (~> 2.4.1)
30
30
  pry (0.10.4)
31
31
  coderay (~> 1.1.0)
@@ -33,10 +33,10 @@ GEM
33
33
  slop (~> 3.4)
34
34
  psych (4.0.4)
35
35
  stringio
36
- rack (2.2.3.1)
36
+ rack (3.0.2)
37
37
  rainbow (3.1.1)
38
38
  rake (12.2.1)
39
- regexp_parser (2.5.0)
39
+ regexp_parser (2.6.1)
40
40
  rexml (3.2.5)
41
41
  rspec (3.7.0)
42
42
  rspec-core (~> 3.7.0)
@@ -51,32 +51,32 @@ GEM
51
51
  diff-lcs (>= 1.2.0, < 2.0)
52
52
  rspec-support (~> 3.7.0)
53
53
  rspec-support (3.7.0)
54
- rubocop (1.30.1)
54
+ rubocop (1.40.0)
55
+ json (~> 2.3)
55
56
  parallel (~> 1.10)
56
- parser (>= 3.1.0.0)
57
+ parser (>= 3.1.2.1)
57
58
  rainbow (>= 2.2.2, < 4.0)
58
59
  regexp_parser (>= 1.8, < 3.0)
59
60
  rexml (>= 3.2.5, < 4.0)
60
- rubocop-ast (>= 1.18.0, < 2.0)
61
+ rubocop-ast (>= 1.23.0, < 2.0)
61
62
  ruby-progressbar (~> 1.7)
62
63
  unicode-display_width (>= 1.4.0, < 3.0)
63
- rubocop-ast (1.18.0)
64
+ rubocop-ast (1.24.0)
64
65
  parser (>= 3.1.1.0)
65
- rubocop-rails (2.14.2)
66
+ rubocop-rails (2.17.3)
66
67
  activesupport (>= 4.2.0)
67
68
  rack (>= 1.1)
68
- rubocop (>= 1.7.0, < 2.0)
69
+ rubocop (>= 1.33.0, < 2.0)
69
70
  rubocop-rake (0.6.0)
70
71
  rubocop (~> 1.0)
71
- rubocop-rspec (2.11.1)
72
- rubocop (~> 1.19)
72
+ rubocop-rspec (2.15.0)
73
+ rubocop (~> 1.33)
73
74
  ruby-progressbar (1.11.0)
74
75
  slop (3.6.0)
75
76
  stringio (3.0.2)
76
- tzinfo (2.0.4)
77
+ tzinfo (2.0.5)
77
78
  concurrent-ruby (~> 1.0)
78
- unicode-display_width (2.1.0)
79
- zeitwerk (2.5.4)
79
+ unicode-display_width (2.3.0)
80
80
 
81
81
  PLATFORMS
82
82
  ruby
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yoshiki
4
4
 
5
- VERSION = '7.0.0-alpha.6'
5
+ VERSION = '7.0.0-alpha.7'
6
6
 
7
7
  end
data/yoshiki.gemspec CHANGED
@@ -25,10 +25,10 @@ Gem::Specification.new do |spec|
25
25
  # This implies rails 5.2+
26
26
  # See also: https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
27
27
 
28
- spec.add_dependency 'rubocop', '1.30.1'
29
- spec.add_dependency 'rubocop-rails', '2.14.2'
28
+ spec.add_dependency 'rubocop', '1.40.0'
29
+ spec.add_dependency 'rubocop-rails', '2.17.3'
30
30
  spec.add_dependency 'rubocop-rake', '0.6.0'
31
- spec.add_dependency 'rubocop-rspec', '2.11.1'
31
+ spec.add_dependency 'rubocop-rspec', '2.15.0'
32
32
 
33
33
  spec.add_development_dependency 'bundler'
34
34
  spec.add_development_dependency 'pry'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yoshiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0.pre.alpha.6
4
+ version: 7.0.0.pre.alpha.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - BM5k
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.30.1
19
+ version: 1.40.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.30.1
26
+ version: 1.40.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.14.2
33
+ version: 2.17.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.14.2
40
+ version: 2.17.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.11.1
61
+ version: 2.15.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.11.1
68
+ version: 2.15.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement