rika-stevedore 1.6.1a-java → 1.6.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rika/version.rb +1 -1
- data/lib/rika.rb +8 -1
- data/target/dependency/pdfbox-app-1.8.10.jar +0 -0
- data/target/dependency/{poi-3.13-20150929.jar → poi-3.14-beta1-20151223.jar} +0 -0
- data/target/dependency/poi-ooxml-3.14-beta1-20151223.jar +0 -0
- data/target/dependency/{poi-ooxml-schemas-3.13-20150929.jar → poi-ooxml-schemas-3.14-beta1-20151223.jar} +0 -0
- data/target/dependency/{poi-scratchpad-3.13-20150929.jar → poi-scratchpad-3.14-beta1-20151223.jar} +0 -0
- data/target/dependency/{tika-core-1.12-SNAPSHOT.jar → tika-core-1.13-SNAPSHOT.jar} +0 -0
- data/target/dependency/{tika-parsers-1.12-SNAPSHOT.jar → tika-parsers-1.13-SNAPSHOT.jar} +0 -0
- metadata +11 -11
- data/target/dependency/pdfbox-1.8.6.jar +0 -0
- data/target/dependency/poi-ooxml-3.13-20150929.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f1391eba455a89a35240e83cefa5683783fa501
|
4
|
+
data.tar.gz: c6c3cb25b505f0bcea707074b08365660257c32f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71788d9a4e52c8cc7507eddaaee19bcaaec083a96231a20a8f56ed2b4bfcc9587dde40e7bf8a5104871d5f0689e10a132f139702ca9785357e79f6274f1134e5
|
7
|
+
data.tar.gz: 50a657165cf36f55fd169441e1a160a53db9d4c607dd5d7aa3f7642e6f0d0b0dadec9734cfbacfcf80da5cc0b4874ac7a54cf7ae7753f8fc989c1df33da42d54
|
data/lib/rika/version.rb
CHANGED
data/lib/rika.rb
CHANGED
@@ -11,6 +11,8 @@ Dir[File.join(File.dirname(__FILE__), "../target/dependency/*.jar")].each do |ja
|
|
11
11
|
require jar
|
12
12
|
end
|
13
13
|
|
14
|
+
$rika_tika ||= nil
|
15
|
+
|
14
16
|
# Heavily based on the Apache Tika API: http://tika.apache.org/1.5/api/org/apache/tika/Tika.html
|
15
17
|
module Rika
|
16
18
|
import org.apache.tika.metadata.Metadata
|
@@ -39,7 +41,12 @@ module Rika
|
|
39
41
|
|
40
42
|
def initialize(file_location, max_content_length = -1, detector = DefaultDetector.new)
|
41
43
|
@uri = file_location
|
42
|
-
@tika =
|
44
|
+
$rika_tika = @tika = if $rika_tika.nil?
|
45
|
+
puts "creating a new Tika"
|
46
|
+
Tika.new(detector)
|
47
|
+
else
|
48
|
+
$rika_tika
|
49
|
+
end
|
43
50
|
@tika.set_max_string_length(max_content_length)
|
44
51
|
@metadata_java = Metadata.new
|
45
52
|
@metadata_ruby = nil
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/target/dependency/{poi-scratchpad-3.13-20150929.jar → poi-scratchpad-3.14-beta1-20151223.jar}
RENAMED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rika-stevedore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Richard Nyström
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-03-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -97,16 +97,16 @@ files:
|
|
97
97
|
- target/dependency/juniversalchardet-1.0.3.jar
|
98
98
|
- target/dependency/metadata-extractor-2.8.1.jar
|
99
99
|
- target/dependency/netcdf-4.2.20.jar
|
100
|
-
- target/dependency/pdfbox-1.8.
|
101
|
-
- target/dependency/poi-3.
|
102
|
-
- target/dependency/poi-ooxml-3.
|
103
|
-
- target/dependency/poi-ooxml-schemas-3.
|
104
|
-
- target/dependency/poi-scratchpad-3.
|
100
|
+
- target/dependency/pdfbox-app-1.8.10.jar
|
101
|
+
- target/dependency/poi-3.14-beta1-20151223.jar
|
102
|
+
- target/dependency/poi-ooxml-3.14-beta1-20151223.jar
|
103
|
+
- target/dependency/poi-ooxml-schemas-3.14-beta1-20151223.jar
|
104
|
+
- target/dependency/poi-scratchpad-3.14-beta1-20151223.jar
|
105
105
|
- target/dependency/rome-1.0.jar
|
106
106
|
- target/dependency/slf4j-api-1.6.1.jar
|
107
107
|
- target/dependency/tagsoup-1.2.1.jar
|
108
|
-
- target/dependency/tika-core-1.
|
109
|
-
- target/dependency/tika-parsers-1.
|
108
|
+
- target/dependency/tika-core-1.13-SNAPSHOT.jar
|
109
|
+
- target/dependency/tika-parsers-1.13-SNAPSHOT.jar
|
110
110
|
- target/dependency/unidataCommon-4.2.20.jar
|
111
111
|
- target/dependency/vorbis-java-core-0.6.jar
|
112
112
|
- target/dependency/vorbis-java-tika-0.6.jar
|
@@ -129,9 +129,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- - '
|
132
|
+
- - '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
137
|
rubygems_version: 2.4.5
|
Binary file
|
Binary file
|