lib/deface/applicator.rb in deface-1.5.1 vs lib/deface/applicator.rb in deface-1.5.2

- old
+ new

@@ -46,11 +46,13 @@ override.failure = nil matches.each {|match| override.execute_action match } end end - #prevents any caching by rails in development mode - details[:updated_at] = Time.now + if Rails.gem_version < Gem::Version.new('6.0.0') + #prevents any caching by rails in development mode + details[:updated_at] = Time.now + end source = doc.to_s Deface::Parser.undo_erb_markup!(source) end