chef-solr 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +201 -0
- data/README.rdoc +7 -0
- data/Rakefile +67 -0
- data/VERSION +1 -0
- data/bin/chef-solr +27 -0
- data/bin/chef-solr-indexer +27 -0
- data/bin/chef-solr-rebuild +27 -0
- data/lib/chef/solr.rb +212 -0
- data/lib/chef/solr/application/indexer.rb +133 -0
- data/lib/chef/solr/application/rebuild.rb +93 -0
- data/lib/chef/solr/application/solr.rb +165 -0
- data/lib/chef/solr/index.rb +153 -0
- data/lib/chef/solr/index_queue_consumer.rb +78 -0
- data/lib/chef/solr/query.rb +87 -0
- data/solr/solr-home.tar.gz +0 -0
- data/solr/solr-jetty.tar.gz +0 -0
- data/spec/chef/solr/index_spec.rb +168 -0
- data/spec/chef/solr/query_spec.rb +14 -0
- data/spec/chef/solr_spec.rb +174 -0
- data/spec/spec_helper.rb +14 -0
- metadata +125 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spec'
|
3
|
+
|
4
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
5
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
6
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'chef', 'lib'))
|
7
|
+
require 'chef'
|
8
|
+
require 'chef/solr'
|
9
|
+
require 'chef/solr/index'
|
10
|
+
require 'chef/solr/query'
|
11
|
+
|
12
|
+
Spec::Runner.configure do |config|
|
13
|
+
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chef-solr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 8
|
8
|
+
- 2
|
9
|
+
version: 0.8.2
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Adam Jacob
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-02-28 00:00:00 -08:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: libxml-ruby
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 1
|
30
|
+
- 3
|
31
|
+
version: 1.1.3
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: uuidtools
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 0
|
44
|
+
- 0
|
45
|
+
version: 2.0.0
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: chef
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
- 8
|
58
|
+
- 2
|
59
|
+
version: 0.8.2
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
description:
|
63
|
+
email: adam@opscode.com
|
64
|
+
executables:
|
65
|
+
- chef-solr
|
66
|
+
- chef-solr-indexer
|
67
|
+
- chef-solr-rebuild
|
68
|
+
extensions: []
|
69
|
+
|
70
|
+
extra_rdoc_files:
|
71
|
+
- LICENSE
|
72
|
+
- README.rdoc
|
73
|
+
files:
|
74
|
+
- README.rdoc
|
75
|
+
- Rakefile
|
76
|
+
- VERSION
|
77
|
+
- bin/chef-solr
|
78
|
+
- bin/chef-solr-indexer
|
79
|
+
- bin/chef-solr-rebuild
|
80
|
+
- lib/chef/solr.rb
|
81
|
+
- lib/chef/solr/application/indexer.rb
|
82
|
+
- lib/chef/solr/application/rebuild.rb
|
83
|
+
- lib/chef/solr/application/solr.rb
|
84
|
+
- lib/chef/solr/index.rb
|
85
|
+
- lib/chef/solr/index_queue_consumer.rb
|
86
|
+
- lib/chef/solr/query.rb
|
87
|
+
- solr/solr-home.tar.gz
|
88
|
+
- solr/solr-jetty.tar.gz
|
89
|
+
- spec/chef/solr/index_spec.rb
|
90
|
+
- spec/chef/solr/query_spec.rb
|
91
|
+
- spec/chef/solr_spec.rb
|
92
|
+
- spec/spec_helper.rb
|
93
|
+
- LICENSE
|
94
|
+
has_rdoc: true
|
95
|
+
homepage: http://wiki.opscode.com/display/chef
|
96
|
+
licenses: []
|
97
|
+
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options:
|
100
|
+
- --charset=UTF-8
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
version: "0"
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
117
|
+
requirements: []
|
118
|
+
|
119
|
+
rubyforge_project:
|
120
|
+
rubygems_version: 1.3.6
|
121
|
+
signing_key:
|
122
|
+
specification_version: 3
|
123
|
+
summary: Search indexing for Chef
|
124
|
+
test_files: []
|
125
|
+
|