lib/haml-rails.rb in haml-rails-0.9.0 vs lib/haml-rails.rb in haml-rails-1.0.0
- old
+ new
@@ -40,11 +40,11 @@
end
end
end
end
- # Configure source annoatation on haml files (support for HAML was
+ # Configure source annotation on haml files (support for HAML was
# provided directly by railties 3.2..4.1 but was dropped in 4.2.
if Gem::Requirement.new(">= 4.2").satisfied_by?(Gem::Version.new(::Rails.version))
initializer 'haml_rails.configure_source_annotation' do
SourceAnnotationExtractor::Annotation.register_extensions('haml') do |tag|
/\s*-#\s*(#{tag}):?\s*(.*)/
@@ -52,9 +52,9 @@
end
end
rake_tasks do
load 'tasks/erb2haml.rake'
- end
+ end
end
end
end