slim_lint 0.8.2 → 0.8.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 +4 -4
- data/config/default.yml +8 -0
- data/lib/slim_lint/atom.rb +6 -0
- data/lib/slim_lint/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03b2bbb8064bb228a17a89e11171205bf0ffb8d2
|
|
4
|
+
data.tar.gz: 4207e3aee6958ba4e3b9adc659d48bb08bc8fb04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5d772315b34a3b6f4156846ff0dd15dc54558e240865a60542370cfb8b5abe3123bb5484ac280340c768e1f48cecbe9946726a43135c2b58fe431fed3acbce8
|
|
7
|
+
data.tar.gz: e80376d3c7922fcc494626aefaa6fd574d82bacf340e71443092d629c7eb978998e4b688306c2887b553f5c469d01cfcdb0069045891434858895051d8919d85
|
data/config/default.yml
CHANGED
|
@@ -35,6 +35,7 @@ linters:
|
|
|
35
35
|
- Lint/BlockAlignment
|
|
36
36
|
- Lint/EndAlignment
|
|
37
37
|
- Lint/Void
|
|
38
|
+
- Metrics/BlockLength
|
|
38
39
|
- Metrics/LineLength
|
|
39
40
|
- Style/AlignHash
|
|
40
41
|
- Style/AlignParameters
|
|
@@ -45,6 +46,13 @@ linters:
|
|
|
45
46
|
- Style/IfUnlessModifier
|
|
46
47
|
- Style/IndentationConsistency
|
|
47
48
|
- Style/IndentationWidth
|
|
49
|
+
- Style/MultilineArrayBraceLayout
|
|
50
|
+
- Style/MultilineAssignmentLayout
|
|
51
|
+
- Style/MultilineHashBraceLayout
|
|
52
|
+
- Style/MultilineMethodCallBraceLayout
|
|
53
|
+
- Style/MultilineMethodDefinitionBraceLayout
|
|
54
|
+
- Style/MultilineMethodCallIndentation
|
|
55
|
+
- Style/MultilineOperationIndentation
|
|
48
56
|
- Style/Next
|
|
49
57
|
- Style/TrailingBlankLines
|
|
50
58
|
- Style/TrailingWhitespace
|
data/lib/slim_lint/atom.rb
CHANGED
|
@@ -73,6 +73,12 @@ module SlimLint
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
# @param method_name [String,Symbol] method name
|
|
77
|
+
# @param args [Array]
|
|
78
|
+
def respond_to_missing?(method_name, *args)
|
|
79
|
+
@value.__send__(:respond_to_missing?, method_name, *args) || super
|
|
80
|
+
end
|
|
81
|
+
|
|
76
82
|
# Return whether this {Atom} or the value it wraps responds to the given
|
|
77
83
|
# message.
|
|
78
84
|
#
|
data/lib/slim_lint/version.rb
CHANGED
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.8.
|
|
4
|
+
version: 0.8.3
|
|
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: 2016-07
|
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: slim
|
|
@@ -184,4 +184,3 @@ signing_key:
|
|
|
184
184
|
specification_version: 4
|
|
185
185
|
summary: Slim template linting tool
|
|
186
186
|
test_files: []
|
|
187
|
-
has_rdoc:
|