Compare commits

..
2 Commits
Author SHA1 Message Date
josh 9b954d9d98 v0.0.9 2013-09-19 09:43:17 -04:00
josh e63b4c932f Cache: create missing hash entries from previous versions of the cache file 2013-09-19 09:43:00 -04:00
2 changed files with 5 additions and 6 deletions

No files matched your search

+4 -5
View File
@@ -60,11 +60,10 @@ module Rscons
# Create a Cache object and load in the previous contents from the cache # Create a Cache object and load in the previous contents from the cache
# file. # file.
def initialize def initialize
@cache = YAML.load(File.read(CACHE_FILE)) rescue { @cache = YAML.load(File.read(CACHE_FILE)) rescue {}
targets: {}, @cache[:targets] ||= {}
directories: {}, @cache[:directories] ||= {}
version: VERSION, @cache[:version] ||= VERSION
}
@lookup_checksums = {} @lookup_checksums = {}
end end
+1 -1
View File
@@ -1,4 +1,4 @@
module Rscons module Rscons
# gem version # gem version
VERSION = "0.0.8" VERSION = "0.0.9"
end end