erb_lint 0.0.11 → 0.0.12

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: eb68fe352cf7b67dba7ec568ad6d40bc87e740f5
4
- data.tar.gz: 6cafdb08d656bcfe14666a7e00b9f144e741b62a
3
+ metadata.gz: e90eb5bc60ea0fb154c329ea823b47cdc6668fd2
4
+ data.tar.gz: c3dd8088e111dba073a39680862892455f083d55
5
5
  SHA512:
6
- metadata.gz: 1fb5769c9cd386762eae39367c60ce941719017bf20eb911d478ca17e5d8dd5f923226408369a6b870707ee15eb5f3f5c8bc5b0133535346501190e998ca75da
7
- data.tar.gz: fcd8c9009447122ded1b08a0855bd5a60a755a71fc341a03b84995d7cb7945c1a28338e5bb64f5368d021c2ee055ded8e2a1b906dd974ec11d6cc1f159f352ca
6
+ metadata.gz: f529f21d18aaa426d922c935f788baca62229af323991f8e2fce8ca58264e220500bb90c2ada9bb453669f1b6eb2fcfa8b6c90cd167c79aa8418e265eb5c0e20
7
+ data.tar.gz: 535e6ff06f827dc2724bfddcdaa31efcd2485c882d5815021ad1b7430b40761410ac83aa196f53041904bf6beb911464dac9a4ea495f60e2aeda7a9a3b048e56
data/lib/erb_lint/cli.rb CHANGED
@@ -129,7 +129,7 @@ module ERBLint
129
129
  def enabled_linter_names
130
130
  @enabled_linter_names ||=
131
131
  @options[:enabled_linters] ||
132
- known_linter_names.select { |klass| @config.for_linter(klass).enabled? }
132
+ known_linter_names.select { |name| @config.for_linter(name.camelize).enabled? }
133
133
  end
134
134
 
135
135
  def enabled_linter_classes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ERBLint
4
- VERSION = '0.0.11'
4
+ VERSION = '0.0.12'
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.11
4
+ version: 0.0.12
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-03 00:00:00.000000000 Z
11
+ date: 2018-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_html
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.5.2.1
167
+ rubygems_version: 2.6.14
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: ERB lint tool