thinking-sphinx 1.5.0 → 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/README.textile +15 -48
  2. data/VERSION +1 -0
  3. data/features/attribute_transformation.feature +7 -7
  4. data/features/attribute_updates.feature +16 -18
  5. data/features/deleting_instances.feature +13 -16
  6. data/features/excerpts.feature +0 -8
  7. data/features/facets.feature +19 -25
  8. data/features/handling_edits.feature +20 -25
  9. data/features/searching_across_models.feature +1 -1
  10. data/features/searching_by_index.feature +5 -6
  11. data/features/searching_by_model.feature +29 -29
  12. data/features/sphinx_scopes.feature +0 -26
  13. data/features/step_definitions/common_steps.rb +6 -18
  14. data/features/step_definitions/scope_steps.rb +0 -4
  15. data/features/step_definitions/search_steps.rb +4 -9
  16. data/features/support/env.rb +10 -3
  17. data/features/thinking_sphinx/db/fixtures/alphas.rb +10 -8
  18. data/features/thinking_sphinx/db/fixtures/cats.rb +1 -1
  19. data/features/thinking_sphinx/db/fixtures/dogs.rb +1 -1
  20. data/features/thinking_sphinx/db/fixtures/foxes.rb +1 -1
  21. data/features/thinking_sphinx/db/fixtures/people.rb +1 -1
  22. data/features/thinking_sphinx/db/fixtures/posts.rb +1 -5
  23. data/features/thinking_sphinx/db/migrations/create_posts.rb +0 -1
  24. data/features/thinking_sphinx/models/alpha.rb +0 -1
  25. data/features/thinking_sphinx/models/beta.rb +0 -5
  26. data/features/thinking_sphinx/models/developer.rb +1 -6
  27. data/features/thinking_sphinx/models/music.rb +1 -3
  28. data/features/thinking_sphinx/models/person.rb +1 -2
  29. data/features/thinking_sphinx/models/post.rb +0 -1
  30. data/lib/cucumber/thinking_sphinx/external_world.rb +4 -8
  31. data/lib/cucumber/thinking_sphinx/internal_world.rb +27 -36
  32. data/lib/thinking_sphinx.rb +60 -132
  33. data/lib/thinking_sphinx/active_record.rb +98 -124
  34. data/lib/thinking_sphinx/active_record/attribute_updates.rb +13 -17
  35. data/lib/thinking_sphinx/active_record/delta.rb +15 -21
  36. data/lib/thinking_sphinx/active_record/has_many_association.rb +23 -16
  37. data/lib/thinking_sphinx/active_record/scopes.rb +0 -18
  38. data/lib/thinking_sphinx/adapters/abstract_adapter.rb +15 -63
  39. data/lib/thinking_sphinx/adapters/mysql_adapter.rb +0 -4
  40. data/lib/thinking_sphinx/adapters/postgresql_adapter.rb +24 -65
  41. data/lib/thinking_sphinx/association.rb +11 -36
  42. data/lib/thinking_sphinx/attribute.rb +85 -92
  43. data/lib/thinking_sphinx/auto_version.rb +3 -21
  44. data/lib/thinking_sphinx/class_facet.rb +3 -8
  45. data/lib/thinking_sphinx/configuration.rb +58 -114
  46. data/lib/thinking_sphinx/context.rb +20 -22
  47. data/lib/thinking_sphinx/core/array.rb +13 -0
  48. data/lib/thinking_sphinx/deltas.rb +0 -2
  49. data/lib/thinking_sphinx/deltas/default_delta.rb +22 -18
  50. data/lib/thinking_sphinx/deploy/capistrano.rb +31 -30
  51. data/lib/thinking_sphinx/excerpter.rb +1 -2
  52. data/lib/thinking_sphinx/facet.rb +35 -45
  53. data/lib/thinking_sphinx/facet_search.rb +24 -58
  54. data/lib/thinking_sphinx/field.rb +0 -18
  55. data/lib/thinking_sphinx/index.rb +36 -38
  56. data/lib/thinking_sphinx/index/builder.rb +59 -74
  57. data/lib/thinking_sphinx/property.rb +45 -66
  58. data/lib/thinking_sphinx/railtie.rb +35 -0
  59. data/lib/thinking_sphinx/search.rb +250 -506
  60. data/lib/thinking_sphinx/source.rb +31 -50
  61. data/lib/thinking_sphinx/source/internal_properties.rb +3 -8
  62. data/lib/thinking_sphinx/source/sql.rb +31 -71
  63. data/lib/thinking_sphinx/tasks.rb +27 -48
  64. data/spec/thinking_sphinx/active_record/delta_spec.rb +41 -36
  65. data/spec/thinking_sphinx/active_record/has_many_association_spec.rb +0 -96
  66. data/spec/thinking_sphinx/active_record/scopes_spec.rb +29 -29
  67. data/spec/thinking_sphinx/active_record_spec.rb +169 -140
  68. data/spec/thinking_sphinx/association_spec.rb +2 -20
  69. data/spec/thinking_sphinx/attribute_spec.rb +97 -101
  70. data/spec/thinking_sphinx/auto_version_spec.rb +11 -75
  71. data/spec/thinking_sphinx/configuration_spec.rb +62 -63
  72. data/spec/thinking_sphinx/context_spec.rb +66 -66
  73. data/spec/thinking_sphinx/facet_search_spec.rb +99 -99
  74. data/spec/thinking_sphinx/facet_spec.rb +4 -30
  75. data/spec/thinking_sphinx/field_spec.rb +3 -17
  76. data/spec/thinking_sphinx/index/builder_spec.rb +132 -169
  77. data/spec/thinking_sphinx/index_spec.rb +39 -45
  78. data/spec/thinking_sphinx/search_methods_spec.rb +33 -37
  79. data/spec/thinking_sphinx/search_spec.rb +269 -491
  80. data/spec/thinking_sphinx/source_spec.rb +48 -62
  81. data/spec/thinking_sphinx_spec.rb +49 -49
  82. data/tasks/distribution.rb +46 -0
  83. data/tasks/testing.rb +74 -0
  84. metadata +123 -199
  85. data/features/field_sorting.feature +0 -18
  86. data/features/thinking_sphinx/db/.gitignore +0 -1
  87. data/features/thinking_sphinx/db/fixtures/post_keywords.txt +0 -1
  88. data/features/thinking_sphinx/models/andrew.rb +0 -17
  89. data/lib/thinking-sphinx.rb +0 -1
  90. data/lib/thinking_sphinx/active_record/has_many_association_with_scopes.rb +0 -21
  91. data/lib/thinking_sphinx/bundled_search.rb +0 -40
  92. data/lib/thinking_sphinx/connection.rb +0 -71
  93. data/lib/thinking_sphinx/deltas/delete_job.rb +0 -16
  94. data/lib/thinking_sphinx/deltas/index_job.rb +0 -17
  95. data/lib/thinking_sphinx/rails_additions.rb +0 -181
  96. data/spec/fixtures/data.sql +0 -32
  97. data/spec/fixtures/database.yml.default +0 -3
  98. data/spec/fixtures/models.rb +0 -161
  99. data/spec/fixtures/structure.sql +0 -146
  100. data/spec/spec_helper.rb +0 -54
  101. data/spec/sphinx_helper.rb +0 -67
  102. data/spec/thinking_sphinx/adapters/abstract_adapter_spec.rb +0 -163
  103. data/spec/thinking_sphinx/connection_spec.rb +0 -77
  104. data/spec/thinking_sphinx/rails_additions_spec.rb +0 -203
@@ -0,0 +1,46 @@
1
+ require 'yard'
2
+ require 'jeweler'
3
+
4
+ desc 'Generate documentation'
5
+ YARD::Rake::YardocTask.new
6
+
7
+ Jeweler::Tasks.new do |gem|
8
+ gem.name = "thinking-sphinx"
9
+ gem.summary = "ActiveRecord/Rails Sphinx library"
10
+ gem.description = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching."
11
+ gem.author = "Pat Allan"
12
+ gem.email = "pat@freelancing-gods.com"
13
+ gem.homepage = "http://ts.freelancing-gods.com"
14
+
15
+ # s.rubyforge_project = "thinking-sphinx"
16
+ gem.files = FileList[
17
+ "rails/*.rb",
18
+ "lib/**/*.rb",
19
+ "LICENCE",
20
+ "README.textile",
21
+ "tasks/**/*.rb",
22
+ "VERSION"
23
+ ]
24
+ gem.test_files = FileList[
25
+ "features/**/*.rb",
26
+ "features/**/*.feature",
27
+ "features/**/*.example.yml",
28
+ "spec/**/*_spec.rb"
29
+ ]
30
+
31
+ gem.add_dependency 'activerecord', '>= 3.0.0.beta3'
32
+ gem.add_dependency 'riddle', '>= 1.0.10'
33
+
34
+ gem.add_development_dependency "yard", ">= 0"
35
+ gem.add_development_dependency "rspec", ">= 1.2.9"
36
+ gem.add_development_dependency "cucumber", ">= 0"
37
+ gem.add_development_dependency "will_paginate", "3.0.pre"
38
+ gem.add_development_dependency "ginger", "1.2.0"
39
+ gem.add_development_dependency "faker", "0.3.1"
40
+
41
+ gem.post_install_message = <<-MESSAGE
42
+ If you're upgrading, you should read this:
43
+ http://freelancing-god.github.com/ts/en/upgrading.html
44
+
45
+ MESSAGE
46
+ end
data/tasks/testing.rb ADDED
@@ -0,0 +1,74 @@
1
+ require 'rubygems'
2
+ require 'rspec/core/rake_task'
3
+ require 'cucumber/rake/task'
4
+
5
+ desc "Run the specs under spec"
6
+ RSpec::Core::RakeTask.new do |t|
7
+ t.pattern = 'spec/**/*_spec.rb'
8
+ end
9
+ task :spec => :check_dependencies
10
+
11
+ desc "Run all feature-set configurations"
12
+ task :features do |t|
13
+ databases = ENV['DATABASES'] || 'mysql,postgresql'
14
+ databases.split(',').each do |database|
15
+ puts "rake features:#{database}"
16
+ system "rake features:#{database}"
17
+ end
18
+ end
19
+
20
+ namespace :features do
21
+ def add_task(name, description)
22
+ Cucumber::Rake::Task.new(name, description) do |t|
23
+ t.cucumber_opts = "--format pretty features/*.feature DATABASE=#{name} --exclude features/thinking_sphinx"
24
+ end
25
+ end
26
+
27
+ add_task :mysql, "Run feature-set against MySQL"
28
+ add_task :postgresql, "Run feature-set against PostgreSQL"
29
+
30
+ task :mysql => :check_dependencies
31
+ task :postgresql => :check_dependencies
32
+ end
33
+
34
+ desc "Generate RCov reports"
35
+ RSpec::Core::RakeTask.new(:rcov) do |t|
36
+ t.pattern = 'spec/**/*_spec.rb'
37
+ t.rcov = true
38
+ t.rcov_opts = [
39
+ '--exclude', 'spec',
40
+ '--exclude', 'gems',
41
+ '--exclude', 'riddle',
42
+ '--exclude', 'ruby'
43
+ ]
44
+ end
45
+
46
+ namespace :rcov do
47
+ def add_task(name, description)
48
+ Cucumber::Rake::Task.new(name, description) do |t|
49
+ t.cucumber_opts = "--format pretty"
50
+ t.profile = name
51
+ t.rcov = true
52
+ t.rcov_opts = [
53
+ '--exclude', 'spec',
54
+ '--exclude', 'gems',
55
+ '--exclude', 'riddle',
56
+ '--exclude', 'features'
57
+ ]
58
+ end
59
+ end
60
+
61
+ add_task :mysql, "Run feature-set against MySQL with rcov"
62
+ add_task :postgresql, "Run feature-set against PostgreSQL with rcov"
63
+ end
64
+
65
+ desc "Build cucumber.yml file"
66
+ task :cucumber_defaults do
67
+ steps = FileList["features/step_definitions/**.rb"].collect { |path|
68
+ "--require #{path}"
69
+ }.join(" ")
70
+
71
+ File.open('cucumber.yml', 'w') { |f|
72
+ f.write "default: \"--require features/support/env.rb #{steps}\"\n"
73
+ }
74
+ end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thinking-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease:
4
+ hash: 977940590
5
+ prerelease: true
6
6
  segments:
7
- - 1
8
- - 5
7
+ - 2
9
8
  - 0
10
- version: 1.5.0
9
+ - 0
10
+ - rc1
11
+ version: 2.0.0.rc1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Pat Allan
@@ -15,204 +16,154 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2013-05-07 00:00:00 -07:00
19
+ date: 2010-07-02 00:00:00 +10:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
23
+ name: activerecord
24
+ prerelease: false
22
25
  requirement: &id001 !ruby/object:Gem::Requirement
23
26
  none: false
24
27
  requirements:
25
- - - ~>
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
- hash: 1
30
+ hash: -1848230021
28
31
  segments:
29
- - 2
30
- - 1
31
- version: "2.1"
32
- version_requirements: *id001
33
- name: activerecord
34
- prerelease: false
32
+ - 3
33
+ - 0
34
+ - 0
35
+ - beta3
36
+ version: 3.0.0.beta3
35
37
  type: :runtime
38
+ version_requirements: *id001
36
39
  - !ruby/object:Gem::Dependency
40
+ name: riddle
41
+ prerelease: false
37
42
  requirement: &id002 !ruby/object:Gem::Requirement
38
43
  none: false
39
44
  requirements:
40
45
  - - ">="
41
46
  - !ruby/object:Gem::Version
42
- hash: 25
47
+ hash: 3
43
48
  segments:
44
49
  - 1
45
50
  - 0
46
- - 7
47
- version: 1.0.7
48
- version_requirements: *id002
49
- name: after_commit
50
- prerelease: false
51
+ - 10
52
+ version: 1.0.10
51
53
  type: :runtime
54
+ version_requirements: *id002
52
55
  - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ prerelease: false
53
58
  requirement: &id003 !ruby/object:Gem::Requirement
54
59
  none: false
55
60
  requirements:
56
61
  - - ">="
57
62
  - !ruby/object:Gem::Version
58
- hash: 15
63
+ hash: 3
59
64
  segments:
60
- - 1
61
- - 5
62
- - 6
63
- version: 1.5.6
65
+ - 0
66
+ version: "0"
67
+ type: :development
64
68
  version_requirements: *id003
65
- name: riddle
66
- prerelease: false
67
- type: :runtime
68
69
  - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ prerelease: false
69
72
  requirement: &id004 !ruby/object:Gem::Requirement
70
73
  none: false
71
74
  requirements:
72
- - - ~>
75
+ - - ">="
73
76
  - !ruby/object:Gem::Version
74
- hash: 19
77
+ hash: 13
75
78
  segments:
76
79
  - 1
77
- - 0
78
80
  - 2
79
- version: 1.0.2
81
+ - 9
82
+ version: 1.2.9
83
+ type: :development
80
84
  version_requirements: *id004
81
- name: innertube
82
- prerelease: false
83
- type: :runtime
84
85
  - !ruby/object:Gem::Dependency
86
+ name: cucumber
87
+ prerelease: false
85
88
  requirement: &id005 !ruby/object:Gem::Requirement
86
89
  none: false
87
90
  requirements:
88
- - - "="
91
+ - - ">="
89
92
  - !ruby/object:Gem::Version
90
- hash: 15
93
+ hash: 3
91
94
  segments:
92
95
  - 0
93
- - 4
94
- - 0
95
- version: 0.4.0
96
- version_requirements: *id005
97
- name: appraisal
98
- prerelease: false
96
+ version: "0"
99
97
  type: :development
98
+ version_requirements: *id005
100
99
  - !ruby/object:Gem::Dependency
100
+ name: will_paginate
101
+ prerelease: false
101
102
  requirement: &id006 !ruby/object:Gem::Requirement
102
103
  none: false
103
104
  requirements:
104
105
  - - "="
105
106
  - !ruby/object:Gem::Version
106
- hash: 19
107
+ hash: 961915916
107
108
  segments:
108
- - 1
109
+ - 3
109
110
  - 0
110
- - 2
111
- version: 1.0.2
112
- version_requirements: *id006
113
- name: cucumber
114
- prerelease: false
111
+ - pre
112
+ version: 3.0.pre
115
113
  type: :development
114
+ version_requirements: *id006
116
115
  - !ruby/object:Gem::Dependency
116
+ name: ginger
117
+ prerelease: false
117
118
  requirement: &id007 !ruby/object:Gem::Requirement
118
119
  none: false
119
120
  requirements:
120
121
  - - "="
121
122
  - !ruby/object:Gem::Version
122
- hash: 17
123
+ hash: 31
123
124
  segments:
124
- - 0
125
- - 3
126
125
  - 1
127
- version: 0.3.1
126
+ - 2
127
+ - 0
128
+ version: 1.2.0
129
+ type: :development
128
130
  version_requirements: *id007
131
+ - !ruby/object:Gem::Dependency
129
132
  name: faker
130
133
  prerelease: false
131
- type: :development
132
- - !ruby/object:Gem::Dependency
133
134
  requirement: &id008 !ruby/object:Gem::Requirement
134
- none: false
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- hash: 63
139
- segments:
140
- - 0
141
- - 9
142
- - 2
143
- version: 0.9.2
144
- version_requirements: *id008
145
- name: rake
146
- prerelease: false
147
- type: :development
148
- - !ruby/object:Gem::Dependency
149
- requirement: &id009 !ruby/object:Gem::Requirement
150
135
  none: false
151
136
  requirements:
152
137
  - - "="
153
138
  - !ruby/object:Gem::Version
154
- hash: 23
139
+ hash: 17
155
140
  segments:
156
- - 2
157
- - 6
158
141
  - 0
159
- version: 2.6.0
160
- version_requirements: *id009
161
- name: rspec
162
- prerelease: false
163
- type: :development
164
- - !ruby/object:Gem::Dependency
165
- requirement: &id010 !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
168
- - - "="
169
- - !ruby/object:Gem::Version
170
- hash: 29
171
- segments:
172
- - 2
173
142
  - 3
174
- - 15
175
- version: 2.3.15
176
- version_requirements: *id010
177
- name: will_paginate
178
- prerelease: false
179
- type: :development
180
- - !ruby/object:Gem::Dependency
181
- requirement: &id011 !ruby/object:Gem::Requirement
182
- none: false
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- hash: 7
187
- segments:
188
- - 0
189
- - 7
190
- - 2
191
- version: 0.7.2
192
- version_requirements: *id011
193
- name: yard
194
- prerelease: false
143
+ - 1
144
+ version: 0.3.1
195
145
  type: :development
146
+ version_requirements: *id008
196
147
  description: A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.
197
- email:
198
- - pat@freelancing-gods.com
148
+ email: pat@freelancing-gods.com
199
149
  executables: []
200
150
 
201
151
  extensions: []
202
152
 
203
- extra_rdoc_files: []
204
-
153
+ extra_rdoc_files:
154
+ - README.textile
205
155
  files:
156
+ - LICENCE
157
+ - README.textile
158
+ - VERSION
206
159
  - lib/cucumber/thinking_sphinx/external_world.rb
207
160
  - lib/cucumber/thinking_sphinx/internal_world.rb
208
161
  - lib/cucumber/thinking_sphinx/sql_logger.rb
209
- - lib/thinking-sphinx.rb
210
162
  - lib/thinking_sphinx.rb
211
163
  - lib/thinking_sphinx/active_record.rb
212
164
  - lib/thinking_sphinx/active_record/attribute_updates.rb
213
165
  - lib/thinking_sphinx/active_record/delta.rb
214
166
  - lib/thinking_sphinx/active_record/has_many_association.rb
215
- - lib/thinking_sphinx/active_record/has_many_association_with_scopes.rb
216
167
  - lib/thinking_sphinx/active_record/scopes.rb
217
168
  - lib/thinking_sphinx/adapters/abstract_adapter.rb
218
169
  - lib/thinking_sphinx/adapters/mysql_adapter.rb
@@ -220,16 +171,13 @@ files:
220
171
  - lib/thinking_sphinx/association.rb
221
172
  - lib/thinking_sphinx/attribute.rb
222
173
  - lib/thinking_sphinx/auto_version.rb
223
- - lib/thinking_sphinx/bundled_search.rb
224
174
  - lib/thinking_sphinx/class_facet.rb
225
175
  - lib/thinking_sphinx/configuration.rb
226
- - lib/thinking_sphinx/connection.rb
227
176
  - lib/thinking_sphinx/context.rb
177
+ - lib/thinking_sphinx/core/array.rb
228
178
  - lib/thinking_sphinx/core/string.rb
229
179
  - lib/thinking_sphinx/deltas.rb
230
180
  - lib/thinking_sphinx/deltas/default_delta.rb
231
- - lib/thinking_sphinx/deltas/delete_job.rb
232
- - lib/thinking_sphinx/deltas/index_job.rb
233
181
  - lib/thinking_sphinx/deploy/capistrano.rb
234
182
  - lib/thinking_sphinx/excerpter.rb
235
183
  - lib/thinking_sphinx/facet.rb
@@ -240,7 +188,7 @@ files:
240
188
  - lib/thinking_sphinx/index/faux_column.rb
241
189
  - lib/thinking_sphinx/join.rb
242
190
  - lib/thinking_sphinx/property.rb
243
- - lib/thinking_sphinx/rails_additions.rb
191
+ - lib/thinking_sphinx/railtie.rb
244
192
  - lib/thinking_sphinx/search.rb
245
193
  - lib/thinking_sphinx/search_methods.rb
246
194
  - lib/thinking_sphinx/source.rb
@@ -248,27 +196,8 @@ files:
248
196
  - lib/thinking_sphinx/source/sql.rb
249
197
  - lib/thinking_sphinx/tasks.rb
250
198
  - lib/thinking_sphinx/test.rb
251
- - LICENCE
252
- - README.textile
253
- - features/abstract_inheritance.feature
254
- - features/alternate_primary_key.feature
255
- - features/attribute_transformation.feature
256
- - features/attribute_updates.feature
257
- - features/deleting_instances.feature
258
- - features/direct_attributes.feature
259
- - features/excerpts.feature
260
- - features/extensible_delta_indexing.feature
261
- - features/facets.feature
262
- - features/facets_across_model.feature
263
- - features/field_sorting.feature
264
- - features/handling_edits.feature
265
- - features/retry_stale_indexes.feature
266
- - features/searching_across_models.feature
267
- - features/searching_by_index.feature
268
- - features/searching_by_model.feature
269
- - features/searching_with_find_arguments.feature
270
- - features/sphinx_detection.feature
271
- - features/sphinx_scopes.feature
199
+ - tasks/distribution.rb
200
+ - tasks/testing.rb
272
201
  - features/step_definitions/alpha_steps.rb
273
202
  - features/step_definitions/beta_steps.rb
274
203
  - features/step_definitions/common_steps.rb
@@ -279,11 +208,8 @@ files:
279
208
  - features/step_definitions/scope_steps.rb
280
209
  - features/step_definitions/search_steps.rb
281
210
  - features/step_definitions/sphinx_steps.rb
282
- - features/sti_searching.feature
283
211
  - features/support/env.rb
284
212
  - features/support/lib/generic_delta_handler.rb
285
- - features/thinking_sphinx/database.example.yml
286
- - features/thinking_sphinx/db/.gitignore
287
213
  - features/thinking_sphinx/db/fixtures/alphas.rb
288
214
  - features/thinking_sphinx/db/fixtures/authors.rb
289
215
  - features/thinking_sphinx/db/fixtures/betas.rb
@@ -298,7 +224,6 @@ files:
298
224
  - features/thinking_sphinx/db/fixtures/gammas.rb
299
225
  - features/thinking_sphinx/db/fixtures/music.rb
300
226
  - features/thinking_sphinx/db/fixtures/people.rb
301
- - features/thinking_sphinx/db/fixtures/post_keywords.txt
302
227
  - features/thinking_sphinx/db/fixtures/posts.rb
303
228
  - features/thinking_sphinx/db/fixtures/robots.rb
304
229
  - features/thinking_sphinx/db/fixtures/tags.rb
@@ -321,7 +246,6 @@ files:
321
246
  - features/thinking_sphinx/db/migrations/create_taggings.rb
322
247
  - features/thinking_sphinx/db/migrations/create_tags.rb
323
248
  - features/thinking_sphinx/models/alpha.rb
324
- - features/thinking_sphinx/models/andrew.rb
325
249
  - features/thinking_sphinx/models/animal.rb
326
250
  - features/thinking_sphinx/models/author.rb
327
251
  - features/thinking_sphinx/models/beta.rb
@@ -342,22 +266,34 @@ files:
342
266
  - features/thinking_sphinx/models/robot.rb
343
267
  - features/thinking_sphinx/models/tag.rb
344
268
  - features/thinking_sphinx/models/tagging.rb
345
- - spec/fixtures/data.sql
346
- - spec/fixtures/database.yml.default
347
- - spec/fixtures/models.rb
348
- - spec/fixtures/structure.sql
349
- - spec/spec_helper.rb
350
- - spec/sphinx_helper.rb
269
+ - features/abstract_inheritance.feature
270
+ - features/alternate_primary_key.feature
271
+ - features/attribute_transformation.feature
272
+ - features/attribute_updates.feature
273
+ - features/deleting_instances.feature
274
+ - features/direct_attributes.feature
275
+ - features/excerpts.feature
276
+ - features/extensible_delta_indexing.feature
277
+ - features/facets.feature
278
+ - features/facets_across_model.feature
279
+ - features/handling_edits.feature
280
+ - features/retry_stale_indexes.feature
281
+ - features/searching_across_models.feature
282
+ - features/searching_by_index.feature
283
+ - features/searching_by_model.feature
284
+ - features/searching_with_find_arguments.feature
285
+ - features/sphinx_detection.feature
286
+ - features/sphinx_scopes.feature
287
+ - features/sti_searching.feature
288
+ - features/thinking_sphinx/database.example.yml
351
289
  - spec/thinking_sphinx/active_record/delta_spec.rb
352
290
  - spec/thinking_sphinx/active_record/has_many_association_spec.rb
353
291
  - spec/thinking_sphinx/active_record/scopes_spec.rb
354
292
  - spec/thinking_sphinx/active_record_spec.rb
355
- - spec/thinking_sphinx/adapters/abstract_adapter_spec.rb
356
293
  - spec/thinking_sphinx/association_spec.rb
357
294
  - spec/thinking_sphinx/attribute_spec.rb
358
295
  - spec/thinking_sphinx/auto_version_spec.rb
359
296
  - spec/thinking_sphinx/configuration_spec.rb
360
- - spec/thinking_sphinx/connection_spec.rb
361
297
  - spec/thinking_sphinx/context_spec.rb
362
298
  - spec/thinking_sphinx/core/array_spec.rb
363
299
  - spec/thinking_sphinx/core/string_spec.rb
@@ -368,22 +304,21 @@ files:
368
304
  - spec/thinking_sphinx/index/builder_spec.rb
369
305
  - spec/thinking_sphinx/index/faux_column_spec.rb
370
306
  - spec/thinking_sphinx/index_spec.rb
371
- - spec/thinking_sphinx/rails_additions_spec.rb
372
307
  - spec/thinking_sphinx/search_methods_spec.rb
373
308
  - spec/thinking_sphinx/search_spec.rb
374
309
  - spec/thinking_sphinx/source_spec.rb
375
310
  - spec/thinking_sphinx/test_spec.rb
376
311
  - spec/thinking_sphinx_spec.rb
377
312
  has_rdoc: true
378
- homepage: http://pat.github.io/thinking-sphinx/
313
+ homepage: http://ts.freelancing-gods.com
379
314
  licenses: []
380
315
 
381
316
  post_install_message: |+
382
317
  If you're upgrading, you should read this:
383
- http://pat.github.io/thinking-sphinx/upgrading.html
318
+ http://freelancing-god.github.com/ts/en/upgrading.html
384
319
 
385
- rdoc_options: []
386
-
320
+ rdoc_options:
321
+ - --charset=UTF-8
387
322
  require_paths:
388
323
  - lib
389
324
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -398,39 +333,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
398
333
  required_rubygems_version: !ruby/object:Gem::Requirement
399
334
  none: false
400
335
  requirements:
401
- - - ">="
336
+ - - ">"
402
337
  - !ruby/object:Gem::Version
403
- hash: 3
338
+ hash: 25
404
339
  segments:
405
- - 0
406
- version: "0"
340
+ - 1
341
+ - 3
342
+ - 1
343
+ version: 1.3.1
407
344
  requirements: []
408
345
 
409
- rubyforge_project: thinking-sphinx
410
- rubygems_version: 1.6.2
346
+ rubyforge_project:
347
+ rubygems_version: 1.3.7
411
348
  signing_key:
412
349
  specification_version: 3
413
350
  summary: ActiveRecord/Rails Sphinx library
414
351
  test_files:
415
- - features/abstract_inheritance.feature
416
- - features/alternate_primary_key.feature
417
- - features/attribute_transformation.feature
418
- - features/attribute_updates.feature
419
- - features/deleting_instances.feature
420
- - features/direct_attributes.feature
421
- - features/excerpts.feature
422
- - features/extensible_delta_indexing.feature
423
- - features/facets.feature
424
- - features/facets_across_model.feature
425
- - features/field_sorting.feature
426
- - features/handling_edits.feature
427
- - features/retry_stale_indexes.feature
428
- - features/searching_across_models.feature
429
- - features/searching_by_index.feature
430
- - features/searching_by_model.feature
431
- - features/searching_with_find_arguments.feature
432
- - features/sphinx_detection.feature
433
- - features/sphinx_scopes.feature
434
352
  - features/step_definitions/alpha_steps.rb
435
353
  - features/step_definitions/beta_steps.rb
436
354
  - features/step_definitions/common_steps.rb
@@ -441,11 +359,8 @@ test_files:
441
359
  - features/step_definitions/scope_steps.rb
442
360
  - features/step_definitions/search_steps.rb
443
361
  - features/step_definitions/sphinx_steps.rb
444
- - features/sti_searching.feature
445
362
  - features/support/env.rb
446
363
  - features/support/lib/generic_delta_handler.rb
447
- - features/thinking_sphinx/database.example.yml
448
- - features/thinking_sphinx/db/.gitignore
449
364
  - features/thinking_sphinx/db/fixtures/alphas.rb
450
365
  - features/thinking_sphinx/db/fixtures/authors.rb
451
366
  - features/thinking_sphinx/db/fixtures/betas.rb
@@ -460,7 +375,6 @@ test_files:
460
375
  - features/thinking_sphinx/db/fixtures/gammas.rb
461
376
  - features/thinking_sphinx/db/fixtures/music.rb
462
377
  - features/thinking_sphinx/db/fixtures/people.rb
463
- - features/thinking_sphinx/db/fixtures/post_keywords.txt
464
378
  - features/thinking_sphinx/db/fixtures/posts.rb
465
379
  - features/thinking_sphinx/db/fixtures/robots.rb
466
380
  - features/thinking_sphinx/db/fixtures/tags.rb
@@ -483,7 +397,6 @@ test_files:
483
397
  - features/thinking_sphinx/db/migrations/create_taggings.rb
484
398
  - features/thinking_sphinx/db/migrations/create_tags.rb
485
399
  - features/thinking_sphinx/models/alpha.rb
486
- - features/thinking_sphinx/models/andrew.rb
487
400
  - features/thinking_sphinx/models/animal.rb
488
401
  - features/thinking_sphinx/models/author.rb
489
402
  - features/thinking_sphinx/models/beta.rb
@@ -504,22 +417,34 @@ test_files:
504
417
  - features/thinking_sphinx/models/robot.rb
505
418
  - features/thinking_sphinx/models/tag.rb
506
419
  - features/thinking_sphinx/models/tagging.rb
507
- - spec/fixtures/data.sql
508
- - spec/fixtures/database.yml.default
509
- - spec/fixtures/models.rb
510
- - spec/fixtures/structure.sql
511
- - spec/spec_helper.rb
512
- - spec/sphinx_helper.rb
420
+ - features/abstract_inheritance.feature
421
+ - features/alternate_primary_key.feature
422
+ - features/attribute_transformation.feature
423
+ - features/attribute_updates.feature
424
+ - features/deleting_instances.feature
425
+ - features/direct_attributes.feature
426
+ - features/excerpts.feature
427
+ - features/extensible_delta_indexing.feature
428
+ - features/facets.feature
429
+ - features/facets_across_model.feature
430
+ - features/handling_edits.feature
431
+ - features/retry_stale_indexes.feature
432
+ - features/searching_across_models.feature
433
+ - features/searching_by_index.feature
434
+ - features/searching_by_model.feature
435
+ - features/searching_with_find_arguments.feature
436
+ - features/sphinx_detection.feature
437
+ - features/sphinx_scopes.feature
438
+ - features/sti_searching.feature
439
+ - features/thinking_sphinx/database.example.yml
513
440
  - spec/thinking_sphinx/active_record/delta_spec.rb
514
441
  - spec/thinking_sphinx/active_record/has_many_association_spec.rb
515
442
  - spec/thinking_sphinx/active_record/scopes_spec.rb
516
443
  - spec/thinking_sphinx/active_record_spec.rb
517
- - spec/thinking_sphinx/adapters/abstract_adapter_spec.rb
518
444
  - spec/thinking_sphinx/association_spec.rb
519
445
  - spec/thinking_sphinx/attribute_spec.rb
520
446
  - spec/thinking_sphinx/auto_version_spec.rb
521
447
  - spec/thinking_sphinx/configuration_spec.rb
522
- - spec/thinking_sphinx/connection_spec.rb
523
448
  - spec/thinking_sphinx/context_spec.rb
524
449
  - spec/thinking_sphinx/core/array_spec.rb
525
450
  - spec/thinking_sphinx/core/string_spec.rb
@@ -530,7 +455,6 @@ test_files:
530
455
  - spec/thinking_sphinx/index/builder_spec.rb
531
456
  - spec/thinking_sphinx/index/faux_column_spec.rb
532
457
  - spec/thinking_sphinx/index_spec.rb
533
- - spec/thinking_sphinx/rails_additions_spec.rb
534
458
  - spec/thinking_sphinx/search_methods_spec.rb
535
459
  - spec/thinking_sphinx/search_spec.rb
536
460
  - spec/thinking_sphinx/source_spec.rb