pronto-slim 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: daefe92d2824bf3c66381460413054e21649efc8
4
- data.tar.gz: 8830fe8e38575fb55906d051006057aee8e7cf99
3
+ metadata.gz: c463af721b759d260be4e180d19f91bb65615c70
4
+ data.tar.gz: 21e6483ce321194023ad1f3f8af311b8ba78b6d6
5
5
  SHA512:
6
- metadata.gz: 800e5c34634fc03c388f8366e6df4d8d5c1fee9db8a6b93e9ccb9d72747a4d767662e0239e18d08ce45f53a36ccdb5fb402aa7f8eb0cab6b6028ae913a56c5ab
7
- data.tar.gz: bf8ed5196fd24c9529103442aecd04133585b5d9fe4e826e0458d3ca3de9612ee26a6495d13d881aeece48d152c8b6aad993fe10aae300b36a361e12dbe2045e
6
+ metadata.gz: a958f21a869048e6426461118112d8fb62f8dc421cd4bcbe2890b395ac79f6f4952cf53335e5275a8f3c2c926add0b625ad2215408c593ed56edd3a73c1b7326
7
+ data.tar.gz: 87d23b87d0b80e5cfa9a00813f9a7a8a576713b85cc4fd1831bd75fcac87d599ae1ed51463eec5b0794ef7eca187df6129a06882d35d11782a3623829a2331cc
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module SlimLintVersion
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
data/lib/pronto/slim.rb CHANGED
@@ -13,7 +13,7 @@ module Pronto
13
13
  return [] unless @patches
14
14
 
15
15
  @patches.select { |patch| patch.additions > 0 }
16
- .select { |patch| haml_file?(patch.new_file_full_path) }
16
+ .select { |patch| slim_file?(patch.new_file_full_path) }
17
17
  .map { |patch| inspect(patch) }
18
18
  .flatten.compact
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-slim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Nys
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.5.1
119
+ rubygems_version: 2.6.6
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Pronto runner for SLIM-Lint, tool for writing clean and consistent SLIM