lib/runcible/extensions/repository.rb in runcible-1.0.8 vs lib/runcible/extensions/repository.rb in runcible-1.1.0

- old
+ new

@@ -73,16 +73,16 @@ optional[:notes] = { '_repo-type' => importer.repo_type } end optional[:distributors] = distributors.collect do |d| if d.is_a?(Runcible::Models::Distributor) - {'distributor_type' => d.type_id, + {'distributor_type_id' => d.type_id, "distributor_config" => d.config, "auto_publish" => d.auto_publish, "distributor_id" => d.id } else - {'distributor_type' => d['type_id'], + {'distributor_type_id' => d['type_id'], "distributor_config" => d['config'], "auto_publish" => d['auto_publish'], "distributor_id" => d['id'] } end