muck-raker 0.2.11 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -83
- data/Rakefile +7 -45
- data/VERSION +1 -1
- data/config/muck_raker_environment.rb +6 -2
- data/lib/muck_raker/tasks.rb +140 -30
- data/muck-raker.gemspec +36 -754
- data/rails/init.rb +0 -15
- data/raker/lib/aggregatord.jar +0 -0
- data/raker/lib/recommenderd.jar +0 -0
- data/raker/lib/recommenderd.properties +26 -19
- data/raker/lib/{apache-solr-common-1.3.0.jar → solr/apache-solr-common-1.3.0.jar} +0 -0
- data/raker/lib/{apache-solr-core-1.3.0.jar → solr/apache-solr-core-1.3.0.jar} +0 -0
- data/raker/lib/{apache-solr-dataimporthandler-1.3.0.jar → solr/apache-solr-dataimporthandler-1.3.0.jar} +0 -0
- data/raker/lib/{commons-codec-1.3.jar → solr/commons-codec-1.3.jar} +0 -0
- data/raker/lib/{commons-csv-1.0-SNAPSHOT-r609327.jar → solr/commons-csv-1.0-SNAPSHOT-r609327.jar} +0 -0
- data/raker/lib/{commons-fileupload-1.2.jar → solr/commons-fileupload-1.2.jar} +0 -0
- data/raker/lib/{commons-httpclient-3.1.jar → solr/commons-httpclient-3.1.jar} +0 -0
- data/raker/lib/{commons-io-1.3.1.jar → solr/commons-io-1.3.1.jar} +0 -0
- data/raker/lib/{commons-logging-1.0.4.jar → solr/commons-logging-1.0.4.jar} +0 -0
- data/raker/lib/{geronimo-stax-api_1.0_spec-1.0.1.jar → solr/geronimo-stax-api_1.0_spec-1.0.1.jar} +0 -0
- data/raker/lib/{junit-4.3.jar → solr/junit-4.3.jar} +0 -0
- data/raker/lib/{lucene-analyzers-2.4-dev.jar → solr/lucene-analyzers-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-core-2.4-dev.jar → solr/lucene-core-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-highlighter-2.4-dev.jar → solr/lucene-highlighter-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-memory-2.4-dev.jar → solr/lucene-memory-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-queries-2.4-dev.jar → solr/lucene-queries-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-snowball-2.4-dev.jar → solr/lucene-snowball-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-spellchecker-2.4-dev.jar → solr/lucene-spellchecker-2.4-dev.jar} +0 -0
- data/raker/lib/{solr-commons-csv-pom.xml.template → solr/solr-commons-csv-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-analyzers-pom.xml.template → solr/solr-lucene-analyzers-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-contrib-pom.xml.template → solr/solr-lucene-contrib-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-core-pom.xml.template → solr/solr-lucene-core-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-highlighter-pom.xml.template → solr/solr-lucene-highlighter-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-queries-pom.xml.template → solr/solr-lucene-queries-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-snowball-pom.xml.template → solr/solr-lucene-snowball-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-spellchecker-pom.xml.template → solr/solr-lucene-spellchecker-pom.xml.template} +0 -0
- data/raker/lib/{stax-utils.jar → solr/stax-utils.jar} +0 -0
- data/raker/lib/{wstx-asl-3.2.7.jar → solr/wstx-asl-3.2.7.jar} +0 -0
- data/test/rails_root/config/environment.rb +0 -17
- data/test/rails_root/config/environments/development.rb +0 -15
- data/test/rails_root/config/environments/test.rb +0 -10
- data/test/rails_root/config/routes.rb +0 -8
- metadata +35 -836
- data/.gitignore +0 -30
- data/app/controllers/admin/muck/feeds_controller.rb +0 -40
- data/app/controllers/admin/muck/oai_endpoints_controller.rb +0 -13
- data/app/controllers/muck/aggregation_feeds_controller.rb +0 -43
- data/app/controllers/muck/aggregations_controller.rb +0 -234
- data/app/controllers/muck/entries_controller.rb +0 -102
- data/app/controllers/muck/feed_previews_controller.rb +0 -33
- data/app/controllers/muck/feeds_controller.rb +0 -157
- data/app/controllers/muck/identity_feeds_controller.rb +0 -155
- data/app/controllers/muck/oai_endpoints_controller.rb +0 -96
- data/app/controllers/muck/recommendations_controller.rb +0 -62
- data/app/controllers/muck/topics_controller.rb +0 -162
- data/app/controllers/muck/visits_controller.rb +0 -26
- data/app/helpers/muck_raker_aggregations_helper.rb +0 -32
- data/app/helpers/muck_raker_feeds_helper.rb +0 -32
- data/app/helpers/muck_raker_helper.rb +0 -95
- data/app/helpers/muck_raker_services_helper.rb +0 -117
- data/app/models/aggregation.rb +0 -92
- data/app/models/aggregation_feed.rb +0 -14
- data/app/models/attention.rb +0 -14
- data/app/models/click.rb +0 -14
- data/app/models/entry.rb +0 -341
- data/app/models/feed.rb +0 -224
- data/app/models/feed_parent.rb +0 -18
- data/app/models/identity_feed.rb +0 -26
- data/app/models/oai_endpoint.rb +0 -39
- data/app/models/raker_mailer.rb +0 -25
- data/app/models/recommendation.rb +0 -15
- data/app/models/service.rb +0 -486
- data/app/models/service_category.rb +0 -15
- data/app/models/subject.rb +0 -10
- data/app/models/tag_cloud.rb +0 -21
- data/app/views/activity_templates/_entry_comment.html.erb +0 -8
- data/app/views/activity_templates/_entry_share.html.erb +0 -8
- data/app/views/admin/feeds/index.html.erb +0 -35
- data/app/views/admin/oai_endpoints/index.html.erb +0 -31
- data/app/views/aggregations/_aggregation.html.erb +0 -1
- data/app/views/aggregations/_data_source.html.erb +0 -4
- data/app/views/aggregations/_data_sources.html.erb +0 -10
- data/app/views/aggregations/_feeds.html.erb +0 -1
- data/app/views/aggregations/_preview_form.html.erb +0 -12
- data/app/views/aggregations/edit.html.erb +0 -65
- data/app/views/aggregations/index.html.erb +0 -17
- data/app/views/aggregations/index.iphone.erb +0 -0
- data/app/views/aggregations/new.html.erb +0 -12
- data/app/views/aggregations/preview.html.erb +0 -46
- data/app/views/aggregations/preview.iphone.erb +0 -0
- data/app/views/aggregations/rss_discovery.html.erb +0 -3
- data/app/views/aggregations/show.html.erb +0 -0
- data/app/views/default/_language_list.html.erb +0 -5
- data/app/views/entries/_related_entry.html.erb +0 -4
- data/app/views/entries/_result.html.erb +0 -7
- data/app/views/entries/_result_status.html.erb +0 -16
- data/app/views/entries/_results.html.erb +0 -3
- data/app/views/entries/_tag_cloud.html.erb +0 -18
- data/app/views/entries/browse_by_tags.html.erb +0 -16
- data/app/views/entries/collections.html.erb +0 -28
- data/app/views/entries/details.html.erb +0 -25
- data/app/views/entries/index.html.erb +0 -3
- data/app/views/entries/search.html.erb +0 -10
- data/app/views/entries/show.html.erb +0 -7
- data/app/views/entries/track_clicks.html.erb +0 -0
- data/app/views/feed_previews/new.html.erb +0 -1
- data/app/views/feed_previews/select_feeds.html.erb +0 -6
- data/app/views/feeds/_entry.html.erb +0 -1
- data/app/views/feeds/_feed.html.erb +0 -28
- data/app/views/feeds/_feed_row.html.erb +0 -29
- data/app/views/feeds/_feed_selection.html.erb +0 -1
- data/app/views/feeds/_form.html.erb +0 -20
- data/app/views/feeds/edit.html.erb +0 -107
- data/app/views/feeds/harvest_now.html.erb +0 -3
- data/app/views/feeds/index.html.erb +0 -34
- data/app/views/feeds/new.html.erb +0 -21
- data/app/views/feeds/new_extended.html.erb +0 -32
- data/app/views/feeds/new_oai_rss.html.erb +0 -50
- data/app/views/feeds/show.html.erb +0 -1
- data/app/views/feeds/unban.html.erb +0 -3
- data/app/views/identity_feeds/_available_service_categories.html.erb +0 -13
- data/app/views/identity_feeds/_form.html.erb +0 -20
- data/app/views/identity_feeds/_services_for_user.html.erb +0 -25
- data/app/views/identity_feeds/edit.html.erb +0 -2
- data/app/views/identity_feeds/index.html.erb +0 -32
- data/app/views/identity_feeds/new.html.erb +0 -1
- data/app/views/oai_endpoints/_form.html.erb +0 -22
- data/app/views/oai_endpoints/_oai_endpoint_row.html.erb +0 -25
- data/app/views/oai_endpoints/new.html.erb +0 -2
- data/app/views/oai_endpoints/show.html.erb +0 -5
- data/app/views/parts/_add_feed.html.erb +0 -20
- data/app/views/parts/_select_feed.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ar.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ar.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.bg.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.bg.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ca.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ca.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.cs.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.cs.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.da.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.da.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.de.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.de.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.el.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.el.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.es.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.es.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.et.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.et.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fa.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fa.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.gl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.gl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.hi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.hr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hu.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hu.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.id.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.id.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.it.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.it.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.iw.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.iw.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ja.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ja.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ko.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ko.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.lt.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.lt.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.lv.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.lv.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.mt.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.mt.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.nl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.nl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.no.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.no.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.pl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.pl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.pt-PT.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.pt-PT.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ro.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ro.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ru.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ru.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sk.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sk.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sq.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sq.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sv.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sv.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.th.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.th.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.tl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.tl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.tr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.tr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.uk.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.uk.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.vi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.vi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh-CN.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh-CN.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh-TW.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh-TW.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh.plain.erb +0 -7
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ar.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ar.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.bg.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.bg.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ca.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ca.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.cs.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.cs.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.da.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.da.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.de.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.de.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.el.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.el.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.es.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.es.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.et.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.et.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fa.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fa.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.gl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.gl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hu.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hu.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.id.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.id.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.it.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.it.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.iw.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.iw.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ja.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ja.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ko.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ko.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lt.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lt.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lv.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lv.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.mt.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.mt.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.nl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.nl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.no.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.no.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pt-PT.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pt-PT.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ro.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ro.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ru.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ru.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sk.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sk.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sq.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sq.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sv.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sv.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.th.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.th.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.uk.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.uk.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.vi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.vi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-CN.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-CN.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-TW.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-TW.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh.plain.erb +0 -4
- data/app/views/recommendations/index.html.erb +0 -5
- data/app/views/recommendations/index.pjs.erb +0 -44
- data/app/views/recommendations/index.rss.builder +0 -37
- data/app/views/recommendations/index.xml.builder +0 -36
- data/app/views/recommendations/index_js.pjs.erb +0 -39
- data/app/views/recommendations/index_real_time.pjs.erb +0 -44
- data/app/views/recommendations/index_real_time.xml.builder +0 -25
- data/app/views/search/_languages.html.erb +0 -6
- data/app/views/search/_result.html.erb +0 -9
- data/app/views/search/_search_box.html.erb +0 -9
- data/app/views/search/index.html.erb +0 -5
- data/app/views/search/results.atom.builder +0 -27
- data/app/views/search/results.html.erb +0 -35
- data/app/views/search/results.pjs.erb +0 -13
- data/app/views/search/results.rdf.builder +0 -24
- data/app/views/search/results.rss.builder +0 -31
- data/app/views/search/results.xml.builder +0 -19
- data/app/views/service_templates/_facebook.html.erb +0 -4
- data/app/views/service_templates/_friendfeed.html.erb +0 -2
- data/app/views/service_templates/_goodreads.html.erb +0 -2
- data/app/views/service_templates/_linkedin.html.erb +0 -2
- data/app/views/service_templates/_netflix.html.erb +0 -2
- data/app/views/service_templates/_polyvore.html.erb +0 -2
- data/app/views/service_templates/_zotero_group.html.erb +0 -2
- data/app/views/services/_edit_service.html.erb +0 -1
- data/app/views/services/_new_service.html.erb +0 -1
- data/app/views/services/_summary.html.erb +0 -5
- data/app/views/services/_view_service.html.erb +0 -1
- data/app/views/topics/_entry.html.erb +0 -19
- data/app/views/topics/_feed.html.erb +0 -24
- data/app/views/topics/_feed_preview.html.erb +0 -18
- data/app/views/topics/_form.html.erb +0 -15
- data/app/views/topics/_rss_discover.html.erb +0 -1
- data/app/views/topics/_simple_entry.html.erb +0 -7
- data/app/views/topics/new.html.erb +0 -27
- data/app/views/topics/photos.html.erb +0 -14
- data/app/views/topics/show.html.erb +0 -80
- data/app/views/topics/show.opml.builder +0 -18
- data/app/views/topics/videos.html.erb +0 -14
- data/app/views/visits/_comments_tool.html.erb +0 -19
- data/app/views/visits/_frame_scripts.html.erb +0 -26
- data/app/views/visits/_share_tool.html.erb +0 -22
- data/app/views/visits/_toolbar.html.erb +0 -25
- data/app/views/visits/show.html.erb +0 -7
- data/config/muck_raker_routes.rb +0 -37
- data/lib/active_record/acts/muck_aggregation_owner.rb +0 -30
- data/lib/active_record/acts/muck_feed_owner.rb +0 -31
- data/lib/active_record/acts/muck_feed_parent.rb +0 -23
- data/lib/active_record/acts/muck_raker_comment.rb +0 -39
- data/lib/active_record/acts/muck_raker_share.rb +0 -32
- data/lib/muck_raker/exceptions.rb +0 -5
- data/lib/muck_raker/initialize_routes.rb +0 -8
- data/lib/muck_raker/languages.rb +0 -57
- data/lib/muck_raker/muck_custom_form_builder.rb +0 -22
- data/lib/muck_raker/services.rb +0 -12
- data/lib/muck_raker.rb +0 -21
- data/locales/ar.yml +0 -210
- data/locales/bg.yml +0 -210
- data/locales/ca.yml +0 -210
- data/locales/cs.yml +0 -210
- data/locales/da.yml +0 -210
- data/locales/de.yml +0 -210
- data/locales/el.yml +0 -210
- data/locales/en.yml +0 -213
- data/locales/es.yml +0 -210
- data/locales/et.yml +0 -210
- data/locales/fa.yml +0 -210
- data/locales/fi.yml +0 -210
- data/locales/fr.yml +0 -210
- data/locales/gl.yml +0 -210
- data/locales/hi.yml +0 -210
- data/locales/hr.yml +0 -210
- data/locales/hu.yml +0 -210
- data/locales/id.yml +0 -210
- data/locales/it.yml +0 -210
- data/locales/iw.yml +0 -210
- data/locales/ja.yml +0 -210
- data/locales/ko.yml +0 -210
- data/locales/lt.yml +0 -210
- data/locales/lv.yml +0 -210
- data/locales/mt.yml +0 -210
- data/locales/nl.yml +0 -210
- data/locales/no.yml +0 -211
- data/locales/pl.yml +0 -210
- data/locales/pt-PT.yml +0 -210
- data/locales/ro.yml +0 -210
- data/locales/ru.yml +0 -210
- data/locales/sk.yml +0 -210
- data/locales/sl.yml +0 -210
- data/locales/sq.yml +0 -210
- data/locales/sr.yml +0 -210
- data/locales/sv.yml +0 -210
- data/locales/th.yml +0 -210
- data/locales/tl.yml +0 -210
- data/locales/tr.yml +0 -210
- data/locales/uk.yml +0 -210
- data/locales/vi.yml +0 -210
- data/locales/zh-CN.yml +0 -210
- data/locales/zh-TW.yml +0 -210
- data/locales/zh.yml +0 -210
- 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_raker.js +0 -94
- data/public/stylesheets/frame.css +0 -56
- data/public/stylesheets/muck-raker.css +0 -90
- data/test/rails_root/app/controllers/application_controller.rb +0 -32
- data/test/rails_root/app/controllers/default_controller.rb +0 -7
- data/test/rails_root/app/helpers/application_helper.rb +0 -3
- data/test/rails_root/app/models/activity.rb +0 -24
- data/test/rails_root/app/models/comment.rb +0 -23
- data/test/rails_root/app/models/share.rb +0 -20
- data/test/rails_root/app/models/user.rb +0 -43
- data/test/rails_root/app/models/user_session.rb +0 -2
- data/test/rails_root/config/environments/cucumber.rb +0 -21
- data/test/rails_root/features/step_definitions/common_steps.rb +0 -93
- data/test/rails_root/features/step_definitions/visit_steps.rb +0 -6
- data/test/rails_root/features/step_definitions/webrat_steps.rb +0 -128
- data/test/rails_root/features/support/env.rb +0 -14
- data/test/rails_root/features/support/paths.rb +0 -36
- data/test/rails_root/public/dispatch.rb +0 -10
- data/test/rails_root/test/factories.rb +0 -151
- data/test/rails_root/test/functional/admin/feeds_controller_test.rb +0 -37
- data/test/rails_root/test/functional/admin/oai_endpoints_controller_test.rb +0 -30
- data/test/rails_root/test/functional/aggregation_feeds_controller_test.rb +0 -67
- data/test/rails_root/test/functional/aggregations_controller_test.rb +0 -89
- data/test/rails_root/test/functional/feed_previews_controller_test.rb +0 -32
- data/test/rails_root/test/functional/feeds_controller_test.rb +0 -77
- data/test/rails_root/test/functional/identity_feeds_controller_test.rb +0 -110
- data/test/rails_root/test/functional/oai_endpoints_controller_test.rb +0 -42
- data/test/rails_root/test/functional/topics_controller_test.rb +0 -46
- data/test/rails_root/test/functional/visits_controller_test.rb +0 -21
- data/test/rails_root/test/shoulda_macros/controller.rb +0 -49
- data/test/rails_root/test/shoulda_macros/forms.rb +0 -32
- data/test/rails_root/test/shoulda_macros/models.rb +0 -50
- data/test/rails_root/test/shoulda_macros/pagination.rb +0 -53
- data/test/rails_root/test/shoulda_macros/plugins.rb +0 -34
- data/test/rails_root/test/test_helper.rb +0 -85
- data/test/rails_root/test/unit/aggregation_feed_test.rb +0 -25
- data/test/rails_root/test/unit/aggregation_test.rb +0 -120
- data/test/rails_root/test/unit/comment_test.rb +0 -38
- data/test/rails_root/test/unit/entry_test.rb +0 -65
- data/test/rails_root/test/unit/feed_parent_test.rb +0 -22
- data/test/rails_root/test/unit/feed_test.rb +0 -177
- data/test/rails_root/test/unit/identity_feed_test.rb +0 -18
- data/test/rails_root/test/unit/oai_endpoint_test.rb +0 -40
- data/test/rails_root/test/unit/raker_mailer_test.rb +0 -35
- data/test/rails_root/test/unit/service_category_test.rb +0 -19
- data/test/rails_root/test/unit/service_test.rb +0 -331
- data/test/rails_root/test/unit/share_test.rb +0 -30
- data/test/rails_root/test/unit/tag_cloud_test.rb +0 -23
- data/test/rails_root/test/unit/user_test.rb +0 -43
- data/test/rails_root/vendor/plugins/jrails/init.rb +0 -1
- data/test/rails_root/vendor/plugins/jrails/install.rb +0 -9
- data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +0 -421
- data/test/rails_root/vendor/plugins/jrails/rails/init.rb +0 -15
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
data/README.rdoc
CHANGED
@@ -1,95 +1,13 @@
|
|
1
1
|
= Muck Raker
|
2
|
-
Muck Raker
|
2
|
+
Muck Raker contains the jar files and rake tasks for running deamons to aggregates and recommend data. See muck-services for details.
|
3
3
|
|
4
4
|
== Installation
|
5
5
|
|
6
|
-
Be sure to add github as a gem source before proceeding as acts-as-taggable-on, mislav-will_paginate (and many other gems) live there.
|
7
|
-
gem sources -a http://gems.github.com
|
8
|
-
|
9
6
|
Install muck raker:
|
10
7
|
sudo gem install muck-raker
|
11
8
|
|
12
|
-
Installing muck raker should install all of it's dependancies. You can also install them manually:
|
13
|
-
sudo gem install httparty
|
14
|
-
sudo gem install mbleigh-acts-as-taggable-on
|
15
|
-
sudo gem install mislav-will_paginate
|
16
|
-
sudo gem install muck-feedbag
|
17
|
-
sudo gem install pauldix-feedzirra
|
18
|
-
|
19
|
-
After install acts-as-taggable-on be sure to include the helper in application_helper.rb:
|
20
|
-
|
21
|
-
module ApplicationHelper
|
22
|
-
include TagsHelper
|
23
|
-
end
|
24
|
-
|
25
9
|
Add rake tasks to your Rakefile
|
26
10
|
|
27
11
|
require 'muck_raker/tasks'
|
28
12
|
|
29
|
-
Add routes
|
30
|
-
Depending on which features you use from muck raker you may need to add additional routes to your application. For example,
|
31
|
-
a user with has_muck_feeds and acts_as_muck_feed_owner the following routes would be required:
|
32
|
-
|
33
|
-
map.resources :users, :controller => 'muck/users' do |users|
|
34
|
-
# have to map into the muck/identity_feeds controller or rails can't find the identity_feeds
|
35
|
-
users.resources :identity_feeds, :controller => 'muck/identity_feeds'
|
36
|
-
users.resources :feeds, :controller => 'muck/feeds'
|
37
|
-
users.resources :aggregations, :controller => 'muck/aggregations'
|
38
|
-
end
|
39
|
-
|
40
|
-
== Usage
|
41
|
-
Muck raker aggregates data feeds and analyzes the results to make recommendations.
|
42
|
-
|
43
|
-
=== environment.rb
|
44
|
-
Add the following to environment.rb to include all the required gems:
|
45
|
-
|
46
|
-
config.gem "muck-feedbag", :lib => "feedbag", :source => "http://gems.github.com"
|
47
|
-
config.gem "pauldix-feedzirra", :lib => 'feedzirra', :source => "http://gems.github.com"
|
48
|
-
config.gem 'muck-engine', :lib => 'muck_engine'
|
49
|
-
config.gem 'muck-users', :lib => 'muck_users'
|
50
|
-
config.gem 'muck-solr', :lib => 'acts_as_solr'
|
51
|
-
# The following are optional but almost always used so you may as well pull them in.
|
52
|
-
config.gem 'muck-comments', :lib => 'muck_comments'
|
53
|
-
config.gem 'muck-activities', :lib => 'muck_activities'
|
54
|
-
config.gem 'muck-shares', :lib => 'muck_shares'
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
=== Identity Feeds
|
59
|
-
Specific feeds can be attached to objects. For example, a user might produce a blog or a flickr photo stream. The identity feed system associated the resulting
|
60
|
-
data with the user so that recommendations can be improved.
|
61
|
-
|
62
|
-
== Notes
|
63
|
-
muck-raker uses muck-comments and muck-activities to add comments to entries in the 'visits' frame view. You can omit these gems if you don't desire comments.
|
64
|
-
muck-raker also uses muck-shares and muck-activities to share entries with other users. Again you can omit these gems if you don't desire the share capability.
|
65
|
-
|
66
|
-
To turn on this functionality add these lines to your global_config.yml file:
|
67
|
-
enable_raker_comments: true
|
68
|
-
enable_raker_shares: true
|
69
|
-
|
70
|
-
To install these gems:
|
71
|
-
sudo gem install muck-comments
|
72
|
-
sudo gem install muck-activities
|
73
|
-
sudo gem install muck-shares
|
74
|
-
|
75
|
-
If you enable comments you will need a comment model with 'acts_as_muck_raker_comment':
|
76
|
-
|
77
|
-
class Comment < ActiveRecord::Base
|
78
|
-
acts_as_muck_comment
|
79
|
-
acts_as_muck_raker_comment
|
80
|
-
end
|
81
|
-
|
82
|
-
=== CSS
|
83
|
-
Running rake muck:raker:sync will copy a default css file called muck-raker.css into your stylesheets directory.
|
84
|
-
You can include that file in your layout or copy it and modify it to meet your needs.
|
85
|
-
(Don't change the file as each time you run rake muck:raker:sync it will overwrite any changes you might have made.)
|
86
|
-
|
87
|
-
=== Frame css
|
88
|
-
There is an example css file for the framed page in frame.css.
|
89
|
-
|
90
|
-
=== Testing
|
91
|
-
You will need to have mysql setup to run the migrations for the test database. Muck raker has a few customizations which require mysql.
|
92
|
-
|
93
|
-
|
94
|
-
|
95
13
|
Copyright (c) 2009 Tatemae.com, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rake/rdoctask'
|
4
|
+
require 'muck_raker/tasks'
|
4
5
|
|
5
|
-
desc 'Default: run unit tests.'
|
6
|
-
task :default => :test
|
7
6
|
|
8
7
|
desc 'Test muck-raker.'
|
9
8
|
Rake::TestTask.new(:test) do |t|
|
@@ -13,30 +12,6 @@ Rake::TestTask.new(:test) do |t|
|
|
13
12
|
t.verbose = true
|
14
13
|
end
|
15
14
|
|
16
|
-
begin
|
17
|
-
require 'rcov/rcovtask'
|
18
|
-
Rcov::RcovTask.new do |t|
|
19
|
-
#t.libs << 'lib'
|
20
|
-
t.libs << 'test/rails_root/lib'
|
21
|
-
t.pattern = 'test/rails_root/test/**/*_test.rb'
|
22
|
-
t.verbose = true
|
23
|
-
t.output_dir = 'coverage'
|
24
|
-
t.rcov_opts << '--exclude "gems/*"'
|
25
|
-
end
|
26
|
-
rescue LoadError
|
27
|
-
task :rcov do
|
28
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
desc 'Translate this gem'
|
33
|
-
task :translate do
|
34
|
-
file = File.join(File.dirname(__FILE__), 'locales', 'en.yml')
|
35
|
-
system("babelphish -o -y #{file}")
|
36
|
-
path = File.join(File.dirname(__FILE__), 'app', 'views', 'raker_mailer')
|
37
|
-
system("babelphish -o -h #{path} -l en")
|
38
|
-
end
|
39
|
-
|
40
15
|
desc 'Generate documentation for the recommender plugin.'
|
41
16
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
42
17
|
rdoc.rdoc_dir = 'rdoc'
|
@@ -50,33 +25,20 @@ begin
|
|
50
25
|
require 'jeweler'
|
51
26
|
Jeweler::Tasks.new do |gemspec|
|
52
27
|
gemspec.name = "muck-raker"
|
53
|
-
gemspec.summary = "The aggregation and recommendation
|
28
|
+
gemspec.summary = "The aggregation and recommendation daemons for the muck system"
|
54
29
|
gemspec.email = "justinball@gmail.com"
|
55
|
-
gemspec.homepage = "http://github.com/
|
56
|
-
gemspec.description = "The aggregation and recommendation
|
30
|
+
gemspec.homepage = "http://github.com/tatemae/muck-raker"
|
31
|
+
gemspec.description = "The aggregation and recommendation daemons for the muck system."
|
57
32
|
gemspec.authors = ["Joel Duffin Justin Ball"]
|
58
33
|
gemspec.rubyforge_project = 'muck-raker'
|
59
|
-
gemspec.add_dependency "acts-as-taggable-on"
|
60
|
-
gemspec.add_dependency "mislav-will_paginate"
|
61
|
-
gemspec.add_dependency "httparty"
|
62
|
-
gemspec.add_dependency "nokogiri"
|
63
|
-
gemspec.add_dependency "muck-feedbag"
|
64
|
-
gemspec.add_dependency "river"
|
65
|
-
gemspec.add_dependency "overlord"
|
66
|
-
gemspec.add_dependency "feedzirra"
|
67
|
-
gemspec.add_dependency "muck-engine"
|
68
|
-
gemspec.add_dependency "muck-users"
|
69
|
-
gemspec.add_dependency "muck-comments"
|
70
|
-
gemspec.add_dependency "muck-solr"
|
71
34
|
gemspec.files.exclude "public/images/service_icons/source/*"
|
72
35
|
gemspec.files.exclude "test/*"
|
73
36
|
gemspec.test_files.exclude 'test/feed_archive/**'
|
74
|
-
gemspec.test_files.exclude 'test/rails_root/public/images/*'
|
75
|
-
end
|
76
|
-
Jeweler::RubyforgeTasks.new do |rubyforge|
|
77
|
-
rubyforge.doc_task = "rdoc"
|
78
37
|
end
|
79
38
|
Jeweler::GemcutterTasks.new
|
39
|
+
# Jeweler::RubyforgeTasks.new do |rubyforge|
|
40
|
+
# rubyforge.doc_task = "rdoc"
|
41
|
+
# end
|
80
42
|
rescue LoadError
|
81
43
|
puts "Jeweler not available. Install it with: sudo gem install jeweler"
|
82
44
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.1
|
@@ -6,7 +6,7 @@ unless defined? SOLR_LOGS_PATH
|
|
6
6
|
SOLR_LOGS_PATH = ENV["SOLR_LOGS_PATH"] || "#{RAILS_ROOT}/log"
|
7
7
|
end
|
8
8
|
unless defined? SOLR_PIDS_PATH
|
9
|
-
SOLR_PIDS_PATH = ENV["SOLR_PIDS_PATH"] || "#{RAILS_ROOT}/tmp/pids"
|
9
|
+
SOLR_PIDS_PATH = ENV["SOLR_PIDS_PATH"] || "#{RAILS_ROOT}/tmp/pids/solr"
|
10
10
|
end
|
11
11
|
unless defined? SOLR_DATA_PATH
|
12
12
|
SOLR_DATA_PATH = ENV["SOLR_DATA_PATH"] || "#{RAILS_ROOT}/solr/#{ENV['RAILS_ENV']}"
|
@@ -15,6 +15,10 @@ unless defined? SOLR_CONFIG_PATH
|
|
15
15
|
SOLR_CONFIG_PATH = ENV["SOLR_CONFIG_PATH"] || SOLR_PATH
|
16
16
|
end
|
17
17
|
|
18
|
+
unless defined? RAKER_PIDS_PATH
|
19
|
+
RAKER_PIDS_PATH = ENV["RAKER_PIDS_PATH"] || "#{RAILS_ROOT}/tmp/pids/raker"
|
20
|
+
end
|
21
|
+
|
18
22
|
unless defined? RAILS_DB_CONFIG
|
19
23
|
if ENV['RAILS_ENV'] == 'production'
|
20
24
|
RAILS_DB_CONFIG = File.join(RAILS_ROOT, '..', '..', 'shared', 'config', 'database.yml')
|
@@ -32,5 +36,5 @@ unless defined? FEED_ARCHIVE_PATH
|
|
32
36
|
end
|
33
37
|
end
|
34
38
|
unless defined? LOG_FILE_PREFIX
|
35
|
-
LOG_FILE_PREFIX = File.join(RAILS_ROOT, 'log', '
|
39
|
+
LOG_FILE_PREFIX = File.join(RAILS_ROOT, 'log', 'muck-raker')
|
36
40
|
end
|
data/lib/muck_raker/tasks.rb
CHANGED
@@ -90,11 +90,12 @@ module MuckRaker
|
|
90
90
|
|
91
91
|
desc "Harvest without recommending"
|
92
92
|
task :harvest => :environment do
|
93
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
93
94
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
94
95
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
95
96
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
96
97
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
97
|
-
jars = Dir['*.jar'].join(separator)
|
98
|
+
jars = Dir['**','*.jar'].join(separator)
|
98
99
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
99
100
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
100
101
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -102,18 +103,30 @@ module MuckRaker
|
|
102
103
|
classpath = "-classpath #{jars}#{separator}. "
|
103
104
|
javaclass = "edu.usu.cosl.aggregatord.Harvester"
|
104
105
|
cmd = "java " + options + classpath + javaclass
|
105
|
-
puts ("Executing: " + cmd)
|
106
|
-
|
106
|
+
puts ("Executing: " + cmd)
|
107
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
108
|
+
if windows
|
109
|
+
exec cmd
|
110
|
+
else
|
111
|
+
pid = fork do
|
112
|
+
exec cmd
|
113
|
+
end
|
114
|
+
end
|
115
|
+
sleep(5)
|
116
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
117
|
+
puts "#{ENV['RAILS_ENV']} Muck raker harvest command started successfully, pid: #{pid}."
|
107
118
|
end
|
108
119
|
end
|
109
120
|
|
110
121
|
desc "Start the recommender daemon process"
|
111
122
|
task :start => :environment do
|
123
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
112
124
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
113
125
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
114
126
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
115
127
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
116
|
-
jars = Dir['*.jar'].join(separator)
|
128
|
+
jars = Dir['**','*.jar'].join(separator)
|
129
|
+
puts Dir['**','*.jar']
|
117
130
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
118
131
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
119
132
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -121,18 +134,29 @@ module MuckRaker
|
|
121
134
|
classpath = "-classpath #{jars}#{separator}. "
|
122
135
|
javaclass = "edu.usu.cosl.recommenderd.Recommenderd"
|
123
136
|
cmd = "java " + options + classpath + javaclass
|
124
|
-
puts ("Executing: " + cmd)
|
125
|
-
|
137
|
+
puts ("Executing: " + cmd)
|
138
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
139
|
+
if windows
|
140
|
+
exec cmd
|
141
|
+
else
|
142
|
+
pid = fork do
|
143
|
+
exec cmd
|
144
|
+
end
|
145
|
+
end
|
146
|
+
sleep(5)
|
147
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
148
|
+
puts "#{ENV['RAILS_ENV']} Muck raker start command started successfully, pid: #{pid}."
|
126
149
|
end
|
127
150
|
end
|
128
151
|
|
129
152
|
desc "Reindex records"
|
130
153
|
task :reindex => :environment do
|
154
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
131
155
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
132
156
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
133
157
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
134
158
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
135
|
-
jars = Dir['*.jar'].join(separator)
|
159
|
+
jars = Dir['**','*.jar'].join(separator)
|
136
160
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
137
161
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
138
162
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -142,18 +166,29 @@ module MuckRaker
|
|
142
166
|
javaclass = "edu.usu.cosl.indexer.Indexer "
|
143
167
|
cmdlineoption = "all "
|
144
168
|
cmd = "java " + options + classpath + memory_options + javaclass + cmdlineoption
|
145
|
-
puts ("Executing: " + cmd)
|
146
|
-
|
169
|
+
puts ("Executing: " + cmd)
|
170
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
171
|
+
if windows
|
172
|
+
exec cmd
|
173
|
+
else
|
174
|
+
pid = fork do
|
175
|
+
exec cmd
|
176
|
+
end
|
177
|
+
end
|
178
|
+
sleep(5)
|
179
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
180
|
+
puts "#{ENV['RAILS_ENV']} Muck raker reindex command started successfully, pid: #{pid}."
|
147
181
|
end
|
148
182
|
end
|
149
183
|
|
150
184
|
desc "Autogenerate subjects"
|
151
185
|
task :gen_subjects => :environment do
|
186
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
152
187
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
153
188
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
154
189
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
155
190
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
156
|
-
jars = Dir['*.jar'].join(separator)
|
191
|
+
jars = Dir['**','*.jar'].join(separator)
|
157
192
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
158
193
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
159
194
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -161,18 +196,29 @@ module MuckRaker
|
|
161
196
|
classpath = "-classpath #{jars}#{separator}. "
|
162
197
|
javaclass = "edu.usu.cosl.tagclouds.SubjectAutoGenerator "
|
163
198
|
cmd = "java " + options + classpath + javaclass
|
164
|
-
puts ("Executing: " + cmd)
|
165
|
-
|
199
|
+
puts ("Executing: " + cmd)
|
200
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
201
|
+
if windows
|
202
|
+
exec cmd
|
203
|
+
else
|
204
|
+
pid = fork do
|
205
|
+
exec cmd
|
206
|
+
end
|
207
|
+
end
|
208
|
+
sleep(5)
|
209
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
210
|
+
puts "#{ENV['RAILS_ENV']} Muck raker gen_subjects command started successfully, pid: #{pid}."
|
166
211
|
end
|
167
212
|
end
|
168
213
|
|
169
214
|
desc "Generate tag clouds"
|
170
215
|
task :gen_clouds => :environment do
|
216
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
171
217
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
172
218
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
173
219
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
174
220
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
175
|
-
jars = Dir['*.jar'].join(separator)
|
221
|
+
jars = Dir['**','*.jar'].join(separator)
|
176
222
|
options = "-DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
177
223
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
178
224
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -180,18 +226,29 @@ module MuckRaker
|
|
180
226
|
classpath = "-classpath #{jars}#{separator}. "
|
181
227
|
javaclass = "edu.usu.cosl.tagclouds.TagCloud"
|
182
228
|
cmd = "java " + options + classpath + javaclass
|
183
|
-
puts ("Executing: " + cmd)
|
184
|
-
|
229
|
+
puts ("Executing: " + cmd)
|
230
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
231
|
+
if windows
|
232
|
+
exec cmd
|
233
|
+
else
|
234
|
+
pid = fork do
|
235
|
+
exec cmd
|
236
|
+
end
|
237
|
+
end
|
238
|
+
sleep(5)
|
239
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
240
|
+
puts "#{ENV['RAILS_ENV']} Muck raker get_clouds command started successfully, pid: #{pid}."
|
185
241
|
end
|
186
242
|
end
|
187
243
|
|
188
244
|
desc "Recommend without harvesting"
|
189
245
|
task :recommend => :environment do
|
246
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
190
247
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
191
248
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
192
249
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
193
250
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
194
|
-
jars = Dir['*.jar'].join(separator)
|
251
|
+
jars = Dir['**','*.jar'].join(separator)
|
195
252
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
196
253
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
197
254
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -200,18 +257,29 @@ module MuckRaker
|
|
200
257
|
javaclass = "edu.usu.cosl.recommenderd.Recommenderd "
|
201
258
|
cmdlineoption = "skip_harvest "
|
202
259
|
cmd = "java " + options + classpath + javaclass + cmdlineoption
|
203
|
-
puts ("Executing: " + cmd)
|
204
|
-
|
260
|
+
puts ("Executing: " + cmd)
|
261
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
262
|
+
if windows
|
263
|
+
exec cmd
|
264
|
+
else
|
265
|
+
pid = fork do
|
266
|
+
exec cmd
|
267
|
+
end
|
268
|
+
end
|
269
|
+
sleep(5)
|
270
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
271
|
+
puts "#{ENV['RAILS_ENV']} Muck raker recommend command started successfully, pid: #{pid}."
|
205
272
|
end
|
206
273
|
end
|
207
274
|
|
208
275
|
desc "Rebuild entry recommendation caches"
|
209
276
|
task :rebuild_recommendation_cache => :environment do
|
277
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
210
278
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
211
279
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
212
280
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
213
281
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
214
|
-
jars = Dir['*.jar'].join(separator)
|
282
|
+
jars = Dir['**','*.jar'].join(separator)
|
215
283
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
216
284
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
217
285
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -220,18 +288,29 @@ module MuckRaker
|
|
220
288
|
javaclass = "edu.usu.cosl.recommender.Recommender "
|
221
289
|
cmdlineoption = "rebuild_cache "
|
222
290
|
cmd = "java " + options + classpath + javaclass + cmdlineoption
|
223
|
-
puts ("Executing: " + cmd)
|
224
|
-
|
291
|
+
puts ("Executing: " + cmd)
|
292
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
293
|
+
if windows
|
294
|
+
exec cmd
|
295
|
+
else
|
296
|
+
pid = fork do
|
297
|
+
exec cmd
|
298
|
+
end
|
299
|
+
end
|
300
|
+
sleep(5)
|
301
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
302
|
+
puts "#{ENV['RAILS_ENV']} Muck raker rebuild_recommendation_cache command started successfully, pid: #{pid}."
|
225
303
|
end
|
226
304
|
end
|
227
305
|
|
228
306
|
desc "Redo recommendations only"
|
229
307
|
task :redo_recommendations => :environment do
|
308
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
230
309
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
231
310
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
232
311
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
233
312
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
234
|
-
jars = Dir['*.jar'].join(separator)
|
313
|
+
jars = Dir['**','*.jar'].join(separator)
|
235
314
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
236
315
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
237
316
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -239,18 +318,29 @@ module MuckRaker
|
|
239
318
|
classpath = "-classpath #{jars}#{separator}. "
|
240
319
|
javaclass = "edu.usu.cosl.recommender.Recommender "
|
241
320
|
cmd = "java " + options + classpath + javaclass
|
242
|
-
puts ("Executing: " + cmd)
|
243
|
-
|
321
|
+
puts ("Executing: " + cmd)
|
322
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
323
|
+
if windows
|
324
|
+
exec cmd
|
325
|
+
else
|
326
|
+
pid = fork do
|
327
|
+
exec cmd
|
328
|
+
end
|
329
|
+
end
|
330
|
+
sleep(5)
|
331
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
332
|
+
puts "#{ENV['RAILS_ENV']} Muck raker redo_recommendations command started successfully, pid: #{pid}."
|
244
333
|
end
|
245
334
|
end
|
246
335
|
|
247
336
|
desc "Redo everything (re-index, redo autogenerated subjects, rebuild tag clouds re-recommend)"
|
248
337
|
task :rebuild => :environment do
|
338
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
249
339
|
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
250
340
|
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
251
341
|
puts "RAILS_ENV=" + ENV['RAILS_ENV']
|
252
342
|
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
253
|
-
jars = Dir['*.jar'].join(separator)
|
343
|
+
jars = Dir['**','*.jar'].join(separator)
|
254
344
|
options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_ENV=#{ENV['RAILS_ENV']} -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
|
255
345
|
options << "-DDEBUG=true " unless ENV['DEBUG'] == 'false'
|
256
346
|
options << "-DLOG_TO_CONSOLE=true " unless ENV['DEBUG'] == 'false'
|
@@ -259,14 +349,34 @@ module MuckRaker
|
|
259
349
|
javaclass = "edu.usu.cosl.recommenderd.Recommenderd "
|
260
350
|
cmdlineoption = "rebuild "
|
261
351
|
cmd = "java " + options + classpath + javaclass + cmdlineoption
|
262
|
-
puts ("Executing: " + cmd)
|
263
|
-
|
352
|
+
puts ("Executing: " + cmd)
|
353
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
354
|
+
if windows
|
355
|
+
exec cmd
|
356
|
+
else
|
357
|
+
pid = fork do
|
358
|
+
exec cmd
|
359
|
+
end
|
360
|
+
end
|
361
|
+
sleep(5)
|
362
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
363
|
+
puts "#{ENV['RAILS_ENV']} Muck raker rebuild command started successfully, pid: #{pid}."
|
264
364
|
end
|
265
365
|
end
|
266
366
|
|
267
|
-
desc "Stop
|
268
|
-
task :stop do
|
269
|
-
|
367
|
+
desc "Stop a raker daemon process"
|
368
|
+
task :stop => :environment do
|
369
|
+
file_path = "#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid"
|
370
|
+
if File.exists?(file_path)
|
371
|
+
File.open(file_path, "r") do |f|
|
372
|
+
pid = f.readline
|
373
|
+
Process.kill('TERM', pid.to_i)
|
374
|
+
end
|
375
|
+
File.unlink(file_path)
|
376
|
+
puts "Raker shutdown successfully."
|
377
|
+
else
|
378
|
+
puts "PID file not found at #{file_path}. Either Raker is not running or no PID file was written."
|
379
|
+
end
|
270
380
|
end
|
271
381
|
|
272
382
|
desc "Restart the recommender daemon process"
|