filerary 0.0.2 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cb82ae7cf6e47684a98d9fd942ed055f624b9cf
4
- data.tar.gz: 827a84c3b79c5e50300cc814edcd849b927b047f
3
+ metadata.gz: 344e1d5e01114b63eccf5dee74a935be4abc0eed
4
+ data.tar.gz: cb20cf7d3c31349043ea7c6b873ed4faedcd0335
5
5
  SHA512:
6
- metadata.gz: 0822bb86cbe996ef71a856bd54a3ca6fb504527b4fa3e818ccaf4bc79edc04a235da33cb959246ed9961bd341040ccfea7be3c3922f90e62c7061f2fc256d4c1
7
- data.tar.gz: a7ae84144ba9abda1bfd1ce4c8826aa5f44bd1da9ed8914d7692d7349b46253fbf55b844d889ae1f7fba00ec808dd3db8ec067bd3f125ab2c842390296eb3151
6
+ metadata.gz: 76f9a2dc1f5708f972ea54205c69e890bcaaa25e42af276f952434b0e71ab8126a910c85ebd3c802586cd325bfa60d9c1fa96bcb3b6368b7f11dc2381caa36fc
7
+ data.tar.gz: 5d05e68e85760d7c2a5b2b99d7f01eea25e592021397ce706224cbbeaa7317539eff9c48b5dfa1f57b7fc14dca67831d806d37f48eb26520eeae92de8055e095
@@ -5,6 +5,16 @@ require "chupa-text"
5
5
  gem "chupa-text-decomposer-pdf"
6
6
  gem "chupa-text-decomposer-libreoffice"
7
7
 
8
+ # TODO: I'll send pull request to ChupaText.
9
+ module URI
10
+ class Generic
11
+ alias :__path__ :path
12
+ def path
13
+ URI.decode(__path__)
14
+ end
15
+ end
16
+ end
17
+
8
18
  module Filerary
9
19
  class Librarian
10
20
  attr_reader :db_dir, :db_path
@@ -64,6 +74,7 @@ module Filerary
64
74
  extractor.apply_configuration(ChupaText::Configuration.default)
65
75
 
66
76
  begin
77
+ # TODO: I'll send pull request to ChupaText.
67
78
  extractor.extract(URI.encode(path)) do |text_data|
68
79
  text = text_data.body
69
80
  end
@@ -1,3 +1,3 @@
1
1
  module Filerary
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filerary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masafumi Yokoyama