picolena 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/picolena/templates/app/controllers/application.rb +1 -1
- data/lib/picolena/templates/app/models/index_reader.rb +0 -2
- data/lib/picolena/templates/app/models/index_writer.rb +1 -4
- data/lib/picolena/templates/lib/tasks/install_dependencies.rake +1 -1
- data/lib/picolena/version.rb +1 -1
- data/website/index.html +1 -1
- data/website/index.txt +0 -0
- data/website/index_devjavu +0 -0
- data/website/javascripts/rounded_corners_lite.inc.js +0 -0
- data/website/stylesheets/screen.css +0 -0
- data/website/template.rhtml +0 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
data/History.txt
CHANGED
@@ -9,7 +9,7 @@ class ApplicationController < ActionController::Base
|
|
9
9
|
|
10
10
|
# Returns 403 status in case of an unknown remote IP address
|
11
11
|
def access_denied
|
12
|
-
render :text=>
|
12
|
+
render :text=>"Access denied", :status => 403
|
13
13
|
end
|
14
14
|
|
15
15
|
# Redirects to documents_url in case route hasn't been recognised
|
@@ -1,7 +1,5 @@
|
|
1
1
|
class IndexReader < Ferret::Index::Index
|
2
2
|
def initialize(params={})
|
3
|
-
# TODO: Remove those debug lines!
|
4
|
-
# puts "##################################################################Creating Reader!!!!!"
|
5
3
|
# Add needed parameters
|
6
4
|
params.merge!(:path => Picolena::IndexSavePath, :analyzer => Picolena::Analyzer)
|
7
5
|
# Creates the IndexReader
|
@@ -1,8 +1,5 @@
|
|
1
1
|
class IndexWriter < Ferret::Index::IndexWriter
|
2
|
-
def initialize(params={})
|
3
|
-
# TODO: Remove those debug lines!
|
4
|
-
# puts "##################################################################Creating Writer!!!!!"
|
5
|
-
|
2
|
+
def initialize(params={})
|
6
3
|
# Add needed parameters
|
7
4
|
params.merge!(:create_if_missing => true,
|
8
5
|
:path => Picolena::IndexSavePath,
|
@@ -30,7 +30,7 @@ namespace :install_dependencies do
|
|
30
30
|
task :deb_packages do
|
31
31
|
root_privileges_required!
|
32
32
|
#TODO: Should load this list from defined PlainTextExtractor's
|
33
|
-
packages=%w{antiword poppler-utils odt2txt html2text catdoc unrtf}.join(" ")
|
33
|
+
packages=%w{antiword poppler-utils odt2txt html2text catdoc unrtf mguesser}.join(" ")
|
34
34
|
puts "Installing "<<packages
|
35
35
|
system("apt-get install "<<packages)
|
36
36
|
end
|
data/lib/picolena/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Picolena</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/picolena"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/picolena" class="numbers">0.1.
|
36
|
+
<a href="http://rubyforge.org/projects/picolena" class="numbers">0.1.3</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘picolena’</h1>
|
39
39
|
|
data/website/index.txt
CHANGED
File without changes
|
data/website/index_devjavu
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/website/template.rhtml
CHANGED
File without changes
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|