sunspot_cell_jars 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +5 -0
- data/LICENSE +20 -0
- data/README.textile +54 -0
- data/Rakefile +1 -0
- data/lib/generators/sunspot_cell_jars/install_generator.rb +49 -0
- data/lib/generators/sunspot_cell_jars/templates/apache-mime4j-core-0.7.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/apache-mime4j-dom-0.7.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/apache-solr-cell-3.5-SNAPSHOT.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/asm-3.1.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/bcmail-jdk15-1.45.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/bcprov-jdk15-1.45.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/boilerpipe-1.1.0.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/commons-compress-1.2.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/dom4j-1.6.1.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/fontbox-1.6.0.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/icu4j-4_8_1_1.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/jempbox-1.6.0.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/metadata-extractor-2.4.0-beta-1.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/netcdf-4.2-min.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/pdfbox-1.6.0.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/poi-3.8-beta4.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/poi-ooxml-3.8-beta4.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/poi-ooxml-schemas-3.8-beta4.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/poi-scratchpad-3.8-beta4.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/rome-0.9.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/tagsoup-1.2.1.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/tika-core-0.10.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/tika-parsers-0.10.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/xercesImpl-2.8.1.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/xml-apis-1.0.b2.jar +0 -0
- data/lib/generators/sunspot_cell_jars/templates/xmlbeans-2.3.0.jar +0 -0
- data/lib/sunspot_cell_jars.rb +1 -0
- data/sunspot_cell_jars.gemspec +15 -0
- metadata +96 -0
data/HISTORY
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 Chris Parker
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.textile
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
h1. Sunspot Cell Jars
|
2
|
+
|
3
|
+
h2. Introduction
|
4
|
+
|
5
|
+
This happy little gem will install the jars that you need for
|
6
|
+
the very wonderful sunspot_cell project found here on github.
|
7
|
+
|
8
|
+
h2. Before you install
|
9
|
+
|
10
|
+
These jars might give you trouble on the current version of sunspot_solr (though I have not checked).
|
11
|
+
You might want to use my updated fork, which uses solr 3.5:
|
12
|
+
|
13
|
+
https://github.com/mrcsparker/sunspot
|
14
|
+
|
15
|
+
<pre>
|
16
|
+
# If you want to load it for test and development
|
17
|
+
group :test, :development do
|
18
|
+
gem 'sunspot_solr', :git => "https://github.com/mrcsparker/sunspot.git"
|
19
|
+
end
|
20
|
+
</pre>
|
21
|
+
|
22
|
+
Also, you are going to want to use a version of `sunspot_cell` that is up to date with the
|
23
|
+
newest 1.3.x release. I am using:
|
24
|
+
|
25
|
+
https://github.com/zheileman/sunspot_cell
|
26
|
+
|
27
|
+
h2. Installation
|
28
|
+
|
29
|
+
First, make sure that you have `sunspot_solr` installed and in
|
30
|
+
your Gemfile.
|
31
|
+
|
32
|
+
In your Gemfile add:
|
33
|
+
|
34
|
+
<pre>
|
35
|
+
gem 'sunspot_cell_jars', :git => 'https://github.com/mrcsparker/sunspot_cell_jars.git'
|
36
|
+
</pre>
|
37
|
+
|
38
|
+
Do a `bundle install`
|
39
|
+
|
40
|
+
and then run:
|
41
|
+
|
42
|
+
<pre>
|
43
|
+
rails g sunspot_cell_jars:install
|
44
|
+
</pre>
|
45
|
+
|
46
|
+
and you are on your way!
|
47
|
+
|
48
|
+
Note: this gem does not actually configure sunspot_cell, it just installs the jars
|
49
|
+
needed to make extaction work.
|
50
|
+
|
51
|
+
|
52
|
+
h2. Contributing
|
53
|
+
|
54
|
+
Fork on GitHub and after you've committed tested patches, send a pull request.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module SunspotCellJars
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
def self.source_root
|
5
|
+
File.dirname(__FILE__) + "/templates"
|
6
|
+
end
|
7
|
+
|
8
|
+
def install_sunspot_cell_jars
|
9
|
+
if File.exists?('solr')
|
10
|
+
|
11
|
+
Dir.mkdir("solr/lib") unless File.exists?("solr/lib")
|
12
|
+
|
13
|
+
files = %w{apache-mime4j-core-0.7.jar
|
14
|
+
apache-mime4j-dom-0.7.jar
|
15
|
+
apache-solr-cell-3.5-SNAPSHOT.jar
|
16
|
+
asm-3.1.jar
|
17
|
+
bcmail-jdk15-1.45.jar
|
18
|
+
bcprov-jdk15-1.45.jar
|
19
|
+
boilerpipe-1.1.0.jar
|
20
|
+
commons-compress-1.2.jar
|
21
|
+
dom4j-1.6.1.jar
|
22
|
+
fontbox-1.6.0.jar
|
23
|
+
icu4j-4_8_1_1.jar
|
24
|
+
jempbox-1.6.0.jar
|
25
|
+
metadata-extractor-2.4.0-beta-1.jar
|
26
|
+
netcdf-4.2-min.jar
|
27
|
+
pdfbox-1.6.0.jar
|
28
|
+
poi-3.8-beta4.jar
|
29
|
+
poi-ooxml-3.8-beta4.jar
|
30
|
+
poi-ooxml-schemas-3.8-beta4.jar
|
31
|
+
poi-scratchpad-3.8-beta4.jar
|
32
|
+
rome-0.9.jar
|
33
|
+
tagsoup-1.2.1.jar
|
34
|
+
tika-core-0.10.jar
|
35
|
+
tika-parsers-0.10.jar
|
36
|
+
xercesImpl-2.8.1.jar
|
37
|
+
xml-apis-1.0.b2.jar
|
38
|
+
xmlbeans-2.3.0.jar}
|
39
|
+
|
40
|
+
files.each do |file|
|
41
|
+
copy_file file, "solr/lib/#{file}"
|
42
|
+
end
|
43
|
+
else
|
44
|
+
say "You need to have a solr directory created in your rails root before I can proceed"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
# Nothing to see here
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "sunspot_cell_jars"
|
3
|
+
s.version = "0.2"
|
4
|
+
s.authors = [ "Chris Parker" ]
|
5
|
+
s.email = "mrcsparker@gmail.com"
|
6
|
+
s.homepage = "http://github.com/mrcsparker/sunspot_cell_jars"
|
7
|
+
s.summary = %q{Gem that installs the apache-solr-cells jars for sunspot_cell}
|
8
|
+
s.description = %q{Gem that installs the apache-solr-cells jars for sunspot_cell}
|
9
|
+
s.files = `git ls-files`.split("\n") + %w(LICENSE README.textile HISTORY)
|
10
|
+
|
11
|
+
s.rubyforge_project = s.name
|
12
|
+
|
13
|
+
s.require_paths = ["lib"]
|
14
|
+
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sunspot_cell_jars
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
version: "0.2"
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Chris Parker
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-12-09 00:00:00 Z
|
18
|
+
dependencies: []
|
19
|
+
|
20
|
+
description: Gem that installs the apache-solr-cells jars for sunspot_cell
|
21
|
+
email: mrcsparker@gmail.com
|
22
|
+
executables: []
|
23
|
+
|
24
|
+
extensions: []
|
25
|
+
|
26
|
+
extra_rdoc_files: []
|
27
|
+
|
28
|
+
files:
|
29
|
+
- HISTORY
|
30
|
+
- LICENSE
|
31
|
+
- README.textile
|
32
|
+
- Rakefile
|
33
|
+
- lib/generators/sunspot_cell_jars/install_generator.rb
|
34
|
+
- lib/generators/sunspot_cell_jars/templates/apache-mime4j-core-0.7.jar
|
35
|
+
- lib/generators/sunspot_cell_jars/templates/apache-mime4j-dom-0.7.jar
|
36
|
+
- lib/generators/sunspot_cell_jars/templates/apache-solr-cell-3.5-SNAPSHOT.jar
|
37
|
+
- lib/generators/sunspot_cell_jars/templates/asm-3.1.jar
|
38
|
+
- lib/generators/sunspot_cell_jars/templates/bcmail-jdk15-1.45.jar
|
39
|
+
- lib/generators/sunspot_cell_jars/templates/bcprov-jdk15-1.45.jar
|
40
|
+
- lib/generators/sunspot_cell_jars/templates/boilerpipe-1.1.0.jar
|
41
|
+
- lib/generators/sunspot_cell_jars/templates/commons-compress-1.2.jar
|
42
|
+
- lib/generators/sunspot_cell_jars/templates/dom4j-1.6.1.jar
|
43
|
+
- lib/generators/sunspot_cell_jars/templates/fontbox-1.6.0.jar
|
44
|
+
- lib/generators/sunspot_cell_jars/templates/icu4j-4_8_1_1.jar
|
45
|
+
- lib/generators/sunspot_cell_jars/templates/jempbox-1.6.0.jar
|
46
|
+
- lib/generators/sunspot_cell_jars/templates/metadata-extractor-2.4.0-beta-1.jar
|
47
|
+
- lib/generators/sunspot_cell_jars/templates/netcdf-4.2-min.jar
|
48
|
+
- lib/generators/sunspot_cell_jars/templates/pdfbox-1.6.0.jar
|
49
|
+
- lib/generators/sunspot_cell_jars/templates/poi-3.8-beta4.jar
|
50
|
+
- lib/generators/sunspot_cell_jars/templates/poi-ooxml-3.8-beta4.jar
|
51
|
+
- lib/generators/sunspot_cell_jars/templates/poi-ooxml-schemas-3.8-beta4.jar
|
52
|
+
- lib/generators/sunspot_cell_jars/templates/poi-scratchpad-3.8-beta4.jar
|
53
|
+
- lib/generators/sunspot_cell_jars/templates/rome-0.9.jar
|
54
|
+
- lib/generators/sunspot_cell_jars/templates/tagsoup-1.2.1.jar
|
55
|
+
- lib/generators/sunspot_cell_jars/templates/tika-core-0.10.jar
|
56
|
+
- lib/generators/sunspot_cell_jars/templates/tika-parsers-0.10.jar
|
57
|
+
- lib/generators/sunspot_cell_jars/templates/xercesImpl-2.8.1.jar
|
58
|
+
- lib/generators/sunspot_cell_jars/templates/xml-apis-1.0.b2.jar
|
59
|
+
- lib/generators/sunspot_cell_jars/templates/xmlbeans-2.3.0.jar
|
60
|
+
- lib/sunspot_cell_jars.rb
|
61
|
+
- sunspot_cell_jars.gemspec
|
62
|
+
homepage: http://github.com/mrcsparker/sunspot_cell_jars
|
63
|
+
licenses: []
|
64
|
+
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 3
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
version: "0"
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 3
|
85
|
+
segments:
|
86
|
+
- 0
|
87
|
+
version: "0"
|
88
|
+
requirements: []
|
89
|
+
|
90
|
+
rubyforge_project: sunspot_cell_jars
|
91
|
+
rubygems_version: 1.8.12
|
92
|
+
signing_key:
|
93
|
+
specification_version: 3
|
94
|
+
summary: Gem that installs the apache-solr-cells jars for sunspot_cell
|
95
|
+
test_files: []
|
96
|
+
|