lib/dev_flow/roadmap.rb in dev_flow-0.1.2 vs lib/dev_flow/roadmap.rb in dev_flow-0.1.3

- old
+ new

@@ -50,10 +50,10 @@ if /^\s*\[(?<plus_>[\+\s]+)\]\s(?<contents_>.+)/ =~ line if @tasks.size == 0 and head_part.size > 0 hhash = YAML.load(head_part) members = @config["members"] || {} - members.merge!(hhash["members"]) if hhash["members"] + members.merge!(hhash["members"]) if hhash["members"] and hhash["members"].is_a?(Hash) @config = @config.merge hhash @config["members"] = members end line.chomp! task = Task.new(plus_.to_s.count("+"), self.file, $.).parse(contents_, @config)