lib/ascii_binder/helpers.rb in ascii_binder-0.1.7 vs lib/ascii_binder/helpers.rb in ascii_binder-0.1.8

- old
+ new

@@ -243,10 +243,10 @@ def site_map site_map = {} distro_map.each do |distro,distro_config| if not site_map.has_key?(distro_config["site"]) - site_map[distro_config["site"]] = { :distros => {}, :name => distro_config['site_name'], :url => distro_config['site_url'], :branches => [] } + site_map[distro_config["site"]] = { :distros => {}, :name => distro_config['site_name'], :url => distro_config['site_url'], :branches => ['master'] } end site_map[distro_config["site"]][:distros][distro] = distro_config["branches"] distro_config["branches"].keys.each do |branch_key| next if site_map[distro_config["site"]][:branches].include?(branch_key) site_map[distro_config["site"]][:branches] << branch_key