app/models/import.rb in reso-0.1.4.5 vs app/models/import.rb in reso-0.1.4.6

- old
+ new

@@ -30,11 +30,16 @@ allow_redirections: :all ){|f| return f.last_modified } end def new_source_data_exists? + result = true if (source_url_last_modified = self.source_url_last_modified) - (self.source_url_last_modified.eql? self.source_data_modified) ? result = true : result = false + if source_url_last_modified.eql? self.source_data_modified) + result = true + else + result = false + end else result = true end result end