rails_best_practices 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -27,10 +27,10 @@ module RailsBestPractices
27
27
  end
28
28
 
29
29
  def check(filename, content)
30
- if filename =~ /.*erb/
30
+ if filename =~ /.*erb$/
31
31
  content = ERB.new(content).src
32
32
  end
33
- if filename =~ /.*haml/
33
+ if filename =~ /.*haml$/
34
34
  content = Haml::Engine.new(content).precompiled
35
35
  end
36
36
  node = parse(filename, content)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails_best_practices}
8
- s.version = "0.3.4"
8
+ s.version = "0.3.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Richard Huang"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_best_practices
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang