lib/runcible/extensions/repository.rb in runcible-0.1.2 vs lib/runcible/extensions/repository.rb in runcible-0.1.3
- old
+ new
@@ -221,13 +221,17 @@
end
end
def self.publish_all(repo_id)
to_ret = []
- self.retrieve(repo_id)['distributors'].each do |d|
+ self.retrieve_with_details(repo_id)['distributors'].each do |d|
to_ret << self.publish(repo_id, d['id'])
end
to_ret
+ end
+
+ def self.retrieve_with_details(repo_id)
+ self.retrieve(repo_id, {:details => true})
end
end
end
end