slim_lint 0.19.0 → 0.20.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/config/default.yml +1 -1
- data/lib/slim_lint/version.rb +1 -1
- data/lib/slim_lint.rb +4 -4
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22a34b422d5fd0b1567823d4edf8b32c90bf533cf1ee5929c259d433bf69d77a
|
|
4
|
+
data.tar.gz: 85c46564bc39a89025b95720eff4c1060a931f6a76ee389b1880d7769c4018b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 287d7b0179dd9874a180e8f371d01160d2df39a85f82b671a9cd58d16999cb20c14b83af7c0491d3c22c7c4055155b262e5864d3d5749f4398b13f31fbe2e9d9
|
|
7
|
+
data.tar.gz: e3d47e7a14161f975aff2952578bf89b8903fa5e71099d7409834525d134f925efab687e6181b5369da533c52ca9f69155b7e5140c34bcf44208c88e33e8ebfc
|
data/config/default.yml
CHANGED
|
@@ -53,6 +53,7 @@ linters:
|
|
|
53
53
|
- Layout/IndentationConsistency
|
|
54
54
|
- Layout/IndentationWidth
|
|
55
55
|
- Layout/InitialIndentation
|
|
56
|
+
- Layout/LineLength
|
|
56
57
|
- Layout/MultilineArrayBraceLayout
|
|
57
58
|
- Layout/MultilineAssignmentLayout
|
|
58
59
|
- Layout/MultilineHashBraceLayout
|
|
@@ -66,7 +67,6 @@ linters:
|
|
|
66
67
|
- Lint/Void
|
|
67
68
|
- Metrics/BlockLength
|
|
68
69
|
- Metrics/BlockNesting
|
|
69
|
-
- Metrics/LineLength
|
|
70
70
|
- Naming/FileName
|
|
71
71
|
- Style/FrozenStringLiteralComment
|
|
72
72
|
- Style/IfUnlessModifier
|
data/lib/slim_lint/version.rb
CHANGED
data/lib/slim_lint.rb
CHANGED
|
@@ -19,7 +19,7 @@ require 'slim_lint/logger'
|
|
|
19
19
|
require 'slim_lint/version'
|
|
20
20
|
|
|
21
21
|
# Load all filters (required by SlimLint::Engine)
|
|
22
|
-
Dir[File.expand_path('slim_lint/filters/*.rb', File.dirname(__FILE__))].each do |file|
|
|
22
|
+
Dir[File.expand_path('slim_lint/filters/*.rb', File.dirname(__FILE__))].sort.each do |file|
|
|
23
23
|
require file
|
|
24
24
|
end
|
|
25
25
|
|
|
@@ -37,16 +37,16 @@ require 'slim_lint/runner'
|
|
|
37
37
|
|
|
38
38
|
# Load all matchers
|
|
39
39
|
require 'slim_lint/matcher/base'
|
|
40
|
-
Dir[File.expand_path('slim_lint/matcher/*.rb', File.dirname(__FILE__))].each do |file|
|
|
40
|
+
Dir[File.expand_path('slim_lint/matcher/*.rb', File.dirname(__FILE__))].sort.each do |file|
|
|
41
41
|
require file
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# Load all linters
|
|
45
|
-
Dir[File.expand_path('slim_lint/linter/*.rb', File.dirname(__FILE__))].each do |file|
|
|
45
|
+
Dir[File.expand_path('slim_lint/linter/*.rb', File.dirname(__FILE__))].sort.each do |file|
|
|
46
46
|
require file
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# Load all reporters
|
|
50
|
-
Dir[File.expand_path('slim_lint/reporter/*.rb', File.dirname(__FILE__))].each do |file|
|
|
50
|
+
Dir[File.expand_path('slim_lint/reporter/*.rb', File.dirname(__FILE__))].sort.each do |file|
|
|
51
51
|
require file
|
|
52
52
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slim_lint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shane da Silva
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.78.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.
|
|
26
|
+
version: 0.78.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: slim
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
155
|
- !ruby/object:Gem::Version
|
|
156
156
|
version: '0'
|
|
157
157
|
requirements: []
|
|
158
|
-
rubygems_version: 3.
|
|
158
|
+
rubygems_version: 3.1.1
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 4
|
|
161
161
|
summary: Slim template linting tool
|