picolena 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/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.3 2008-04-20
2
+
3
+ * 1 bug fix:
4
+ * removed verbose debug info.
5
+
1
6
  == 0.1.2 2008-04-20
2
7
 
3
8
  * major enhancement:
@@ -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=>request.inspect, :status => 403
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
@@ -2,7 +2,7 @@ module Picolena #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.2</a>
36
+ <a href="http://rubyforge.org/projects/picolena" class="numbers">0.1.3</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;picolena&#8217;</h1>
39
39
 
data/website/index.txt CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picolena
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Duminil
metadata.gz.sig CHANGED
Binary file