lib/braid/config.rb in realityforge-braid-0.9.3 vs lib/braid/config.rb in realityforge-braid-0.9.4

- old
+ new

@@ -77,9 +77,12 @@ def write_db new_db = {} @db.keys.sort.each do |key| new_db[key] = @db[key] + new_db[key].keys.each do |k| + new_db[key].delete(k) if !Braid::Mirror::ATTRIBUTES.include?(k) + end end File.open(@config_file, "wb") do |f| f.write JSON.pretty_generate(new_db) f.write "\n" end