yalphabetize 0.7.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: 8adda25f8bd79c06f784d72b46e8391e236f858133a3251369203aef16a661b2
4
- data.tar.gz: a25104aa54b0d51451c1964b6cccb9600d5619514830dd19c49a48a18d4fee38
3
+ metadata.gz: db5c206b439820c318f76ccbe2d619b5447cc845da80d3dfa19b35fb9a056591
4
+ data.tar.gz: 7071afd335644554083b00b0bc5e76391e015642fb8b2070496a0bc8a05d4b60
5
5
  SHA512:
6
- metadata.gz: 02a9cba0a46e97afbf79b5e6b8f9876c9380c526466d39b55d0032d239ec4214c08580df492cf076e7f8a72c23bf358571877328014befd6ffb13bad14ae14eb
7
- data.tar.gz: d7e4741b3edd5934352750560041f9c03ea3ecc4b7ff8e4867474dc7e66539c51533f8d2efd295e64eea27467e233b2ab7f507a0dd212c52db55f1a2a385d505
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.7.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,113 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yalphabetize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.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: 2022-10-29 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: factory_bot
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: pry
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rubocop
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop-performance
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop-rspec
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: simplecov
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
+ dependencies: []
111
13
  description:
112
14
  email:
113
15
  executables:
@@ -157,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
59
  - !ruby/object:Gem::Version
158
60
  version: '0'
159
61
  requirements: []
160
- rubygems_version: 3.1.6
62
+ rubygems_version: 3.3.26
161
63
  signing_key:
162
64
  specification_version: 4
163
65
  summary: Alphabetize your YAML files