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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cea6ad1676baebf71c7bee35126ff7931cf13071
4
- data.tar.gz: 575f821f22aeee990bd79ff5f7aa4926ad5dfeef
3
+ metadata.gz: 7f1391eba455a89a35240e83cefa5683783fa501
4
+ data.tar.gz: c6c3cb25b505f0bcea707074b08365660257c32f
5
5
  SHA512:
6
- metadata.gz: d70947abe5599f2dcb95b11f1cfd0fcd6a443aae2e3e3ee1910c3c4ba34bb37c2cd85207581918ea4874868ffb77d2d12b30548d99462a21ed9c02e54e6bd6a6
7
- data.tar.gz: fa009b2a5df65346d1611b167fab03deb600021f182926b5628a9c83da75acd08ecd142ddf107522397aeebe77a902f0027e1268f2556a543463373e19712074
6
+ metadata.gz: 71788d9a4e52c8cc7507eddaaee19bcaaec083a96231a20a8f56ed2b4bfcc9587dde40e7bf8a5104871d5f0689e10a132f139702ca9785357e79f6274f1134e5
7
+ data.tar.gz: 50a657165cf36f55fd169441e1a160a53db9d4c607dd5d7aa3f7642e6f0d0b0dadec9734cfbacfcf80da5cc0b4874ac7a54cf7ae7753f8fc989c1df33da42d54
data/lib/rika/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rika
2
- VERSION = "1.6.1a"
2
+ VERSION = "1.6.1"
3
3
  end
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 = Tika.new(detector)
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
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.1a
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: 2015-10-28 00:00:00.000000000 Z
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.6.jar
101
- - target/dependency/poi-3.13-20150929.jar
102
- - target/dependency/poi-ooxml-3.13-20150929.jar
103
- - target/dependency/poi-ooxml-schemas-3.13-20150929.jar
104
- - target/dependency/poi-scratchpad-3.13-20150929.jar
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.12-SNAPSHOT.jar
109
- - target/dependency/tika-parsers-1.12-SNAPSHOT.jar
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: 1.3.1
134
+ version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
137
  rubygems_version: 2.4.5
Binary file