rubocop-config-crystal 0.0.1 → 0.0.3
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 +135 -51
- data/lib/rubocop/config/crystal/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1bfde194bedf0c711709cfba3dbfa7b18a189471ac7c019e761e383ae519a4c
|
|
4
|
+
data.tar.gz: 62054cc64a15d9905b7b1d7e1480c2021d6f6e6b347108a081f184ef9658c4ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70199b1056e15a7321e2d912b9ea9e8467fe79fa551d142f28dd9e5a716e671b39fc8a4654ace5d1e92bbd4f6a411e1ea6d2349c7332cfd32e2f05598063d5d5
|
|
7
|
+
data.tar.gz: ffbe97ece28cf20166c63deb35f4ed3a7939d066ef6f4bbc93c7471aa9c5fc37f5f80a1e52b0e0ae837ccaba292640970c4d16c1e85410dcf33681a4d270436a
|
data/.rubocop.yml
CHANGED
|
@@ -389,56 +389,140 @@ Style/MapToSet:
|
|
|
389
389
|
Enabled: true
|
|
390
390
|
|
|
391
391
|
Style/MethodCallWithArgsParentheses:
|
|
392
|
-
Enabled:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
392
|
+
Enabled: true
|
|
393
|
+
EnforcedStyle: require_parentheses
|
|
394
|
+
IgnoreMacros: true
|
|
395
|
+
AllowedMethods:
|
|
396
|
+
# Keyword
|
|
397
|
+
- yield
|
|
398
|
+
|
|
399
|
+
# Class
|
|
400
|
+
- extend
|
|
401
|
+
- include
|
|
402
|
+
- alias_method
|
|
403
|
+
- define_method
|
|
404
|
+
|
|
405
|
+
# Regexp
|
|
406
|
+
- grep
|
|
407
|
+
- grep_v
|
|
408
|
+
- match
|
|
409
|
+
- match?
|
|
410
|
+
- sub
|
|
411
|
+
- sub!
|
|
412
|
+
- gusb
|
|
413
|
+
- gsub!
|
|
414
|
+
|
|
415
|
+
# Object
|
|
416
|
+
- is_a?
|
|
417
|
+
- instance_of?
|
|
418
|
+
|
|
419
|
+
# Enumerable specific
|
|
420
|
+
- map
|
|
421
|
+
- map!
|
|
422
|
+
- flat_map
|
|
423
|
+
- find
|
|
424
|
+
- select
|
|
425
|
+
- select!
|
|
426
|
+
- reduce
|
|
427
|
+
|
|
428
|
+
# https://docs.ruby-lang.org/en/master/Kernel.html
|
|
429
|
+
# IO
|
|
430
|
+
- puts
|
|
431
|
+
- putc
|
|
432
|
+
- print
|
|
433
|
+
# - printf
|
|
434
|
+
# - write
|
|
435
|
+
# - syswrite
|
|
436
|
+
- p
|
|
437
|
+
- pp
|
|
438
|
+
- j
|
|
439
|
+
- jj
|
|
440
|
+
- y
|
|
441
|
+
- warn
|
|
442
|
+
|
|
443
|
+
# String
|
|
444
|
+
# - sprintf
|
|
445
|
+
# - format
|
|
446
|
+
|
|
447
|
+
# Exceptions
|
|
448
|
+
- raise
|
|
449
|
+
- fail
|
|
450
|
+
- throw
|
|
451
|
+
- catch
|
|
452
|
+
|
|
453
|
+
# Querying
|
|
454
|
+
- test
|
|
455
|
+
|
|
456
|
+
# Loading
|
|
457
|
+
- autoload
|
|
458
|
+
- autoload?
|
|
459
|
+
- load
|
|
460
|
+
- eval
|
|
461
|
+
|
|
462
|
+
# Exiting
|
|
463
|
+
- abort
|
|
464
|
+
- exit
|
|
465
|
+
- exit!
|
|
466
|
+
- trap
|
|
467
|
+
|
|
468
|
+
# Subprocesses
|
|
469
|
+
- exec
|
|
470
|
+
- spawn
|
|
471
|
+
- wait
|
|
472
|
+
- wait2
|
|
473
|
+
- system
|
|
474
|
+
- syscall
|
|
475
|
+
|
|
476
|
+
# Other
|
|
477
|
+
- sleep
|
|
478
|
+
- flunk
|
|
479
|
+
|
|
480
|
+
# Traceing
|
|
481
|
+
- caller
|
|
482
|
+
- caller_locations
|
|
483
|
+
- set_trace_func
|
|
484
|
+
- trace_var
|
|
485
|
+
- untrace_var
|
|
486
|
+
|
|
487
|
+
# https://rspec.rubystyle.guide/
|
|
488
|
+
# Spec
|
|
489
|
+
- describe
|
|
490
|
+
- subject
|
|
491
|
+
- context
|
|
492
|
+
- it
|
|
493
|
+
- to
|
|
494
|
+
- not_to
|
|
495
|
+
- should
|
|
496
|
+
- eq
|
|
497
|
+
- by
|
|
498
|
+
- raise_error
|
|
499
|
+
- shared_examples
|
|
500
|
+
- it_behaves_like
|
|
501
|
+
- specify
|
|
502
|
+
- include_json
|
|
503
|
+
|
|
504
|
+
# Test
|
|
505
|
+
- omit
|
|
506
|
+
- refute
|
|
507
|
+
AllowedPatterns:
|
|
508
|
+
- ^be
|
|
509
|
+
- ^\w+\?$
|
|
510
|
+
- ^assert
|
|
511
|
+
- ^expect
|
|
512
|
+
- ^require
|
|
513
|
+
- ^attr
|
|
514
|
+
- ^class
|
|
515
|
+
- ^const
|
|
516
|
+
- ^method
|
|
517
|
+
- ^private
|
|
518
|
+
- ^public
|
|
519
|
+
- ^protected
|
|
520
|
+
- ^singleton
|
|
521
|
+
- ^instance
|
|
522
|
+
AllowParenthesesInMultilineCall: true
|
|
523
|
+
AllowParenthesesInChaining: true
|
|
524
|
+
AllowParenthesesInCamelCaseMethod: true
|
|
525
|
+
AllowParenthesesInStringInterpolation: true
|
|
442
526
|
|
|
443
527
|
Style/MethodCallWithoutArgsParentheses:
|
|
444
528
|
Enabled: true
|
|
@@ -613,7 +697,7 @@ Style/QuotedSymbols:
|
|
|
613
697
|
|
|
614
698
|
Style/RaiseArgs:
|
|
615
699
|
Enabled: true
|
|
616
|
-
EnforcedStyle:
|
|
700
|
+
EnforcedStyle: compact
|
|
617
701
|
|
|
618
702
|
Style/RandomWithOffset:
|
|
619
703
|
Enabled: true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-config-crystal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- initdc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The rubocop config makes Ruby align to the Crystal style
|
|
14
14
|
email:
|
|
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
49
|
version: '0'
|
|
50
50
|
requirements: []
|
|
51
|
-
rubygems_version: 3.
|
|
51
|
+
rubygems_version: 3.5.22
|
|
52
52
|
signing_key:
|
|
53
53
|
specification_version: 4
|
|
54
54
|
summary: The rubocop config makes Ruby align to the Crystal style
|