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
# file.
def initialize
@cache = YAML.load(File.read(CACHE_FILE)) rescue {
targets: {},
directories: {},
version: VERSION,
}
@cache = YAML.load(File.read(CACHE_FILE)) rescue {}
@cache[:targets] ||= {}
@cache[:directories] ||= {}
@cache[:version] ||= VERSION
@lookup_checksums = {}
end
+1 -1
View File
@@ -1,4 +1,4 @@
module Rscons
# gem version
VERSION = "0.0.8"
VERSION = "0.0.9"
end