muck-raker 0.3.18 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/MIT-LICENSE +1 -1
- data/README.rdoc +3 -7
- data/Rakefile +2 -4
- data/VERSION +1 -1
- data/config/initializers/muck_raker.rb +1 -1
- data/lib/muck-raker.rb +2 -0
- data/lib/muck-raker/config.rb +22 -0
- data/lib/muck-raker/engine.rb +12 -0
- data/lib/tasks/muck_raker.rake +152 -0
- data/muck-raker.gemspec +207 -191
- data/test/rails_test/app/controllers/application_controller.rb +21 -0
- data/test/rails_test/app/controllers/default_controller.rb +7 -0
- data/test/rails_test/app/helpers/application_helper.rb +3 -0
- data/test/rails_test/app/models/comment.rb +3 -0
- data/test/rails_test/app/models/profile.rb +3 -0
- data/test/rails_test/app/models/user.rb +9 -0
- data/test/rails_test/app/models/user_session.rb +2 -0
- data/test/rails_test/config/application.rb +42 -0
- data/test/rails_test/config/boot.rb +13 -0
- data/test/rails_test/config/environment.rb +5 -0
- data/test/rails_test/config/environments/development.rb +26 -0
- data/test/rails_test/config/environments/production.rb +49 -0
- data/test/rails_test/config/environments/test.rb +35 -0
- data/test/rails_test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/{rails_root → rails_test}/config/initializers/inflections.rb +2 -2
- data/test/{rails_root → rails_test}/config/initializers/mime_types.rb +0 -0
- data/test/rails_test/config/initializers/muck_raker.rb +13 -0
- data/test/rails_test/config/initializers/secret_token.rb +7 -0
- data/test/rails_test/config/initializers/session_store.rb +8 -0
- data/test/rails_test/config/routes.rb +5 -0
- data/test/{rails_root → rails_test}/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090402033319_add_muck_activities.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090402234137_create_languages.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041056_create_countries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041103_create_states.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090602041838_create_users.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090602191243_create_muck_raker.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090613173314_create_comments.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090619211125_create_tag_clouds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090623181458_add_grain_size_to_entries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090703175825_denormalize_entries_subjects.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090704220055_create_slugs.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090704220120_acts_as_taggable_on_migration.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090717173900_add_contributor_to_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090717175825_normalize_entries_subjects.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090721043213_change_services_title_to_name.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090723050510_create_feed_parents.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090728165716_add_etag_to_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730044139_add_comment_cache.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730045848_add_comment_cache_to_entries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730154102_allow_null_user.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090803185323_create_shares.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090804184247_add_comment_count_to_shares.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090804211240_add_entry_id_to_shares.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090804231857_add_shares_uri_index.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090818204527_add_activity_indexes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090819030523_add_attachable_to_activities.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090826220530_change_services_sequence_to_sort.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090826225652_create_identity_feeds.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090827005105_add_identity_fields_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090827015308_create_service_categories.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090827221502_add_prompt_and_template_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090915041650_aggregations_to_polymorphic.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090922174200_update_oai_endpoints.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090922231552_add_dates_to_oai_endpoints.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090923150807_rename_name_in_aggregation.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090924200750_add_uri_data_template_to_services.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091006183742_add_feed_count_to_aggregation.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091022150615_add_uri_key_to_services.rb +0 -0
- data/test/rails_test/features/step_definitions/comment_steps.rb +11 -0
- data/test/rails_test/features/step_definitions/common_steps.rb +93 -0
- data/test/rails_test/features/step_definitions/web_steps.rb +219 -0
- data/test/rails_test/features/step_definitions/webrat_steps.rb +128 -0
- data/test/rails_test/features/support/custom_env.rb +19 -0
- data/test/rails_test/features/support/env.rb +58 -0
- data/test/rails_test/features/support/paths.rb +33 -0
- data/test/rails_test/public/dispatch.rb +10 -0
- data/test/rails_test/spec/spec_helper.rb +5 -0
- metadata +151 -117
- data/install.rb +0 -1
- data/lib/muck_raker.rb +0 -0
- data/lib/muck_raker/tasks.rb +0 -167
- data/rails/init.rb +0 -2
- data/tasks/muck_raker_tasks.rake +0 -1
- data/test/rails_root/config/boot.rb +0 -109
- data/test/rails_root/config/environment.rb +0 -20
- data/test/rails_root/config/environments/development.rb +0 -21
- data/test/rails_root/config/environments/production.rb +0 -1
- data/test/rails_root/config/environments/test.rb +0 -24
- data/test/rails_root/config/initializers/requires.rb +0 -13
- data/test/rails_root/config/initializers/session_store.rb +0 -8
- data/test/rails_root/config/routes.rb +0 -3
- data/test/rails_root/script/create_project.rb +0 -52
- data/uninstall.rb +0 -1
data/.gitignore
CHANGED
data/MIT-LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -3,13 +3,9 @@ Muck Raker contains the jar files and rake tasks for running deamons to aggregat
|
|
3
3
|
|
4
4
|
== Installation
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
Add to Gemfile:
|
7
|
+
gem '
|
8
8
|
|
9
|
-
Add rake tasks to your Rakefile
|
10
|
-
|
11
|
-
require 'muck_raker/tasks'
|
12
|
-
|
13
9
|
== Usage
|
14
10
|
|
15
11
|
Muck raker aggregates data feeds and analyzes the results to make recommendations.
|
@@ -48,4 +44,4 @@ Muck raker aggregates data feeds and analyzes the results to make recommendation
|
|
48
44
|
|
49
45
|
muck:raker:tag_clouds - Regenerate tag clouds.
|
50
46
|
|
51
|
-
Copyright (c) 2009 Tatemae.com, released under the MIT license
|
47
|
+
Copyright (c) 2009-2010 Tatemae.com, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rake/rdoctask'
|
4
|
-
require 'muck_raker/tasks'
|
5
|
-
|
6
4
|
|
7
5
|
desc 'Test muck-raker.'
|
8
6
|
Rake::TestTask.new(:test) do |t|
|
9
7
|
t.libs << 'lib'
|
10
|
-
t.libs << 'test/
|
11
|
-
t.pattern = 'test/
|
8
|
+
t.libs << 'test/rails_test/test'
|
9
|
+
t.pattern = 'test/rails_test/test/**/*_test.rb'
|
12
10
|
t.verbose = true
|
13
11
|
end
|
14
12
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
3.0.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
ENV['RAILS_ENV'] = ENV['RAILS_ENV'] ||
|
1
|
+
ENV['RAILS_ENV'] = ENV['RAILS_ENV'] || MuckRaker.configuration.rails_env
|
2
2
|
SOLR_CONFIG_PATH = "#{RAILS_ROOT}/config/solr"
|
3
3
|
SOLR_LOGS_PATH = "#{RAILS_ROOT}/log"
|
4
4
|
SOLR_PIDS_PATH = "#{RAILS_ROOT}/tmp/pids/solr"
|
data/lib/muck-raker.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
module MuckRaker
|
2
|
+
|
3
|
+
def self.configuration
|
4
|
+
# In case the user doesn't setup a configure block we can always return default settings:
|
5
|
+
@configuration ||= Configuration.new
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.configure
|
9
|
+
self.configuration ||= Configuration.new
|
10
|
+
yield(configuration)
|
11
|
+
end
|
12
|
+
|
13
|
+
class Configuration
|
14
|
+
|
15
|
+
attr_accessor :rails_env
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
self.rails_env = 'development' # Let's you override the default Rails environment to load a different version of solr
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,152 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
3
|
+
# ENV['DEBUG'] = 'true' unless ENV['DEBUG'] == 'false'
|
4
|
+
# ENV['RAILS_ENV'] = 'development' unless ENV['RAILS_ENV']
|
5
|
+
|
6
|
+
namespace :muck do
|
7
|
+
|
8
|
+
namespace :sync do
|
9
|
+
desc "Sync files from muck raker."
|
10
|
+
task :raker do
|
11
|
+
path = File.join(File.dirname(__FILE__), *%w[.. ..])
|
12
|
+
system "rsync -ruv #{path}/db ."
|
13
|
+
system "rsync -ruv #{path}/config/solr ./config"
|
14
|
+
system "rsync -ruv #{path}/config/solr.yml ./config" if !File.exist?('.config/solr.yml')
|
15
|
+
system "rsync -ruv #{path}/config/initializers/muck_raker.rb ./config/initializers" if !File.exist?('.config/initializsers/muck_raker.rb')
|
16
|
+
puts "Copied muck-raker migrations, solr config files and initializer"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
namespace :raker do
|
21
|
+
|
22
|
+
desc "Start muck-raker daemon running continuously."
|
23
|
+
task :start => :environment do
|
24
|
+
daemon_task 'daemon'
|
25
|
+
end
|
26
|
+
|
27
|
+
desc "Stop a raker daemon process."
|
28
|
+
task :stop => :environment do
|
29
|
+
file_path = "#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid"
|
30
|
+
if File.exists?(file_path)
|
31
|
+
File.open(file_path, "r") do |f|
|
32
|
+
pid = f.readline
|
33
|
+
Process.kill('TERM', pid.to_i)
|
34
|
+
end
|
35
|
+
File.unlink(file_path)
|
36
|
+
puts "Raker shutdown successfully."
|
37
|
+
else
|
38
|
+
puts "PID file not found at #{file_path}. Either Raker is not running or no PID file was written."
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
desc "Redo everything and quit."
|
43
|
+
task :start_redo => :environment do
|
44
|
+
daemon_task 'daemon', 'redo'
|
45
|
+
end
|
46
|
+
|
47
|
+
desc "Harvest stale feeds."
|
48
|
+
task :harvest => :environment do
|
49
|
+
daemon_task 'harvest'
|
50
|
+
end
|
51
|
+
|
52
|
+
desc "Index new entries."
|
53
|
+
task :index => :environment do
|
54
|
+
daemon_task 'index'
|
55
|
+
end
|
56
|
+
|
57
|
+
desc "Re-index all entries."
|
58
|
+
task :index_redo => :environment do
|
59
|
+
daemon_task 'index', 'redo'
|
60
|
+
end
|
61
|
+
|
62
|
+
desc "Incrementally update recommendations (create recommendations for newly harvested records)."
|
63
|
+
task :recommend => :environment do
|
64
|
+
daemon_task 'recommend'
|
65
|
+
end
|
66
|
+
|
67
|
+
desc "Redo all recommendations."
|
68
|
+
task :recommend_redo => :environment do
|
69
|
+
daemon_task 'recommend', 'redo'
|
70
|
+
end
|
71
|
+
|
72
|
+
desc "Auto-generate tags for new entries that don't have at least 4."
|
73
|
+
task :subjects => :environment do
|
74
|
+
daemon_task 'subjects'
|
75
|
+
end
|
76
|
+
|
77
|
+
desc "Re-generate tag clouds."
|
78
|
+
task :tag_clouds => :environment do
|
79
|
+
daemon_task 'tag_clouds', 'redo'
|
80
|
+
end
|
81
|
+
|
82
|
+
def show_options
|
83
|
+
puts "RAILS_ENV=#{ENV['RAILS_ENV']} "
|
84
|
+
puts "solr.solr.home=\"#{SOLR_CONFIG_PATH}\" "
|
85
|
+
puts "solr.data.dir=\"#{SOLR_DATA_PATH}\""
|
86
|
+
puts "RAKER_PIDS_PATH=\"#{RAKER_PIDS_PATH}\" "
|
87
|
+
puts "recommender.database.config_file=\"#{RAKER_DATABASE_CONFIG_FILE}\" "
|
88
|
+
puts "recommender.log_file=\"#{RAKER_LOGS_PATH}/raker.log\" "
|
89
|
+
puts "recommender.log_to_console=\"#{ENV['DEBUG']}\" "
|
90
|
+
puts "aggregator.feed_archive_path=\"#{RAKER_FEED_ARCHIVE_PATH}\" "
|
91
|
+
end
|
92
|
+
|
93
|
+
def daemon_task task = 'all', task_param = nil
|
94
|
+
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
95
|
+
task_param ||= (ENV['redo'] == 'true') ? 'redo' : ''
|
96
|
+
FileUtils.mkdir_p(RAKER_PIDS_PATH)
|
97
|
+
FileUtils.mkdir_p(RAKER_LOGS_PATH)
|
98
|
+
FileUtils.mkdir_p(RAKER_FEED_ARCHIVE_PATH)
|
99
|
+
show_options
|
100
|
+
options = "-DRAILS_ENV=#{ENV['RAILS_ENV']} "
|
101
|
+
options << "-DDEBUG=#{ENV['DEBUG']} "
|
102
|
+
options << "-Dsolr.solr.home=\"#{SOLR_CONFIG_PATH}\" "
|
103
|
+
options << "-Dsolr.data.dir=\"#{SOLR_DATA_PATH}\" "
|
104
|
+
options << "-Drecommender.database.config_file=\"#{RAKER_DATABASE_CONFIG_FILE}\" "
|
105
|
+
options << "-Drecommender.log_file=\"#{RAKER_LOGS_PATH}/raker.log\" "
|
106
|
+
options << "-Drecommender.log_to_console=\"#{ENV['DEBUG']}\" "
|
107
|
+
options << "-Daggregator.feed_archive_path=\"#{RAKER_FEED_ARCHIVE_PATH}\" "
|
108
|
+
javaclass = "edu.usu.cosl.recommenderd.Recommenderd "
|
109
|
+
separator = (RUBY_PLATFORM =~ /(win|w)32$/ ? ';' : ':')
|
110
|
+
Dir.chdir(File.join(File.dirname(__FILE__), '../../', 'raker', 'lib')) do
|
111
|
+
jars = Dir['*.jar','solr/*.jar'].join(separator)
|
112
|
+
classpath = "-classpath #{jars}#{separator}. "
|
113
|
+
cmd = "nice -n 2 java " + options + classpath + javaclass + task + ' ' + task_param
|
114
|
+
puts ("Executing: " + cmd)
|
115
|
+
windows = RUBY_PLATFORM =~ /(win|w)32$/
|
116
|
+
if windows
|
117
|
+
exec cmd
|
118
|
+
else
|
119
|
+
pid = fork do
|
120
|
+
exec cmd
|
121
|
+
end
|
122
|
+
end
|
123
|
+
sleep(5)
|
124
|
+
File.open("#{RAKER_PIDS_PATH}/#{ENV['RAILS_ENV']}_pid", "w"){ |f| f << pid} unless windows
|
125
|
+
puts "#{ENV['RAILS_ENV']} Muck raker command started successfully, pid: #{pid}."
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
desc "Reload solr indexes."
|
130
|
+
task :reload_indexes do
|
131
|
+
require File.expand_path("#{File.dirname(__FILE__)}/../../config/muck_raker_environment")
|
132
|
+
reload_cores
|
133
|
+
puts "Reloaded solr indexes"
|
134
|
+
end
|
135
|
+
|
136
|
+
def reload_cores
|
137
|
+
['en', 'es', 'zh-CN', 'fr', 'ja', 'de', 'ru', 'nl'].each{|core|
|
138
|
+
Net::HTTP.new('127.0.0.1', SOLR_PORT).request_head('/solr/admin/cores?action=RELOAD&core=' + core).value
|
139
|
+
}
|
140
|
+
end
|
141
|
+
|
142
|
+
desc "Import attention data for use in testing."
|
143
|
+
task :import_attention => :environment do
|
144
|
+
require 'active_record/fixtures'
|
145
|
+
ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
|
146
|
+
yml = File.join(RAILS_ROOT, 'db', 'bootstrap', 'attention')
|
147
|
+
Fixtures.new(Attention.connection,"attention",Attention,yml).insert_fixtures
|
148
|
+
end
|
149
|
+
|
150
|
+
end
|
151
|
+
|
152
|
+
end
|
data/muck-raker.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-raker}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "3.0.0"
|
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"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-10-15}
|
13
13
|
s.description = %q{The aggregation and recommendation daemons for the muck system.}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,142 +17,140 @@ Gem::Specification.new do |s|
|
|
17
17
|
]
|
18
18
|
s.files = [
|
19
19
|
".gitignore",
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
"tasks/muck_raker_tasks.rake",
|
155
|
-
"uninstall.rb"
|
20
|
+
"MIT-LICENSE",
|
21
|
+
"README.rdoc",
|
22
|
+
"Rakefile",
|
23
|
+
"VERSION",
|
24
|
+
"config/initializers/muck_raker.rb",
|
25
|
+
"config/muck_raker_environment.rb",
|
26
|
+
"config/solr.yml",
|
27
|
+
"config/solr/README.txt",
|
28
|
+
"config/solr/cores/de/conf/protwords.txt",
|
29
|
+
"config/solr/cores/de/conf/schema.xml",
|
30
|
+
"config/solr/cores/de/conf/solrconfig.xml",
|
31
|
+
"config/solr/cores/de/conf/stopwords.txt",
|
32
|
+
"config/solr/cores/de/conf/synonyms.txt",
|
33
|
+
"config/solr/cores/en/conf/protwords.txt",
|
34
|
+
"config/solr/cores/en/conf/schema.xml",
|
35
|
+
"config/solr/cores/en/conf/solrconfig.xml",
|
36
|
+
"config/solr/cores/en/conf/stopwords.txt",
|
37
|
+
"config/solr/cores/en/conf/synonyms.txt",
|
38
|
+
"config/solr/cores/es/conf/protwords.txt",
|
39
|
+
"config/solr/cores/es/conf/schema.xml",
|
40
|
+
"config/solr/cores/es/conf/solrconfig.xml",
|
41
|
+
"config/solr/cores/es/conf/stopwords.txt",
|
42
|
+
"config/solr/cores/es/conf/synonyms.txt",
|
43
|
+
"config/solr/cores/fr/conf/protwords.txt",
|
44
|
+
"config/solr/cores/fr/conf/schema.xml",
|
45
|
+
"config/solr/cores/fr/conf/solrconfig.xml",
|
46
|
+
"config/solr/cores/fr/conf/stopwords.txt",
|
47
|
+
"config/solr/cores/fr/conf/synonyms.txt",
|
48
|
+
"config/solr/cores/ja/conf/protwords.txt",
|
49
|
+
"config/solr/cores/ja/conf/schema.xml",
|
50
|
+
"config/solr/cores/ja/conf/solrconfig.xml",
|
51
|
+
"config/solr/cores/ja/conf/stopwords.txt",
|
52
|
+
"config/solr/cores/ja/conf/synonyms.txt",
|
53
|
+
"config/solr/cores/nl/conf/protwords.txt",
|
54
|
+
"config/solr/cores/nl/conf/schema.xml",
|
55
|
+
"config/solr/cores/nl/conf/solrconfig.xml",
|
56
|
+
"config/solr/cores/nl/conf/stopwords.txt",
|
57
|
+
"config/solr/cores/nl/conf/synonyms.txt",
|
58
|
+
"config/solr/cores/ru/conf/protwords.txt",
|
59
|
+
"config/solr/cores/ru/conf/schema.xml",
|
60
|
+
"config/solr/cores/ru/conf/solrconfig.xml",
|
61
|
+
"config/solr/cores/ru/conf/stopwords.txt",
|
62
|
+
"config/solr/cores/ru/conf/synonyms.txt",
|
63
|
+
"config/solr/cores/zh/conf/protwords.txt",
|
64
|
+
"config/solr/cores/zh/conf/schema.xml",
|
65
|
+
"config/solr/cores/zh/conf/solrconfig.xml",
|
66
|
+
"config/solr/cores/zh/conf/stopwords.txt",
|
67
|
+
"config/solr/cores/zh/conf/synonyms.txt",
|
68
|
+
"config/solr/solr.xml",
|
69
|
+
"db/bootstrap/attention.yml",
|
70
|
+
"db/bootstrap/feeds.yml",
|
71
|
+
"db/bootstrap/oai_endpoints.yml",
|
72
|
+
"db/bootstrap/service_categories.yml",
|
73
|
+
"db/bootstrap/services.yml",
|
74
|
+
"db/migrate/20090602191243_create_muck_raker.rb",
|
75
|
+
"db/migrate/20090619211125_create_tag_clouds.rb",
|
76
|
+
"db/migrate/20090623181458_add_grain_size_to_entries.rb",
|
77
|
+
"db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb",
|
78
|
+
"db/migrate/20090703175825_denormalize_entries_subjects.rb",
|
79
|
+
"db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb",
|
80
|
+
"db/migrate/20090717173900_add_contributor_to_feeds.rb",
|
81
|
+
"db/migrate/20090717175825_normalize_entries_subjects.rb",
|
82
|
+
"db/migrate/20090721043213_change_services_title_to_name.rb",
|
83
|
+
"db/migrate/20090721054927_remove_services_not_null_from_feeds.rb",
|
84
|
+
"db/migrate/20090723050510_create_feed_parents.rb",
|
85
|
+
"db/migrate/20090728165716_add_etag_to_feeds.rb",
|
86
|
+
"db/migrate/20090730045848_add_comment_cache_to_entries.rb",
|
87
|
+
"db/migrate/20090804211240_add_entry_id_to_shares.rb",
|
88
|
+
"db/migrate/20090826220530_change_services_sequence_to_sort.rb",
|
89
|
+
"db/migrate/20090826225652_create_identity_feeds.rb",
|
90
|
+
"db/migrate/20090827005105_add_identity_fields_to_services.rb",
|
91
|
+
"db/migrate/20090827015308_create_service_categories.rb",
|
92
|
+
"db/migrate/20090827221502_add_prompt_and_template_to_services.rb",
|
93
|
+
"db/migrate/20090915041650_aggregations_to_polymorphic.rb",
|
94
|
+
"db/migrate/20090922174200_update_oai_endpoints.rb",
|
95
|
+
"db/migrate/20090922231552_add_dates_to_oai_endpoints.rb",
|
96
|
+
"db/migrate/20090923150807_rename_name_in_aggregation.rb",
|
97
|
+
"db/migrate/20090924200750_add_uri_data_template_to_services.rb",
|
98
|
+
"db/migrate/20091006183742_add_feed_count_to_aggregation.rb",
|
99
|
+
"db/migrate/20091022150615_add_uri_key_to_services.rb",
|
100
|
+
"lib/muck-raker.rb",
|
101
|
+
"lib/muck-raker/config.rb",
|
102
|
+
"lib/muck-raker/engine.rb",
|
103
|
+
"lib/tasks/muck_raker.rake",
|
104
|
+
"muck-raker.gemspec",
|
105
|
+
"raker/lib/aggregatord.jar",
|
106
|
+
"raker/lib/aggregatord.properties",
|
107
|
+
"raker/lib/axis.jar",
|
108
|
+
"raker/lib/commons-daemon.jar",
|
109
|
+
"raker/lib/commons-dbcp-1.2.1.jar",
|
110
|
+
"raker/lib/commons-discovery-0.2.jar",
|
111
|
+
"raker/lib/commons-pool-1.3.jar",
|
112
|
+
"raker/lib/delicious-1.13.jar",
|
113
|
+
"raker/lib/flickrapi-1.0a9.jar",
|
114
|
+
"raker/lib/javax.jms.jar",
|
115
|
+
"raker/lib/jaxrpc.jar",
|
116
|
+
"raker/lib/jdom.jar",
|
117
|
+
"raker/lib/jericho.jar",
|
118
|
+
"raker/lib/log4j-1.2.8.jar",
|
119
|
+
"raker/lib/mail.jar",
|
120
|
+
"raker/lib/mysql-connector-java-5.1.10-bin.jar",
|
121
|
+
"raker/lib/recommenderd.jar",
|
122
|
+
"raker/lib/recommenderd.properties",
|
123
|
+
"raker/lib/rome-1.0.jar",
|
124
|
+
"raker/lib/rome.properties",
|
125
|
+
"raker/lib/solr/apache-solr-common-1.3.0.jar",
|
126
|
+
"raker/lib/solr/apache-solr-core-1.3.0.jar",
|
127
|
+
"raker/lib/solr/apache-solr-dataimporthandler-1.3.0.jar",
|
128
|
+
"raker/lib/solr/commons-codec-1.3.jar",
|
129
|
+
"raker/lib/solr/commons-csv-1.0-SNAPSHOT-r609327.jar",
|
130
|
+
"raker/lib/solr/commons-fileupload-1.2.jar",
|
131
|
+
"raker/lib/solr/commons-httpclient-3.1.jar",
|
132
|
+
"raker/lib/solr/commons-io-1.3.1.jar",
|
133
|
+
"raker/lib/solr/commons-logging-1.0.4.jar",
|
134
|
+
"raker/lib/solr/geronimo-stax-api_1.0_spec-1.0.1.jar",
|
135
|
+
"raker/lib/solr/junit-4.3.jar",
|
136
|
+
"raker/lib/solr/lucene-analyzers-2.4-dev.jar",
|
137
|
+
"raker/lib/solr/lucene-core-2.4-dev.jar",
|
138
|
+
"raker/lib/solr/lucene-highlighter-2.4-dev.jar",
|
139
|
+
"raker/lib/solr/lucene-memory-2.4-dev.jar",
|
140
|
+
"raker/lib/solr/lucene-queries-2.4-dev.jar",
|
141
|
+
"raker/lib/solr/lucene-snowball-2.4-dev.jar",
|
142
|
+
"raker/lib/solr/lucene-spellchecker-2.4-dev.jar",
|
143
|
+
"raker/lib/solr/solr-commons-csv-pom.xml.template",
|
144
|
+
"raker/lib/solr/solr-lucene-analyzers-pom.xml.template",
|
145
|
+
"raker/lib/solr/solr-lucene-contrib-pom.xml.template",
|
146
|
+
"raker/lib/solr/solr-lucene-core-pom.xml.template",
|
147
|
+
"raker/lib/solr/solr-lucene-highlighter-pom.xml.template",
|
148
|
+
"raker/lib/solr/solr-lucene-queries-pom.xml.template",
|
149
|
+
"raker/lib/solr/solr-lucene-snowball-pom.xml.template",
|
150
|
+
"raker/lib/solr/solr-lucene-spellchecker-pom.xml.template",
|
151
|
+
"raker/lib/solr/stax-utils.jar",
|
152
|
+
"raker/lib/solr/wstx-asl-3.2.7.jar",
|
153
|
+
"raker/lib/wsdl4j-1.5.1.jar"
|
156
154
|
]
|
157
155
|
s.homepage = %q{http://github.com/tatemae/muck-raker}
|
158
156
|
s.rdoc_options = ["--charset=UTF-8"]
|
@@ -161,59 +159,77 @@ Gem::Specification.new do |s|
|
|
161
159
|
s.rubygems_version = %q{1.3.7}
|
162
160
|
s.summary = %q{The aggregation and recommendation daemons for the muck system}
|
163
161
|
s.test_files = [
|
164
|
-
"test/
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
162
|
+
"test/rails_test/app/controllers/application_controller.rb",
|
163
|
+
"test/rails_test/app/controllers/default_controller.rb",
|
164
|
+
"test/rails_test/app/helpers/application_helper.rb",
|
165
|
+
"test/rails_test/app/models/comment.rb",
|
166
|
+
"test/rails_test/app/models/profile.rb",
|
167
|
+
"test/rails_test/app/models/user.rb",
|
168
|
+
"test/rails_test/app/models/user_session.rb",
|
169
|
+
"test/rails_test/config/application.rb",
|
170
|
+
"test/rails_test/config/boot.rb",
|
171
|
+
"test/rails_test/config/environment.rb",
|
172
|
+
"test/rails_test/config/environments/development.rb",
|
173
|
+
"test/rails_test/config/environments/production.rb",
|
174
|
+
"test/rails_test/config/environments/test.rb",
|
175
|
+
"test/rails_test/config/initializers/backtrace_silencers.rb",
|
176
|
+
"test/rails_test/config/initializers/inflections.rb",
|
177
|
+
"test/rails_test/config/initializers/mime_types.rb",
|
178
|
+
"test/rails_test/config/initializers/muck_raker.rb",
|
179
|
+
"test/rails_test/config/initializers/secret_token.rb",
|
180
|
+
"test/rails_test/config/initializers/session_store.rb",
|
181
|
+
"test/rails_test/config/routes.rb",
|
182
|
+
"test/rails_test/db/migrate/20090320174818_create_muck_permissions_and_roles.rb",
|
183
|
+
"test/rails_test/db/migrate/20090402033319_add_muck_activities.rb",
|
184
|
+
"test/rails_test/db/migrate/20090402234137_create_languages.rb",
|
185
|
+
"test/rails_test/db/migrate/20090426041056_create_countries.rb",
|
186
|
+
"test/rails_test/db/migrate/20090426041103_create_states.rb",
|
187
|
+
"test/rails_test/db/migrate/20090602041838_create_users.rb",
|
188
|
+
"test/rails_test/db/migrate/20090602191243_create_muck_raker.rb",
|
189
|
+
"test/rails_test/db/migrate/20090613173314_create_comments.rb",
|
190
|
+
"test/rails_test/db/migrate/20090619211125_create_tag_clouds.rb",
|
191
|
+
"test/rails_test/db/migrate/20090623181458_add_grain_size_to_entries.rb",
|
192
|
+
"test/rails_test/db/migrate/20090623193525_add_grain_size_to_tag_clouds.rb",
|
193
|
+
"test/rails_test/db/migrate/20090703175825_denormalize_entries_subjects.rb",
|
194
|
+
"test/rails_test/db/migrate/20090704220055_create_slugs.rb",
|
195
|
+
"test/rails_test/db/migrate/20090704220120_acts_as_taggable_on_migration.rb",
|
196
|
+
"test/rails_test/db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb",
|
197
|
+
"test/rails_test/db/migrate/20090717173900_add_contributor_to_feeds.rb",
|
198
|
+
"test/rails_test/db/migrate/20090717175825_normalize_entries_subjects.rb",
|
199
|
+
"test/rails_test/db/migrate/20090721043213_change_services_title_to_name.rb",
|
200
|
+
"test/rails_test/db/migrate/20090721054927_remove_services_not_null_from_feeds.rb",
|
201
|
+
"test/rails_test/db/migrate/20090723050510_create_feed_parents.rb",
|
202
|
+
"test/rails_test/db/migrate/20090728165716_add_etag_to_feeds.rb",
|
203
|
+
"test/rails_test/db/migrate/20090730044139_add_comment_cache.rb",
|
204
|
+
"test/rails_test/db/migrate/20090730045848_add_comment_cache_to_entries.rb",
|
205
|
+
"test/rails_test/db/migrate/20090730154102_allow_null_user.rb",
|
206
|
+
"test/rails_test/db/migrate/20090803185323_create_shares.rb",
|
207
|
+
"test/rails_test/db/migrate/20090804184247_add_comment_count_to_shares.rb",
|
208
|
+
"test/rails_test/db/migrate/20090804211240_add_entry_id_to_shares.rb",
|
209
|
+
"test/rails_test/db/migrate/20090804231857_add_shares_uri_index.rb",
|
210
|
+
"test/rails_test/db/migrate/20090818204527_add_activity_indexes.rb",
|
211
|
+
"test/rails_test/db/migrate/20090819030523_add_attachable_to_activities.rb",
|
212
|
+
"test/rails_test/db/migrate/20090826220530_change_services_sequence_to_sort.rb",
|
213
|
+
"test/rails_test/db/migrate/20090826225652_create_identity_feeds.rb",
|
214
|
+
"test/rails_test/db/migrate/20090827005105_add_identity_fields_to_services.rb",
|
215
|
+
"test/rails_test/db/migrate/20090827015308_create_service_categories.rb",
|
216
|
+
"test/rails_test/db/migrate/20090827221502_add_prompt_and_template_to_services.rb",
|
217
|
+
"test/rails_test/db/migrate/20090915041650_aggregations_to_polymorphic.rb",
|
218
|
+
"test/rails_test/db/migrate/20090922174200_update_oai_endpoints.rb",
|
219
|
+
"test/rails_test/db/migrate/20090922231552_add_dates_to_oai_endpoints.rb",
|
220
|
+
"test/rails_test/db/migrate/20090923150807_rename_name_in_aggregation.rb",
|
221
|
+
"test/rails_test/db/migrate/20090924200750_add_uri_data_template_to_services.rb",
|
222
|
+
"test/rails_test/db/migrate/20091006183742_add_feed_count_to_aggregation.rb",
|
223
|
+
"test/rails_test/db/migrate/20091022150615_add_uri_key_to_services.rb",
|
224
|
+
"test/rails_test/features/step_definitions/comment_steps.rb",
|
225
|
+
"test/rails_test/features/step_definitions/common_steps.rb",
|
226
|
+
"test/rails_test/features/step_definitions/web_steps.rb",
|
227
|
+
"test/rails_test/features/step_definitions/webrat_steps.rb",
|
228
|
+
"test/rails_test/features/support/custom_env.rb",
|
229
|
+
"test/rails_test/features/support/env.rb",
|
230
|
+
"test/rails_test/features/support/paths.rb",
|
231
|
+
"test/rails_test/public/dispatch.rb",
|
232
|
+
"test/rails_test/spec/spec_helper.rb"
|
217
233
|
]
|
218
234
|
|
219
235
|
if s.respond_to? :specification_version then
|