erb-linter 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/erb/linter/task.rb +2 -0
- data/lib/erb/linter.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e75a0f9a4eb1c0e61e37dde1082f027e0cea5b00315f01f35226e493219bb00c
|
4
|
+
data.tar.gz: 82a1589ba4f65709c898ed960d348b8b54d377dde4562556147c0177aba99cb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd905ec42e9bd49fb5d13c0a99f8fea5a45c852abf1cace9bda8ed5a3108bc35d9626d76224ebb2816b4edebecafc10efef2a01de1c6aa5fdca594f7cacdec73
|
7
|
+
data.tar.gz: 60756e8b5e13869516a0eccb43df561260fef562bde4c818030e790c9bbe1fa859a79593217b358281f15d9c0b3baab0783a8486f9ce89125733a2b4f9e0a654
|
data/lib/erb/linter/task.rb
CHANGED
@@ -23,6 +23,8 @@ class ERB::Linter::Task < Rake::TaskLib
|
|
23
23
|
|
24
24
|
def run
|
25
25
|
success = ERB::Linter::Checker.check_files(glob, root: root, tmpdir: tmpdir)
|
26
|
+
puts 'Hint: Line numbers reflect compiled temp files, not necessarily the original line numbers.'
|
27
|
+
puts " The compiled files are stored in this directory: #{tmpdir}"
|
26
28
|
|
27
29
|
exit(success)
|
28
30
|
rescue ERB::Linter::Error => error
|
data/lib/erb/linter.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erb-linter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- elia@schito.me
|
30
30
|
executables: []
|
@@ -53,7 +53,7 @@ metadata:
|
|
53
53
|
homepage_uri: https://github.com/nebulab/erb-linter#readme
|
54
54
|
source_code_uri: https://github.com/nebulab/erb-linter
|
55
55
|
changelog_uri: https://github.com/nebulab/erb-linter/releases
|
56
|
-
post_install_message:
|
56
|
+
post_install_message:
|
57
57
|
rdoc_options: []
|
58
58
|
require_paths:
|
59
59
|
- lib
|
@@ -68,8 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
72
|
-
signing_key:
|
71
|
+
rubygems_version: 3.1.6
|
72
|
+
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: Check your ERB files for closing tags, indentation, bad attributes etc.
|
75
75
|
test_files: []
|