muck-raker 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,24 @@
1
+ **/*.pid
2
+ log/*.log
3
+ log/*.pid
4
+ tmp
5
+ .DS_Store
6
+ public/cache/**/*
7
+ public/system/**/*
8
+ doc/**/*
9
+ db/*.sqlite3
10
+ .project
11
+ .loadpath
12
+ nbproject/
13
+ .idea
14
+ testjour.log
15
+ *.so
16
+ *.o
17
+ Makefile
18
+ mkmf.log
19
+ *.bundle
20
+ conftest
21
+ content/
22
+ REVISION
23
+ deploy.rb
24
+ pkg/*
data/README.rdoc CHANGED
@@ -16,6 +16,9 @@ After install acts-as-taggable-on be sure to include the helper in application_h
16
16
  end
17
17
 
18
18
 
19
+ Add rake tasks to your Rakefile
20
+
21
+ require 'muck_raker/tasks'
19
22
 
20
23
  Example
21
24
  =======
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
18
18
  rdoc.rdoc_dir = 'rdoc'
19
19
  rdoc.title = 'Recommender'
20
20
  rdoc.options << '--line-numbers' << '--inline-source'
21
- rdoc.rdoc_files.include('README')
21
+ rdoc.rdoc_files.include('README*')
22
22
  rdoc.rdoc_files.include('lib/**/*.rb')
23
23
  end
24
24
 
@@ -43,6 +43,7 @@ begin
43
43
  rails/*
44
44
  test/*
45
45
  lib/**/*
46
+ raker/**/*
46
47
  public/javascripts/* )
47
48
  end
48
49
  rescue LoadError
@@ -64,7 +65,7 @@ begin
64
65
  )
65
66
 
66
67
  host = "#{config['username']}@rubyforge.org"
67
- remote_dir = "/var/www/gforge-projects/muck-comments/"
68
+ remote_dir = "/var/www/gforge-projects/muck-raker/"
68
69
  local_dir = 'rdoc'
69
70
 
70
71
  Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,32 @@
1
+ ENV['RAILS_ENV'] = (ENV['RAILS_ENV'] || 'development').dup
2
+ dir = File.dirname(__FILE__)
3
+ SOLR_PATH = File.expand_path("#{dir}/../solr") unless defined? SOLR_PATH
4
+
5
+ unless defined? SOLR_LOGS_PATH
6
+ SOLR_LOGS_PATH = ENV["SOLR_LOGS_PATH"] || "#{RAILS_ROOT}/log"
7
+ end
8
+ unless defined? SOLR_PIDS_PATH
9
+ SOLR_PIDS_PATH = ENV["SOLR_PIDS_PATH"] || "#{RAILS_ROOT}/tmp/pids"
10
+ end
11
+ unless defined? SOLR_DATA_PATH
12
+ SOLR_DATA_PATH = ENV["SOLR_DATA_PATH"] || "#{RAILS_ROOT}/solr/#{ENV['RAILS_ENV']}"
13
+ end
14
+ unless defined? SOLR_CONFIG_PATH
15
+ SOLR_CONFIG_PATH = ENV["SOLR_CONFIG_PATH"] || SOLR_PATH
16
+ end
17
+
18
+ unless defined? RAILS_DB_CONFIG
19
+ RAILS_DB_CONFIG = File.join(RAILS_ROOT, 'config', 'database.yml')
20
+ end
21
+ unless defined? FEED_ARCHIVE_PATH
22
+ if ENV['RAILS_ENV'] = 'production'
23
+ FEED_ARCHIVE_PATH = File.join(RAILS_ROOT, '..', '..', 'shared', 'feed_archive')
24
+ elsif ENV['RAILS_ENV'] = 'development'
25
+ FEED_ARCHIVE_PATH = File.join(RAILS_ROOT, '..', 'feed_archive')
26
+ else
27
+ FEED_ARCHIVE_PATH = File.join(RAILS_ROOT, '..', 'feed_archive')
28
+ end
29
+ end
30
+ unless defined? LOG_FILE_PREFIX
31
+ LOG_FILE_PREFIX = File.join(RAILS_ROOT, 'log', 'muck_raker')
32
+ end
@@ -0,0 +1,131 @@
1
+ require 'rake'
2
+ require 'rake/tasklib'
3
+ require 'fileutils'
4
+
5
+ module MuckRaker
6
+ class Tasks < ::Rake::TaskLib
7
+ def initialize
8
+ define
9
+ end
10
+
11
+ private
12
+ def define
13
+
14
+ namespace :muck do
15
+
16
+ namespace :raker do
17
+
18
+ namespace :db do
19
+ desc "Flags the languages that the recommender supports"
20
+ task :populate => :environment do
21
+ require 'active_record/fixtures'
22
+ ['en', 'es', 'zh-CN', 'fr', 'ja', 'de', 'ru', 'nl'].each{|l|
23
+ r = Language.first(:one, :conditions => "locale = '#{l}'")
24
+ if r
25
+ r.update_attribute(:muck_raker_supported, true)
26
+ else
27
+ puts "Unable to find languages to flag. You probably need to run rake muck:db:populate"
28
+ break
29
+ end
30
+ }
31
+ # set up the defined services
32
+ ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
33
+ Fixtures.new(Service.connection,"services",Service,File.join(__FILE__, '..', '..', 'db', 'bootstrap', 'services')).insert_fixtures
34
+ end
35
+
36
+ desc "Loads oai endpoints so we can get test data"
37
+ task :bootstrap => :environment do
38
+ require 'active_record/fixtures'
39
+ ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
40
+
41
+ # import the bootstrap db entries
42
+ OaiEndpoint.delete_all
43
+ Fixtures.new(OaiEndpoint.connection,"oai_endpoints",OaiEndpoint,File.join(__FILE__, '..', '..', 'db', 'bootstrap',"oai_endpoints")).insert_fixtures
44
+ Feed.delete_all
45
+ Fixtures.new(Feed.connection,"feeds",Feed,File.join(__FILE__, '..', '..', 'db', 'bootstrap',"feeds")).insert_fixtures
46
+ end
47
+
48
+ end
49
+
50
+ desc "Sync files from recommender."
51
+ task :sync do
52
+ path = File.join(File.dirname(__FILE__), *%w[.. ..])
53
+ system "rsync -ruv #{path}/db ."
54
+ system "rsync -ruv #{path}/config/solr ./config"
55
+ end
56
+
57
+ desc "Start the recommender daemon process"
58
+ task :start => :environment do
59
+ require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
60
+ separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
61
+ Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
62
+ jars = Dir['*.jar'].join(separator)
63
+ options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
64
+ options << "-DDEBUG " unless (RAILS_ENV == "production" && !ENV['DEBUG'])
65
+ options << "-DLOG_TO_CONSOLE " unless (RAILS_ENV == "production" && !ENV['DEBUG'])
66
+ options << "-DFEED_ARCHIVE_PATH=\"#{FEED_ARCHIVE_PATH}\" "
67
+ classpath = "-classpath #{jars}#{separator}. "
68
+ javaclass = "edu.usu.cosl.recommenderd.Recommender"
69
+ cmd = "java " + options + classpath + javaclass
70
+ puts ("Executing: " + cmd) if ENV['DEBUG']
71
+ exec cmd
72
+ end
73
+ end
74
+
75
+ desc "Harvest without recommending"
76
+ task :harvest => :environment do
77
+ require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
78
+ separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
79
+ Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
80
+ jars = Dir['*.jar'].join(separator)
81
+ options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
82
+ options << "-DDEBUG " unless (RAILS_ENV == "production" && !ENV['DEBUG'])
83
+ options << "-DLOG_TO_CONSOLE " unless (RAILS_ENV == "production" && !ENV['DEBUG'])
84
+ options << "-DFEED_ARCHIVE_PATH=\"#{FEED_ARCHIVE_PATH}\" "
85
+ classpath = "-classpath #{jars}#{separator}. "
86
+ javaclass = "edu.usu.cosl.aggregatord.Harvester"
87
+ cmd = "java " + options + classpath + javaclass
88
+ puts ("Executing: " + cmd) if ENV['DEBUG']
89
+ exec cmd
90
+ end
91
+ end
92
+
93
+ desc "Recommend without harvesting"
94
+ task :recommend => :environment do
95
+ require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
96
+ separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
97
+ Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
98
+ jars = Dir['*.jar'].join(separator)
99
+ options = "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" -Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" -DRAILS_DB_CONFIG=\"#{RAILS_DB_CONFIG}\" -DLOG_FILE_PREFIX=\"#{LOG_FILE_PREFIX}\" "
100
+ options << "-DDEBUG " unless (RAILS_ENV == "production" && !ENV['DEBUG'])
101
+ options << "-DLOG_TO_CONSOLE " unless (RAILS_ENV == "production" && !ENV['DEBUG'])
102
+ options << "-DFEED_ARCHIVE_PATH=\"#{FEED_ARCHIVE_PATH}\" "
103
+ classpath = "-classpath #{jars}#{separator}. "
104
+ javaclass = "edu.usu.cosl.recommenderd.Recommender "
105
+ cmdlineoption = "skip_harvest "
106
+ cmd = "java " + options + classpath + javaclass + cmdlineoption
107
+ puts ("Executing: " + cmd) if ENV['DEBUG']
108
+ exec cmd
109
+ end
110
+ end
111
+
112
+ desc "Stop the recommender daemon process"
113
+ task :stop do
114
+ system "java"
115
+ end
116
+
117
+ desc "Restart the recommender daemon process"
118
+ task :restart do
119
+ system "java"
120
+ end
121
+
122
+ end
123
+
124
+ end
125
+
126
+
127
+
128
+ end
129
+ end
130
+ end
131
+ MuckRaker::Tasks.new
@@ -0,0 +1,357 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{muck-raker}
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Joel Duffin Justin Ball"]
9
+ s.date = %q{2009-06-17}
10
+ s.description = %q{The aggregation and recommendation engine for the muck system.}
11
+ s.email = %q{justinball@gmail.com}
12
+ s.extra_rdoc_files = [
13
+ "README.rdoc"
14
+ ]
15
+ s.files = [
16
+ ".gitignore",
17
+ "MIT-LICENSE",
18
+ "README.rdoc",
19
+ "Rakefile",
20
+ "VERSION",
21
+ "app/controllers/admin/recommender/feeds_controller.rb",
22
+ "app/controllers/admin/recommender/feeds_controller.rb",
23
+ "app/controllers/recommender/default_controller.rb",
24
+ "app/controllers/recommender/default_controller.rb",
25
+ "app/controllers/recommender/entries_controller.rb",
26
+ "app/controllers/recommender/entries_controller.rb",
27
+ "app/controllers/recommender/recommendations_controller.rb",
28
+ "app/controllers/recommender/recommendations_controller.rb",
29
+ "app/controllers/recommender/search_controller.rb",
30
+ "app/controllers/recommender/search_controller.rb",
31
+ "app/helpers/muck_raker_helper.rb",
32
+ "app/helpers/muck_raker_helper.rb",
33
+ "app/models/click.rb",
34
+ "app/models/click.rb",
35
+ "app/models/cloud_cache.rb",
36
+ "app/models/cloud_cache.rb",
37
+ "app/models/entry.rb",
38
+ "app/models/entry.rb",
39
+ "app/models/feed.rb",
40
+ "app/models/feed.rb",
41
+ "app/models/language.rb",
42
+ "app/models/language.rb",
43
+ "app/models/oai_endpoint.rb",
44
+ "app/models/oai_endpoint.rb",
45
+ "app/models/recommendation.rb",
46
+ "app/models/recommendation.rb",
47
+ "app/models/service.rb",
48
+ "app/models/service.rb",
49
+ "app/models/subject.rb",
50
+ "app/models/subject.rb",
51
+ "app/models/user.rb",
52
+ "app/models/user.rb",
53
+ "app/views/default/_advertisements.html.erb",
54
+ "app/views/default/_advertisements.html.erb",
55
+ "app/views/default/_language_list.html.erb",
56
+ "app/views/default/_language_list.html.erb",
57
+ "app/views/default/index.html.erb",
58
+ "app/views/default/index.html.erb",
59
+ "app/views/default/tour.html.erb",
60
+ "app/views/default/tour.html.erb",
61
+ "app/views/default/widgets.html.erb",
62
+ "app/views/default/widgets.html.erb",
63
+ "app/views/documents/.tmp_not_found.html",
64
+ "app/views/entries/_cloud_type_selector.html.erb",
65
+ "app/views/entries/_cloud_type_selector.html.erb",
66
+ "app/views/entries/_result.html.erb",
67
+ "app/views/entries/_result.html.erb",
68
+ "app/views/entries/_tag_cloud.html.erb",
69
+ "app/views/entries/_tag_cloud.html.erb",
70
+ "app/views/entries/_tags.html.erb",
71
+ "app/views/entries/_tags.html.erb",
72
+ "app/views/entries/browse_by_tags.html.erb",
73
+ "app/views/entries/browse_by_tags.html.erb",
74
+ "app/views/entries/collections.html.erb",
75
+ "app/views/entries/collections.html.erb",
76
+ "app/views/entries/details.html.erb",
77
+ "app/views/entries/details.html.erb",
78
+ "app/views/entries/index.html.erb",
79
+ "app/views/entries/index.html.erb",
80
+ "app/views/entries/search.html.erb",
81
+ "app/views/entries/search.html.erb",
82
+ "app/views/entries/show.html.erb",
83
+ "app/views/entries/show.html.erb",
84
+ "app/views/entries/track_clicks.html.erb",
85
+ "app/views/entries/track_clicks.html.erb",
86
+ "app/views/feeds/_feed_selection.html.erb",
87
+ "app/views/feeds/_feed_selection.html.erb",
88
+ "app/views/feeds/edit.html.erb",
89
+ "app/views/feeds/edit.html.erb",
90
+ "app/views/feeds/harvest_now.html.erb",
91
+ "app/views/feeds/harvest_now.html.erb",
92
+ "app/views/feeds/index.html.erb",
93
+ "app/views/feeds/index.html.erb",
94
+ "app/views/feeds/new.html.erb",
95
+ "app/views/feeds/new.html.erb",
96
+ "app/views/feeds/unban.html.erb",
97
+ "app/views/feeds/unban.html.erb",
98
+ "app/views/layouts/_flashes.html.erb",
99
+ "app/views/layouts/_flashes.html.erb",
100
+ "app/views/layouts/default.html.erb",
101
+ "app/views/layouts/default.html.erb",
102
+ "app/views/layouts/default_old.html.erb",
103
+ "app/views/layouts/default_old.html.erb",
104
+ "app/views/layouts/global/_header.html.erb",
105
+ "app/views/layouts/global/_header.html.erb",
106
+ "app/views/layouts/global/_search_box.html.erb",
107
+ "app/views/layouts/global/_search_box.html.erb",
108
+ "app/views/layouts/recommendations.html.erb",
109
+ "app/views/layouts/recommendations.html.erb",
110
+ "app/views/recommendations/document_not_found.html.erb",
111
+ "app/views/recommendations/document_not_found.html.erb",
112
+ "app/views/recommendations/index.pjs.erb",
113
+ "app/views/recommendations/index.pjs.erb",
114
+ "app/views/recommendations/index.rss.builder",
115
+ "app/views/recommendations/index.rss.builder",
116
+ "app/views/recommendations/index.xml.builder",
117
+ "app/views/recommendations/index.xml.builder",
118
+ "app/views/recommendations/index_js.pjs.erb",
119
+ "app/views/recommendations/index_js.pjs.erb",
120
+ "app/views/search/_languages.html.erb",
121
+ "app/views/search/_languages.html.erb",
122
+ "app/views/search/_result.html.erb",
123
+ "app/views/search/_result.html.erb",
124
+ "app/views/search/_search_box.html.erb",
125
+ "app/views/search/_search_box.html.erb",
126
+ "app/views/search/index.html.erb",
127
+ "app/views/search/index.html.erb",
128
+ "app/views/search/results.atom.builder",
129
+ "app/views/search/results.atom.builder",
130
+ "app/views/search/results.html.erb",
131
+ "app/views/search/results.html.erb",
132
+ "app/views/search/results.pjs.erb",
133
+ "app/views/search/results.pjs.erb",
134
+ "app/views/search/results.rdf.builder",
135
+ "app/views/search/results.rdf.builder",
136
+ "app/views/search/results.rss.builder",
137
+ "app/views/search/results.rss.builder",
138
+ "app/views/search/results.xml.builder",
139
+ "app/views/search/results.xml.builder",
140
+ "config/muck_raker_environment.rb",
141
+ "config/muck_raker_environment.rb",
142
+ "config/muck_raker_routes.rb",
143
+ "config/muck_raker_routes.rb",
144
+ "config/solr/README.txt",
145
+ "config/solr/cores/de/conf/protwords.txt",
146
+ "config/solr/cores/de/conf/schema.xml",
147
+ "config/solr/cores/de/conf/solrconfig.xml",
148
+ "config/solr/cores/de/conf/stopwords.txt",
149
+ "config/solr/cores/de/conf/synonyms.txt",
150
+ "config/solr/cores/en/conf/protwords.txt",
151
+ "config/solr/cores/en/conf/schema.xml",
152
+ "config/solr/cores/en/conf/solrconfig.xml",
153
+ "config/solr/cores/en/conf/stopwords.txt",
154
+ "config/solr/cores/en/conf/synonyms.txt",
155
+ "config/solr/cores/es/conf/protwords.txt",
156
+ "config/solr/cores/es/conf/schema.xml",
157
+ "config/solr/cores/es/conf/solrconfig.xml",
158
+ "config/solr/cores/es/conf/stopwords.txt",
159
+ "config/solr/cores/es/conf/synonyms.txt",
160
+ "config/solr/cores/fr/conf/protwords.txt",
161
+ "config/solr/cores/fr/conf/schema.xml",
162
+ "config/solr/cores/fr/conf/solrconfig.xml",
163
+ "config/solr/cores/fr/conf/stopwords.txt",
164
+ "config/solr/cores/fr/conf/synonyms.txt",
165
+ "config/solr/cores/ja/conf/protwords.txt",
166
+ "config/solr/cores/ja/conf/schema.xml",
167
+ "config/solr/cores/ja/conf/solrconfig.xml",
168
+ "config/solr/cores/ja/conf/stopwords.txt",
169
+ "config/solr/cores/ja/conf/synonyms.txt",
170
+ "config/solr/cores/nl/conf/protwords.txt",
171
+ "config/solr/cores/nl/conf/schema.xml",
172
+ "config/solr/cores/nl/conf/solrconfig.xml",
173
+ "config/solr/cores/nl/conf/stopwords.txt",
174
+ "config/solr/cores/nl/conf/synonyms.txt",
175
+ "config/solr/cores/ru/conf/protwords.txt",
176
+ "config/solr/cores/ru/conf/schema.xml",
177
+ "config/solr/cores/ru/conf/solrconfig.xml",
178
+ "config/solr/cores/ru/conf/stopwords.txt",
179
+ "config/solr/cores/ru/conf/synonyms.txt",
180
+ "config/solr/cores/zh/conf/protwords.txt",
181
+ "config/solr/cores/zh/conf/schema.xml",
182
+ "config/solr/cores/zh/conf/solrconfig.xml",
183
+ "config/solr/cores/zh/conf/stopwords.txt",
184
+ "config/solr/cores/zh/conf/synonyms.txt",
185
+ "config/solr/solr.xml",
186
+ "db/bootstrap/feeds.yml",
187
+ "db/bootstrap/oai_endpoints.yml",
188
+ "db/bootstrap/services.yml",
189
+ "db/migrate/20090602191243_create_muck_raker.rb",
190
+ "db/migrate/20090602191243_create_muck_raker.rb",
191
+ "install.rb",
192
+ "lib/muck_raker.rb",
193
+ "lib/muck_raker.rb",
194
+ "lib/muck_raker/initialize_routes.rb",
195
+ "lib/muck_raker/initialize_routes.rb",
196
+ "lib/muck_raker/languages.rb",
197
+ "lib/muck_raker/languages.rb",
198
+ "lib/muck_raker/tasks.rb",
199
+ "lib/muck_raker/tasks.rb",
200
+ "locales/en.yml",
201
+ "locales/en.yml",
202
+ "muck-raker.gemspec",
203
+ "rails/init.rb",
204
+ "rails/init.rb",
205
+ "raker/lib/aggregatord.jar",
206
+ "raker/lib/aggregatord.jar",
207
+ "raker/lib/aggregatord.properties",
208
+ "raker/lib/aggregatord.properties",
209
+ "raker/lib/apache-solr-common-1.3.0.jar",
210
+ "raker/lib/apache-solr-common-1.3.0.jar",
211
+ "raker/lib/apache-solr-core-1.3.0.jar",
212
+ "raker/lib/apache-solr-core-1.3.0.jar",
213
+ "raker/lib/apache-solr-dataimporthandler-1.3.0.jar",
214
+ "raker/lib/apache-solr-dataimporthandler-1.3.0.jar",
215
+ "raker/lib/axis.jar",
216
+ "raker/lib/axis.jar",
217
+ "raker/lib/commons-codec-1.3.jar",
218
+ "raker/lib/commons-codec-1.3.jar",
219
+ "raker/lib/commons-csv-1.0-SNAPSHOT-r609327.jar",
220
+ "raker/lib/commons-csv-1.0-SNAPSHOT-r609327.jar",
221
+ "raker/lib/commons-daemon.jar",
222
+ "raker/lib/commons-daemon.jar",
223
+ "raker/lib/commons-dbcp-1.2.1.jar",
224
+ "raker/lib/commons-dbcp-1.2.1.jar",
225
+ "raker/lib/commons-discovery-0.2.jar",
226
+ "raker/lib/commons-discovery-0.2.jar",
227
+ "raker/lib/commons-fileupload-1.2.jar",
228
+ "raker/lib/commons-fileupload-1.2.jar",
229
+ "raker/lib/commons-httpclient-3.1.jar",
230
+ "raker/lib/commons-httpclient-3.1.jar",
231
+ "raker/lib/commons-io-1.3.1.jar",
232
+ "raker/lib/commons-io-1.3.1.jar",
233
+ "raker/lib/commons-logging-1.0.4.jar",
234
+ "raker/lib/commons-logging-1.0.4.jar",
235
+ "raker/lib/commons-pool-1.3.jar",
236
+ "raker/lib/commons-pool-1.3.jar",
237
+ "raker/lib/delicious-1.13.jar",
238
+ "raker/lib/delicious-1.13.jar",
239
+ "raker/lib/flickrapi-1.0a9.jar",
240
+ "raker/lib/flickrapi-1.0a9.jar",
241
+ "raker/lib/geronimo-stax-api_1.0_spec-1.0.1.jar",
242
+ "raker/lib/geronimo-stax-api_1.0_spec-1.0.1.jar",
243
+ "raker/lib/javax.jms.jar",
244
+ "raker/lib/javax.jms.jar",
245
+ "raker/lib/jaxrpc.jar",
246
+ "raker/lib/jaxrpc.jar",
247
+ "raker/lib/jdom.jar",
248
+ "raker/lib/jdom.jar",
249
+ "raker/lib/jericho.jar",
250
+ "raker/lib/jericho.jar",
251
+ "raker/lib/junit-4.3.jar",
252
+ "raker/lib/junit-4.3.jar",
253
+ "raker/lib/log4j-1.2.8.jar",
254
+ "raker/lib/log4j-1.2.8.jar",
255
+ "raker/lib/lucene-analyzers-2.4-dev.jar",
256
+ "raker/lib/lucene-analyzers-2.4-dev.jar",
257
+ "raker/lib/lucene-core-2.4-dev.jar",
258
+ "raker/lib/lucene-core-2.4-dev.jar",
259
+ "raker/lib/lucene-highlighter-2.4-dev.jar",
260
+ "raker/lib/lucene-highlighter-2.4-dev.jar",
261
+ "raker/lib/lucene-memory-2.4-dev.jar",
262
+ "raker/lib/lucene-memory-2.4-dev.jar",
263
+ "raker/lib/lucene-queries-2.4-dev.jar",
264
+ "raker/lib/lucene-queries-2.4-dev.jar",
265
+ "raker/lib/lucene-snowball-2.4-dev.jar",
266
+ "raker/lib/lucene-snowball-2.4-dev.jar",
267
+ "raker/lib/lucene-spellchecker-2.4-dev.jar",
268
+ "raker/lib/lucene-spellchecker-2.4-dev.jar",
269
+ "raker/lib/mail.jar",
270
+ "raker/lib/mail.jar",
271
+ "raker/lib/mysql-connector-java-5.1.7-bin.jar",
272
+ "raker/lib/mysql-connector-java-5.1.7-bin.jar",
273
+ "raker/lib/recommenderd.jar",
274
+ "raker/lib/recommenderd.jar",
275
+ "raker/lib/recommenderd.properties",
276
+ "raker/lib/recommenderd.properties",
277
+ "raker/lib/rome-1.0.jar",
278
+ "raker/lib/rome-1.0.jar",
279
+ "raker/lib/rome.properties",
280
+ "raker/lib/rome.properties",
281
+ "raker/lib/solr-commons-csv-pom.xml.template",
282
+ "raker/lib/solr-commons-csv-pom.xml.template",
283
+ "raker/lib/solr-lucene-analyzers-pom.xml.template",
284
+ "raker/lib/solr-lucene-analyzers-pom.xml.template",
285
+ "raker/lib/solr-lucene-contrib-pom.xml.template",
286
+ "raker/lib/solr-lucene-contrib-pom.xml.template",
287
+ "raker/lib/solr-lucene-core-pom.xml.template",
288
+ "raker/lib/solr-lucene-core-pom.xml.template",
289
+ "raker/lib/solr-lucene-highlighter-pom.xml.template",
290
+ "raker/lib/solr-lucene-highlighter-pom.xml.template",
291
+ "raker/lib/solr-lucene-queries-pom.xml.template",
292
+ "raker/lib/solr-lucene-queries-pom.xml.template",
293
+ "raker/lib/solr-lucene-snowball-pom.xml.template",
294
+ "raker/lib/solr-lucene-snowball-pom.xml.template",
295
+ "raker/lib/solr-lucene-spellchecker-pom.xml.template",
296
+ "raker/lib/solr-lucene-spellchecker-pom.xml.template",
297
+ "raker/lib/stax-utils.jar",
298
+ "raker/lib/stax-utils.jar",
299
+ "raker/lib/wsdl4j-1.5.1.jar",
300
+ "raker/lib/wsdl4j-1.5.1.jar",
301
+ "raker/lib/wstx-asl-3.2.7.jar",
302
+ "raker/lib/wstx-asl-3.2.7.jar",
303
+ "rdoc/classes/ActionController.html",
304
+ "rdoc/classes/ActionController/Routing.html",
305
+ "rdoc/classes/ActionController/Routing/RouteSet.html",
306
+ "rdoc/classes/MuckRaker.html",
307
+ "rdoc/classes/Recommender.html",
308
+ "rdoc/classes/Recommender/Languages.html",
309
+ "rdoc/created.rid",
310
+ "rdoc/files/README_rdoc.html",
311
+ "rdoc/files/lib/muck_raker/initialize_routes_rb.html",
312
+ "rdoc/files/lib/muck_raker/languages_rb.html",
313
+ "rdoc/files/lib/muck_raker_rb.html",
314
+ "rdoc/fr_class_index.html",
315
+ "rdoc/fr_file_index.html",
316
+ "rdoc/fr_method_index.html",
317
+ "rdoc/index.html",
318
+ "rdoc/rdoc-style.css",
319
+ "tasks/muck_raker_tasks.rake",
320
+ "tasks/muck_raker_tasks.rake",
321
+ "test/recommender_test.rb",
322
+ "test/recommender_test.rb",
323
+ "test/test_helper.rb",
324
+ "test/test_helper.rb",
325
+ "uninstall.rb"
326
+ ]
327
+ s.has_rdoc = true
328
+ s.homepage = %q{http://github.com/jbasdf/muck_raker}
329
+ s.rdoc_options = ["--charset=UTF-8"]
330
+ s.require_paths = ["lib"]
331
+ s.rubyforge_project = %q{muck-raker}
332
+ s.rubygems_version = %q{1.3.1}
333
+ s.summary = %q{The aggregation and recommendation engine for the muck system}
334
+ s.test_files = [
335
+ "test/recommender_test.rb",
336
+ "test/test_helper.rb"
337
+ ]
338
+
339
+ if s.respond_to? :specification_version then
340
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
341
+ s.specification_version = 2
342
+
343
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
344
+ s.add_runtime_dependency(%q<muck-engine>, [">= 0"])
345
+ s.add_runtime_dependency(%q<muck-users>, [">= 0"])
346
+ s.add_runtime_dependency(%q<muck-solr>, [">= 0"])
347
+ else
348
+ s.add_dependency(%q<muck-engine>, [">= 0"])
349
+ s.add_dependency(%q<muck-users>, [">= 0"])
350
+ s.add_dependency(%q<muck-solr>, [">= 0"])
351
+ end
352
+ else
353
+ s.add_dependency(%q<muck-engine>, [">= 0"])
354
+ s.add_dependency(%q<muck-users>, [">= 0"])
355
+ s.add_dependency(%q<muck-solr>, [">= 0"])
356
+ end
357
+ end
Binary file
@@ -4,8 +4,8 @@
4
4
  # size of the queue
5
5
  #stale_feed_queue_size=100
6
6
 
7
- # seconds to wait before timing out a HTTP request
8
- request_timeout=90
7
+ # seconds to wait before timing out a HTTP request (default is 180)
8
+ #request_timeout=180
9
9
 
10
10
  # seconds to wait before querying the database for stale feeds
11
11
  #stale_thread_poll_interval=5
@@ -16,25 +16,25 @@ request_timeout=90
16
16
  # whether or not to log to file
17
17
  #log_file_prefix=recommender
18
18
 
19
- # discover new feeds provided by registered oai endpoints
20
- discover_oai_sets=true
19
+ # discover new feeds provided by registered oai endpoints (default is true)
20
+ # discover_oai_sets=true
21
21
 
22
- # import archived feed data from disk before requesting it across the wire
23
- import_archived_feed_data=false
22
+ # import archived feed data from disk before requesting it across the wire (default is false)
23
+ #import_archived_feed_data=false
24
24
 
25
- # request feeds across the wire from their servers
26
- harvest_from_wire=true
25
+ # request feeds across the wire from their servers (default is true)
26
+ #harvest_from_wire=true
27
27
 
28
- # whether or not to log to console
29
- log_to_console=true
28
+ # whether or not to log to console (default is false)
29
+ #log_to_console=false
30
30
 
31
- # rails environment (default is production)
32
- rails_env=production
31
+ # rails environment (default is development)
32
+ #rails_env=development
33
33
 
34
- # path to database.yml (default is ../../../../../shared/system/config/database.yml)
35
- db_yml=../../../../../shared/system/config/database.yml
34
+ # path to database.yml (default is config/database.yml)
35
+ #db_yml=config/database.yml
36
36
 
37
- # amount of info to log
37
+ # amount of info to log (default is CRITICAL)
38
38
  # NEVER = 0;
39
39
  # CRITICAL = 1;
40
40
  # EXCEPTION = 2;
@@ -42,4 +42,4 @@ db_yml=../../../../../shared/system/config/database.yml
42
42
  # STATUS = 4;
43
43
  # INFO = 5;
44
44
  # ALL = 10;
45
- debug_level=10
45
+ #debug_level=1
Binary file