muck-services 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +100 -0
- data/Rakefile +84 -0
- data/VERSION +1 -0
- data/app/controllers/admin/muck/feeds_controller.rb +40 -0
- data/app/controllers/admin/muck/oai_endpoints_controller.rb +13 -0
- data/app/controllers/muck/aggregation_feeds_controller.rb +43 -0
- data/app/controllers/muck/aggregations_controller.rb +234 -0
- data/app/controllers/muck/entries_controller.rb +102 -0
- data/app/controllers/muck/feed_previews_controller.rb +33 -0
- data/app/controllers/muck/feeds_controller.rb +157 -0
- data/app/controllers/muck/identity_feeds_controller.rb +155 -0
- data/app/controllers/muck/oai_endpoints_controller.rb +96 -0
- data/app/controllers/muck/recommendations_controller.rb +62 -0
- data/app/controllers/muck/topics_controller.rb +162 -0
- data/app/controllers/muck/visits_controller.rb +26 -0
- data/app/helpers/muck_services_aggregations_helper.rb +32 -0
- data/app/helpers/muck_services_feeds_helper.rb +32 -0
- data/app/helpers/muck_services_helper.rb +95 -0
- data/app/helpers/muck_services_service_helper.rb +117 -0
- data/app/models/aggregation.rb +92 -0
- data/app/models/aggregation_feed.rb +14 -0
- data/app/models/attention.rb +14 -0
- data/app/models/click.rb +14 -0
- data/app/models/entry.rb +341 -0
- data/app/models/feed.rb +224 -0
- data/app/models/feed_parent.rb +18 -0
- data/app/models/identity_feed.rb +26 -0
- data/app/models/oai_endpoint.rb +39 -0
- data/app/models/recommendation.rb +15 -0
- data/app/models/service.rb +486 -0
- data/app/models/service_category.rb +15 -0
- data/app/models/services_mailer.rb +25 -0
- data/app/models/subject.rb +10 -0
- data/app/models/tag_cloud.rb +21 -0
- data/app/views/activity_templates/_entry_comment.html.erb +8 -0
- data/app/views/activity_templates/_entry_share.html.erb +8 -0
- data/app/views/admin/feeds/index.html.erb +35 -0
- data/app/views/admin/oai_endpoints/index.html.erb +31 -0
- data/app/views/aggregations/_aggregation.html.erb +1 -0
- data/app/views/aggregations/_data_source.html.erb +4 -0
- data/app/views/aggregations/_data_sources.html.erb +10 -0
- data/app/views/aggregations/_feeds.html.erb +1 -0
- data/app/views/aggregations/_preview_form.html.erb +12 -0
- data/app/views/aggregations/edit.html.erb +65 -0
- data/app/views/aggregations/index.html.erb +17 -0
- data/app/views/aggregations/index.iphone.erb +0 -0
- data/app/views/aggregations/new.html.erb +12 -0
- data/app/views/aggregations/preview.html.erb +46 -0
- data/app/views/aggregations/preview.iphone.erb +0 -0
- data/app/views/aggregations/rss_discovery.html.erb +3 -0
- data/app/views/aggregations/show.html.erb +0 -0
- data/app/views/default/_language_list.html.erb +5 -0
- data/app/views/entries/_related_entry.html.erb +4 -0
- data/app/views/entries/_result.html.erb +7 -0
- data/app/views/entries/_result_status.html.erb +16 -0
- data/app/views/entries/_results.html.erb +3 -0
- data/app/views/entries/_tag_cloud.html.erb +18 -0
- data/app/views/entries/browse_by_tags.html.erb +16 -0
- data/app/views/entries/collections.html.erb +28 -0
- data/app/views/entries/details.html.erb +25 -0
- data/app/views/entries/index.html.erb +3 -0
- data/app/views/entries/search.html.erb +10 -0
- data/app/views/entries/show.html.erb +7 -0
- data/app/views/entries/track_clicks.html.erb +0 -0
- data/app/views/feed_previews/new.html.erb +1 -0
- data/app/views/feed_previews/select_feeds.html.erb +6 -0
- data/app/views/feeds/_entry.html.erb +1 -0
- data/app/views/feeds/_feed.html.erb +28 -0
- data/app/views/feeds/_feed_row.html.erb +29 -0
- data/app/views/feeds/_feed_selection.html.erb +1 -0
- data/app/views/feeds/_form.html.erb +20 -0
- data/app/views/feeds/edit.html.erb +107 -0
- data/app/views/feeds/harvest_now.html.erb +3 -0
- data/app/views/feeds/index.html.erb +34 -0
- data/app/views/feeds/new.html.erb +21 -0
- data/app/views/feeds/new_extended.html.erb +32 -0
- data/app/views/feeds/new_oai_rss.html.erb +50 -0
- data/app/views/feeds/show.html.erb +1 -0
- data/app/views/feeds/unban.html.erb +3 -0
- data/app/views/identity_feeds/_available_service_categories.html.erb +13 -0
- data/app/views/identity_feeds/_form.html.erb +20 -0
- data/app/views/identity_feeds/_services_for_user.html.erb +25 -0
- data/app/views/identity_feeds/edit.html.erb +2 -0
- data/app/views/identity_feeds/index.html.erb +32 -0
- data/app/views/identity_feeds/new.html.erb +1 -0
- data/app/views/oai_endpoints/_form.html.erb +22 -0
- data/app/views/oai_endpoints/_oai_endpoint_row.html.erb +25 -0
- data/app/views/oai_endpoints/new.html.erb +2 -0
- data/app/views/oai_endpoints/show.html.erb +5 -0
- data/app/views/parts/_add_feed.html.erb +20 -0
- data/app/views/parts/_select_feed.html.erb +4 -0
- data/app/views/recommendations/index.html.erb +5 -0
- data/app/views/recommendations/index.pjs.erb +44 -0
- data/app/views/recommendations/index.rss.builder +37 -0
- data/app/views/recommendations/index.xml.builder +36 -0
- data/app/views/recommendations/index_js.pjs.erb +39 -0
- data/app/views/recommendations/index_real_time.pjs.erb +44 -0
- data/app/views/recommendations/index_real_time.xml.builder +25 -0
- data/app/views/search/_languages.html.erb +6 -0
- data/app/views/search/_result.html.erb +9 -0
- data/app/views/search/_search_box.html.erb +9 -0
- data/app/views/search/index.html.erb +5 -0
- data/app/views/search/results.atom.builder +27 -0
- data/app/views/search/results.html.erb +35 -0
- data/app/views/search/results.pjs.erb +13 -0
- data/app/views/search/results.rdf.builder +24 -0
- data/app/views/search/results.rss.builder +31 -0
- data/app/views/search/results.xml.builder +19 -0
- data/app/views/service_templates/_facebook.html.erb +4 -0
- data/app/views/service_templates/_friendfeed.html.erb +2 -0
- data/app/views/service_templates/_goodreads.html.erb +2 -0
- data/app/views/service_templates/_linkedin.html.erb +2 -0
- data/app/views/service_templates/_netflix.html.erb +2 -0
- data/app/views/service_templates/_polyvore.html.erb +2 -0
- data/app/views/service_templates/_zotero_group.html.erb +2 -0
- data/app/views/services/_edit_service.html.erb +1 -0
- data/app/views/services/_new_service.html.erb +1 -0
- data/app/views/services/_summary.html.erb +5 -0
- data/app/views/services/_view_service.html.erb +1 -0
- data/app/views/services_mailer/notification_feed_added.text.ar.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.ar.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.bg.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.bg.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.ca.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.ca.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.cs.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.cs.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.da.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.da.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.de.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.de.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.el.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.el.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.es.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.es.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.et.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.et.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.fa.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.fa.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.fi.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.fi.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.fr.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.fr.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.gl.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.gl.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.hi.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.hi.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.hr.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.hr.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.hu.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.hu.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.id.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.id.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.it.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.it.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.iw.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.iw.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.ja.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.ja.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.ko.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.ko.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.lt.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.lt.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.lv.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.lv.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.mt.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.mt.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.nl.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.nl.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.no.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.no.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.pl.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.pl.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.pt-PT.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.pt-PT.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.ro.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.ro.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.ru.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.ru.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.sk.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.sk.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.sl.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.sl.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.sq.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.sq.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.sr.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.sr.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.sv.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.sv.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.th.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.th.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.tl.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.tl.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.tr.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.tr.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.uk.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.uk.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.vi.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.vi.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.zh-CN.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.zh-CN.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.zh-TW.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.zh-TW.plain.erb +7 -0
- data/app/views/services_mailer/notification_feed_added.text.zh.html.erb +4 -0
- data/app/views/services_mailer/notification_feed_added.text.zh.plain.erb +7 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ar.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ar.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.bg.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.bg.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ca.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ca.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.cs.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.cs.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.da.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.da.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.de.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.de.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.el.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.el.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.es.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.es.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.et.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.et.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fa.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fa.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fi.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fi.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fr.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.fr.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.gl.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.gl.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hi.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hi.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hr.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hr.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hu.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.hu.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.id.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.id.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.it.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.it.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.iw.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.iw.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ja.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ja.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ko.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ko.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lt.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lt.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lv.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.lv.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.mt.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.mt.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.nl.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.nl.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.no.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.no.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pl.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pl.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pt-PT.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.pt-PT.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ro.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ro.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ru.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.ru.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sk.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sk.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sl.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sl.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sq.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sq.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sr.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sr.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sv.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.sv.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.th.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.th.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tl.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tl.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tr.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.tr.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.uk.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.uk.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.vi.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.vi.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-CN.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-CN.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-TW.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh-TW.plain.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh.html.erb +4 -0
- data/app/views/services_mailer/notification_oai_endpoint_added.text.zh.plain.erb +4 -0
- data/app/views/topics/_entry.html.erb +19 -0
- data/app/views/topics/_feed.html.erb +24 -0
- data/app/views/topics/_feed_preview.html.erb +18 -0
- data/app/views/topics/_form.html.erb +15 -0
- data/app/views/topics/_rss_discover.html.erb +1 -0
- data/app/views/topics/_simple_entry.html.erb +7 -0
- data/app/views/topics/new.html.erb +27 -0
- data/app/views/topics/photos.html.erb +14 -0
- data/app/views/topics/show.html.erb +80 -0
- data/app/views/topics/show.opml.builder +18 -0
- data/app/views/topics/videos.html.erb +14 -0
- data/app/views/visits/_comments_tool.html.erb +19 -0
- data/app/views/visits/_frame_scripts.html.erb +26 -0
- data/app/views/visits/_share_tool.html.erb +22 -0
- data/app/views/visits/_toolbar.html.erb +25 -0
- data/app/views/visits/show.html.erb +7 -0
- data/config/muck_services_routes.rb +37 -0
- data/config/solr/README.txt +0 -0
- data/config/solr/cores/de/conf/protwords.txt +21 -0
- data/config/solr/cores/de/conf/schema.xml +81 -0
- data/config/solr/cores/de/conf/solrconfig.xml +311 -0
- data/config/solr/cores/de/conf/stopwords.txt +341 -0
- data/config/solr/cores/de/conf/synonyms.txt +31 -0
- data/config/solr/cores/en/conf/protwords.txt +21 -0
- data/config/solr/cores/en/conf/schema.xml +83 -0
- data/config/solr/cores/en/conf/solrconfig.xml +311 -0
- data/config/solr/cores/en/conf/stopwords.txt +341 -0
- data/config/solr/cores/en/conf/synonyms.txt +31 -0
- data/config/solr/cores/es/conf/protwords.txt +21 -0
- data/config/solr/cores/es/conf/schema.xml +81 -0
- data/config/solr/cores/es/conf/solrconfig.xml +311 -0
- data/config/solr/cores/es/conf/stopwords.txt +206 -0
- data/config/solr/cores/es/conf/synonyms.txt +31 -0
- data/config/solr/cores/fr/conf/protwords.txt +21 -0
- data/config/solr/cores/fr/conf/schema.xml +82 -0
- data/config/solr/cores/fr/conf/solrconfig.xml +311 -0
- data/config/solr/cores/fr/conf/stopwords.txt +57 -0
- data/config/solr/cores/fr/conf/synonyms.txt +31 -0
- data/config/solr/cores/ja/conf/protwords.txt +21 -0
- data/config/solr/cores/ja/conf/schema.xml +69 -0
- data/config/solr/cores/ja/conf/solrconfig.xml +311 -0
- data/config/solr/cores/ja/conf/stopwords.txt +341 -0
- data/config/solr/cores/ja/conf/synonyms.txt +31 -0
- data/config/solr/cores/nl/conf/protwords.txt +21 -0
- data/config/solr/cores/nl/conf/schema.xml +78 -0
- data/config/solr/cores/nl/conf/solrconfig.xml +311 -0
- data/config/solr/cores/nl/conf/stopwords.txt +45691 -0
- data/config/solr/cores/nl/conf/synonyms.txt +31 -0
- data/config/solr/cores/ru/conf/protwords.txt +21 -0
- data/config/solr/cores/ru/conf/schema.xml +78 -0
- data/config/solr/cores/ru/conf/solrconfig.xml +311 -0
- data/config/solr/cores/ru/conf/stopwords.txt +341 -0
- data/config/solr/cores/ru/conf/synonyms.txt +31 -0
- data/config/solr/cores/zh/conf/protwords.txt +21 -0
- data/config/solr/cores/zh/conf/schema.xml +72 -0
- data/config/solr/cores/zh/conf/solrconfig.xml +311 -0
- data/config/solr/cores/zh/conf/stopwords.txt +341 -0
- data/config/solr/cores/zh/conf/synonyms.txt +31 -0
- data/config/solr/solr.xml +50 -0
- data/db/bootstrap/attention.yml +6 -0
- data/db/bootstrap/feeds.yml +4268 -0
- data/db/bootstrap/oai_endpoints.yml +6 -0
- data/db/bootstrap/service_categories.yml +52 -0
- data/db/bootstrap/services.yml +967 -0
- data/db/migrate/20090602191243_create_muck_raker.rb +322 -0
- data/db/migrate/20090619211125_create_tag_clouds.rb +19 -0
- data/db/migrate/20090623181458_add_grain_size_to_entries.rb +16 -0
- data/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb +12 -0
- data/db/migrate/20090703175825_denormalize_entries_subjects.rb +39 -0
- data/db/migrate/20090704220055_create_slugs.rb +18 -0
- data/db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb +9 -0
- data/db/migrate/20090717173900_add_contributor_to_feeds.rb +9 -0
- data/db/migrate/20090717175825_normalize_entries_subjects.rb +41 -0
- data/db/migrate/20090721043213_change_services_title_to_name.rb +9 -0
- data/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb +9 -0
- data/db/migrate/20090723050510_create_feed_parents.rb +17 -0
- data/db/migrate/20090728165716_add_etag_to_feeds.rb +9 -0
- data/db/migrate/20090730045848_add_comment_cache_to_entries.rb +9 -0
- data/db/migrate/20090804211240_add_entry_id_to_shares.rb +9 -0
- data/db/migrate/20090826220530_change_services_sequence_to_sort.rb +9 -0
- data/db/migrate/20090826225652_create_identity_feeds.rb +14 -0
- data/db/migrate/20090827005105_add_identity_fields_to_services.rb +13 -0
- data/db/migrate/20090827015308_create_service_categories.rb +12 -0
- data/db/migrate/20090827221502_add_prompt_and_template_to_services.rb +11 -0
- data/db/migrate/20090915041650_aggregations_to_polymorphic.rb +15 -0
- data/db/migrate/20090922174200_update_oai_endpoints.rb +13 -0
- data/db/migrate/20090922231552_add_dates_to_oai_endpoints.rb +11 -0
- data/db/migrate/20090923150807_rename_name_in_aggregation.rb +9 -0
- data/db/migrate/20090924200750_add_uri_data_template_to_services.rb +9 -0
- data/db/migrate/20091006183742_add_feed_count_to_aggregation.rb +9 -0
- data/db/migrate/20091022150615_add_uri_key_to_services.rb +9 -0
- data/lib/active_record/acts/muck_aggregation_owner.rb +30 -0
- data/lib/active_record/acts/muck_feed_owner.rb +31 -0
- data/lib/active_record/acts/muck_feed_parent.rb +23 -0
- data/lib/active_record/acts/muck_services_comment.rb +39 -0
- data/lib/active_record/acts/muck_services_share.rb +32 -0
- data/lib/muck_services.rb +21 -0
- data/lib/muck_services/exceptions.rb +5 -0
- data/lib/muck_services/initialize_routes.rb +8 -0
- data/lib/muck_services/languages.rb +57 -0
- data/lib/muck_services/muck_custom_form_builder.rb +22 -0
- data/lib/muck_services/services.rb +12 -0
- data/lib/muck_services/tasks.rb +97 -0
- data/locales/ar.yml +210 -0
- data/locales/bg.yml +210 -0
- data/locales/ca.yml +210 -0
- data/locales/cs.yml +210 -0
- data/locales/da.yml +210 -0
- data/locales/de.yml +210 -0
- data/locales/el.yml +210 -0
- data/locales/en.yml +213 -0
- data/locales/es.yml +210 -0
- data/locales/et.yml +210 -0
- data/locales/fa.yml +210 -0
- data/locales/fi.yml +210 -0
- data/locales/fr.yml +210 -0
- data/locales/gl.yml +210 -0
- data/locales/hi.yml +210 -0
- data/locales/hr.yml +210 -0
- data/locales/hu.yml +210 -0
- data/locales/id.yml +210 -0
- data/locales/it.yml +210 -0
- data/locales/iw.yml +210 -0
- data/locales/ja.yml +210 -0
- data/locales/ko.yml +210 -0
- data/locales/lt.yml +210 -0
- data/locales/lv.yml +210 -0
- data/locales/mt.yml +210 -0
- data/locales/nl.yml +210 -0
- data/locales/no.yml +211 -0
- data/locales/pl.yml +210 -0
- data/locales/pt-PT.yml +210 -0
- data/locales/ro.yml +210 -0
- data/locales/ru.yml +210 -0
- data/locales/sk.yml +210 -0
- data/locales/sl.yml +210 -0
- data/locales/sq.yml +210 -0
- data/locales/sr.yml +210 -0
- data/locales/sv.yml +210 -0
- data/locales/th.yml +210 -0
- data/locales/tl.yml +210 -0
- data/locales/tr.yml +210 -0
- data/locales/uk.yml +210 -0
- data/locales/vi.yml +210 -0
- data/locales/zh-CN.yml +210 -0
- data/locales/zh-TW.yml +210 -0
- data/locales/zh.yml +210 -0
- data/muck-services.gemspec +891 -0
- data/public/images/service_icons/16/amazon.png +0 -0
- data/public/images/service_icons/16/ask.png +0 -0
- data/public/images/service_icons/16/bibsonomy.png +0 -0
- data/public/images/service_icons/16/bing.png +0 -0
- data/public/images/service_icons/16/blogger.png +0 -0
- data/public/images/service_icons/16/bloglines.png +0 -0
- data/public/images/service_icons/16/citeulike.png +0 -0
- data/public/images/service_icons/16/clipmarks.png +0 -0
- data/public/images/service_icons/16/connotea.png +0 -0
- data/public/images/service_icons/16/dailymotion.png +0 -0
- data/public/images/service_icons/16/delicious.png +0 -0
- data/public/images/service_icons/16/digg.png +0 -0
- data/public/images/service_icons/16/diigo.png +0 -0
- data/public/images/service_icons/16/facebook.png +0 -0
- data/public/images/service_icons/16/feed.png +0 -0
- data/public/images/service_icons/16/flickr.png +0 -0
- data/public/images/service_icons/16/fotolog.png +0 -0
- data/public/images/service_icons/16/friendfeed.png +0 -0
- data/public/images/service_icons/16/friendster.png +0 -0
- data/public/images/service_icons/16/furl.png +0 -0
- data/public/images/service_icons/16/goodreads.png +0 -0
- data/public/images/service_icons/16/google.png +0 -0
- data/public/images/service_icons/16/googleblog.png +0 -0
- data/public/images/service_icons/16/googlenews.png +0 -0
- data/public/images/service_icons/16/icerocket.png +0 -0
- data/public/images/service_icons/16/identica.png +0 -0
- data/public/images/service_icons/16/joost.png +0 -0
- data/public/images/service_icons/16/lastfm.png +0 -0
- data/public/images/service_icons/16/librarything.png +0 -0
- data/public/images/service_icons/16/linkedin.png +0 -0
- data/public/images/service_icons/16/livejournal.png +0 -0
- data/public/images/service_icons/16/magnolia.png +0 -0
- data/public/images/service_icons/16/mendeley.png +0 -0
- data/public/images/service_icons/16/metacafe.png +0 -0
- data/public/images/service_icons/16/mixx.png +0 -0
- data/public/images/service_icons/16/myspace.png +0 -0
- data/public/images/service_icons/16/netflix.png +0 -0
- data/public/images/service_icons/16/netvibes.png +0 -0
- data/public/images/service_icons/16/newsvine.png +0 -0
- data/public/images/service_icons/16/oai.png +0 -0
- data/public/images/service_icons/16/odeo.png +0 -0
- data/public/images/service_icons/16/opml.png +0 -0
- data/public/images/service_icons/16/pandora.png +0 -0
- data/public/images/service_icons/16/photobucket.png +0 -0
- data/public/images/service_icons/16/picasa.png +0 -0
- data/public/images/service_icons/16/polyvore.png +0 -0
- data/public/images/service_icons/16/pownce.png +0 -0
- data/public/images/service_icons/16/reddit.png +0 -0
- data/public/images/service_icons/16/simpy.png +0 -0
- data/public/images/service_icons/16/smugmug.png +0 -0
- data/public/images/service_icons/16/stumbleupon.png +0 -0
- data/public/images/service_icons/16/tag.png +0 -0
- data/public/images/service_icons/16/technorati.png +0 -0
- data/public/images/service_icons/16/tumblr.png +0 -0
- data/public/images/service_icons/16/twine.png +0 -0
- data/public/images/service_icons/16/twitter.png +0 -0
- data/public/images/service_icons/16/vimeo.png +0 -0
- data/public/images/service_icons/16/webshots.png +0 -0
- data/public/images/service_icons/16/wordpress.png +0 -0
- data/public/images/service_icons/16/xanga.png +0 -0
- data/public/images/service_icons/16/yahoo.png +0 -0
- data/public/images/service_icons/16/yelp.png +0 -0
- data/public/images/service_icons/16/youtube.png +0 -0
- data/public/images/service_icons/16/zooomr.png +0 -0
- data/public/images/service_icons/16/zotero.png +0 -0
- data/public/images/service_icons/24/amazon.png +0 -0
- data/public/images/service_icons/24/ask.png +0 -0
- data/public/images/service_icons/24/bibsonomy.png +0 -0
- data/public/images/service_icons/24/bing.png +0 -0
- data/public/images/service_icons/24/blogger.png +0 -0
- data/public/images/service_icons/24/bloglines.png +0 -0
- data/public/images/service_icons/24/citeulike.png +0 -0
- data/public/images/service_icons/24/clipmarks.png +0 -0
- data/public/images/service_icons/24/connotea.png +0 -0
- data/public/images/service_icons/24/dailymotion.png +0 -0
- data/public/images/service_icons/24/delicious.png +0 -0
- data/public/images/service_icons/24/digg.png +0 -0
- data/public/images/service_icons/24/diigo.png +0 -0
- data/public/images/service_icons/24/facebook.png +0 -0
- data/public/images/service_icons/24/feed.png +0 -0
- data/public/images/service_icons/24/flickr.png +0 -0
- data/public/images/service_icons/24/fotolog.png +0 -0
- data/public/images/service_icons/24/friendfeed.png +0 -0
- data/public/images/service_icons/24/friendster.png +0 -0
- data/public/images/service_icons/24/furl.png +0 -0
- data/public/images/service_icons/24/goodreads.png +0 -0
- data/public/images/service_icons/24/google.png +0 -0
- data/public/images/service_icons/24/googleblog.png +0 -0
- data/public/images/service_icons/24/googlenews.png +0 -0
- data/public/images/service_icons/24/icerocket.png +0 -0
- data/public/images/service_icons/24/identica.png +0 -0
- data/public/images/service_icons/24/joost.png +0 -0
- data/public/images/service_icons/24/lastfm.png +0 -0
- data/public/images/service_icons/24/librarything.png +0 -0
- data/public/images/service_icons/24/linkedin.png +0 -0
- data/public/images/service_icons/24/livejournal.png +0 -0
- data/public/images/service_icons/24/magnolia.png +0 -0
- data/public/images/service_icons/24/mendeley.png +0 -0
- data/public/images/service_icons/24/metacafe.png +0 -0
- data/public/images/service_icons/24/mixx.png +0 -0
- data/public/images/service_icons/24/myspace.png +0 -0
- data/public/images/service_icons/24/netflix.png +0 -0
- data/public/images/service_icons/24/netvibes.png +0 -0
- data/public/images/service_icons/24/newsvine.png +0 -0
- data/public/images/service_icons/24/oai.png +0 -0
- data/public/images/service_icons/24/odeo.png +0 -0
- data/public/images/service_icons/24/opml.png +0 -0
- data/public/images/service_icons/24/pandora.png +0 -0
- data/public/images/service_icons/24/photobucket.png +0 -0
- data/public/images/service_icons/24/picasa.png +0 -0
- data/public/images/service_icons/24/polyvore.png +0 -0
- data/public/images/service_icons/24/pownce.png +0 -0
- data/public/images/service_icons/24/reddit.png +0 -0
- data/public/images/service_icons/24/simpy.png +0 -0
- data/public/images/service_icons/24/smugmug.png +0 -0
- data/public/images/service_icons/24/stumbleupon.png +0 -0
- data/public/images/service_icons/24/tag.png +0 -0
- data/public/images/service_icons/24/technorati.png +0 -0
- data/public/images/service_icons/24/tumblr.png +0 -0
- data/public/images/service_icons/24/twine.png +0 -0
- data/public/images/service_icons/24/twitter.png +0 -0
- data/public/images/service_icons/24/vimeo.png +0 -0
- data/public/images/service_icons/24/webshots.png +0 -0
- data/public/images/service_icons/24/wordpress.png +0 -0
- data/public/images/service_icons/24/xanga.png +0 -0
- data/public/images/service_icons/24/yahoo.png +0 -0
- data/public/images/service_icons/24/yelp.png +0 -0
- data/public/images/service_icons/24/youtube.png +0 -0
- data/public/images/service_icons/24/zooomr.png +0 -0
- data/public/images/service_icons/24/zotero.png +0 -0
- data/public/images/service_icons/48/amazon.png +0 -0
- data/public/images/service_icons/48/ask.png +0 -0
- data/public/images/service_icons/48/bibsonomy.png +0 -0
- data/public/images/service_icons/48/bing.png +0 -0
- data/public/images/service_icons/48/blogger.png +0 -0
- data/public/images/service_icons/48/bloglines.png +0 -0
- data/public/images/service_icons/48/citeulike.png +0 -0
- data/public/images/service_icons/48/clipmarks.png +0 -0
- data/public/images/service_icons/48/connotea.png +0 -0
- data/public/images/service_icons/48/dailymotion.png +0 -0
- data/public/images/service_icons/48/delicious.png +0 -0
- data/public/images/service_icons/48/digg.png +0 -0
- data/public/images/service_icons/48/diigo.png +0 -0
- data/public/images/service_icons/48/facebook.png +0 -0
- data/public/images/service_icons/48/feed.png +0 -0
- data/public/images/service_icons/48/flickr.png +0 -0
- data/public/images/service_icons/48/fotolog.png +0 -0
- data/public/images/service_icons/48/friendfeed.png +0 -0
- data/public/images/service_icons/48/friendster.png +0 -0
- data/public/images/service_icons/48/furl.png +0 -0
- data/public/images/service_icons/48/goodreads.png +0 -0
- data/public/images/service_icons/48/google.png +0 -0
- data/public/images/service_icons/48/googleblog.png +0 -0
- data/public/images/service_icons/48/googlenews.png +0 -0
- data/public/images/service_icons/48/icerocket.png +0 -0
- data/public/images/service_icons/48/identica.png +0 -0
- data/public/images/service_icons/48/joost.png +0 -0
- data/public/images/service_icons/48/lastfm.png +0 -0
- data/public/images/service_icons/48/librarything.png +0 -0
- data/public/images/service_icons/48/linkedin.png +0 -0
- data/public/images/service_icons/48/livejournal.png +0 -0
- data/public/images/service_icons/48/magnolia.png +0 -0
- data/public/images/service_icons/48/mendeley.png +0 -0
- data/public/images/service_icons/48/metacafe.png +0 -0
- data/public/images/service_icons/48/mixx.png +0 -0
- data/public/images/service_icons/48/myspace.png +0 -0
- data/public/images/service_icons/48/netflix.png +0 -0
- data/public/images/service_icons/48/netvibes.png +0 -0
- data/public/images/service_icons/48/newsvine.png +0 -0
- data/public/images/service_icons/48/oai.png +0 -0
- data/public/images/service_icons/48/odeo.png +0 -0
- data/public/images/service_icons/48/opml.png +0 -0
- data/public/images/service_icons/48/pandora.png +0 -0
- data/public/images/service_icons/48/photobucket.png +0 -0
- data/public/images/service_icons/48/picasa.png +0 -0
- data/public/images/service_icons/48/polyvore.png +0 -0
- data/public/images/service_icons/48/pownce.png +0 -0
- data/public/images/service_icons/48/reddit.png +0 -0
- data/public/images/service_icons/48/simpy.png +0 -0
- data/public/images/service_icons/48/smugmug.png +0 -0
- data/public/images/service_icons/48/stumbleupon.png +0 -0
- data/public/images/service_icons/48/tag.png +0 -0
- data/public/images/service_icons/48/technorati.png +0 -0
- data/public/images/service_icons/48/tumblr.png +0 -0
- data/public/images/service_icons/48/twine.png +0 -0
- data/public/images/service_icons/48/twitter.png +0 -0
- data/public/images/service_icons/48/vimeo.png +0 -0
- data/public/images/service_icons/48/webshots.png +0 -0
- data/public/images/service_icons/48/wordpress.png +0 -0
- data/public/images/service_icons/48/xanga.png +0 -0
- data/public/images/service_icons/48/yahoo.png +0 -0
- data/public/images/service_icons/48/yelp.png +0 -0
- data/public/images/service_icons/48/youtube.png +0 -0
- data/public/images/service_icons/48/zooomr.png +0 -0
- data/public/images/service_icons/48/zotero.png +0 -0
- data/public/images/service_icons/60/amazon.png +0 -0
- data/public/images/service_icons/60/ask.png +0 -0
- data/public/images/service_icons/60/bibsonomy.png +0 -0
- data/public/images/service_icons/60/bing.png +0 -0
- data/public/images/service_icons/60/blogger.png +0 -0
- data/public/images/service_icons/60/bloglines.png +0 -0
- data/public/images/service_icons/60/citeulike.png +0 -0
- data/public/images/service_icons/60/clipmarks.png +0 -0
- data/public/images/service_icons/60/connotea.png +0 -0
- data/public/images/service_icons/60/dailymotion.png +0 -0
- data/public/images/service_icons/60/delicious.png +0 -0
- data/public/images/service_icons/60/digg.png +0 -0
- data/public/images/service_icons/60/diigo.png +0 -0
- data/public/images/service_icons/60/facebook.png +0 -0
- data/public/images/service_icons/60/feed.png +0 -0
- data/public/images/service_icons/60/flickr.png +0 -0
- data/public/images/service_icons/60/fotolog.png +0 -0
- data/public/images/service_icons/60/friendfeed.png +0 -0
- data/public/images/service_icons/60/friendster.png +0 -0
- data/public/images/service_icons/60/furl.png +0 -0
- data/public/images/service_icons/60/goodreads.png +0 -0
- data/public/images/service_icons/60/google.png +0 -0
- data/public/images/service_icons/60/googleblog.png +0 -0
- data/public/images/service_icons/60/googlenews.png +0 -0
- data/public/images/service_icons/60/icerocket.png +0 -0
- data/public/images/service_icons/60/identica.png +0 -0
- data/public/images/service_icons/60/joost.png +0 -0
- data/public/images/service_icons/60/lastfm.png +0 -0
- data/public/images/service_icons/60/librarything.png +0 -0
- data/public/images/service_icons/60/linkedin.png +0 -0
- data/public/images/service_icons/60/livejournal.png +0 -0
- data/public/images/service_icons/60/magnolia.png +0 -0
- data/public/images/service_icons/60/mendeley.png +0 -0
- data/public/images/service_icons/60/metacafe.png +0 -0
- data/public/images/service_icons/60/mixx.png +0 -0
- data/public/images/service_icons/60/myspace.png +0 -0
- data/public/images/service_icons/60/netflix.png +0 -0
- data/public/images/service_icons/60/netvibes.png +0 -0
- data/public/images/service_icons/60/newsvine.png +0 -0
- data/public/images/service_icons/60/oai.png +0 -0
- data/public/images/service_icons/60/odeo.png +0 -0
- data/public/images/service_icons/60/opml.png +0 -0
- data/public/images/service_icons/60/pandora.png +0 -0
- data/public/images/service_icons/60/photobucket.png +0 -0
- data/public/images/service_icons/60/picasa.png +0 -0
- data/public/images/service_icons/60/polyvore.png +0 -0
- data/public/images/service_icons/60/pownce.png +0 -0
- data/public/images/service_icons/60/reddit.png +0 -0
- data/public/images/service_icons/60/simpy.png +0 -0
- data/public/images/service_icons/60/smugmug.png +0 -0
- data/public/images/service_icons/60/stumbleupon.png +0 -0
- data/public/images/service_icons/60/tag.png +0 -0
- data/public/images/service_icons/60/technorati.png +0 -0
- data/public/images/service_icons/60/tumblr.png +0 -0
- data/public/images/service_icons/60/twine.png +0 -0
- data/public/images/service_icons/60/twitter.png +0 -0
- data/public/images/service_icons/60/vimeo.png +0 -0
- data/public/images/service_icons/60/webshots.png +0 -0
- data/public/images/service_icons/60/wordpress.png +0 -0
- data/public/images/service_icons/60/xanga.png +0 -0
- data/public/images/service_icons/60/yahoo.png +0 -0
- data/public/images/service_icons/60/yelp.png +0 -0
- data/public/images/service_icons/60/youtube.png +0 -0
- data/public/images/service_icons/60/zooomr.png +0 -0
- data/public/images/service_icons/60/zotero.png +0 -0
- data/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/public/javascripts/muck_services.js +94 -0
- data/public/stylesheets/frame.css +56 -0
- data/public/stylesheets/muck_services.css +90 -0
- data/rails/init.rb +18 -0
- data/test/rails_root/app/controllers/application_controller.rb +32 -0
- data/test/rails_root/app/controllers/default_controller.rb +7 -0
- data/test/rails_root/app/helpers/application_helper.rb +3 -0
- data/test/rails_root/app/models/activity.rb +24 -0
- data/test/rails_root/app/models/comment.rb +23 -0
- data/test/rails_root/app/models/share.rb +20 -0
- data/test/rails_root/app/models/user.rb +43 -0
- data/test/rails_root/app/models/user_session.rb +2 -0
- data/test/rails_root/config/boot.rb +109 -0
- data/test/rails_root/config/environment.rb +37 -0
- data/test/rails_root/config/environments/cucumber.rb +21 -0
- data/test/rails_root/config/environments/development.rb +36 -0
- data/test/rails_root/config/environments/production.rb +1 -0
- data/test/rails_root/config/environments/test.rb +34 -0
- data/test/rails_root/config/initializers/inflections.rb +10 -0
- data/test/rails_root/config/initializers/mime_types.rb +5 -0
- data/test/rails_root/config/initializers/requires.rb +13 -0
- data/test/rails_root/config/initializers/session_store.rb +8 -0
- data/test/rails_root/config/routes.rb +11 -0
- data/test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +16 -0
- data/test/rails_root/db/migrate/20090327231918_create_users.rb +40 -0
- data/test/rails_root/db/migrate/20090402033319_add_muck_activities.rb +36 -0
- data/test/rails_root/db/migrate/20090402234137_create_languages.rb +18 -0
- data/test/rails_root/db/migrate/20090426041056_create_countries.rb +15 -0
- data/test/rails_root/db/migrate/20090426041103_create_states.rb +18 -0
- data/test/rails_root/db/migrate/20090602191243_create_muck_raker.rb +322 -0
- data/test/rails_root/db/migrate/20090613173314_create_comments.rb +24 -0
- data/test/rails_root/db/migrate/20090619211125_create_tag_clouds.rb +19 -0
- data/test/rails_root/db/migrate/20090623181458_add_grain_size_to_entries.rb +16 -0
- data/test/rails_root/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb +12 -0
- data/test/rails_root/db/migrate/20090703175825_denormalize_entries_subjects.rb +39 -0
- data/test/rails_root/db/migrate/20090704220055_create_slugs.rb +18 -0
- data/test/rails_root/db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb +9 -0
- data/test/rails_root/db/migrate/20090717173900_add_contributor_to_feeds.rb +9 -0
- data/test/rails_root/db/migrate/20090717175825_normalize_entries_subjects.rb +41 -0
- data/test/rails_root/db/migrate/20090721043213_change_services_title_to_name.rb +9 -0
- data/test/rails_root/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb +9 -0
- data/test/rails_root/db/migrate/20090723050510_create_feed_parents.rb +17 -0
- data/test/rails_root/db/migrate/20090728165716_add_etag_to_feeds.rb +9 -0
- data/test/rails_root/db/migrate/20090730044139_add_comment_cache.rb +9 -0
- data/test/rails_root/db/migrate/20090730045848_add_comment_cache_to_entries.rb +9 -0
- data/test/rails_root/db/migrate/20090730154102_allow_null_user.rb +9 -0
- data/test/rails_root/db/migrate/20090803185323_create_shares.rb +16 -0
- data/test/rails_root/db/migrate/20090804184247_add_comment_count_to_shares.rb +9 -0
- data/test/rails_root/db/migrate/20090804211240_add_entry_id_to_shares.rb +9 -0
- data/test/rails_root/db/migrate/20090804231857_add_shares_uri_index.rb +9 -0
- data/test/rails_root/db/migrate/20090818204527_add_activity_indexes.rb +9 -0
- data/test/rails_root/db/migrate/20090819030523_add_attachable_to_activities.rb +13 -0
- data/test/rails_root/db/migrate/20090826220530_change_services_sequence_to_sort.rb +9 -0
- data/test/rails_root/db/migrate/20090826225652_create_identity_feeds.rb +14 -0
- data/test/rails_root/db/migrate/20090827005105_add_identity_fields_to_services.rb +13 -0
- data/test/rails_root/db/migrate/20090827015308_create_service_categories.rb +12 -0
- data/test/rails_root/db/migrate/20090827221502_add_prompt_and_template_to_services.rb +11 -0
- data/test/rails_root/db/migrate/20090915041650_aggregations_to_polymorphic.rb +15 -0
- data/test/rails_root/db/migrate/20090922174200_update_oai_endpoints.rb +13 -0
- data/test/rails_root/db/migrate/20090922231552_add_dates_to_oai_endpoints.rb +11 -0
- data/test/rails_root/db/migrate/20090923150807_rename_name_in_aggregation.rb +9 -0
- data/test/rails_root/db/migrate/20090924200750_add_uri_data_template_to_services.rb +9 -0
- data/test/rails_root/db/migrate/20091006183742_add_feed_count_to_aggregation.rb +9 -0
- data/test/rails_root/db/migrate/20091022150615_add_uri_key_to_services.rb +9 -0
- data/test/rails_root/db/schema.rb +474 -0
- data/test/rails_root/features/step_definitions/common_steps.rb +93 -0
- data/test/rails_root/features/step_definitions/visit_steps.rb +6 -0
- data/test/rails_root/features/step_definitions/webrat_steps.rb +128 -0
- data/test/rails_root/features/support/env.rb +14 -0
- data/test/rails_root/features/support/paths.rb +36 -0
- data/test/rails_root/public/dispatch.rb +10 -0
- data/test/rails_root/script/create_project.rb +52 -0
- data/test/rails_root/test/factories.rb +151 -0
- data/test/rails_root/test/functional/admin/feeds_controller_test.rb +37 -0
- data/test/rails_root/test/functional/admin/oai_endpoints_controller_test.rb +30 -0
- data/test/rails_root/test/functional/aggregation_feeds_controller_test.rb +67 -0
- data/test/rails_root/test/functional/aggregations_controller_test.rb +89 -0
- data/test/rails_root/test/functional/feed_previews_controller_test.rb +32 -0
- data/test/rails_root/test/functional/feeds_controller_test.rb +77 -0
- data/test/rails_root/test/functional/identity_feeds_controller_test.rb +110 -0
- data/test/rails_root/test/functional/oai_endpoints_controller_test.rb +42 -0
- data/test/rails_root/test/functional/topics_controller_test.rb +46 -0
- data/test/rails_root/test/functional/visits_controller_test.rb +21 -0
- data/test/rails_root/test/shoulda_macros/controller.rb +49 -0
- data/test/rails_root/test/shoulda_macros/forms.rb +32 -0
- data/test/rails_root/test/shoulda_macros/models.rb +50 -0
- data/test/rails_root/test/shoulda_macros/pagination.rb +53 -0
- data/test/rails_root/test/shoulda_macros/plugins.rb +34 -0
- data/test/rails_root/test/test_helper.rb +85 -0
- data/test/rails_root/test/unit/aggregation_feed_test.rb +25 -0
- data/test/rails_root/test/unit/aggregation_test.rb +120 -0
- data/test/rails_root/test/unit/comment_test.rb +38 -0
- data/test/rails_root/test/unit/entry_test.rb +65 -0
- data/test/rails_root/test/unit/feed_parent_test.rb +22 -0
- data/test/rails_root/test/unit/feed_test.rb +177 -0
- data/test/rails_root/test/unit/identity_feed_test.rb +18 -0
- data/test/rails_root/test/unit/oai_endpoint_test.rb +40 -0
- data/test/rails_root/test/unit/service_category_test.rb +19 -0
- data/test/rails_root/test/unit/service_test.rb +331 -0
- data/test/rails_root/test/unit/services_mailer_test.rb +35 -0
- data/test/rails_root/test/unit/share_test.rb +30 -0
- data/test/rails_root/test/unit/tag_cloud_test.rb +23 -0
- data/test/rails_root/test/unit/user_test.rb +43 -0
- data/test/rails_root/vendor/plugins/jrails/init.rb +1 -0
- data/test/rails_root/vendor/plugins/jrails/install.rb +9 -0
- data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +421 -0
- data/test/rails_root/vendor/plugins/jrails/rails/init.rb +15 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +62 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +132 -0
- metadata +991 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: activities
|
4
|
+
#
|
5
|
+
# id :integer(4) not null, primary key
|
6
|
+
# item_id :integer(4)
|
7
|
+
# item_type :string(255)
|
8
|
+
# template :string(255)
|
9
|
+
# source_id :integer(4)
|
10
|
+
# source_type :string(255)
|
11
|
+
# content :text
|
12
|
+
# title :string(255)
|
13
|
+
# is_status_update :boolean(1)
|
14
|
+
# is_public :boolean(1) default(TRUE)
|
15
|
+
# created_at :datetime
|
16
|
+
# updated_at :datetime
|
17
|
+
# comment_count :integer(4) default(0)
|
18
|
+
# attachable_id :integer(4)
|
19
|
+
# attachable_type :string(255)
|
20
|
+
#
|
21
|
+
|
22
|
+
class Activity < ActiveRecord::Base
|
23
|
+
acts_as_muck_activity
|
24
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: comments
|
4
|
+
#
|
5
|
+
# id :integer(4) not null, primary key
|
6
|
+
# commentable_id :integer(4) default(0)
|
7
|
+
# commentable_type :string(15) default("")
|
8
|
+
# body :text
|
9
|
+
# user_id :integer(4)
|
10
|
+
# parent_id :integer(4)
|
11
|
+
# lft :integer(4)
|
12
|
+
# rgt :integer(4)
|
13
|
+
# is_denied :integer(4) default(0), not null
|
14
|
+
# is_reviewed :boolean(1)
|
15
|
+
# created_at :datetime
|
16
|
+
# updated_at :datetime
|
17
|
+
#
|
18
|
+
|
19
|
+
class Comment < ActiveRecord::Base
|
20
|
+
acts_as_activity_item
|
21
|
+
acts_as_muck_comment
|
22
|
+
acts_as_muck_services_comment
|
23
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: shares
|
4
|
+
#
|
5
|
+
# id :integer(4) not null, primary key
|
6
|
+
# uri :string(2083) default(""), not null
|
7
|
+
# title :string(255)
|
8
|
+
# message :text
|
9
|
+
# shared_by_id :integer(4) not null
|
10
|
+
# created_at :datetime
|
11
|
+
# updated_at :datetime
|
12
|
+
# comment_count :integer(4) default(0)
|
13
|
+
# entry_id :integer(4)
|
14
|
+
#
|
15
|
+
|
16
|
+
class Share < ActiveRecord::Base
|
17
|
+
acts_as_activity_item
|
18
|
+
acts_as_muck_share
|
19
|
+
acts_as_muck_services_share # must be called after acts_as_muck_share
|
20
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: users
|
4
|
+
#
|
5
|
+
# id :integer(4) not null, primary key
|
6
|
+
# login :string(255)
|
7
|
+
# email :string(255)
|
8
|
+
# first_name :string(255)
|
9
|
+
# last_name :string(255)
|
10
|
+
# crypted_password :string(255)
|
11
|
+
# password_salt :string(255)
|
12
|
+
# persistence_token :string(255)
|
13
|
+
# single_access_token :string(255)
|
14
|
+
# perishable_token :string(255)
|
15
|
+
# login_count :integer(4) default(0), not null
|
16
|
+
# failed_login_count :integer(4) default(0), not null
|
17
|
+
# last_request_at :datetime
|
18
|
+
# last_login_at :datetime
|
19
|
+
# current_login_at :datetime
|
20
|
+
# current_login_ip :string(255)
|
21
|
+
# last_login_ip :string(255)
|
22
|
+
# terms_of_service :boolean(1) not null
|
23
|
+
# time_zone :string(255) default("UTC")
|
24
|
+
# disabled_at :datetime
|
25
|
+
# activated_at :datetime
|
26
|
+
# created_at :datetime
|
27
|
+
# updated_at :datetime
|
28
|
+
#
|
29
|
+
|
30
|
+
class User < ActiveRecord::Base
|
31
|
+
acts_as_authentic do |c|
|
32
|
+
c.crypto_provider = Authlogic::CryptoProviders::BCrypt
|
33
|
+
end
|
34
|
+
acts_as_muck_user
|
35
|
+
has_muck_feeds
|
36
|
+
has_activities
|
37
|
+
acts_as_muck_sharer
|
38
|
+
acts_as_muck_feed_owner
|
39
|
+
acts_as_muck_aggregation_owner
|
40
|
+
def feed_to
|
41
|
+
self
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,109 @@
|
|
1
|
+
# Don't change this file!
|
2
|
+
# Configure your app in config/environment.rb and config/environments/*.rb
|
3
|
+
|
4
|
+
RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
|
5
|
+
|
6
|
+
module Rails
|
7
|
+
class << self
|
8
|
+
def boot!
|
9
|
+
unless booted?
|
10
|
+
preinitialize
|
11
|
+
pick_boot.run
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def booted?
|
16
|
+
defined? Rails::Initializer
|
17
|
+
end
|
18
|
+
|
19
|
+
def pick_boot
|
20
|
+
(vendor_rails? ? VendorBoot : GemBoot).new
|
21
|
+
end
|
22
|
+
|
23
|
+
def vendor_rails?
|
24
|
+
File.exist?("#{RAILS_ROOT}/vendor/rails")
|
25
|
+
end
|
26
|
+
|
27
|
+
def preinitialize
|
28
|
+
load(preinitializer_path) if File.exist?(preinitializer_path)
|
29
|
+
end
|
30
|
+
|
31
|
+
def preinitializer_path
|
32
|
+
"#{RAILS_ROOT}/config/preinitializer.rb"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
class Boot
|
37
|
+
def run
|
38
|
+
load_initializer
|
39
|
+
Rails::Initializer.run(:set_load_path)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
class VendorBoot < Boot
|
44
|
+
def load_initializer
|
45
|
+
require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
|
46
|
+
Rails::Initializer.run(:install_gem_spec_stubs)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
class GemBoot < Boot
|
51
|
+
def load_initializer
|
52
|
+
self.class.load_rubygems
|
53
|
+
load_rails_gem
|
54
|
+
require 'initializer'
|
55
|
+
end
|
56
|
+
|
57
|
+
def load_rails_gem
|
58
|
+
if version = self.class.gem_version
|
59
|
+
gem 'rails', version
|
60
|
+
else
|
61
|
+
gem 'rails'
|
62
|
+
end
|
63
|
+
rescue Gem::LoadError => load_error
|
64
|
+
$stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.)
|
65
|
+
exit 1
|
66
|
+
end
|
67
|
+
|
68
|
+
class << self
|
69
|
+
def rubygems_version
|
70
|
+
Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
|
71
|
+
end
|
72
|
+
|
73
|
+
def gem_version
|
74
|
+
if defined? RAILS_GEM_VERSION
|
75
|
+
RAILS_GEM_VERSION
|
76
|
+
elsif ENV.include?('RAILS_GEM_VERSION')
|
77
|
+
ENV['RAILS_GEM_VERSION']
|
78
|
+
else
|
79
|
+
parse_gem_version(read_environment_rb)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
def load_rubygems
|
84
|
+
require 'rubygems'
|
85
|
+
min_version = '1.1.1'
|
86
|
+
unless rubygems_version >= min_version
|
87
|
+
$stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
|
88
|
+
exit 1
|
89
|
+
end
|
90
|
+
|
91
|
+
rescue LoadError
|
92
|
+
$stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org)
|
93
|
+
exit 1
|
94
|
+
end
|
95
|
+
|
96
|
+
def parse_gem_version(text)
|
97
|
+
$1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
|
98
|
+
end
|
99
|
+
|
100
|
+
private
|
101
|
+
def read_environment_rb
|
102
|
+
File.read("#{RAILS_ROOT}/config/environment.rb")
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# All that for this:
|
109
|
+
Rails.boot!
|
@@ -0,0 +1,37 @@
|
|
1
|
+
RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
|
2
|
+
|
3
|
+
require File.join(File.dirname(__FILE__), 'boot')
|
4
|
+
|
5
|
+
# Load a global constant so the initializers can use them
|
6
|
+
require 'ostruct'
|
7
|
+
require 'yaml'
|
8
|
+
::GlobalConfig = OpenStruct.new(YAML.load_file("#{RAILS_ROOT}/config/global_config.yml")[RAILS_ENV])
|
9
|
+
|
10
|
+
class TestGemLocator < Rails::Plugin::Locator
|
11
|
+
def plugins
|
12
|
+
Rails::Plugin.new(File.join(File.dirname(__FILE__), *%w(.. .. ..)))
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
Rails::Initializer.run do |config|
|
17
|
+
config.time_zone = 'UTC'
|
18
|
+
config.gem 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com'
|
19
|
+
config.gem "binarylogic-authlogic", :lib => 'authlogic', :source => 'http://gems.github.com', :version => ">=2.1.0"
|
20
|
+
config.gem "binarylogic-searchlogic", :lib => 'searchlogic', :source => 'http://gems.github.com', :version => '~> 2.1.1'
|
21
|
+
config.gem "bcrypt-ruby", :lib => "bcrypt", :version => ">=2.0.5"
|
22
|
+
config.gem 'mbleigh-acts-as-taggable-on', :lib => "acts-as-taggable-on", :source => "http://gems.github.com"
|
23
|
+
config.gem "collectiveidea-awesome_nested_set", :lib => 'awesome_nested_set', :source => "http://gems.github.com"
|
24
|
+
config.gem "muck-feedbag", :lib => "feedbag", :source => "http://gems.github.com"
|
25
|
+
config.gem "pauldix-feedzirra", :lib => 'feedzirra', :source => "http://gems.github.com"
|
26
|
+
config.gem "httparty"
|
27
|
+
config.gem "river"
|
28
|
+
config.gem "overlord"
|
29
|
+
config.gem "friendly_id", :version => '>=2.1.3'
|
30
|
+
config.gem 'muck-engine', :lib => 'muck_engine'
|
31
|
+
config.gem 'muck-users', :lib => 'muck_users'
|
32
|
+
config.gem 'muck-comments', :lib => 'muck_comments'
|
33
|
+
config.gem 'muck-activities', :lib => 'muck_activities'
|
34
|
+
config.gem 'muck-shares', :lib => 'muck_shares'
|
35
|
+
config.gem 'muck-solr', :lib => 'acts_as_solr'
|
36
|
+
config.plugin_locators << TestGemLocator
|
37
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
config.cache_classes = true # This must be true for Cucumber to operate correctly!
|
2
|
+
|
3
|
+
# Log error messages when you accidentally call methods on nil.
|
4
|
+
config.whiny_nils = true
|
5
|
+
|
6
|
+
# Show full error reports and disable caching
|
7
|
+
config.action_controller.consider_all_requests_local = true
|
8
|
+
config.action_controller.perform_caching = false
|
9
|
+
|
10
|
+
# Disable request forgery protection in test environment
|
11
|
+
config.action_controller.allow_forgery_protection = false
|
12
|
+
|
13
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
14
|
+
# The :test delivery method accumulates sent emails in the
|
15
|
+
# ActionMailer::Base.deliveries array.
|
16
|
+
config.action_mailer.delivery_method = :test
|
17
|
+
|
18
|
+
config.gem "cucumber", :lib => false, :version => ">=0.3.90" unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber'))
|
19
|
+
config.gem "webrat", :lib => false, :version => ">=0.4.4" unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat'))
|
20
|
+
config.gem "rspec", :lib => false, :version => ">=1.2.6" unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec'))
|
21
|
+
config.gem "rspec-rails", :lib => 'spec/rails', :version => ">=1.2.6" unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# In the development environment your application's code is reloaded on
|
4
|
+
# every request. This slows down response time but is perfect for development
|
5
|
+
# since you don't have to restart the webserver when you make code changes.
|
6
|
+
config.cache_classes = false
|
7
|
+
|
8
|
+
# Log error messages when you accidentally call methods on nil.
|
9
|
+
config.whiny_nils = true
|
10
|
+
|
11
|
+
# Show full error reports and disable caching
|
12
|
+
config.action_controller.consider_all_requests_local = true
|
13
|
+
config.action_controller.perform_caching = false
|
14
|
+
config.action_view.debug_rjs = true
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
HOST = "localhost"
|
20
|
+
|
21
|
+
config.gem 'flyerhzm-bullet', :lib => 'bullet', :source => 'http://gems.github.com'
|
22
|
+
|
23
|
+
config.after_initialize do
|
24
|
+
Bullet.enable = true
|
25
|
+
Bullet.alert = true
|
26
|
+
Bullet.bullet_logger = true
|
27
|
+
Bullet.console = true
|
28
|
+
Bullet.rails_logger = true
|
29
|
+
Bullet.disable_browser_cache = true
|
30
|
+
begin
|
31
|
+
require 'ruby-growl'
|
32
|
+
Bullet.growl = true
|
33
|
+
rescue MissingSourceFile
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
HOST = "http://example.com"
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# The test environment is used exclusively to run your application's
|
4
|
+
# test suite. You never need to work with it otherwise. Remember that
|
5
|
+
# your test database is "scratch space" for the test suite and is wiped
|
6
|
+
# and recreated between test runs. Don't rely on the data there!
|
7
|
+
config.cache_classes = true
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.action_controller.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Disable request forgery protection in test environment
|
17
|
+
config.action_controller.allow_forgery_protection = false
|
18
|
+
|
19
|
+
# Tell ActionMailer not to deliver emails to the real world.
|
20
|
+
# The :test delivery method accumulates sent emails in the
|
21
|
+
# ActionMailer::Base.deliveries array.
|
22
|
+
config.action_mailer.delivery_method = :test
|
23
|
+
|
24
|
+
HOST = "localhost"
|
25
|
+
|
26
|
+
config.gem 'thoughtbot-shoulda',
|
27
|
+
:lib => 'shoulda',
|
28
|
+
:source => "http://gems.github.com",
|
29
|
+
:version => '>= 2.9.1'
|
30
|
+
config.gem 'thoughtbot-factory_girl',
|
31
|
+
:lib => 'factory_girl',
|
32
|
+
:source => "http://gems.github.com",
|
33
|
+
:version => '>= 1.2.0'
|
34
|
+
config.gem "rcov", :version => '>=0.8.1.2.0'
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Dir[File.join(RAILS_ROOT, 'lib', 'extensions', '*.rb')].each do |f|
|
2
|
+
require f
|
3
|
+
end
|
4
|
+
|
5
|
+
Dir[File.join(RAILS_ROOT, 'lib', '*.rb')].each do |f|
|
6
|
+
require f
|
7
|
+
end
|
8
|
+
|
9
|
+
# Rails 2 doesn't like mocks
|
10
|
+
|
11
|
+
Dir[File.join(RAILS_ROOT, 'test', 'mocks', RAILS_ENV, '*.rb')].each do |f|
|
12
|
+
require f
|
13
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Your secret key for verifying cookie session data integrity.
|
2
|
+
# If you change this key, all old sessions will become invalid!
|
3
|
+
# Make sure the secret is at least 30 characters and all random,
|
4
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
5
|
+
ActionController::Base.session = {
|
6
|
+
:key => GlobalConfig.session_key,
|
7
|
+
:secret => GlobalConfig.session_secret
|
8
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
ActionController::Routing::Routes.draw do |map|
|
2
|
+
map.root :controller => 'default', :action => 'index'
|
3
|
+
|
4
|
+
map.resources :users, :controller => 'muck/users' do |users|
|
5
|
+
# have to map into the muck/identity_feeds controller or rails can't find the identity_feeds
|
6
|
+
users.resources :identity_feeds, :controller => 'muck/identity_feeds'
|
7
|
+
users.resources :aggregations, :controller => 'muck/aggregations'
|
8
|
+
users.resources :feeds, :controller => 'muck/feeds'
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class CreateMuckPermissionsAndRoles < ActiveRecord::Migration
|
2
|
+
|
3
|
+
create_table "permissions", :force => true do |t|
|
4
|
+
t.integer "role_id", :null => false
|
5
|
+
t.integer "user_id", :null => false
|
6
|
+
t.datetime "created_at"
|
7
|
+
t.datetime "updated_at"
|
8
|
+
end
|
9
|
+
|
10
|
+
create_table "roles", :force => true do |t|
|
11
|
+
t.string "rolename"
|
12
|
+
t.datetime "created_at"
|
13
|
+
t.datetime "updated_at"
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|