lib/docman/info.rb in docman-0.0.17 vs lib/docman/info.rb in docman-0.0.18
- old
+ new
@@ -106,9 +106,10 @@
@changed[@state_name] = true if v['state'] != @state_name
end
false
end
+ #TODO: check if info.yaml needed for local state
def stored_version
info_filename = File.join(self['full_build_path'], 'info.yaml')
return false unless File.file?(info_filename)
YAML::load_file(info_filename)
end
\ No newline at end of file