rubocop-config-crystal 0.0.1 → 0.0.2
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 +134 -50
- data/lib/rubocop/config/crystal/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd5b8c73c0292cb38833a97fd81a07c30f2466f13c25811bc4e0a510d45d9c20
|
|
4
|
+
data.tar.gz: 1f0a288fd8b0b3f31b2fb669ee228eaf59d756f7172f34e3f2af314612551e86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f835a11457ea7363f1ab93750c740f41a85a44028edf4174498bb8cfb4b7b2532476465e7c6b9857aeace350340619caa41a18161b7fc2ca37c857a3f57387c1
|
|
7
|
+
data.tar.gz: accb08dd03a700cad7dbe9963180267bce6c3247bed29323ac2e67ae318d2b6a6d3456da7c74d87337e02b2a8af2802e1cab33fbe89a735677a46a0d5df22462
|
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
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- initdc
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
10
|
+
date: 2025-11-07 00:00:00.000000000 Z
|
|
12
11
|
dependencies: []
|
|
13
12
|
description: The rubocop config makes Ruby align to the Crystal style
|
|
14
13
|
email:
|
|
@@ -33,7 +32,6 @@ metadata:
|
|
|
33
32
|
homepage_uri: https://github.com/initdc/rubocop-config-crystal
|
|
34
33
|
source_code_uri: https://github.com/initdc/rubocop-config-crystal.git
|
|
35
34
|
changelog_uri: https://github.com/initdc/rubocop-config-crystal/blob/master/CHANGELOG.md
|
|
36
|
-
post_install_message:
|
|
37
35
|
rdoc_options: []
|
|
38
36
|
require_paths:
|
|
39
37
|
- lib
|
|
@@ -48,8 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
48
46
|
- !ruby/object:Gem::Version
|
|
49
47
|
version: '0'
|
|
50
48
|
requirements: []
|
|
51
|
-
rubygems_version: 3.
|
|
52
|
-
signing_key:
|
|
49
|
+
rubygems_version: 3.6.2
|
|
53
50
|
specification_version: 4
|
|
54
51
|
summary: The rubocop config makes Ruby align to the Crystal style
|
|
55
52
|
test_files: []
|