muck-raker 0.1.2 → 0.1.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/app/models/attention.rb +2 -0
- data/db/bootstrap/attention.yml +6 -0
- data/db/bootstrap/feeds.yml +68 -68
- data/lib/muck_raker/tasks.rb +13 -1
- data/muck-raker.gemspec +5 -2
- data/rails/init.rb +1 -1
- data/raker/lib/aggregatord.jar +0 -0
- data/rdoc/created.rid +1 -1
- data/rdoc/files/lib/muck_raker/tasks_rb.html +1 -1
- metadata +4 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/db/bootstrap/feeds.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
feed_1:
|
|
1
|
+
feed_1:
|
|
2
2
|
title: Ariadne
|
|
3
3
|
short_title: Ariadne
|
|
4
4
|
description: Ariadne
|
|
@@ -317,17 +317,6 @@ feed_29:
|
|
|
317
317
|
harvested_from_title: Universidad de Zaragoza OCW
|
|
318
318
|
harvested_from_short_title: Universidad de Zaragoza OCW
|
|
319
319
|
ocw: true
|
|
320
|
-
feed_30:
|
|
321
|
-
title: OCW UPM - OpenCourseWare de la Universidad Polit�cnica de Madrid
|
|
322
|
-
short_title: OCW Univers Politecnica Madrid
|
|
323
|
-
description: Sitio web del OpenCourseWare de la Universidad Politecnica de Madrid
|
|
324
|
-
service_id: 1
|
|
325
|
-
uri: http://ocw.upm.es/rss_all
|
|
326
|
-
display_uri: http://ocw.upm.es/
|
|
327
|
-
harvested_from_display_uri: http://ocw.upm.es/
|
|
328
|
-
harvested_from_title: OpenCourseWare de la Universidad Polit�cnica de Madrid
|
|
329
|
-
harvested_from_short_title: OCW Univers Politecnica Madrid
|
|
330
|
-
ocw: true
|
|
331
320
|
feed_31:
|
|
332
321
|
title: OpenCourseWare de la Universidad de Salamanca
|
|
333
322
|
short_title: OCW Universidad de Salamanca
|
|
@@ -339,39 +328,6 @@ feed_31:
|
|
|
339
328
|
harvested_from_title: Open Course Ware de la Universidad de Salamanca
|
|
340
329
|
harvested_from_short_title: OCW Universidad de Salamanca
|
|
341
330
|
ocw: true
|
|
342
|
-
feed_32:
|
|
343
|
-
title: RSS con los cursos del OCW en la USC
|
|
344
|
-
short_title: OCW Universidad de Santiago
|
|
345
|
-
description: Esta p�gina contiene los RSS con los cursos publicados por la USC
|
|
346
|
-
service_id: 1
|
|
347
|
-
uri: http://ocw.usc.es/es/servizos/ceta/opencourseware/rss/rss.xml?uri=/es/servizos/ceta/opencourseware
|
|
348
|
-
display_uri: http://ocw.usc.es/es/servizos/ceta/opencourseware/
|
|
349
|
-
harvested_from_display_uri: http://ocw.usc.es/es/servizos/ceta/opencourseware/
|
|
350
|
-
harvested_from_title: OpenCourseWare de la Universidad de Santiago de Compostela
|
|
351
|
-
harvested_from_short_title: OCW Universidad de Santiago
|
|
352
|
-
ocw: true
|
|
353
|
-
feed_33:
|
|
354
|
-
title: RSS cos cursos no OCW da USC
|
|
355
|
-
short_title: OCW Unversidade de Santiago
|
|
356
|
-
description: Esta p�xina cont�n os cursos publicados pola USC no OCW
|
|
357
|
-
service_id: 1
|
|
358
|
-
uri: http://ocw.usc.es/gl/servizos/ceta/opencourseware/rss/rss.xml?uri=/gl/servizos/ceta/opencourseware
|
|
359
|
-
display_uri: http://ocw.usc.es/gl/servizos/ceta/opencourseware/
|
|
360
|
-
harvested_from_display_uri: http://ocw.usc.es/gl/servizos/ceta/opencourseware/
|
|
361
|
-
harvested_from_title: Opencourseware da Unversidade de Santiago de compostela
|
|
362
|
-
harvested_from_short_title: OCW Unversidade de Santiago
|
|
363
|
-
ocw: true
|
|
364
|
-
feed_34:
|
|
365
|
-
title: Free Online Course Materials � USU OpenCourseWare
|
|
366
|
-
short_title: USU OCW
|
|
367
|
-
description:
|
|
368
|
-
service_id: 1
|
|
369
|
-
uri: http://ocw.usu.edu/rss_all
|
|
370
|
-
display_uri: http://ocw.usu.edu
|
|
371
|
-
harvested_from_display_uri: http://ocw.usu.edu/
|
|
372
|
-
harvested_from_title: Utah State University OpenCourseWare
|
|
373
|
-
harvested_from_short_title: USU OCW
|
|
374
|
-
ocw: true
|
|
375
331
|
feed_35:
|
|
376
332
|
title: BYU MSE Open Learning Courses
|
|
377
333
|
short_title: BYU MSE Open Learning
|
|
@@ -1131,28 +1087,6 @@ feed_103:
|
|
|
1131
1087
|
harvested_from_title: OER Commons - Open Educational Resources
|
|
1132
1088
|
harvested_from_short_title: OERC
|
|
1133
1089
|
ocw: false
|
|
1134
|
-
feed_104:
|
|
1135
|
-
title: Eesti Bioloogia ja Geograafia �petajate Liit
|
|
1136
|
-
short_title: Eesti Bioloogia ja Geograafia �petajate Liit
|
|
1137
|
-
description: Eesti Bioloogia ja Geograafia �petajate Liit
|
|
1138
|
-
service_id: 2
|
|
1139
|
-
uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-bioloogia-ja-geograafia-opetajate-liit
|
|
1140
|
-
display_uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-bioloogia-ja-geograafia-opetajate-liit
|
|
1141
|
-
harvested_from_display_uri: http://www.oercommons.org
|
|
1142
|
-
harvested_from_title: OER Commons - Open Educational Resources
|
|
1143
|
-
harvested_from_short_title: OERC
|
|
1144
|
-
ocw: false
|
|
1145
|
-
feed_105:
|
|
1146
|
-
title: Eesti Ornitoloogia�hing
|
|
1147
|
-
short_title: Eesti Ornitoloogia�hing
|
|
1148
|
-
description: Eesti Ornitoloogia�hing
|
|
1149
|
-
service_id: 2
|
|
1150
|
-
uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-ornitoloogiauhing
|
|
1151
|
-
display_uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-ornitoloogiauhing
|
|
1152
|
-
harvested_from_display_uri: http://www.oercommons.org
|
|
1153
|
-
harvested_from_title: OER Commons - Open Educational Resources
|
|
1154
|
-
harvested_from_short_title: OERC
|
|
1155
|
-
ocw: false
|
|
1156
1090
|
feed_106:
|
|
1157
1091
|
title: Electronic Frontier Foundation
|
|
1158
1092
|
short_title: Electronic Frontier Foundation
|
|
@@ -4265,4 +4199,70 @@ feed_388:
|
|
|
4265
4199
|
harvested_from_display_uri: http://www.unav.es/enred/alberto/
|
|
4266
4200
|
harvested_from_title: Universidad de Navarra
|
|
4267
4201
|
harvested_from_short_title: Universidad de Navarra
|
|
4268
|
-
ocw: true
|
|
4202
|
+
ocw: true
|
|
4203
|
+
feed_30:
|
|
4204
|
+
title: OCW UPM - OpenCourseWare de la Universidad Politécnica de Madrid
|
|
4205
|
+
short_title: OCW Univers Politecnica Madrid
|
|
4206
|
+
description: Sitio web del OpenCourseWare de la Universidad Politecnica de Madrid
|
|
4207
|
+
service_id: 1
|
|
4208
|
+
uri: http://ocw.upm.es/rss_all
|
|
4209
|
+
display_uri: http://ocw.upm.es/
|
|
4210
|
+
harvested_from_display_uri: http://ocw.upm.es/
|
|
4211
|
+
harvested_from_title: OpenCourseWare de la Universidad Politécnica de Madrid
|
|
4212
|
+
harvested_from_short_title: OCW Univers Politecnica Madrid
|
|
4213
|
+
ocw: true
|
|
4214
|
+
feed_32:
|
|
4215
|
+
title: RSS con los cursos del OCW en la USC
|
|
4216
|
+
short_title: OCW Universidad de Santiago
|
|
4217
|
+
description: Esta página contiene los RSS con los cursos publicados por la USC
|
|
4218
|
+
service_id: 1
|
|
4219
|
+
uri: http://ocw.usc.es/es/servizos/ceta/opencourseware/rss/rss.xml?uri=/es/servizos/ceta/opencourseware
|
|
4220
|
+
display_uri: http://ocw.usc.es/es/servizos/ceta/opencourseware/
|
|
4221
|
+
harvested_from_display_uri: http://ocw.usc.es/es/servizos/ceta/opencourseware/
|
|
4222
|
+
harvested_from_title: OpenCourseWare de la Universidad de Santiago de Compostela
|
|
4223
|
+
harvested_from_short_title: OCW Universidad de Santiago
|
|
4224
|
+
ocw: true
|
|
4225
|
+
feed_33:
|
|
4226
|
+
title: RSS cos cursos no OCW da USC
|
|
4227
|
+
short_title: OCW Unversidade de Santiago
|
|
4228
|
+
description: Esta páxina contén os cursos publicados pola USC no OCW
|
|
4229
|
+
service_id: 1
|
|
4230
|
+
uri: http://ocw.usc.es/gl/servizos/ceta/opencourseware/rss/rss.xml?uri=/gl/servizos/ceta/opencourseware
|
|
4231
|
+
display_uri: http://ocw.usc.es/gl/servizos/ceta/opencourseware/
|
|
4232
|
+
harvested_from_display_uri: http://ocw.usc.es/gl/servizos/ceta/opencourseware/
|
|
4233
|
+
harvested_from_title: Opencourseware da Unversidade de Santiago de compostela
|
|
4234
|
+
harvested_from_short_title: OCW Unversidade de Santiago
|
|
4235
|
+
ocw: true
|
|
4236
|
+
feed_34:
|
|
4237
|
+
title: Free Online Course Materials USU OpenCourseWare
|
|
4238
|
+
short_title: USU OCW
|
|
4239
|
+
description:
|
|
4240
|
+
service_id: 1
|
|
4241
|
+
uri: http://ocw.usu.edu/rss_all
|
|
4242
|
+
display_uri: http://ocw.usu.edu
|
|
4243
|
+
harvested_from_display_uri: http://ocw.usu.edu/
|
|
4244
|
+
harvested_from_title: Utah State University OpenCourseWare
|
|
4245
|
+
harvested_from_short_title: USU OCW
|
|
4246
|
+
ocw: true
|
|
4247
|
+
feed_104:
|
|
4248
|
+
title: Eesti Bioloogia ja Geograafia Õpetajate Liit
|
|
4249
|
+
short_title: Eesti Bioloogia ja Geograafia Õpetajate Liit
|
|
4250
|
+
description: Eesti Bioloogia ja Geograafia Õpetajate Liit
|
|
4251
|
+
service_id: 2
|
|
4252
|
+
uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-bioloogia-ja-geograafia-opetajate-liit
|
|
4253
|
+
display_uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-bioloogia-ja-geograafia-opetajate-liit
|
|
4254
|
+
harvested_from_display_uri: http://www.oercommons.org
|
|
4255
|
+
harvested_from_title: OER Commons - Open Educational Resources
|
|
4256
|
+
harvested_from_short_title: OERC
|
|
4257
|
+
ocw: false
|
|
4258
|
+
feed_105:
|
|
4259
|
+
title: Eesti Ornitoloogiaühing
|
|
4260
|
+
short_title: Eesti Ornitoloogiaühing
|
|
4261
|
+
description: Eesti Ornitoloogiaühing
|
|
4262
|
+
service_id: 2
|
|
4263
|
+
uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-ornitoloogiauhing
|
|
4264
|
+
display_uri: http://www.oercommons.org/oai?verb=ListRecords&metadataPrefix=oer_recommender&set=collection:eesti-ornitoloogiauhing
|
|
4265
|
+
harvested_from_display_uri: http://www.oercommons.org
|
|
4266
|
+
harvested_from_title: OER Commons - Open Educational Resources
|
|
4267
|
+
harvested_from_short_title: OERC
|
|
4268
|
+
ocw: false
|
data/lib/muck_raker/tasks.rb
CHANGED
|
@@ -15,6 +15,15 @@ module MuckRaker
|
|
|
15
15
|
|
|
16
16
|
namespace :raker do
|
|
17
17
|
|
|
18
|
+
desc "Imports attention data for use in testing"
|
|
19
|
+
task :import_attention => :environment do
|
|
20
|
+
require 'active_record/fixtures'
|
|
21
|
+
ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
|
|
22
|
+
yml = File.join(RAILS_ROOT, 'db', 'bootstrap', 'attention')
|
|
23
|
+
Fixtures.new(Attention.connection,"attention",Attention,yml).insert_fixtures
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
|
|
18
27
|
namespace :db do
|
|
19
28
|
desc "Flags the languages that the muck raker supports"
|
|
20
29
|
task :populate => :environment do
|
|
@@ -46,6 +55,9 @@ module MuckRaker
|
|
|
46
55
|
Feed.delete_all
|
|
47
56
|
yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"feeds")
|
|
48
57
|
Fixtures.new(Feed.connection,"feeds",Feed,yml).insert_fixtures
|
|
58
|
+
|
|
59
|
+
puts "Setting the default theme to folksemantic"
|
|
60
|
+
DomainTheme.create(:uri => 'localhost', :name => 'folksemantic')
|
|
49
61
|
end
|
|
50
62
|
|
|
51
63
|
end
|
|
@@ -53,7 +65,7 @@ module MuckRaker
|
|
|
53
65
|
desc "Sync files from recommender."
|
|
54
66
|
task :sync do
|
|
55
67
|
path = File.join(File.dirname(__FILE__), *%w[.. ..])
|
|
56
|
-
system "rsync -ruv #{path}/db ."
|
|
68
|
+
system "rsync -ruv #{path}/db/migrate ."
|
|
57
69
|
system "rsync -ruv #{path}/config/solr ./config"
|
|
58
70
|
end
|
|
59
71
|
|
data/muck-raker.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{muck-raker}
|
|
5
|
-
s.version = "0.1.
|
|
5
|
+
s.version = "0.1.3"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Joel Duffin Justin Ball"]
|
|
9
|
-
s.date = %q{2009-06-
|
|
9
|
+
s.date = %q{2009-06-18}
|
|
10
10
|
s.description = %q{The aggregation and recommendation engine for the muck system.}
|
|
11
11
|
s.email = %q{justinball@gmail.com}
|
|
12
12
|
s.extra_rdoc_files = [
|
|
@@ -30,6 +30,8 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
"app/controllers/recommender/search_controller.rb",
|
|
31
31
|
"app/helpers/muck_raker_helper.rb",
|
|
32
32
|
"app/helpers/muck_raker_helper.rb",
|
|
33
|
+
"app/models/attention.rb",
|
|
34
|
+
"app/models/attention.rb",
|
|
33
35
|
"app/models/click.rb",
|
|
34
36
|
"app/models/click.rb",
|
|
35
37
|
"app/models/cloud_cache.rb",
|
|
@@ -183,6 +185,7 @@ Gem::Specification.new do |s|
|
|
|
183
185
|
"config/solr/cores/zh/conf/stopwords.txt",
|
|
184
186
|
"config/solr/cores/zh/conf/synonyms.txt",
|
|
185
187
|
"config/solr/solr.xml",
|
|
188
|
+
"db/bootstrap/attention.yml",
|
|
186
189
|
"db/bootstrap/feeds.yml",
|
|
187
190
|
"db/bootstrap/oai_endpoints.yml",
|
|
188
191
|
"db/bootstrap/services.yml",
|
data/rails/init.rb
CHANGED
|
@@ -14,7 +14,7 @@ else
|
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
I18n.load_path += Dir[ File.join(
|
|
17
|
+
I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ]
|
|
18
18
|
|
|
19
19
|
ENV['APP_AVAILABLE_LOCALES'] = "^en|es|fr|nl|ja|de|ru|zh"
|
|
20
20
|
ENV['APP_DEFAULT_LOCALE'] = 'en'
|
data/raker/lib/aggregatord.jar
CHANGED
|
Binary file
|
data/rdoc/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Wed, 17 Jun 2009
|
|
1
|
+
Wed, 17 Jun 2009 17:08:10 -0600
|
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.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joel Duffin Justin Ball
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-06-
|
|
12
|
+
date: 2009-06-18 00:00:00 -06:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -62,6 +62,7 @@ files:
|
|
|
62
62
|
- app/controllers/recommender/recommendations_controller.rb
|
|
63
63
|
- app/controllers/recommender/search_controller.rb
|
|
64
64
|
- app/helpers/muck_raker_helper.rb
|
|
65
|
+
- app/models/attention.rb
|
|
65
66
|
- app/models/click.rb
|
|
66
67
|
- app/models/cloud_cache.rb
|
|
67
68
|
- app/models/entry.rb
|
|
@@ -160,6 +161,7 @@ files:
|
|
|
160
161
|
- config/solr/cores/zh/conf/stopwords.txt
|
|
161
162
|
- config/solr/cores/zh/conf/synonyms.txt
|
|
162
163
|
- config/solr/solr.xml
|
|
164
|
+
- db/bootstrap/attention.yml
|
|
163
165
|
- db/bootstrap/feeds.yml
|
|
164
166
|
- db/bootstrap/oai_endpoints.yml
|
|
165
167
|
- db/bootstrap/services.yml
|