muck-raker 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/config/muck_raker_environment.rb +2 -2
- data/lib/muck_raker/tasks.rb +1 -1
- data/lib/muck_raker.rb +0 -0
- data/muck-raker.gemspec +2 -1
- data/rails/init.rb +1 -0
- data/raker/lib/aggregatord.jar +0 -0
- data/raker/lib/recommenderd.jar +0 -0
- data/raker/lib/recommenderd.properties +68 -68
- metadata +2 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
@@ -13,8 +13,8 @@ unless defined? SOLR_CONFIG_PATH
|
|
13
13
|
SOLR_CONFIG_PATH = ENV["SOLR_CONFIG_PATH"] || File.join(RAILS_ROOT, 'config', 'solr')
|
14
14
|
end
|
15
15
|
|
16
|
-
unless defined?
|
17
|
-
|
16
|
+
unless defined? RAKER_LOG_FILE
|
17
|
+
RAKER_LOG_FILE = File.join(RAILS_ROOT, 'log', 'recommenderd.log')
|
18
18
|
end
|
19
19
|
unless defined? RAKER_PIDS_PATH
|
20
20
|
RAKER_PIDS_PATH = ENV["RAKER_PIDS_PATH"] || "#{RAILS_ROOT}/tmp/pids/raker"
|
data/lib/muck_raker/tasks.rb
CHANGED
@@ -104,7 +104,7 @@ module MuckRaker
|
|
104
104
|
options << "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" "
|
105
105
|
options << "-Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" "
|
106
106
|
options << "-Draker.database.config=\"#{RAKER_DATABASE_CONFIG}\" "
|
107
|
-
options << "-Draker.log.
|
107
|
+
options << "-Draker.log.file=\"#{RAKER_LOG_FILE}\" "
|
108
108
|
options << "-Draker.feed_archive_dir=\"#{RAKER_FEED_ARCHIVE_PATH}\" "
|
109
109
|
options << "-Draker.log_to_console=\"#{RAKER_LOG_TO_CONSOLE}\" "
|
110
110
|
classpath = "-classpath #{jars}#{separator}. "
|
data/lib/muck_raker.rb
ADDED
File without changes
|
data/muck-raker.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-raker}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joel Duffin Justin Ball"]
|
@@ -96,6 +96,7 @@ Gem::Specification.new do |s|
|
|
96
96
|
"db/migrate/20091006183742_add_feed_count_to_aggregation.rb",
|
97
97
|
"db/migrate/20091022150615_add_uri_key_to_services.rb",
|
98
98
|
"install.rb",
|
99
|
+
"lib/muck_raker.rb",
|
99
100
|
"lib/muck_raker/tasks.rb",
|
100
101
|
"muck-raker.gemspec",
|
101
102
|
"rails/init.rb",
|
data/rails/init.rb
CHANGED
data/raker/lib/aggregatord.jar
CHANGED
Binary file
|
data/raker/lib/recommenderd.jar
CHANGED
Binary file
|
@@ -1,68 +1,68 @@
|
|
1
|
-
# number of worker threads to spawn
|
2
|
-
#threads=20
|
3
|
-
|
4
|
-
# size of the queue
|
5
|
-
#stale_feed_queue_size=100
|
6
|
-
|
7
|
-
# seconds to wait before timing out a HTTP request
|
8
|
-
#request_timeout=30
|
9
|
-
|
10
|
-
# seconds to wait before querying the database for stale feeds
|
11
|
-
#stale_thread_poll_interval=5
|
12
|
-
|
13
|
-
# minutes to wait before checking to see if a feed has new entries
|
14
|
-
#feed_refresh_interval=60
|
15
|
-
|
16
|
-
# whether or not to log to file
|
17
|
-
#log_file_prefix=recommender
|
18
|
-
|
19
|
-
# pairs to consider when calculating recommendations; default is 200
|
20
|
-
#pairs_to_consider=200
|
21
|
-
|
22
|
-
# maximum number of recommendations to calculate; default is 20
|
23
|
-
#max_recommendations=20
|
24
|
-
|
25
|
-
# smtp server to use to email admin of results
|
26
|
-
#smtp_server=
|
27
|
-
|
28
|
-
# email address to send reports to
|
29
|
-
#admin_email=
|
30
|
-
|
31
|
-
# harvest before running recommendations (default is true)
|
32
|
-
#harvest=true
|
33
|
-
|
34
|
-
# redo all recommendations (default is false)
|
35
|
-
#redo_recommendations=false
|
36
|
-
|
37
|
-
# reindex all of the entries in the DB (default is false)
|
38
|
-
#reindex_all=false
|
39
|
-
|
40
|
-
# solr home directory (default is config/solr)
|
41
|
-
#solr_dir=c:/projects/oerrecommender/config/solr/
|
42
|
-
#solr_config_filename=../../projects/muck/config/solr/solr.xml
|
43
|
-
#solr_dir=../muck/config/solr
|
44
|
-
|
45
|
-
# rails environment (default is development)
|
46
|
-
#rails_env=development
|
47
|
-
|
48
|
-
# path to database.yml (default is config/database.yml)
|
49
|
-
db_yml=../../projects/muck/config/database.yml
|
50
|
-
|
51
|
-
# logging
|
52
|
-
log4j.rootLogger=trace, stdout, R
|
53
|
-
|
54
|
-
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
55
|
-
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
56
|
-
|
57
|
-
# Pattern to output the caller's file name and line number.
|
58
|
-
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
|
59
|
-
|
60
|
-
log4j.appender.R=org.apache.log4j.RollingFileAppender
|
61
|
-
log4j.appender.R.File=log/recommenderd.log
|
62
|
-
|
63
|
-
log4j.appender.R.MaxFileSize=100KB
|
64
|
-
# Keep one backup file
|
65
|
-
log4j.appender.R.MaxBackupIndex=1
|
66
|
-
|
67
|
-
log4j.appender.R.layout=org.apache.log4j.PatternLayout
|
68
|
-
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
|
1
|
+
# number of worker threads to spawn
|
2
|
+
#threads=20
|
3
|
+
|
4
|
+
# size of the queue
|
5
|
+
#stale_feed_queue_size=100
|
6
|
+
|
7
|
+
# seconds to wait before timing out a HTTP request
|
8
|
+
#request_timeout=30
|
9
|
+
|
10
|
+
# seconds to wait before querying the database for stale feeds
|
11
|
+
#stale_thread_poll_interval=5
|
12
|
+
|
13
|
+
# minutes to wait before checking to see if a feed has new entries
|
14
|
+
#feed_refresh_interval=60
|
15
|
+
|
16
|
+
# whether or not to log to file
|
17
|
+
#log_file_prefix=recommender
|
18
|
+
|
19
|
+
# pairs to consider when calculating recommendations; default is 200
|
20
|
+
#pairs_to_consider=200
|
21
|
+
|
22
|
+
# maximum number of recommendations to calculate; default is 20
|
23
|
+
#max_recommendations=20
|
24
|
+
|
25
|
+
# smtp server to use to email admin of results
|
26
|
+
#smtp_server=
|
27
|
+
|
28
|
+
# email address to send reports to
|
29
|
+
#admin_email=
|
30
|
+
|
31
|
+
# harvest before running recommendations (default is true)
|
32
|
+
#harvest=true
|
33
|
+
|
34
|
+
# redo all recommendations (default is false)
|
35
|
+
#redo_recommendations=false
|
36
|
+
|
37
|
+
# reindex all of the entries in the DB (default is false)
|
38
|
+
#reindex_all=false
|
39
|
+
|
40
|
+
# solr home directory (default is config/solr)
|
41
|
+
#solr_dir=c:/projects/oerrecommender/config/solr/
|
42
|
+
#solr_config_filename=../../projects/muck/config/solr/solr.xml
|
43
|
+
#solr_dir=../muck/config/solr
|
44
|
+
|
45
|
+
# rails environment (default is development)
|
46
|
+
#rails_env=development
|
47
|
+
|
48
|
+
# path to database.yml (default is config/database.yml)
|
49
|
+
db_yml=../../projects/muck/config/database.yml
|
50
|
+
|
51
|
+
# logging
|
52
|
+
log4j.rootLogger=trace, stdout, R
|
53
|
+
|
54
|
+
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
55
|
+
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
56
|
+
|
57
|
+
# Pattern to output the caller's file name and line number.
|
58
|
+
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
|
59
|
+
|
60
|
+
log4j.appender.R=org.apache.log4j.RollingFileAppender
|
61
|
+
log4j.appender.R.File=log/recommenderd.log
|
62
|
+
|
63
|
+
log4j.appender.R.MaxFileSize=100KB
|
64
|
+
# Keep one backup file
|
65
|
+
log4j.appender.R.MaxBackupIndex=1
|
66
|
+
|
67
|
+
log4j.appender.R.layout=org.apache.log4j.PatternLayout
|
68
|
+
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-raker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Duffin Justin Ball
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- db/migrate/20091006183742_add_feed_count_to_aggregation.rb
|
103
103
|
- db/migrate/20091022150615_add_uri_key_to_services.rb
|
104
104
|
- install.rb
|
105
|
+
- lib/muck_raker.rb
|
105
106
|
- lib/muck_raker/tasks.rb
|
106
107
|
- muck-raker.gemspec
|
107
108
|
- rails/init.rb
|