slim_lint_standard 0.0.2.1 → 0.0.2.2

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: 4947750dc5b81a693f803a3b34088318bcbcc75693fca82ad33b5ee28f242c9e
4
- data.tar.gz: ba4bcc06286c6ffff6f3a5b165866bd767c965bf6adf8def6b0b7dda1e5bead0
3
+ metadata.gz: 8bcf96740ce5b898d9d5f4c01c0a21469d54a1c2cbc58441bd00f3c1e4c22319
4
+ data.tar.gz: 5ad3ce31d57f590490f2fd95cbbf75abb77f068caa49f460bdbff232f4b0092f
5
5
  SHA512:
6
- metadata.gz: 4972ca564b1bebc424bbc0e016dcf924d0e0a63a12673beb9d8130bb3c8b68cc3c99c3d18d30d06be4bbd4be495b9753649eb1e0bf18b23c6bd54b4a28d9e3aa
7
- data.tar.gz: bd2b45d764b6283c4536828e6c9cde0bc30a1d9991c91f84be59b32b78fb4d91a4fdf38f9c09bf259edd9a2686faa76989937e85b9ca2601fc44d226d9af5477
6
+ metadata.gz: c3519f1f044f91acee62caa1eb0d78fe20ec825c41aba762b2b49624664d94e4d7e959017dfbf91b5b2bc43e960ae887424ceffa8c939e12983062ae38b56793
7
+ data.tar.gz: 0d5d5e159400dcb46e6238a9723d2d05c9cd1694c78f51e10b2d7d70a1d66ed3d027d421d7c558fee0470595521e9938ca0f4b9d22e6f1da0352c698dd4d7071
@@ -17,9 +17,9 @@ module SlimLint
17
17
 
18
18
  case config["style"]
19
19
  when "implicit", "never", false, nil
20
- report_lint(sexp[2], IMPLICIT_MESSAGE % name) if sexp[2] == "div"
20
+ report_lint(sexp[2], IMPLICIT_MESSAGE % name) if sexp[2].value == "div"
21
21
  when "explicit", "always", true
22
- report_lint(sexp[2], EXPLICIT_MESSAGE % name) if sexp[2] =~ /[#.]/
22
+ report_lint(sexp[2], EXPLICIT_MESSAGE % name) if sexp[2].value =~ /[#.]/
23
23
  else
24
24
  raise ArgumentError, "Unknown value for `style`; please use 'implicit' or 'explicit'"
25
25
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module SlimLint
5
- VERSION = "0.0.2.1"
5
+ VERSION = "0.0.2.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim_lint_standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pieter van de Bruggen