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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31ea5619ab875c3d5d752e0e882227969a42b03988b60bf382f490f558dd3f94
4
- data.tar.gz: 33399aff7f221f67d3f73178ccda3a0782838d106b0c2dffe8f933a30bcc1b50
3
+ metadata.gz: a1bfde194bedf0c711709cfba3dbfa7b18a189471ac7c019e761e383ae519a4c
4
+ data.tar.gz: 62054cc64a15d9905b7b1d7e1480c2021d6f6e6b347108a081f184ef9658c4ef
5
5
  SHA512:
6
- metadata.gz: 9c018e40b142f97e2ff0de00224dce1ebb898b36c960f60295cf18d8831ab883debd3e1139380e9b7835a6899f3b51d8c6dec13dc11a35208b66545c85d31997
7
- data.tar.gz: ca0148cb95a536a8831074ffc8c80326e9e860174b8ddf160b6dbe914f3cc8dd69d06c52b489048af454d44a8a2893ae1b7fd0a69089ec2d7639ad6820348f3c
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: false
393
- # EnforcedStyle: require_parentheses
394
- # IgnoreMacros: true
395
- # AllowedMethods:
396
- # - grep
397
- # - grep_v
398
- # - is_a?
399
- # # Enumerable specific
400
- # - map
401
- # - map!
402
- # - flat_map
403
- # - find
404
- # - select
405
- # - select!
406
- # - reduce
407
- # # https://docs.ruby-lang.org/en/master/Kernel.html
408
- # # IO
409
- # - puts
410
- # - putc
411
- # - print
412
- # - printf
413
- # - p
414
- # - pp
415
- # - j
416
- # - jj
417
- # # Exceptions
418
- # - raise
419
- # - fail
420
- # # Querying
421
- # - test
422
- # # Exiting
423
- # - abort
424
- # - exit
425
- # - exit!
426
- # # Subprocesses
427
- # - system
428
- # # Other
429
- # - eval
430
- # - sleep
431
- # - sprintf
432
- # - format
433
- # - trap
434
- # - warn
435
- # AllowedPatterns:
436
- # - ^assert
437
- # - ^expect
438
- # AllowParenthesesInMultilineCall: false
439
- # AllowParenthesesInChaining: true
440
- # AllowParenthesesInCamelCaseMethod: false
441
- # AllowParenthesesInStringInterpolation: false
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: exploded
700
+ EnforcedStyle: compact
617
701
 
618
702
  Style/RandomWithOffset:
619
703
  Enabled: true
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Config
5
5
  module Crystal
6
- VERSION = "0.0.1"
6
+ VERSION = "0.0.3"
7
7
  end
8
8
  end
9
9
  end
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.1
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-10-31 00:00:00.000000000 Z
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.3.5
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