yalphabetize 0.12.1 → 0.13.0
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/lib/yalphabetize/file_yalphabetizer.rb +2 -2
- data/lib/yalphabetize/version.rb +1 -1
- data/lib/yalphabetize/yalphabetizer.rb +6 -6
- metadata +5 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9f3802d121969eca11afcac196592b8af1b273c6ad809e1fa5d78d7b4b1f1f9
|
|
4
|
+
data.tar.gz: a1d73d1e90d32a76f6a5403970b5a491200842e4ecfd78bac08383cb7b95d04b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08bc046c0e9cc1054c73db917de8e0d7fe57fc61337929fdd4ff36b210ac24df13f9e72cd91dd7cbe8813eecab4df75adad74709e9a9b3503e1bf86ecbd24faf'
|
|
7
|
+
data.tar.gz: b85dba3ba1de4c03ad5d70f94902ac6d983feac810d1961927a9e44b7dfee82416925e78294f305a681ed21c0838027c91b3e9b42ab8ab748c80cebc344be985
|
|
@@ -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:).offences?
|
|
36
|
+
offence_detector_class.new(stream_node, order_checker_class: order_checker_class).offences?
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def alphabetize
|
|
40
|
-
alphabetizer_class.new(stream_node, order_checker_class:).call
|
|
40
|
+
alphabetizer_class.new(stream_node, order_checker_class: order_checker_class).call
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def handle_aliases
|
data/lib/yalphabetize/version.rb
CHANGED
|
@@ -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
|
|
36
|
-
offence_detector_class
|
|
37
|
-
logger
|
|
35
|
+
reader_class: reader_class,
|
|
36
|
+
offence_detector_class: offence_detector_class,
|
|
37
|
+
logger: logger,
|
|
38
38
|
autocorrect: options[:autocorrect],
|
|
39
|
-
alphabetizer_class
|
|
40
|
-
writer_class
|
|
41
|
-
order_checker_class:
|
|
39
|
+
alphabetizer_class: alphabetizer_class,
|
|
40
|
+
writer_class: writer_class,
|
|
41
|
+
order_checker_class: order_checker_class
|
|
42
42
|
).call
|
|
43
43
|
end
|
|
44
44
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yalphabetize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Jenkins
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: psych-comments
|
|
@@ -24,8 +23,6 @@ dependencies:
|
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '0'
|
|
27
|
-
description:
|
|
28
|
-
email:
|
|
29
26
|
executables:
|
|
30
27
|
- yalphabetize
|
|
31
28
|
extensions: []
|
|
@@ -60,10 +57,9 @@ homepage: https://github.com/samrjenkins/yalphabetize
|
|
|
60
57
|
licenses: []
|
|
61
58
|
metadata:
|
|
62
59
|
bug_tracker_uri: https://github.com/samrjenkins/yalphabetize/issues
|
|
63
|
-
changelog_uri: https://github.com/samrjenkins/yalphabetize/releases/tag/v0.
|
|
64
|
-
source_code_uri: https://github.com/samrjenkins/yalphabetize/tree/v0.
|
|
60
|
+
changelog_uri: https://github.com/samrjenkins/yalphabetize/releases/tag/v0.13.0
|
|
61
|
+
source_code_uri: https://github.com/samrjenkins/yalphabetize/tree/v0.13.0
|
|
65
62
|
rubygems_mfa_required: 'true'
|
|
66
|
-
post_install_message:
|
|
67
63
|
rdoc_options: []
|
|
68
64
|
require_paths:
|
|
69
65
|
- lib
|
|
@@ -78,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
74
|
- !ruby/object:Gem::Version
|
|
79
75
|
version: '0'
|
|
80
76
|
requirements: []
|
|
81
|
-
rubygems_version:
|
|
82
|
-
signing_key:
|
|
77
|
+
rubygems_version: 4.0.10
|
|
83
78
|
specification_version: 4
|
|
84
79
|
summary: Alphabetize your YAML files
|
|
85
80
|
test_files: []
|