sherpa99-thinking-sphinx 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. data/LICENCE +20 -0
  2. data/README +107 -0
  3. data/README.textile +107 -0
  4. data/Rakefile +4 -0
  5. data/contribute.rb +328 -0
  6. data/cucumber.yml +1 -0
  7. data/features/a.rb +17 -0
  8. data/features/attribute_transformation.feature +22 -0
  9. data/features/datetime_deltas.feature +55 -0
  10. data/features/delayed_delta_indexing.feature +37 -0
  11. data/features/deleting_instances.feature +52 -0
  12. data/features/facets.feature +26 -0
  13. data/features/handling_edits.feature +67 -0
  14. data/features/retry_stale_indexes.feature +24 -0
  15. data/features/searching_across_models.feature +20 -0
  16. data/features/searching_by_model.feature +118 -0
  17. data/features/searching_with_find_arguments.feature +56 -0
  18. data/features/sphinx_detection.feature +16 -0
  19. data/features/step_definitions/alpha_steps.rb +3 -0
  20. data/features/step_definitions/beta_steps.rb +11 -0
  21. data/features/step_definitions/cat_steps.rb +3 -0
  22. data/features/step_definitions/common_steps.rb +154 -0
  23. data/features/step_definitions/datetime_delta_steps.rb +11 -0
  24. data/features/step_definitions/delayed_delta_indexing_steps.rb +7 -0
  25. data/features/step_definitions/facet_steps.rb +30 -0
  26. data/features/step_definitions/find_arguments_steps.rb +36 -0
  27. data/features/step_definitions/gamma_steps.rb +15 -0
  28. data/features/step_definitions/search_steps.rb +66 -0
  29. data/features/step_definitions/sphinx_steps.rb +23 -0
  30. data/features/support/db/active_record.rb +40 -0
  31. data/features/support/db/database.example.yml +4 -0
  32. data/features/support/db/migrations/create_alphas.rb +18 -0
  33. data/features/support/db/migrations/create_animals.rb +9 -0
  34. data/features/support/db/migrations/create_betas.rb +15 -0
  35. data/features/support/db/migrations/create_boxes.rb +13 -0
  36. data/features/support/db/migrations/create_comments.rb +13 -0
  37. data/features/support/db/migrations/create_delayed_betas.rb +28 -0
  38. data/features/support/db/migrations/create_developers.rb +39 -0
  39. data/features/support/db/migrations/create_gammas.rb +14 -0
  40. data/features/support/db/migrations/create_people.rb +1014 -0
  41. data/features/support/db/migrations/create_posts.rb +6 -0
  42. data/features/support/db/migrations/create_thetas.rb +16 -0
  43. data/features/support/db/mysql.rb +4 -0
  44. data/features/support/db/postgresql.rb +4 -0
  45. data/features/support/env.rb +6 -0
  46. data/features/support/models/alpha.rb +9 -0
  47. data/features/support/models/animal.rb +5 -0
  48. data/features/support/models/beta.rb +7 -0
  49. data/features/support/models/box.rb +8 -0
  50. data/features/support/models/cat.rb +3 -0
  51. data/features/support/models/comment.rb +3 -0
  52. data/features/support/models/delayed_beta.rb +7 -0
  53. data/features/support/models/developer.rb +8 -0
  54. data/features/support/models/gamma.rb +5 -0
  55. data/features/support/models/person.rb +8 -0
  56. data/features/support/models/post.rb +8 -0
  57. data/features/support/models/theta.rb +7 -0
  58. data/features/support/post_database.rb +37 -0
  59. data/features/support/z.rb +19 -0
  60. data/ginger_scenarios.rb +24 -0
  61. data/init.rb +12 -0
  62. data/lib/thinking_sphinx.rb +144 -0
  63. data/lib/thinking_sphinx/active_record.rb +245 -0
  64. data/lib/thinking_sphinx/active_record/delta.rb +74 -0
  65. data/lib/thinking_sphinx/active_record/has_many_association.rb +29 -0
  66. data/lib/thinking_sphinx/active_record/search.rb +57 -0
  67. data/lib/thinking_sphinx/adapters/abstract_adapter.rb +34 -0
  68. data/lib/thinking_sphinx/adapters/mysql_adapter.rb +53 -0
  69. data/lib/thinking_sphinx/adapters/postgresql_adapter.rb +129 -0
  70. data/lib/thinking_sphinx/association.rb +144 -0
  71. data/lib/thinking_sphinx/attribute.rb +258 -0
  72. data/lib/thinking_sphinx/collection.rb +142 -0
  73. data/lib/thinking_sphinx/configuration.rb +236 -0
  74. data/lib/thinking_sphinx/core/string.rb +22 -0
  75. data/lib/thinking_sphinx/deltas.rb +22 -0
  76. data/lib/thinking_sphinx/deltas/datetime_delta.rb +50 -0
  77. data/lib/thinking_sphinx/deltas/default_delta.rb +65 -0
  78. data/lib/thinking_sphinx/deltas/delayed_delta.rb +25 -0
  79. data/lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb +24 -0
  80. data/lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb +27 -0
  81. data/lib/thinking_sphinx/deltas/delayed_delta/job.rb +26 -0
  82. data/lib/thinking_sphinx/facet.rb +58 -0
  83. data/lib/thinking_sphinx/facet_collection.rb +44 -0
  84. data/lib/thinking_sphinx/field.rb +172 -0
  85. data/lib/thinking_sphinx/index.rb +414 -0
  86. data/lib/thinking_sphinx/index/builder.rb +233 -0
  87. data/lib/thinking_sphinx/index/faux_column.rb +110 -0
  88. data/lib/thinking_sphinx/rails_additions.rb +133 -0
  89. data/lib/thinking_sphinx/search.rb +638 -0
  90. data/lib/thinking_sphinx/tasks.rb +128 -0
  91. data/rails/init.rb +6 -0
  92. data/spec/fixtures/data.sql +32 -0
  93. data/spec/fixtures/database.yml.default +3 -0
  94. data/spec/fixtures/models.rb +81 -0
  95. data/spec/fixtures/structure.sql +84 -0
  96. data/spec/spec_helper.rb +54 -0
  97. data/spec/sphinx_helper.rb +109 -0
  98. data/spec/unit/thinking_sphinx/active_record/delta_spec.rb +136 -0
  99. data/spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb +53 -0
  100. data/spec/unit/thinking_sphinx/active_record/search_spec.rb +107 -0
  101. data/spec/unit/thinking_sphinx/active_record_spec.rb +256 -0
  102. data/spec/unit/thinking_sphinx/association_spec.rb +247 -0
  103. data/spec/unit/thinking_sphinx/attribute_spec.rb +212 -0
  104. data/spec/unit/thinking_sphinx/collection_spec.rb +14 -0
  105. data/spec/unit/thinking_sphinx/configuration_spec.rb +136 -0
  106. data/spec/unit/thinking_sphinx/core/string_spec.rb +9 -0
  107. data/spec/unit/thinking_sphinx/field_spec.rb +145 -0
  108. data/spec/unit/thinking_sphinx/index/builder_spec.rb +5 -0
  109. data/spec/unit/thinking_sphinx/index/faux_column_spec.rb +30 -0
  110. data/spec/unit/thinking_sphinx/index_spec.rb +54 -0
  111. data/spec/unit/thinking_sphinx/search_spec.rb +59 -0
  112. data/spec/unit/thinking_sphinx_spec.rb +129 -0
  113. data/tasks/distribution.rb +48 -0
  114. data/tasks/rails.rake +1 -0
  115. data/tasks/testing.rb +86 -0
  116. data/thinking-sphinx.gemspec +232 -0
  117. data/vendor/after_commit/LICENSE +20 -0
  118. data/vendor/after_commit/README +16 -0
  119. data/vendor/after_commit/Rakefile +22 -0
  120. data/vendor/after_commit/init.rb +5 -0
  121. data/vendor/after_commit/lib/after_commit.rb +42 -0
  122. data/vendor/after_commit/lib/after_commit/active_record.rb +91 -0
  123. data/vendor/after_commit/lib/after_commit/connection_adapters.rb +103 -0
  124. data/vendor/after_commit/test/after_commit_test.rb +53 -0
  125. data/vendor/delayed_job/lib/delayed/job.rb +251 -0
  126. data/vendor/delayed_job/lib/delayed/message_sending.rb +7 -0
  127. data/vendor/delayed_job/lib/delayed/performable_method.rb +55 -0
  128. data/vendor/delayed_job/lib/delayed/worker.rb +54 -0
  129. data/vendor/riddle/lib/riddle.rb +30 -0
  130. data/vendor/riddle/lib/riddle/client.rb +619 -0
  131. data/vendor/riddle/lib/riddle/client/filter.rb +53 -0
  132. data/vendor/riddle/lib/riddle/client/message.rb +65 -0
  133. data/vendor/riddle/lib/riddle/client/response.rb +84 -0
  134. data/vendor/riddle/lib/riddle/configuration.rb +33 -0
  135. data/vendor/riddle/lib/riddle/configuration/distributed_index.rb +48 -0
  136. data/vendor/riddle/lib/riddle/configuration/index.rb +142 -0
  137. data/vendor/riddle/lib/riddle/configuration/indexer.rb +19 -0
  138. data/vendor/riddle/lib/riddle/configuration/remote_index.rb +17 -0
  139. data/vendor/riddle/lib/riddle/configuration/searchd.rb +25 -0
  140. data/vendor/riddle/lib/riddle/configuration/section.rb +37 -0
  141. data/vendor/riddle/lib/riddle/configuration/source.rb +23 -0
  142. data/vendor/riddle/lib/riddle/configuration/sql_source.rb +34 -0
  143. data/vendor/riddle/lib/riddle/configuration/xml_source.rb +28 -0
  144. data/vendor/riddle/lib/riddle/controller.rb +44 -0
  145. metadata +248 -0
@@ -0,0 +1,129 @@
1
+ require 'spec/spec_helper'
2
+
3
+ describe ThinkingSphinx do
4
+ it "should define indexes by default" do
5
+ ThinkingSphinx.define_indexes?.should be_true
6
+ end
7
+
8
+ it "should disable index definition" do
9
+ ThinkingSphinx.define_indexes = false
10
+ ThinkingSphinx.define_indexes?.should be_false
11
+ end
12
+
13
+ it "should enable index definition" do
14
+ ThinkingSphinx.define_indexes = false
15
+ ThinkingSphinx.define_indexes?.should be_false
16
+ ThinkingSphinx.define_indexes = true
17
+ ThinkingSphinx.define_indexes?.should be_true
18
+ end
19
+
20
+ it "should index deltas by default" do
21
+ ThinkingSphinx.deltas_enabled = nil
22
+ ThinkingSphinx.deltas_enabled?.should be_true
23
+ end
24
+
25
+ it "should disable delta indexing" do
26
+ ThinkingSphinx.deltas_enabled = false
27
+ ThinkingSphinx.deltas_enabled?.should be_false
28
+ end
29
+
30
+ it "should enable delta indexing" do
31
+ ThinkingSphinx.deltas_enabled = false
32
+ ThinkingSphinx.deltas_enabled?.should be_false
33
+ ThinkingSphinx.deltas_enabled = true
34
+ ThinkingSphinx.deltas_enabled?.should be_true
35
+ end
36
+
37
+ it "should update indexes by default" do
38
+ ThinkingSphinx.updates_enabled = nil
39
+ ThinkingSphinx.updates_enabled?.should be_true
40
+ end
41
+
42
+ it "should disable index updating" do
43
+ ThinkingSphinx.updates_enabled = false
44
+ ThinkingSphinx.updates_enabled?.should be_false
45
+ end
46
+
47
+ it "should enable index updating" do
48
+ ThinkingSphinx.updates_enabled = false
49
+ ThinkingSphinx.updates_enabled?.should be_false
50
+ ThinkingSphinx.updates_enabled = true
51
+ ThinkingSphinx.updates_enabled?.should be_true
52
+ end
53
+
54
+ describe "use_group_by_shortcut? method" do
55
+ before :each do
56
+ unless ::ActiveRecord::ConnectionAdapters.const_defined?(:MysqlAdapter)
57
+ pending "No MySQL"
58
+ return
59
+ end
60
+
61
+ @connection = ::ActiveRecord::ConnectionAdapters::MysqlAdapter.stub_instance(
62
+ :select_all => true
63
+ )
64
+ ::ActiveRecord::Base.stub_method(
65
+ :connection => @connection
66
+ )
67
+ end
68
+
69
+ it "should return true if no ONLY_FULL_GROUP_BY" do
70
+ @connection.stub_method(
71
+ :select_all => {:a => "OTHER SETTINGS"}
72
+ )
73
+
74
+ ThinkingSphinx.use_group_by_shortcut?.should be_true
75
+ end
76
+
77
+ it "should return true if NULL value" do
78
+ @connection.stub_method(
79
+ :select_all => {:a => nil}
80
+ )
81
+
82
+ ThinkingSphinx.use_group_by_shortcut?.should be_true
83
+ end
84
+
85
+ it "should return false if ONLY_FULL_GROUP_BY is set" do
86
+ @connection.stub_method(
87
+ :select_all => {:a => "OTHER SETTINGS,ONLY_FULL_GROUP_BY,blah"}
88
+ )
89
+
90
+ ThinkingSphinx.use_group_by_shortcut?.should be_false
91
+ end
92
+
93
+ it "should return false if ONLY_FULL_GROUP_BY is set in any of the values" do
94
+ @connection.stub_method(
95
+ :select_all => {
96
+ :a => "OTHER SETTINGS",
97
+ :b => "ONLY_FULL_GROUP_BY"
98
+ }
99
+ )
100
+
101
+ ThinkingSphinx.use_group_by_shortcut?.should be_false
102
+ end
103
+
104
+ describe "if not using MySQL" do
105
+ before :each do
106
+ unless ::ActiveRecord::ConnectionAdapters.const_defined?(:PostgreSQLAdapter)
107
+ pending "No PostgreSQL"
108
+ return
109
+ end
110
+ @connection = ::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.stub_instance(
111
+ :select_all => true
112
+ )
113
+ ::ActiveRecord::Base.stub_method(
114
+ :connection => @connection
115
+ )
116
+ end
117
+
118
+ it "should return false" do
119
+ ThinkingSphinx.use_group_by_shortcut?.should be_false
120
+ end
121
+
122
+ it "should not call select_all" do
123
+ ThinkingSphinx.use_group_by_shortcut?
124
+
125
+ @connection.should_not have_received(:select_all)
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,48 @@
1
+ require 'rake/rdoctask'
2
+ require 'rake/gempackagetask'
3
+
4
+ $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
5
+ require 'thinking_sphinx'
6
+
7
+ desc 'Generate documentation'
8
+ Rake::RDocTask.new(:rdoc) do |rdoc|
9
+ rdoc.rdoc_dir = 'rdoc'
10
+ rdoc.title = 'Thinking Sphinx - ActiveRecord Sphinx Plugin'
11
+ rdoc.options << '--line-numbers' << '--inline-source'
12
+ rdoc.rdoc_files.include('README')
13
+ rdoc.rdoc_files.include('lib/**/*.rb')
14
+ end
15
+
16
+ spec = Gem::Specification.new do |s|
17
+ s.name = "thinking-sphinx"
18
+ s.version = ThinkingSphinx::Version::String
19
+ s.summary = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching."
20
+ s.description = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching."
21
+ s.author = "Pat Allan"
22
+ s.email = "pat@freelancing-gods.com"
23
+ s.homepage = "http://ts.freelancing-gods.com"
24
+ s.has_rdoc = true
25
+ s.rdoc_options << "--title" << "Thinking Sphinx -- Rails/Merb Sphinx Plugin" <<
26
+ "--line-numbers"
27
+ s.rubyforge_project = "thinking-sphinx"
28
+ s.test_files = FileList["spec/**/*_spec.rb"]
29
+ s.files = FileList[
30
+ "lib/**/*.rb",
31
+ "LICENCE",
32
+ "README",
33
+ "tasks/**/*.rb",
34
+ "tasks/**/*.rake",
35
+ "vendor/**/*"
36
+ ]
37
+ end
38
+
39
+ Rake::GemPackageTask.new(spec) do |p|
40
+ p.gem_spec = spec
41
+ p.need_tar = true
42
+ p.need_zip = true
43
+ end
44
+
45
+ desc "Build gemspec file"
46
+ task :build do
47
+ File.open('thinking-sphinx.gemspec', 'w') { |f| f.write spec.to_ruby }
48
+ end
@@ -0,0 +1 @@
1
+ require File.join(File.dirname(__FILE__), '/../lib/thinking_sphinx/tasks')
@@ -0,0 +1,86 @@
1
+ require 'rubygems'
2
+ require 'spec/rake/spectask'
3
+ require 'cucumber/rake/task'
4
+
5
+ desc "Run the specs under spec"
6
+ Spec::Rake::SpecTask.new do |t|
7
+ t.spec_files = FileList['spec/**/*_spec.rb']
8
+ t.spec_opts << "-c"
9
+ end
10
+
11
+ desc "Run all feature-set configurations"
12
+ task :features do |t|
13
+ puts "rake features:mysql"
14
+ system "rake features:mysql"
15
+ puts "rake features:postgresql"
16
+ system "rake features:postgresql"
17
+ end
18
+
19
+ namespace :features do
20
+ def add_task(name, description)
21
+ Cucumber::Rake::Task.new(name, description) do |t|
22
+ t.cucumber_opts = "--format pretty"
23
+ t.step_pattern = [
24
+ "features/support/env",
25
+ "features/support/db/#{name}",
26
+ "features/support/db/active_record",
27
+ "features/support/post_database",
28
+ "features/step_definitions/**.rb"
29
+ ]
30
+ end
31
+ end
32
+
33
+ add_task :mysql, "Run feature-set against MySQL"
34
+ add_task :postgresql, "Run feature-set against PostgreSQL"
35
+ end
36
+
37
+ desc "Generate RCov reports"
38
+ Spec::Rake::SpecTask.new(:rcov) do |t|
39
+ t.libs << 'lib'
40
+ t.spec_files = FileList['spec/**/*_spec.rb']
41
+ t.rcov = true
42
+ t.rcov_opts = ['--exclude', 'spec', '--exclude', 'gems', '--exclude', 'riddle']
43
+ end
44
+
45
+ namespace :rcov do
46
+ def add_task(name, description)
47
+ Cucumber::Rake::Task.new(name, description) do |t|
48
+ t.cucumber_opts = "--format pretty"
49
+ t.step_pattern = [
50
+ "features/support/env",
51
+ "features/support/db/#{name}",
52
+ "features/support/db/active_record",
53
+ "features/support/post_database",
54
+ "features/step_definitions/**.rb"
55
+ ]
56
+ t.rcov = true
57
+ t.rcov_opts = [
58
+ '--exclude', 'spec',
59
+ '--exclude', 'gems',
60
+ '--exclude', 'riddle',
61
+ '--exclude', 'features'
62
+ ]
63
+ end
64
+ end
65
+
66
+ add_task :mysql, "Run feature-set against MySQL with rcov"
67
+ add_task :postgresql, "Run feature-set against PostgreSQL with rcov"
68
+ end
69
+
70
+ desc "Build cucumber.yml file"
71
+ task :cucumber_defaults do
72
+ default_requires = %w(
73
+ --require features/support/env.rb
74
+ --require features/support/db/mysql.rb
75
+ --require features/support/db/active_record.rb
76
+ --require features/support/post_database.rb
77
+ ).join(" ")
78
+
79
+ step_definitions = FileList["features/step_definitions/**.rb"].collect { |path|
80
+ "--require #{path}"
81
+ }.join(" ")
82
+
83
+ File.open('cucumber.yml', 'w') { |f|
84
+ f.write "default: \"#{default_requires} #{step_definitions}\""
85
+ }
86
+ end
@@ -0,0 +1,232 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{thinking-sphinx}
5
+ s.version = "1.1.4"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Pat Allan"]
9
+ s.date = %q{2009-01-17}
10
+ s.description = %q{A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.}
11
+ s.email = %q{pat@freelancing-gods.com}
12
+ s.has_rdoc = true
13
+ s.homepage = %q{http://ts.freelancing-gods.com}
14
+ s.rdoc_options = ["--title", "Thinking Sphinx -- Rails/Merb Sphinx Plugin", "--line-numbers"]
15
+ s.require_paths = ["lib"]
16
+ s.rubyforge_project = %q{thinking-sphinx}
17
+ s.rubygems_version = %q{1.3.0}
18
+ s.summary = %q{A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.}
19
+
20
+ if s.respond_to? :specification_version then
21
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
22
+ s.specification_version = 2
23
+
24
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
25
+ else
26
+ end
27
+ else
28
+ end
29
+
30
+ # to regenerate: Dir['spec/**/*_spec.rb']
31
+ s.test_files = [
32
+ "spec/unit/thinking_sphinx/active_record/delta_spec.rb",
33
+ "spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb",
34
+ "spec/unit/thinking_sphinx/active_record/search_spec.rb",
35
+ "spec/unit/thinking_sphinx/active_record_spec.rb",
36
+ "spec/unit/thinking_sphinx/association_spec.rb",
37
+ "spec/unit/thinking_sphinx/attribute_spec.rb",
38
+ "spec/unit/thinking_sphinx/collection_spec.rb",
39
+ "spec/unit/thinking_sphinx/configuration_spec.rb",
40
+ "spec/unit/thinking_sphinx/core/string_spec.rb",
41
+ "spec/unit/thinking_sphinx/field_spec.rb",
42
+ "spec/unit/thinking_sphinx/index/builder_spec.rb",
43
+ "spec/unit/thinking_sphinx/index/faux_column_spec.rb",
44
+ "spec/unit/thinking_sphinx/index_spec.rb",
45
+ "spec/unit/thinking_sphinx/search_spec.rb",
46
+ "spec/unit/thinking_sphinx_spec.rb"
47
+ ]
48
+
49
+ # to regenerate: Dir['**/*']
50
+ s.files = [
51
+ "contribute.rb",
52
+ "cucumber.yml",
53
+ "features",
54
+ "features/a.rb",
55
+ "features/attribute_transformation.feature",
56
+ "features/datetime_deltas.feature",
57
+ "features/delayed_delta_indexing.feature",
58
+ "features/deleting_instances.feature",
59
+ "features/facets.feature",
60
+ "features/handling_edits.feature",
61
+ "features/retry_stale_indexes.feature",
62
+ "features/searching_across_models.feature",
63
+ "features/searching_by_model.feature",
64
+ "features/searching_with_find_arguments.feature",
65
+ "features/sphinx_detection.feature",
66
+ "features/step_definitions",
67
+ "features/step_definitions/alpha_steps.rb",
68
+ "features/step_definitions/beta_steps.rb",
69
+ "features/step_definitions/cat_steps.rb",
70
+ "features/step_definitions/common_steps.rb",
71
+ "features/step_definitions/datetime_delta_steps.rb",
72
+ "features/step_definitions/delayed_delta_indexing_steps.rb",
73
+ "features/step_definitions/facet_steps.rb",
74
+ "features/step_definitions/find_arguments_steps.rb",
75
+ "features/step_definitions/gamma_steps.rb",
76
+ "features/step_definitions/search_steps.rb",
77
+ "features/step_definitions/sphinx_steps.rb",
78
+ "features/support",
79
+ "features/support/db",
80
+ "features/support/db/active_record.rb",
81
+ "features/support/db/database.example.yml",
82
+ "features/support/db/migrations",
83
+ "features/support/db/migrations/create_alphas.rb",
84
+ "features/support/db/migrations/create_animals.rb",
85
+ "features/support/db/migrations/create_betas.rb",
86
+ "features/support/db/migrations/create_boxes.rb",
87
+ "features/support/db/migrations/create_comments.rb",
88
+ "features/support/db/migrations/create_delayed_betas.rb",
89
+ "features/support/db/migrations/create_developers.rb",
90
+ "features/support/db/migrations/create_gammas.rb",
91
+ "features/support/db/migrations/create_people.rb",
92
+ "features/support/db/migrations/create_posts.rb",
93
+ "features/support/db/migrations/create_thetas.rb",
94
+ "features/support/db/mysql.rb",
95
+ "features/support/db/postgresql.rb",
96
+ "features/support/env.rb",
97
+ "features/support/models",
98
+ "features/support/models/alpha.rb",
99
+ "features/support/models/animal.rb",
100
+ "features/support/models/beta.rb",
101
+ "features/support/models/box.rb",
102
+ "features/support/models/cat.rb",
103
+ "features/support/models/comment.rb",
104
+ "features/support/models/delayed_beta.rb",
105
+ "features/support/models/developer.rb",
106
+ "features/support/models/gamma.rb",
107
+ "features/support/models/person.rb",
108
+ "features/support/models/post.rb",
109
+ "features/support/models/theta.rb",
110
+ "features/support/post_database.rb",
111
+ "features/support/z.rb",
112
+ "ginger_scenarios.rb",
113
+ "init.rb",
114
+ "lib",
115
+ "lib/thinking_sphinx",
116
+ "lib/thinking_sphinx/active_record",
117
+ "lib/thinking_sphinx/active_record/delta.rb",
118
+ "lib/thinking_sphinx/active_record/has_many_association.rb",
119
+ "lib/thinking_sphinx/active_record/search.rb",
120
+ "lib/thinking_sphinx/active_record.rb",
121
+ "lib/thinking_sphinx/adapters",
122
+ "lib/thinking_sphinx/adapters/abstract_adapter.rb",
123
+ "lib/thinking_sphinx/adapters/mysql_adapter.rb",
124
+ "lib/thinking_sphinx/adapters/postgresql_adapter.rb",
125
+ "lib/thinking_sphinx/association.rb",
126
+ "lib/thinking_sphinx/attribute.rb",
127
+ "lib/thinking_sphinx/collection.rb",
128
+ "lib/thinking_sphinx/configuration.rb",
129
+ "lib/thinking_sphinx/core",
130
+ "lib/thinking_sphinx/core/string.rb",
131
+ "lib/thinking_sphinx/deltas",
132
+ "lib/thinking_sphinx/deltas/datetime_delta.rb",
133
+ "lib/thinking_sphinx/deltas/default_delta.rb",
134
+ "lib/thinking_sphinx/deltas/delayed_delta",
135
+ "lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb",
136
+ "lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb",
137
+ "lib/thinking_sphinx/deltas/delayed_delta/job.rb",
138
+ "lib/thinking_sphinx/deltas/delayed_delta.rb",
139
+ "lib/thinking_sphinx/deltas.rb",
140
+ "lib/thinking_sphinx/facet.rb",
141
+ "lib/thinking_sphinx/facet_collection.rb",
142
+ "lib/thinking_sphinx/field.rb",
143
+ "lib/thinking_sphinx/index",
144
+ "lib/thinking_sphinx/index/builder.rb",
145
+ "lib/thinking_sphinx/index/faux_column.rb",
146
+ "lib/thinking_sphinx/index.rb",
147
+ "lib/thinking_sphinx/rails_additions.rb",
148
+ "lib/thinking_sphinx/search.rb",
149
+ "lib/thinking_sphinx/tasks.rb",
150
+ "lib/thinking_sphinx.rb",
151
+ "LICENCE",
152
+ "rails",
153
+ "rails/init.rb",
154
+ "Rakefile",
155
+ "README",
156
+ "README.textile",
157
+ "spec",
158
+ "spec/fixtures",
159
+ "spec/fixtures/data.sql",
160
+ "spec/fixtures/database.yml.default",
161
+ "spec/fixtures/models.rb",
162
+ "spec/fixtures/structure.sql",
163
+ "spec/spec_helper.rb",
164
+ "spec/sphinx_helper.rb",
165
+ "spec/unit",
166
+ "spec/unit/thinking_sphinx",
167
+ "spec/unit/thinking_sphinx/active_record",
168
+ "spec/unit/thinking_sphinx/active_record/delta_spec.rb",
169
+ "spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb",
170
+ "spec/unit/thinking_sphinx/active_record/search_spec.rb",
171
+ "spec/unit/thinking_sphinx/active_record_spec.rb",
172
+ "spec/unit/thinking_sphinx/association_spec.rb",
173
+ "spec/unit/thinking_sphinx/attribute_spec.rb",
174
+ "spec/unit/thinking_sphinx/collection_spec.rb",
175
+ "spec/unit/thinking_sphinx/configuration_spec.rb",
176
+ "spec/unit/thinking_sphinx/core",
177
+ "spec/unit/thinking_sphinx/core/string_spec.rb",
178
+ "spec/unit/thinking_sphinx/field_spec.rb",
179
+ "spec/unit/thinking_sphinx/index",
180
+ "spec/unit/thinking_sphinx/index/builder_spec.rb",
181
+ "spec/unit/thinking_sphinx/index/faux_column_spec.rb",
182
+ "spec/unit/thinking_sphinx/index_spec.rb",
183
+ "spec/unit/thinking_sphinx/search_spec.rb",
184
+ "spec/unit/thinking_sphinx_spec.rb",
185
+ "tasks",
186
+ "tasks/distribution.rb",
187
+ "tasks/rails.rake",
188
+ "tasks/testing.rb",
189
+ "thinking-sphinx.gemspec",
190
+ "vendor",
191
+ "vendor/after_commit",
192
+ "vendor/after_commit/init.rb",
193
+ "vendor/after_commit/lib",
194
+ "vendor/after_commit/lib/after_commit",
195
+ "vendor/after_commit/lib/after_commit/active_record.rb",
196
+ "vendor/after_commit/lib/after_commit/connection_adapters.rb",
197
+ "vendor/after_commit/lib/after_commit.rb",
198
+ "vendor/after_commit/LICENSE",
199
+ "vendor/after_commit/Rakefile",
200
+ "vendor/after_commit/README",
201
+ "vendor/after_commit/test",
202
+ "vendor/after_commit/test/after_commit_test.rb",
203
+ "vendor/delayed_job",
204
+ "vendor/delayed_job/lib",
205
+ "vendor/delayed_job/lib/delayed",
206
+ "vendor/delayed_job/lib/delayed/job.rb",
207
+ "vendor/delayed_job/lib/delayed/message_sending.rb",
208
+ "vendor/delayed_job/lib/delayed/performable_method.rb",
209
+ "vendor/delayed_job/lib/delayed/worker.rb",
210
+ "vendor/riddle",
211
+ "vendor/riddle/lib",
212
+ "vendor/riddle/lib/riddle",
213
+ "vendor/riddle/lib/riddle/client",
214
+ "vendor/riddle/lib/riddle/client/filter.rb",
215
+ "vendor/riddle/lib/riddle/client/message.rb",
216
+ "vendor/riddle/lib/riddle/client/response.rb",
217
+ "vendor/riddle/lib/riddle/client.rb",
218
+ "vendor/riddle/lib/riddle/configuration",
219
+ "vendor/riddle/lib/riddle/configuration/distributed_index.rb",
220
+ "vendor/riddle/lib/riddle/configuration/index.rb",
221
+ "vendor/riddle/lib/riddle/configuration/indexer.rb",
222
+ "vendor/riddle/lib/riddle/configuration/remote_index.rb",
223
+ "vendor/riddle/lib/riddle/configuration/searchd.rb",
224
+ "vendor/riddle/lib/riddle/configuration/section.rb",
225
+ "vendor/riddle/lib/riddle/configuration/source.rb",
226
+ "vendor/riddle/lib/riddle/configuration/sql_source.rb",
227
+ "vendor/riddle/lib/riddle/configuration/xml_source.rb",
228
+ "vendor/riddle/lib/riddle/configuration.rb",
229
+ "vendor/riddle/lib/riddle/controller.rb",
230
+ "vendor/riddle/lib/riddle.rb"
231
+ ]
232
+ end