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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44674209663a884ffa87821eea1396fdcfa779c67b7c1480c625b04111ffc645
4
- data.tar.gz: f450b5dd3c9321c7f8854dcf68bb6dc38cf348b1cfab3c62b91fb73a6ebf5608
3
+ metadata.gz: e75a0f9a4eb1c0e61e37dde1082f027e0cea5b00315f01f35226e493219bb00c
4
+ data.tar.gz: 82a1589ba4f65709c898ed960d348b8b54d377dde4562556147c0177aba99cb1
5
5
  SHA512:
6
- metadata.gz: 8a37692b76c98aa006fab462b58936a6b00cf4902a3badaf328406622267414abdd32a88c871bf742f10ce6a93793cf39b2239a9bfb55745a2c11a06edbcfc36
7
- data.tar.gz: e14e4343a76cf0964e95ad73406a4e271be504ff1319096445778de58ddc2fa777e3638856650135ec6332f5b022d25382621f01d091009b6f7279fe4b0c0c4a
6
+ metadata.gz: dd905ec42e9bd49fb5d13c0a99f8fea5a45c852abf1cace9bda8ed5a3108bc35d9626d76224ebb2816b4edebecafc10efef2a01de1c6aa5fdca594f7cacdec73
7
+ data.tar.gz: 60756e8b5e13869516a0eccb43df561260fef562bde4c818030e790c9bbe1fa859a79593217b358281f15d9c0b3baab0783a8486f9ce89125733a2b4f9e0a654
@@ -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
@@ -3,7 +3,7 @@
3
3
  require "erb"
4
4
 
5
5
  module ERB::Linter
6
- VERSION = "0.2.0"
6
+ VERSION = "0.2.1"
7
7
 
8
8
  class Error < StandardError; end
9
9
 
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.0
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-04-09 00:00:00.000000000 Z
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.2.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: []