Merge branch 'master' of github.com:diaspora/diaspora

This commit is contained in:
maxwell 2011-01-19 16:04:54 -08:00
commit 120c07ddf5
5 changed files with 3 additions and 24 deletions

View file

@ -1,12 +1,12 @@
%li{:data=>{:guid=>aspect.id}, :class => ("dull" if contacts.length == 0)}
.right
%b
= link_to t('contacts', :count => aspect.contacts.count), edit_aspect_path(aspect), :rel => 'facebox'
= link_to t('contacts', :count => contacts.count), edit_aspect_path(aspect), :rel => 'facebox'
%b
= aspect.name
%br
- if aspect.contacts.length > 0
.contacts
- for contact in aspect.contacts
- for contact in contacts[0..16]
= person_image_link(contact.person)

View file

@ -15,4 +15,4 @@
%ul
- for aspect in aspects
= render 'aspects/aspect', :aspect => aspect, :contacts => aspect.contacts
= render 'aspects/aspect', :aspect => aspect, :contacts => aspect.contacts.where(:pending => false)

View file

@ -1,5 +0,0 @@
[10gen]
name=10gen Repository
baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/
gpgcheck=0

View file

@ -15,7 +15,6 @@ end
harden_ruby("ree-1.8.7-2010.02")
include_recipe "centos::image_magick"
include_recipe "centos::mongo_db"
include_recipe "common::main"
include_recipe "centos::nginx"
include_recipe "centos::redis"

View file

@ -1,15 +0,0 @@
cookbook_file "/etc/yum.repos.d/10gen.repo" do
source "10gen.repo"
end
execute "refresh yum" do
command "yum update -y"
end
execute "install mongo" do
command "yum install -y mongo-stable-server"
end
execute "make the data directory" do
command "mkdir -p /data/db"
end