Package not found. Please check the package name and try again.

muck-raker 0.1.6 → 0.1.7

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 CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
@@ -9,6 +9,6 @@
9
9
  <%= render(:partial => 'entries/tag_cloud') %>
10
10
  </div>
11
11
  <% else %>
12
- <p><%= t(:no_hits) %></p>
12
+ <p><%= t('muck.raker.no_hits') %></p>
13
13
  <% end %>
14
14
  </div>
@@ -6,6 +6,6 @@
6
6
  <%= render(:partial => 'entries/result_navigation') %>
7
7
  </div>
8
8
  <% else %>
9
- <p><%= t(:no_hits) %></p>
9
+ <p><%= t('muck.raker.no_hits') %></p>
10
10
  <% end %>
11
11
  </div>
@@ -1,15 +1,15 @@
1
1
  <% link = @document.direct_link.nil? ? @document.permalink : @document.direct_link %>
2
2
 
3
- <h1>OER Recommender - <%= t(:related_resources_title) %></h1>
3
+ <h1>OER Recommender - <%= t('muck.raker.related_resources_title') %></h1>
4
4
 
5
5
  <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %>
6
6
 
7
7
  <%= render(:partial => "search/search_box") %>
8
8
 
9
- <p><b><%= link_to @document_title, link %></b> <% if !@document.direct_link.nil? %> - <%= link_to t(:metadata), @document.permalink, :class => "catalog_link" %><% end %></p>
9
+ <p><b><%= link_to @document_title, link %></b> <% if !@document.direct_link.nil? %> - <%= link_to t('muck.raker.metadata'), @document.permalink, :class => "catalog_link" %><% end %></p>
10
10
  <hr class="divider" />
11
11
 
12
- <p><b><%= t(:related_resources_title) %></b> <span style="font-size:85%">(<%= t(:calculated) %> <%= @document.relevance_calculated_at.strftime("%d %b %Y") %>)</span> - <%= link_to t(:details), "?details=true", :class=> "catalog_link" %></p>
12
+ <p><b><%= t('muck.raker.related_resources_title') %></b> <span style="font-size:85%">(<%= t('muck.raker.calculated') %> <%= @document.relevance_calculated_at.strftime("%d %b %Y") %>)</span> - <%= link_to t('muck.raker.details'), "?details=true", :class=> "catalog_link" %></p>
13
13
 
14
14
  <div id="results">
15
15
  <%= render(:partial => "result", :collection => @document.ranked_recommendations(@limit, params[:order] || "mixed", true)) %>
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.6"
5
+ s.version = "0.1.7"
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-24}
9
+ s.date = %q{2009-06-25}
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 = [
@@ -52,17 +52,12 @@ Gem::Specification.new do |s|
52
52
  "app/models/tag_cloud.rb",
53
53
  "app/models/user.rb",
54
54
  "app/models/user.rb",
55
- "app/views/default/_advertisements.html.erb",
56
- "app/views/default/_advertisements.html.erb",
57
55
  "app/views/default/_language_list.html.erb",
58
56
  "app/views/default/_language_list.html.erb",
59
- "app/views/default/index.html.erb",
60
- "app/views/default/index.html.erb",
61
57
  "app/views/default/tour.html.erb",
62
58
  "app/views/default/tour.html.erb",
63
59
  "app/views/default/widgets.html.erb",
64
60
  "app/views/default/widgets.html.erb",
65
- "app/views/documents/.tmp_not_found.html",
66
61
  "app/views/entries/_result.html.erb",
67
62
  "app/views/entries/_result.html.erb",
68
63
  "app/views/entries/_result_navigation.html.erb",
@@ -99,18 +94,6 @@ Gem::Specification.new do |s|
99
94
  "app/views/feeds/new.html.erb",
100
95
  "app/views/feeds/unban.html.erb",
101
96
  "app/views/feeds/unban.html.erb",
102
- "app/views/layouts/_flashes.html.erb",
103
- "app/views/layouts/_flashes.html.erb",
104
- "app/views/layouts/default.html.erb",
105
- "app/views/layouts/default.html.erb",
106
- "app/views/layouts/default_old.html.erb",
107
- "app/views/layouts/default_old.html.erb",
108
- "app/views/layouts/global/_header.html.erb",
109
- "app/views/layouts/global/_header.html.erb",
110
- "app/views/layouts/global/_search_box.html.erb",
111
- "app/views/layouts/global/_search_box.html.erb",
112
- "app/views/layouts/recommendations.html.erb",
113
- "app/views/layouts/recommendations.html.erb",
114
97
  "app/views/recommendations/document_not_found.html.erb",
115
98
  "app/views/recommendations/document_not_found.html.erb",
116
99
  "app/views/recommendations/index.pjs.erb",
Binary file
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.6
4
+ version: 0.1.7
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-24 00:00:00 -06:00
12
+ date: 2009-06-25 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -73,12 +73,9 @@ files:
73
73
  - app/models/subject.rb
74
74
  - app/models/tag_cloud.rb
75
75
  - app/models/user.rb
76
- - app/views/default/_advertisements.html.erb
77
76
  - app/views/default/_language_list.html.erb
78
- - app/views/default/index.html.erb
79
77
  - app/views/default/tour.html.erb
80
78
  - app/views/default/widgets.html.erb
81
- - app/views/documents/.tmp_not_found.html
82
79
  - app/views/entries/_result.html.erb
83
80
  - app/views/entries/_result_navigation.html.erb
84
81
  - app/views/entries/_result_status.html.erb
@@ -97,12 +94,6 @@ files:
97
94
  - app/views/feeds/index.html.erb
98
95
  - app/views/feeds/new.html.erb
99
96
  - app/views/feeds/unban.html.erb
100
- - app/views/layouts/_flashes.html.erb
101
- - app/views/layouts/default.html.erb
102
- - app/views/layouts/default_old.html.erb
103
- - app/views/layouts/global/_header.html.erb
104
- - app/views/layouts/global/_search_box.html.erb
105
- - app/views/layouts/recommendations.html.erb
106
97
  - app/views/recommendations/document_not_found.html.erb
107
98
  - app/views/recommendations/index.pjs.erb
108
99
  - app/views/recommendations/index.rss.builder
@@ -1,30 +0,0 @@
1
- <div id="advertisements">
2
- <div id="advert-register" class="advert left">
3
- <h2><a href=""><%= t(:register_link) %></a></h2>
4
- <div class="description">
5
- <%= t(:register_description) %>
6
- </div>
7
- </div>
8
-
9
- <div id="advert-search" class="advert left">
10
- <h2><%= link_to t(:search_link), oers_url %></h2>
11
- <div class="description">
12
- <%= t(:search_description) %>
13
- </div>
14
- </div>
15
-
16
- <div id="advert-widgets" class="advert left">
17
- <h2><a href=""><%= t(:widgets_link) %></a></h2>
18
- <div class="description">
19
- <%= t(:widgets_description) %>
20
- </div>
21
- </div>
22
- <!--
23
- <div id="advert-tour" class="advert left">
24
- <h2><a href=""><%= t(:tour) %></a></h2>
25
- <div class="description">
26
- <%= t(:tour_description) %>
27
- </div>
28
- </div>
29
- -->
30
- </div>
@@ -1,3 +0,0 @@
1
- <div id="home">
2
- <%= render(:partial => "advertisements") %>
3
- </div>
File without changes
@@ -1,5 +0,0 @@
1
- <div id="flash">
2
- <% flash.each do |key, value| -%>
3
- <div id="flash_<%= key %>"><%=h value %></div>
4
- <% end -%>
5
- </div>
@@ -1,35 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= session[:locale] %>" lang="<%= session[:locale] %>">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5
- <%= @no_index == true ? '<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><META NAME="Googlebot" CONTENT="nofollow">' : '' %>
6
- <title><%= @page_title.nil? ? "" : @page_title + " - " %>OER Recommender</title>
7
- <%= stylesheet_link_tag 'default' %>
8
- <%= javascript_include_tag "jquery-1.3.2.min.js" %>
9
- <%= javascript_include_tag "jquery.jgrowl_minimized.js" %>
10
- <%= javascript_include_tag "application.js" %>
11
- <%= javascript_tag %[const AUTH_TOKEN = #{form_authenticity_token.inspect};] if protect_against_forgery? %>
12
- <%= yield :head -%>
13
- </head>
14
- <body>
15
- <div id="wrapper">
16
- <%= render :partial => 'layouts/global/header' %>
17
- <div id="content-wrapper">
18
- <div id="content">
19
- <%= yield :layout %>
20
- </div>
21
- </div>
22
- </div>
23
- <script type="text/javascript" language="JavaScript">
24
- jQuery(document).ready(function(){
25
- <%= yield :ready %>
26
- });
27
- </script>
28
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
29
- </script>
30
- <script type="text/javascript">
31
- _uacct = "<%=GlobalConfig.google_analytics_key%>";
32
- urchinTracker();
33
- </script>
34
- </body>
35
- </html>
@@ -1,43 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= session[:locale] %>" lang="<%= session[:locale] %>">
3
- <head>
4
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5
- <%= @no_index == true ? '<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><META NAME="Googlebot" CONTENT="nofollow">' : '' %>
6
- <title>OER Recommender<%= @page_title.nil? ? "" : " - " + @page_title %></title>
7
- <%= stylesheet_link_tag 'default' %>
8
- <%= javascript_include_tag "jquery-1.3.2.min.js" %>
9
- <%= javascript_include_tag "jquery.jgrowl_minimized.js" %>
10
- <%= javascript_include_tag "application.js" %>
11
- <%= javascript_tag %[const AUTH_TOKEN = #{form_authenticity_token.inspect};] if protect_against_forgery? %>
12
- <%= yield :head -%>
13
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
14
- </script>
15
- <script type="text/javascript">
16
- _uacct = "<%=GlobalConfig.google_analytics_key%>";
17
- urchinTracker();
18
- </script>
19
- </head>
20
- <body>
21
- <div id="wrapper">
22
- <div id="header">
23
- <h1 class="home_page_title"><%= t(:title) %></h1>
24
- <p style="color: green">
25
- <%= flash[:notice] %>
26
- </p>
27
- <p>
28
- <%= t(:tag_line) %>
29
- </p>
30
- </div>
31
- <div id="content-wrapper">
32
- <div id="content">
33
- <%= yield :layout %>
34
- </div>
35
- </div>
36
- </div>
37
- <script type="text/javascript" language="JavaScript">
38
- jQuery(document).ready(function(){
39
- <%= yield :ready %>
40
- });
41
- </script>
42
- </body>
43
- </html>
@@ -1,16 +0,0 @@
1
- <div id="header">
2
- <div>
3
- <div id="logo">
4
- <a href="/"><img border="0" src="/images/logo_folksemantic.jpg" alt="Folksemantic" title="Folksemantic"/></a>
5
- <div id="tag-line"><%= t(:tag_line) %></div>
6
- </div>
7
- <div style="float:left;margin-top:21px;margin-left:45px;background:navy;width:150px;padding:6px;font-size:20px;font-weight:bold;color:white;text-align:center;">Take a Tour</div>
8
- <%= render :partial => 'layouts/global/search_box' %>
9
- </div>
10
- <div class="clear"></div>
11
- <% if flash[:notice] %>
12
- <p style="color: green">
13
- <%= flash[:notice] %>
14
- </p>
15
- <% end %>
16
- </div>
@@ -1,13 +0,0 @@
1
- <div id="search-controls">
2
- <% form_tag(:controller => 'search', :action => 'results') do %>
3
- <%= text_field_tag(:form_terms, @terms.nil? ? t(:search) : @terms, :id => 'search-box') %>
4
- <%= submit_tag(t(:search_button), :class => "input-button") %>
5
- <div style="width:230px;text-align:right;margin-top:3px;"><a href="">sign up</a> | <a href="">sign in</a> <img src="/images/flags/flag_en.png" style="vertical-align:middle"/></div>
6
- <!--
7
- <br/>
8
- <input type="radio" name="scope" value="all" />All
9
- <input type="radio" name="scope" value="ocws" />Courses
10
- <input type="hidden" name="locale" value="<%= session[:locale] %>">
11
- -->
12
- <% end %>
13
- </div>
@@ -1,17 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
7
- <title>Recommendations: <%= controller.action_name %></title>
8
- <%= stylesheet_link_tag 'scaffold' %>
9
- </head>
10
- <body>
11
-
12
- <p style="color: green"><%= flash[:notice] %></p>
13
-
14
- <%= yield %>
15
-
16
- </body>
17
- </html>