websolr-rails 1.4.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. data/.gitignore +1 -10
  2. data/LICENSE +17 -16
  3. data/README.rdoc +16 -62
  4. data/Rakefile +2 -60
  5. data/VERSION +1 -1
  6. data/lib/websolr-rails.rb +54 -1
  7. data/lib/websolr.rb +2 -1
  8. metadata +12 -215
  9. data/CHANGELOG +0 -8
  10. data/TESTING_THE_PLUGIN +0 -25
  11. data/bin/websolr +0 -10
  12. data/config/solr.yml +0 -15
  13. data/config/solr_environment.rb +0 -22
  14. data/generate_rdoc.sh +0 -13
  15. data/lib/acts_as_solr.rb +0 -65
  16. data/lib/acts_methods.rb +0 -281
  17. data/lib/class_methods.rb +0 -243
  18. data/lib/common_methods.rb +0 -89
  19. data/lib/deprecation.rb +0 -61
  20. data/lib/instance_methods.rb +0 -181
  21. data/lib/lazy_document.rb +0 -18
  22. data/lib/parser_methods.rb +0 -230
  23. data/lib/search_results.rb +0 -72
  24. data/lib/solr.rb +0 -21
  25. data/lib/solr/connection.rb +0 -190
  26. data/lib/solr/document.rb +0 -78
  27. data/lib/solr/exception.rb +0 -13
  28. data/lib/solr/field.rb +0 -39
  29. data/lib/solr/importer.rb +0 -19
  30. data/lib/solr/importer/array_mapper.rb +0 -26
  31. data/lib/solr/importer/delimited_file_source.rb +0 -38
  32. data/lib/solr/importer/hpricot_mapper.rb +0 -27
  33. data/lib/solr/importer/mapper.rb +0 -51
  34. data/lib/solr/importer/solr_source.rb +0 -43
  35. data/lib/solr/importer/xpath_mapper.rb +0 -35
  36. data/lib/solr/indexer.rb +0 -52
  37. data/lib/solr/request.rb +0 -26
  38. data/lib/solr/request/add_document.rb +0 -63
  39. data/lib/solr/request/base.rb +0 -36
  40. data/lib/solr/request/commit.rb +0 -31
  41. data/lib/solr/request/delete.rb +0 -50
  42. data/lib/solr/request/dismax.rb +0 -46
  43. data/lib/solr/request/index_info.rb +0 -22
  44. data/lib/solr/request/modify_document.rb +0 -51
  45. data/lib/solr/request/optimize.rb +0 -21
  46. data/lib/solr/request/ping.rb +0 -36
  47. data/lib/solr/request/select.rb +0 -56
  48. data/lib/solr/request/spellcheck.rb +0 -30
  49. data/lib/solr/request/standard.rb +0 -402
  50. data/lib/solr/request/update.rb +0 -23
  51. data/lib/solr/response.rb +0 -27
  52. data/lib/solr/response/add_document.rb +0 -17
  53. data/lib/solr/response/base.rb +0 -42
  54. data/lib/solr/response/commit.rb +0 -17
  55. data/lib/solr/response/delete.rb +0 -13
  56. data/lib/solr/response/dismax.rb +0 -8
  57. data/lib/solr/response/index_info.rb +0 -26
  58. data/lib/solr/response/modify_document.rb +0 -17
  59. data/lib/solr/response/optimize.rb +0 -14
  60. data/lib/solr/response/ping.rb +0 -28
  61. data/lib/solr/response/ruby.rb +0 -42
  62. data/lib/solr/response/select.rb +0 -17
  63. data/lib/solr/response/spellcheck.rb +0 -20
  64. data/lib/solr/response/standard.rb +0 -64
  65. data/lib/solr/response/xml.rb +0 -42
  66. data/lib/solr/solrtasks.rb +0 -27
  67. data/lib/solr/util.rb +0 -32
  68. data/lib/solr/xml.rb +0 -44
  69. data/lib/solr_fixtures.rb +0 -13
  70. data/lib/tasks/database.rake +0 -18
  71. data/lib/tasks/solr.rake +0 -94
  72. data/lib/tasks/test.rake +0 -7
  73. data/lib/websolr_controller.rb +0 -233
  74. data/lib/websolr_option_parser.rb +0 -61
  75. data/lib/websolr_rails.rb +0 -1
  76. data/lib/websolr_rails/tasks.rb +0 -4
  77. data/lib/will_paginate_support.rb +0 -12
  78. data/solr/CHANGES.txt +0 -1207
  79. data/solr/LICENSE.txt +0 -712
  80. data/solr/NOTICE.txt +0 -90
  81. data/solr/etc/jetty.xml +0 -205
  82. data/solr/etc/webdefault.xml +0 -379
  83. data/solr/lib/easymock.jar +0 -0
  84. data/solr/lib/jetty-6.1.3.jar +0 -0
  85. data/solr/lib/jetty-util-6.1.3.jar +0 -0
  86. data/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
  87. data/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
  88. data/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
  89. data/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
  90. data/solr/lib/servlet-api-2.4.jar +0 -0
  91. data/solr/lib/servlet-api-2.5-6.1.3.jar +0 -0
  92. data/solr/lib/xpp3-1.1.3.4.O.jar +0 -0
  93. data/solr/logs/.empty-dir-for-git +0 -0
  94. data/solr/solr/README.txt +0 -52
  95. data/solr/solr/bin/abc +0 -176
  96. data/solr/solr/bin/abo +0 -176
  97. data/solr/solr/bin/backup +0 -108
  98. data/solr/solr/bin/backupcleaner +0 -142
  99. data/solr/solr/bin/commit +0 -128
  100. data/solr/solr/bin/optimize +0 -129
  101. data/solr/solr/bin/readercycle +0 -129
  102. data/solr/solr/bin/rsyncd-disable +0 -77
  103. data/solr/solr/bin/rsyncd-enable +0 -76
  104. data/solr/solr/bin/rsyncd-start +0 -145
  105. data/solr/solr/bin/rsyncd-stop +0 -105
  106. data/solr/solr/bin/scripts-util +0 -83
  107. data/solr/solr/bin/snapcleaner +0 -148
  108. data/solr/solr/bin/snapinstaller +0 -168
  109. data/solr/solr/bin/snappuller +0 -248
  110. data/solr/solr/bin/snappuller-disable +0 -77
  111. data/solr/solr/bin/snappuller-enable +0 -77
  112. data/solr/solr/bin/snapshooter +0 -109
  113. data/solr/solr/conf/admin-extra.html +0 -31
  114. data/solr/solr/conf/protwords.txt +0 -21
  115. data/solr/solr/conf/schema.xml +0 -126
  116. data/solr/solr/conf/scripts.conf +0 -24
  117. data/solr/solr/conf/solrconfig.xml +0 -458
  118. data/solr/solr/conf/stopwords.txt +0 -57
  119. data/solr/solr/conf/synonyms.txt +0 -31
  120. data/solr/solr/conf/xslt/example.xsl +0 -132
  121. data/solr/solr/conf/xslt/example_atom.xsl +0 -63
  122. data/solr/solr/conf/xslt/example_rss.xsl +0 -62
  123. data/solr/start.jar +0 -0
  124. data/solr/tmp/.empty-dir-for-git +0 -0
  125. data/solr/webapps/solr.war +0 -0
  126. data/test/config/solr.yml +0 -2
  127. data/test/db/connections/mysql/connection.rb +0 -10
  128. data/test/db/connections/sqlite/connection.rb +0 -8
  129. data/test/db/migrate/001_create_books.rb +0 -15
  130. data/test/db/migrate/002_create_movies.rb +0 -12
  131. data/test/db/migrate/003_create_categories.rb +0 -11
  132. data/test/db/migrate/004_create_electronics.rb +0 -16
  133. data/test/db/migrate/005_create_authors.rb +0 -12
  134. data/test/db/migrate/006_create_postings.rb +0 -9
  135. data/test/db/migrate/007_create_posts.rb +0 -13
  136. data/test/db/migrate/008_create_gadgets.rb +0 -11
  137. data/test/fixtures/authors.yml +0 -9
  138. data/test/fixtures/books.yml +0 -13
  139. data/test/fixtures/categories.yml +0 -7
  140. data/test/fixtures/db_definitions/mysql.sql +0 -41
  141. data/test/fixtures/electronics.yml +0 -49
  142. data/test/fixtures/movies.yml +0 -9
  143. data/test/fixtures/postings.yml +0 -10
  144. data/test/functional/acts_as_solr_test.rb +0 -413
  145. data/test/functional/association_indexing_test.rb +0 -37
  146. data/test/functional/faceted_search_test.rb +0 -163
  147. data/test/functional/multi_solr_search_test.rb +0 -51
  148. data/test/models/author.rb +0 -10
  149. data/test/models/book.rb +0 -10
  150. data/test/models/category.rb +0 -8
  151. data/test/models/electronic.rb +0 -21
  152. data/test/models/gadget.rb +0 -9
  153. data/test/models/movie.rb +0 -17
  154. data/test/models/novel.rb +0 -2
  155. data/test/models/post.rb +0 -3
  156. data/test/models/posting.rb +0 -11
  157. data/test/test_helper.rb +0 -51
  158. data/test/unit/acts_methods_shoulda.rb +0 -70
  159. data/test/unit/class_methods_shoulda.rb +0 -88
  160. data/test/unit/common_methods_shoulda.rb +0 -112
  161. data/test/unit/instance_methods_shoulda.rb +0 -326
  162. data/test/unit/lazy_document_shoulda.rb +0 -35
  163. data/test/unit/parser_instance.rb +0 -19
  164. data/test/unit/parser_methods_shoulda.rb +0 -278
  165. data/test/unit/solr_instance.rb +0 -46
  166. data/test/unit/test_helper.rb +0 -14
  167. data/websolr-rails.gemspec +0 -243
data/.gitignore CHANGED
@@ -1,15 +1,6 @@
1
- *.log
2
- *.log
3
- *_pid
4
- coverage/*
5
- coverage.data
6
- solr/solr/data/*
7
- .svn
8
- test/db/*.db
9
1
  *.sw?
10
2
  .DS_Store
11
3
  coverage
12
4
  rdoc
13
5
  pkg
14
- *.gem
15
- doc
6
+ *.gem
data/LICENSE CHANGED
@@ -1,19 +1,20 @@
1
- Copyright (c) 2006 Erik Hatcher, Thiago Jackiw
1
+ Copyright (c) 2009 Kyle Maxwell
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
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:
9
10
 
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
12
13
 
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
- SOFTWARE.
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.rdoc CHANGED
@@ -1,69 +1,23 @@
1
+ = websolr-rails
1
2
 
2
- = websolr-rails gem
3
+ This overrides acts_as_solr or Sunspot to use the value of the
4
+ environment variable WEBSOLR_URL as the Solr Search server,
5
+ provided that it's defined.
3
6
 
4
- This gem provides Rails support for websolr.com, and a command-line tool to interact with
5
- the indexes hosted there. The Rails support is reverse-compatible with acts_as_solr.
7
+ After installing the gem, you can include websolr-rails in your
8
+ app by either starting the webapp like:
6
9
 
7
- == RDoc
10
+ WEBSOLR_URL=http://index.websolr.com/solr/<api-key> ./script/server
11
+
12
+ Or, you can put the following in /environment/production.rb, or an
13
+ initializer, etc:
8
14
 
9
- Ruby documentation is at http://onemorecloud.github.com/websolr-rails
15
+ # production.rb
16
+ ENV["WEBSOLR_URL"] = "http://index.websolr.com/solr/<api-key>"
10
17
 
11
- == Current Release
18
+ # WEBSOLR_URL must already be defined.
19
+ require "websolr-rails"
12
20
 
13
- There is no numbered release yet, but the master branch is always considered stable.
21
+ == Copyright
14
22
 
15
- == Support
16
-
17
- For now, please send email to support@onemorecloud.com
18
-
19
- == Changes
20
-
21
- Please refer to the CHANGELOG[http://github.com/mattmatt/acts_as_solr/blob/master/CHANGE_LOG]
22
-
23
- == Installation
24
-
25
- $: gem sources -a http://gems.github.com
26
- $: sudo gem install onemorecloud-websolr-rails
27
-
28
- == Configuration
29
-
30
- $: export WEBSOLR_USER=my_username
31
- $: export WEBSOLR_PWD=my_password
32
- $: cd my_rails_project
33
- $: websolr add -n my_index_name
34
- $: websolr configure -e development -n my_index_name
35
-
36
- == Basic Usage
37
-
38
- # Just include the line below to any of your ActiveRecord models:
39
- acts_as_solr
40
-
41
- # Or if you want, you can specify only the fields that should be indexed:
42
- acts_as_solr :fields => [:name, :author]
43
-
44
- # Then to find instances of your model, just do:
45
- Model.find_by_solr(query) #query is a string representing your query
46
-
47
- # Please see ActsAsSolr::ActsMethods for a complete info
48
-
49
- == acts_as_solr in your tests
50
-
51
- If you would like to mock out Solr calls so that a Solr server is not needed (and your tests will run much faster), just add this to your `test_helper.rb` or similar:
52
-
53
- class ActsAsSolr::Post
54
- def self.execute(request)
55
- true
56
- end
57
- end
58
-
59
- (via[http://www.subelsky.com/2007/10/actsassolr-capistranhttpwwwbloggercomim.html#c1646308013209805416])
60
-
61
- == Authors
62
-
63
- Websolr is by Onemorecloud.
64
-
65
- Based on acts_as_solr by: Erik Hatcher, Thiago Jackiw, Luke Francl, Mathias Meyer, and others.
66
-
67
- == Release Information
68
-
69
- Released under the MIT license.
23
+ Copyright (c) 2009 Kyle Maxwell. See LICENSE for details.
data/Rakefile CHANGED
@@ -1,57 +1,3 @@
1
- require 'rubygems'
2
- require 'rake'
3
- require 'rake/testtask'
4
- require 'rake/rdoctask'
5
-
6
- Dir["#{File.dirname(__FILE__)}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
7
-
8
- desc "Default Task"
9
- task :default => [:test]
10
-
11
- desc "Runs the unit tests"
12
- task :test => "test:unit"
13
-
14
- namespace :test do
15
- task :setup do
16
- ENV['RAILS_ENV'] = "test"
17
- require File.dirname(__FILE__) + '/config/solr_environment'
18
- puts "Using " + DB
19
- %x(mysql -u#{MYSQL_USER} < #{File.dirname(__FILE__) + "/test/fixtures/db_definitions/mysql.sql"}) if DB == 'mysql'
20
-
21
- Rake::Task["test:migrate"].invoke
22
- end
23
-
24
- desc 'Measures test coverage using rcov'
25
- task :rcov => :setup do
26
- rm_f "coverage"
27
- rm_f "coverage.data"
28
- rcov = "rcov --rails --aggregate coverage.data --text-summary -Ilib"
29
-
30
- system("#{rcov} --html #{Dir.glob('test/**/*_test.rb').join(' ')}")
31
- system("open coverage/index.html") if PLATFORM['darwin']
32
- end
33
-
34
- desc 'Runs the functional tests, testing integration with Solr'
35
- Rake::TestTask.new('functional' => :setup) do |t|
36
- t.pattern = "test/functional/*_test.rb"
37
- t.verbose = true
38
- end
39
-
40
- desc "Unit tests"
41
- Rake::TestTask.new(:unit) do |t|
42
- t.libs << 'test/unit'
43
- t.pattern = "test/unit/*_shoulda.rb"
44
- t.verbose = true
45
- end
46
- end
47
-
48
- Rake::RDocTask.new do |rd|
49
- rd.main = "README.rdoc"
50
- rd.rdoc_dir = "rdoc"
51
- rd.rdoc_files.exclude("lib/solr/**/*.rb", "lib/solr.rb")
52
- rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
53
- end
54
-
55
1
  require 'rubygems'
56
2
  require 'rake'
57
3
 
@@ -59,15 +5,11 @@ begin
59
5
  require 'jeweler'
60
6
  Jeweler::Tasks.new do |gem|
61
7
  gem.name = "websolr-rails"
62
- gem.summary = %Q{acts_as_solr compatible gem for websolr}
63
- gem.description = %Q{acts_as_solr compatible gem for websolr}
8
+ gem.summary = %Q{WebSolr adapter}
9
+ gem.description = %Q{Makes Sunspot and acts_as_solr play with WebSolr}
64
10
  gem.email = "kyle@kylemaxwell.com"
65
11
  gem.homepage = "http://github.com/onemorecloud/websolr-rails"
66
12
  gem.authors = ["Kyle Maxwell"]
67
- gem.add_development_dependency "thoughtbot-shoulda"
68
- gem.default_executable = %q{websolr}
69
- gem.rdoc_options = ["--main", "README.rdoc", "README.rdoc", "lib"]
70
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
71
13
  end
72
14
  rescue LoadError
73
15
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.4
1
+ 2.0.0
data/lib/websolr-rails.rb CHANGED
@@ -1 +1,54 @@
1
- require File.dirname(__FILE__) + "/acts_as_solr"
1
+ # Post-require hooks for acts_as_solr and sunspot if this
2
+ # gem is loaded and WEBSOLR_URL is defined.
3
+
4
+ if ENV["WEBSOLR_URL"]
5
+
6
+ def websolr_install_sunspot
7
+ Sunspot.config.solr.url = ENV["WEBSOLR_URL"]
8
+ end
9
+
10
+ def websolr_install_acts_as_solr
11
+ eval <<-RUBY
12
+ module ::ActsAsSolr
13
+ class Post
14
+ def self.execute(request)
15
+ begin
16
+ connection = Solr::Connection.new(ENV["WEBSOLR_URL"])
17
+ return connection.send(request)
18
+ rescue
19
+ raise "Couldn't connect to the Solr server at #{url}. #{$!}"
20
+ false
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ RUBY
27
+ end
28
+
29
+ begin
30
+ ActsAsSolr
31
+ websolr_install_acts_as_solr
32
+ rescue LoadError
33
+ end
34
+
35
+ begin
36
+ Sunspot
37
+ websolr_install_acts_as_solr
38
+ rescue LoadError
39
+ end
40
+
41
+ module Kernel #:nodoc: all
42
+ alias_method :require_without_solr_hooks, :require
43
+ def require(string)
44
+ require_without_solr_hooks(string)
45
+ case string
46
+ when "acts_as_solr"
47
+ websolr_install_acts_as_solr
48
+ when "sunspot"
49
+ websolr_install_sunspot
50
+ end
51
+ end
52
+ end
53
+
54
+ end
data/lib/websolr.rb CHANGED
@@ -1 +1,2 @@
1
- require File.dirname(__FILE__) + "/acts_as_solr"
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + "/websolr-rails"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websolr-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Maxwell
@@ -9,23 +9,14 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-11 00:00:00 -07:00
13
- default_executable: websolr
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: thoughtbot-shoulda
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
25
- description: acts_as_solr compatible gem for websolr
12
+ date: 2009-10-12 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Makes Sunspot and acts_as_solr play with WebSolr
26
17
  email: kyle@kylemaxwell.com
27
- executables:
28
- - websolr
18
+ executables: []
19
+
29
20
  extensions: []
30
21
 
31
22
  extra_rdoc_files:
@@ -34,181 +25,19 @@ extra_rdoc_files:
34
25
  files:
35
26
  - .document
36
27
  - .gitignore
37
- - CHANGELOG
38
28
  - LICENSE
39
29
  - README.rdoc
40
30
  - Rakefile
41
- - TESTING_THE_PLUGIN
42
31
  - VERSION
43
- - bin/websolr
44
- - config/solr.yml
45
- - config/solr_environment.rb
46
- - generate_rdoc.sh
47
- - lib/acts_as_solr.rb
48
- - lib/acts_methods.rb
49
- - lib/class_methods.rb
50
- - lib/common_methods.rb
51
- - lib/deprecation.rb
52
- - lib/instance_methods.rb
53
- - lib/lazy_document.rb
54
- - lib/parser_methods.rb
55
- - lib/search_results.rb
56
- - lib/solr.rb
57
- - lib/solr/connection.rb
58
- - lib/solr/document.rb
59
- - lib/solr/exception.rb
60
- - lib/solr/field.rb
61
- - lib/solr/importer.rb
62
- - lib/solr/importer/array_mapper.rb
63
- - lib/solr/importer/delimited_file_source.rb
64
- - lib/solr/importer/hpricot_mapper.rb
65
- - lib/solr/importer/mapper.rb
66
- - lib/solr/importer/solr_source.rb
67
- - lib/solr/importer/xpath_mapper.rb
68
- - lib/solr/indexer.rb
69
- - lib/solr/request.rb
70
- - lib/solr/request/add_document.rb
71
- - lib/solr/request/base.rb
72
- - lib/solr/request/commit.rb
73
- - lib/solr/request/delete.rb
74
- - lib/solr/request/dismax.rb
75
- - lib/solr/request/index_info.rb
76
- - lib/solr/request/modify_document.rb
77
- - lib/solr/request/optimize.rb
78
- - lib/solr/request/ping.rb
79
- - lib/solr/request/select.rb
80
- - lib/solr/request/spellcheck.rb
81
- - lib/solr/request/standard.rb
82
- - lib/solr/request/update.rb
83
- - lib/solr/response.rb
84
- - lib/solr/response/add_document.rb
85
- - lib/solr/response/base.rb
86
- - lib/solr/response/commit.rb
87
- - lib/solr/response/delete.rb
88
- - lib/solr/response/dismax.rb
89
- - lib/solr/response/index_info.rb
90
- - lib/solr/response/modify_document.rb
91
- - lib/solr/response/optimize.rb
92
- - lib/solr/response/ping.rb
93
- - lib/solr/response/ruby.rb
94
- - lib/solr/response/select.rb
95
- - lib/solr/response/spellcheck.rb
96
- - lib/solr/response/standard.rb
97
- - lib/solr/response/xml.rb
98
- - lib/solr/solrtasks.rb
99
- - lib/solr/util.rb
100
- - lib/solr/xml.rb
101
- - lib/solr_fixtures.rb
102
- - lib/tasks/database.rake
103
- - lib/tasks/solr.rake
104
- - lib/tasks/test.rake
105
32
  - lib/websolr-rails.rb
106
33
  - lib/websolr.rb
107
- - lib/websolr_controller.rb
108
- - lib/websolr_option_parser.rb
109
- - lib/websolr_rails.rb
110
- - lib/websolr_rails/tasks.rb
111
- - lib/will_paginate_support.rb
112
- - solr/CHANGES.txt
113
- - solr/LICENSE.txt
114
- - solr/NOTICE.txt
115
- - solr/etc/jetty.xml
116
- - solr/etc/webdefault.xml
117
- - solr/lib/easymock.jar
118
- - solr/lib/jetty-6.1.3.jar
119
- - solr/lib/jetty-util-6.1.3.jar
120
- - solr/lib/jsp-2.1/ant-1.6.5.jar
121
- - solr/lib/jsp-2.1/core-3.1.1.jar
122
- - solr/lib/jsp-2.1/jsp-2.1.jar
123
- - solr/lib/jsp-2.1/jsp-api-2.1.jar
124
- - solr/lib/servlet-api-2.4.jar
125
- - solr/lib/servlet-api-2.5-6.1.3.jar
126
- - solr/lib/xpp3-1.1.3.4.O.jar
127
- - solr/logs/.empty-dir-for-git
128
- - solr/solr/README.txt
129
- - solr/solr/bin/abc
130
- - solr/solr/bin/abo
131
- - solr/solr/bin/backup
132
- - solr/solr/bin/backupcleaner
133
- - solr/solr/bin/commit
134
- - solr/solr/bin/optimize
135
- - solr/solr/bin/readercycle
136
- - solr/solr/bin/rsyncd-disable
137
- - solr/solr/bin/rsyncd-enable
138
- - solr/solr/bin/rsyncd-start
139
- - solr/solr/bin/rsyncd-stop
140
- - solr/solr/bin/scripts-util
141
- - solr/solr/bin/snapcleaner
142
- - solr/solr/bin/snapinstaller
143
- - solr/solr/bin/snappuller
144
- - solr/solr/bin/snappuller-disable
145
- - solr/solr/bin/snappuller-enable
146
- - solr/solr/bin/snapshooter
147
- - solr/solr/conf/admin-extra.html
148
- - solr/solr/conf/protwords.txt
149
- - solr/solr/conf/schema.xml
150
- - solr/solr/conf/scripts.conf
151
- - solr/solr/conf/solrconfig.xml
152
- - solr/solr/conf/stopwords.txt
153
- - solr/solr/conf/synonyms.txt
154
- - solr/solr/conf/xslt/example.xsl
155
- - solr/solr/conf/xslt/example_atom.xsl
156
- - solr/solr/conf/xslt/example_rss.xsl
157
- - solr/start.jar
158
- - solr/tmp/.empty-dir-for-git
159
- - solr/webapps/solr.war
160
- - test/config/solr.yml
161
- - test/db/connections/mysql/connection.rb
162
- - test/db/connections/sqlite/connection.rb
163
- - test/db/migrate/001_create_books.rb
164
- - test/db/migrate/002_create_movies.rb
165
- - test/db/migrate/003_create_categories.rb
166
- - test/db/migrate/004_create_electronics.rb
167
- - test/db/migrate/005_create_authors.rb
168
- - test/db/migrate/006_create_postings.rb
169
- - test/db/migrate/007_create_posts.rb
170
- - test/db/migrate/008_create_gadgets.rb
171
- - test/fixtures/authors.yml
172
- - test/fixtures/books.yml
173
- - test/fixtures/categories.yml
174
- - test/fixtures/db_definitions/mysql.sql
175
- - test/fixtures/electronics.yml
176
- - test/fixtures/movies.yml
177
- - test/fixtures/postings.yml
178
- - test/functional/acts_as_solr_test.rb
179
- - test/functional/association_indexing_test.rb
180
- - test/functional/faceted_search_test.rb
181
- - test/functional/multi_solr_search_test.rb
182
- - test/models/author.rb
183
- - test/models/book.rb
184
- - test/models/category.rb
185
- - test/models/electronic.rb
186
- - test/models/gadget.rb
187
- - test/models/movie.rb
188
- - test/models/novel.rb
189
- - test/models/post.rb
190
- - test/models/posting.rb
191
- - test/test_helper.rb
192
- - test/unit/acts_methods_shoulda.rb
193
- - test/unit/class_methods_shoulda.rb
194
- - test/unit/common_methods_shoulda.rb
195
- - test/unit/instance_methods_shoulda.rb
196
- - test/unit/lazy_document_shoulda.rb
197
- - test/unit/parser_instance.rb
198
- - test/unit/parser_methods_shoulda.rb
199
- - test/unit/solr_instance.rb
200
- - test/unit/test_helper.rb
201
- - websolr-rails.gemspec
202
34
  has_rdoc: true
203
35
  homepage: http://github.com/onemorecloud/websolr-rails
204
36
  licenses: []
205
37
 
206
38
  post_install_message:
207
39
  rdoc_options:
208
- - --main
209
- - README.rdoc
210
- - README.rdoc
211
- - lib
40
+ - --charset=UTF-8
212
41
  require_paths:
213
42
  - lib
214
43
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -229,38 +58,6 @@ rubyforge_project:
229
58
  rubygems_version: 1.3.4
230
59
  signing_key:
231
60
  specification_version: 3
232
- summary: acts_as_solr compatible gem for websolr
233
- test_files:
234
- - test/db/connections/mysql/connection.rb
235
- - test/db/connections/sqlite/connection.rb
236
- - test/db/migrate/001_create_books.rb
237
- - test/db/migrate/002_create_movies.rb
238
- - test/db/migrate/003_create_categories.rb
239
- - test/db/migrate/004_create_electronics.rb
240
- - test/db/migrate/005_create_authors.rb
241
- - test/db/migrate/006_create_postings.rb
242
- - test/db/migrate/007_create_posts.rb
243
- - test/db/migrate/008_create_gadgets.rb
244
- - test/functional/acts_as_solr_test.rb
245
- - test/functional/association_indexing_test.rb
246
- - test/functional/faceted_search_test.rb
247
- - test/functional/multi_solr_search_test.rb
248
- - test/models/author.rb
249
- - test/models/book.rb
250
- - test/models/category.rb
251
- - test/models/electronic.rb
252
- - test/models/gadget.rb
253
- - test/models/movie.rb
254
- - test/models/novel.rb
255
- - test/models/post.rb
256
- - test/models/posting.rb
257
- - test/test_helper.rb
258
- - test/unit/acts_methods_shoulda.rb
259
- - test/unit/class_methods_shoulda.rb
260
- - test/unit/common_methods_shoulda.rb
261
- - test/unit/instance_methods_shoulda.rb
262
- - test/unit/lazy_document_shoulda.rb
263
- - test/unit/parser_instance.rb
264
- - test/unit/parser_methods_shoulda.rb
265
- - test/unit/solr_instance.rb
266
- - test/unit/test_helper.rb
61
+ summary: WebSolr adapter
62
+ test_files: []
63
+