discover-unused-partials 0.3.1 → 0.3.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
  SHA1:
3
- metadata.gz: db9a42c3f8a476959ed3128b8ef6c4e095831a41
4
- data.tar.gz: b5f16c617aa9d203593ca70ed57ca5030ab1b88a
3
+ metadata.gz: 36d5e00efbadcb010ad5ccebd55707e2eac2fb84
4
+ data.tar.gz: 10776a8ad4264fb38700701509dce7f80b224e46
5
5
  SHA512:
6
- metadata.gz: 07f8dc3c982475d08abe7f90aad999052487158150bdf31f36203a2f502699742bd82040cb2484c902f9149884eaf5137d5fcb1722e90ca3f0b0adb1c6746b6d
7
- data.tar.gz: 0a4a269716b25d2b408f962143ecb341de258ccca689a35077e2e48d1cf836e369ed840717306379d2f04dea8ea89cf97a523ba2011976aba97eb9271d632def
6
+ metadata.gz: 1d8fffc1eed66a870a4731631e133428af74bb29fd630e06f68789b3a286e67b776a71afeb109bca4e91c925a78d3fd39d2d3812fcb0e127354ac7255db9adae
7
+ data.tar.gz: ff15b3f4ba2f1203f7731b7c7e6e92640f475699933edbf84632f03f64d72dfb52e6e1881d93b25f2667ea9c47b6d9e25ef214452d09efc6b1070b6ed34346a8
@@ -34,7 +34,7 @@ module DiscoverUnusedPartials
34
34
  @@extension = /\.\w+/
35
35
  @@partial = /:partial\s*=>\s*|partial:\s*/
36
36
  @@render = /\brender\s*(?:\(\s*)?/
37
-
37
+
38
38
  def initialize options
39
39
  @options = options
40
40
  end
@@ -117,7 +117,7 @@ module DiscoverUnusedPartials
117
117
  [partials, dynamic]
118
118
  end
119
119
 
120
- EXT = %w(.html.erb .text.erb .erb .html.haml .text.haml .haml .rhtml)
120
+ EXT = %w(.html.erb .text.erb .erb .html.haml .text.haml .haml .rhtml .html.slim slim)
121
121
  def check_extension_path(file)
122
122
  "#{file}#{EXT.find{ |e| File.exists? file + e }}"
123
123
  end
@@ -1,3 +1,3 @@
1
1
  module DiscoverUnusedPartials
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discover-unused-partials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willian Molinari (a.k.a PotHix)
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-10 00:00:00.000000000 Z
12
+ date: 2017-04-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A script to help you finding out unused partials. Good for big projects
15
15
  or projects under heavy refactoring
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 2.2.2
56
+ rubygems_version: 2.6.11
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: A script to help you finding out unused partials. Good for big projects or