erb_lint 0.0.14 → 0.0.15

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
  SHA1:
3
- metadata.gz: 185ec9589ef4da649b5f073871c8e1977a2820f6
4
- data.tar.gz: 7588eff7bf3e74f3f887a5e81c6eaa72839c953a
3
+ metadata.gz: c8bb5f9219e2d504a084421d56ba91c306804f49
4
+ data.tar.gz: 2411ccd8f012fedba69d4ff4878308c27d95a2a8
5
5
  SHA512:
6
- metadata.gz: 5e1d78d903307c1433b0c56a9ce63993fbda5802ba671cc4288c96096d18617dbf69c85837026b6222e4c8779c3f44fb65af44cb54d29f6fdfb6664ad2369f26
7
- data.tar.gz: fe70e6836ed54f517b79d73261ac2c7101bfa29b335a4e09cfce39177d7b2f9d63c497e30016099793dd236266fd4e58b12a5c09a3475e555cb15f00a7dbd7b4
6
+ metadata.gz: 72f415558746d79920bc60abf8cf294a3e6d05bd562143ecef97a1b9f096ebbcb5d0797a1cd601fee72c20508711ae41d55eca91b1dd717d2faeb023cb4df04e
7
+ data.tar.gz: 1e03d1221dcfa1c04379427f7fdccc7b9ac29c7b192ff7089a2fb3c3b437179fc6da214931665e43cf99fd0b8c5020257332be63d7a445a78587141ef9ae173e
@@ -77,7 +77,7 @@ module ERBLint
77
77
  team = build_team
78
78
  team.inspect_file(source)
79
79
  team.cops.each do |cop|
80
- cop.offenses.reject(&:disabled?).each_with_index do |rubocop_offense, index|
80
+ cop.offenses.select(&:corrected?).each_with_index do |rubocop_offense, index|
81
81
  correction = cop.corrections[index] if rubocop_offense.corrected?
82
82
 
83
83
  offset = code_node.loc.start - alignment_column
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ERBLint
4
- VERSION = '0.0.14'
4
+ VERSION = '0.0.15'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Chan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-15 00:00:00.000000000 Z
11
+ date: 2018-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_html