yalphabetize 0.8.0 → 0.9.0

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: a68ee1b7cf8a1023f292bcc19606f1f1289bc582137c15e43cb3ad56174f96f1
4
- data.tar.gz: 1246d3f96f00238273ef6251ccf9bbeda7316a861ff711f3be476fc94478e449
3
+ metadata.gz: db5c206b439820c318f76ccbe2d619b5447cc845da80d3dfa19b35fb9a056591
4
+ data.tar.gz: 7071afd335644554083b00b0bc5e76391e015642fb8b2070496a0bc8a05d4b60
5
5
  SHA512:
6
- metadata.gz: '096bd5b4e436edccbf2fa86c48e1bc1551d0b516ca9fadda7ea8df14ac8db167b985762052701d3a12bcc03c72eb92badd1a6ed3c0d1b4baf5a3c3d0accdcf13'
7
- data.tar.gz: 72b0be00b049d29fb7c322c421ed96f804f7db4f69090711d2fee32af5c0ca32ffeb8173ced531a6e9bcdd0a6b8409f9a0e47c15d15bcdf5ce04bfb1a4effbbd
6
+ metadata.gz: 2bc9f38dde46a29af96fd2fe8e1c1411ced5eb56eec823456ab408f3d4e972354606e1493b23d99154a4931a302619d2f7c03c8b3eea2eae9f2aa9ce174c017d
7
+ data.tar.gz: 7d3126ce78da54e013f77710f2f0613f13848eb52914ca1b75b02c21665b696c0f615328657a3da85220167fb5b8a2f1e899b4071f964cc5255218780ed03f91
@@ -33,11 +33,11 @@ module Yalphabetize
33
33
  end
34
34
 
35
35
  def offences?
36
- offence_detector_class.new(stream_node, order_checker_class: order_checker_class).offences?
36
+ offence_detector_class.new(stream_node, order_checker_class:).offences?
37
37
  end
38
38
 
39
39
  def alphabetize
40
- alphabetizer_class.new(stream_node, order_checker_class: order_checker_class).call
40
+ alphabetizer_class.new(stream_node, order_checker_class:).call
41
41
  end
42
42
 
43
43
  def handle_aliases
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yalphabetize
4
4
  class Version
5
- STRING = '0.8.0'
5
+ STRING = '0.9.0'
6
6
  end
7
7
  end
@@ -32,13 +32,13 @@ module Yalphabetize
32
32
  def process_file(file_path)
33
33
  file_yalphabetizer_class.new(
34
34
  file_path,
35
- reader_class: reader_class,
36
- offence_detector_class: offence_detector_class,
37
- logger: logger,
35
+ reader_class:,
36
+ offence_detector_class:,
37
+ logger:,
38
38
  autocorrect: options[:autocorrect],
39
- alphabetizer_class: alphabetizer_class,
40
- writer_class: writer_class,
41
- order_checker_class: order_checker_class
39
+ alphabetizer_class:,
40
+ writer_class:,
41
+ order_checker_class:
42
42
  ).call
43
43
  end
44
44
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yalphabetize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Jenkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-29 00:00:00.000000000 Z
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubygems_version: 3.5.3
62
+ rubygems_version: 3.3.26
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Alphabetize your YAML files