muck-raker 0.1.1 → 0.1.2
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/lib/muck_raker/tasks.rb +8 -5
- data/muck-raker.gemspec +3 -1
- data/raker/lib/aggregatord.jar +0 -0
- data/rdoc/classes/MuckRaker/Tasks.html +146 -0
- data/rdoc/classes/MuckRaker.html +10 -0
- data/rdoc/created.rid +1 -1
- data/rdoc/files/README_rdoc.html +7 -1
- data/rdoc/files/lib/muck_raker/tasks_rb.html +112 -0
- data/rdoc/fr_class_index.html +1 -0
- data/rdoc/fr_file_index.html +1 -0
- data/rdoc/fr_method_index.html +1 -0
- metadata +3 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/muck_raker/tasks.rb
CHANGED
@@ -16,7 +16,7 @@ module MuckRaker
|
|
16
16
|
namespace :raker do
|
17
17
|
|
18
18
|
namespace :db do
|
19
|
-
desc "Flags the languages that the
|
19
|
+
desc "Flags the languages that the muck raker supports"
|
20
20
|
task :populate => :environment do
|
21
21
|
require 'active_record/fixtures'
|
22
22
|
['en', 'es', 'zh-CN', 'fr', 'ja', 'de', 'ru', 'nl'].each{|l|
|
@@ -30,19 +30,22 @@ module MuckRaker
|
|
30
30
|
}
|
31
31
|
# set up the defined services
|
32
32
|
ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
|
33
|
-
|
33
|
+
yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap', 'services')
|
34
|
+
Fixtures.new(Service.connection,"services",Service,yml).insert_fixtures
|
34
35
|
end
|
35
36
|
|
36
|
-
desc "Loads oai endpoints
|
37
|
+
desc "Loads some feeds oai endpoints to get things started"
|
37
38
|
task :bootstrap => :environment do
|
38
39
|
require 'active_record/fixtures'
|
39
40
|
ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
|
40
41
|
|
41
42
|
# import the bootstrap db entries
|
42
43
|
OaiEndpoint.delete_all
|
43
|
-
|
44
|
+
yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"oai_endpoints")
|
45
|
+
Fixtures.new(OaiEndpoint.connection,"oai_endpoints",OaiEndpoint,yml).insert_fixtures
|
44
46
|
Feed.delete_all
|
45
|
-
|
47
|
+
yml = File.join(File.dirname(__FILE__), '..', '..', 'db', 'bootstrap',"feeds")
|
48
|
+
Fixtures.new(Feed.connection,"feeds",Feed,yml).insert_fixtures
|
46
49
|
end
|
47
50
|
|
48
51
|
end
|
data/muck-raker.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
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.2"
|
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"]
|
@@ -304,12 +304,14 @@ Gem::Specification.new do |s|
|
|
304
304
|
"rdoc/classes/ActionController/Routing.html",
|
305
305
|
"rdoc/classes/ActionController/Routing/RouteSet.html",
|
306
306
|
"rdoc/classes/MuckRaker.html",
|
307
|
+
"rdoc/classes/MuckRaker/Tasks.html",
|
307
308
|
"rdoc/classes/Recommender.html",
|
308
309
|
"rdoc/classes/Recommender/Languages.html",
|
309
310
|
"rdoc/created.rid",
|
310
311
|
"rdoc/files/README_rdoc.html",
|
311
312
|
"rdoc/files/lib/muck_raker/initialize_routes_rb.html",
|
312
313
|
"rdoc/files/lib/muck_raker/languages_rb.html",
|
314
|
+
"rdoc/files/lib/muck_raker/tasks_rb.html",
|
313
315
|
"rdoc/files/lib/muck_raker_rb.html",
|
314
316
|
"rdoc/fr_class_index.html",
|
315
317
|
"rdoc/fr_file_index.html",
|
data/raker/lib/aggregatord.jar
CHANGED
Binary file
|
@@ -0,0 +1,146 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: MuckRaker::Tasks</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">MuckRaker::Tasks</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/muck_raker/tasks_rb.html">
|
59
|
+
lib/muck_raker/tasks.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
::Rake::TaskLib
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000002">new</a>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
<!-- if includes -->
|
97
|
+
|
98
|
+
<div id="section">
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<!-- if method_list -->
|
108
|
+
<div id="methods">
|
109
|
+
<h3 class="section-bar">Public Class methods</h3>
|
110
|
+
|
111
|
+
<div id="method-M000002" class="method-detail">
|
112
|
+
<a name="M000002"></a>
|
113
|
+
|
114
|
+
<div class="method-heading">
|
115
|
+
<a href="#M000002" class="method-signature">
|
116
|
+
<span class="method-name">new</span><span class="method-args">()</span>
|
117
|
+
</a>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div class="method-description">
|
121
|
+
<p><a class="source-toggle" href="#"
|
122
|
+
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
|
123
|
+
<div class="method-source-code" id="M000002-source">
|
124
|
+
<pre>
|
125
|
+
<span class="ruby-comment cmt"># File lib/muck_raker/tasks.rb, line 7</span>
|
126
|
+
7: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
127
|
+
8: <span class="ruby-identifier">define</span>
|
128
|
+
9: <span class="ruby-keyword kw">end</span>
|
129
|
+
</pre>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
|
140
|
+
|
141
|
+
<div id="validator-badges">
|
142
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
</body>
|
146
|
+
</html>
|
data/rdoc/classes/MuckRaker.html
CHANGED
@@ -55,6 +55,10 @@
|
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
+
<a href="../files/lib/muck_raker/tasks_rb.html">
|
59
|
+
lib/muck_raker/tasks.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
58
62
|
<a href="../files/lib/muck_raker_rb.html">
|
59
63
|
lib/muck_raker.rb
|
60
64
|
</a>
|
@@ -84,6 +88,12 @@
|
|
84
88
|
|
85
89
|
<div id="section">
|
86
90
|
|
91
|
+
<div id="class-list">
|
92
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
93
|
+
|
94
|
+
Class <a href="MuckRaker/Tasks.html" class="link">MuckRaker::Tasks</a><br />
|
95
|
+
|
96
|
+
</div>
|
87
97
|
|
88
98
|
|
89
99
|
|
data/rdoc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Wed, 17 Jun 2009 15:55:38 -0600
|
data/rdoc/files/README_rdoc.html
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Jun 15 16:56:11 -0600 2009</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -98,6 +98,12 @@ application_helper.rb:
|
|
98
98
|
end
|
99
99
|
</pre>
|
100
100
|
<p>
|
101
|
+
Add rake tasks to your Rakefile
|
102
|
+
</p>
|
103
|
+
<pre>
|
104
|
+
require 'muck_raker/tasks'
|
105
|
+
</pre>
|
106
|
+
<p>
|
101
107
|
Example
|
102
108
|
</p>
|
103
109
|
<h6>=</h6>
|
@@ -0,0 +1,112 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: tasks.rb</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="fileHeader">
|
50
|
+
<h1>tasks.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/muck_raker/tasks.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Wed Jun 17 15:54:50 -0600 2009</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div id="contextContent">
|
70
|
+
|
71
|
+
|
72
|
+
<div id="requires-list">
|
73
|
+
<h3 class="section-bar">Required files</h3>
|
74
|
+
|
75
|
+
<div class="name-list">
|
76
|
+
rake
|
77
|
+
rake/tasklib
|
78
|
+
fileutils
|
79
|
+
active_record/fixtures
|
80
|
+
active_record/fixtures
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
<!-- if includes -->
|
91
|
+
|
92
|
+
<div id="section">
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
<!-- if method_list -->
|
102
|
+
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
<div id="validator-badges">
|
108
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
</body>
|
112
|
+
</html>
|
data/rdoc/fr_class_index.html
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
<a href="classes/ActionController/Routing.html">ActionController::Routing</a><br />
|
25
25
|
<a href="classes/ActionController/Routing/RouteSet.html">ActionController::Routing::RouteSet</a><br />
|
26
26
|
<a href="classes/MuckRaker.html">MuckRaker</a><br />
|
27
|
+
<a href="classes/MuckRaker/Tasks.html">MuckRaker::Tasks</a><br />
|
27
28
|
<a href="classes/Recommender.html">Recommender</a><br />
|
28
29
|
<a href="classes/Recommender/Languages.html">Recommender::Languages</a><br />
|
29
30
|
</div>
|
data/rdoc/fr_file_index.html
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
<a href="files/lib/muck_raker_rb.html">lib/muck_raker.rb</a><br />
|
25
25
|
<a href="files/lib/muck_raker/initialize_routes_rb.html">lib/muck_raker/initialize_routes.rb</a><br />
|
26
26
|
<a href="files/lib/muck_raker/languages_rb.html">lib/muck_raker/languages.rb</a><br />
|
27
|
+
<a href="files/lib/muck_raker/tasks_rb.html">lib/muck_raker/tasks.rb</a><br />
|
27
28
|
</div>
|
28
29
|
</div>
|
29
30
|
</body>
|
data/rdoc/fr_method_index.html
CHANGED
@@ -21,6 +21,7 @@
|
|
21
21
|
<h1 class="section-bar">Methods</h1>
|
22
22
|
<div id="index-entries">
|
23
23
|
<a href="classes/ActionController/Routing/RouteSet.html#M000001">load_routes_with_muck_raker! (ActionController::Routing::RouteSet)</a><br />
|
24
|
+
<a href="classes/MuckRaker/Tasks.html#M000002">new (MuckRaker::Tasks)</a><br />
|
24
25
|
</div>
|
25
26
|
</div>
|
26
27
|
</body>
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Duffin Justin Ball
|
@@ -225,12 +225,14 @@ files:
|
|
225
225
|
- rdoc/classes/ActionController/Routing.html
|
226
226
|
- rdoc/classes/ActionController/Routing/RouteSet.html
|
227
227
|
- rdoc/classes/MuckRaker.html
|
228
|
+
- rdoc/classes/MuckRaker/Tasks.html
|
228
229
|
- rdoc/classes/Recommender.html
|
229
230
|
- rdoc/classes/Recommender/Languages.html
|
230
231
|
- rdoc/created.rid
|
231
232
|
- rdoc/files/README_rdoc.html
|
232
233
|
- rdoc/files/lib/muck_raker/initialize_routes_rb.html
|
233
234
|
- rdoc/files/lib/muck_raker/languages_rb.html
|
235
|
+
- rdoc/files/lib/muck_raker/tasks_rb.html
|
234
236
|
- rdoc/files/lib/muck_raker_rb.html
|
235
237
|
- rdoc/fr_class_index.html
|
236
238
|
- rdoc/fr_file_index.html
|