ebeigarts-thinking-sphinx 1.1.22 → 1.2.10

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 (61) hide show
  1. data/README.textile +14 -0
  2. data/VERSION.yml +4 -0
  3. data/lib/thinking_sphinx.rb +60 -64
  4. data/lib/thinking_sphinx/active_record.rb +35 -7
  5. data/lib/thinking_sphinx/active_record/scopes.rb +39 -0
  6. data/lib/thinking_sphinx/adapters/postgresql_adapter.rb +3 -2
  7. data/lib/thinking_sphinx/attribute.rb +62 -22
  8. data/lib/thinking_sphinx/configuration.rb +21 -1
  9. data/lib/thinking_sphinx/core/array.rb +7 -0
  10. data/lib/thinking_sphinx/deltas/delayed_delta.rb +3 -0
  11. data/lib/thinking_sphinx/deploy/capistrano.rb +26 -8
  12. data/lib/thinking_sphinx/excerpter.rb +22 -0
  13. data/lib/thinking_sphinx/facet.rb +8 -2
  14. data/lib/thinking_sphinx/facet_search.rb +134 -0
  15. data/lib/thinking_sphinx/index.rb +2 -2
  16. data/lib/thinking_sphinx/index/builder.rb +0 -1
  17. data/lib/thinking_sphinx/property.rb +2 -0
  18. data/lib/thinking_sphinx/rails_additions.rb +14 -0
  19. data/lib/thinking_sphinx/search.rb +633 -671
  20. data/lib/thinking_sphinx/search_methods.rb +421 -0
  21. data/lib/thinking_sphinx/source.rb +5 -5
  22. data/lib/thinking_sphinx/source/internal_properties.rb +1 -1
  23. data/lib/thinking_sphinx/source/sql.rb +10 -8
  24. data/lib/thinking_sphinx/tasks.rb +14 -9
  25. data/spec/{unit → lib}/thinking_sphinx/active_record/delta_spec.rb +1 -1
  26. data/spec/{unit → lib}/thinking_sphinx/active_record/has_many_association_spec.rb +0 -0
  27. data/spec/lib/thinking_sphinx/active_record/scopes_spec.rb +96 -0
  28. data/spec/{unit → lib}/thinking_sphinx/active_record_spec.rb +44 -5
  29. data/spec/{unit → lib}/thinking_sphinx/association_spec.rb +0 -0
  30. data/spec/{unit → lib}/thinking_sphinx/attribute_spec.rb +110 -3
  31. data/spec/{unit → lib}/thinking_sphinx/configuration_spec.rb +87 -41
  32. data/spec/lib/thinking_sphinx/core/array_spec.rb +9 -0
  33. data/spec/{unit → lib}/thinking_sphinx/core/string_spec.rb +0 -0
  34. data/spec/lib/thinking_sphinx/excerpter_spec.rb +49 -0
  35. data/spec/lib/thinking_sphinx/facet_search_spec.rb +176 -0
  36. data/spec/{unit → lib}/thinking_sphinx/facet_spec.rb +34 -15
  37. data/spec/{unit → lib}/thinking_sphinx/field_spec.rb +0 -0
  38. data/spec/{unit → lib}/thinking_sphinx/index/builder_spec.rb +100 -0
  39. data/spec/{unit → lib}/thinking_sphinx/index/faux_column_spec.rb +0 -0
  40. data/spec/{unit → lib}/thinking_sphinx/index_spec.rb +0 -0
  41. data/spec/{unit → lib}/thinking_sphinx/rails_additions_spec.rb +12 -0
  42. data/spec/lib/thinking_sphinx/search_methods_spec.rb +152 -0
  43. data/spec/lib/thinking_sphinx/search_spec.rb +1066 -0
  44. data/spec/{unit → lib}/thinking_sphinx/source_spec.rb +10 -0
  45. data/spec/{unit → lib}/thinking_sphinx_spec.rb +10 -0
  46. data/tasks/distribution.rb +20 -38
  47. data/tasks/testing.rb +3 -1
  48. data/vendor/riddle/lib/riddle.rb +1 -1
  49. data/vendor/riddle/lib/riddle/client.rb +3 -0
  50. data/vendor/riddle/lib/riddle/client/message.rb +4 -3
  51. data/vendor/riddle/lib/riddle/configuration/section.rb +1 -1
  52. data/vendor/riddle/lib/riddle/controller.rb +17 -7
  53. metadata +63 -83
  54. data/lib/thinking_sphinx/active_record/search.rb +0 -57
  55. data/lib/thinking_sphinx/collection.rb +0 -148
  56. data/lib/thinking_sphinx/facet_collection.rb +0 -59
  57. data/lib/thinking_sphinx/search/facets.rb +0 -104
  58. data/spec/unit/thinking_sphinx/active_record/search_spec.rb +0 -107
  59. data/spec/unit/thinking_sphinx/collection_spec.rb +0 -15
  60. data/spec/unit/thinking_sphinx/facet_collection_spec.rb +0 -64
  61. data/spec/unit/thinking_sphinx/search_spec.rb +0 -228
@@ -72,6 +72,16 @@ describe ThinkingSphinx::Source do
72
72
  @riddle.sql_sock.should == config[:socket]
73
73
  end
74
74
 
75
+ it "should use a default username of root if nothing else is provided" do
76
+ Person.connection.stub!(:instance_variable_get => {
77
+ :user => nil,
78
+ :username => nil
79
+ })
80
+
81
+ riddle = @source.to_riddle_for_core(1, 0)
82
+ riddle.sql_user.should == 'root'
83
+ end
84
+
75
85
  it "should assign attributes" do
76
86
  # 3 internal attributes plus the one requested
77
87
  @riddle.sql_attr_uint.length.should == 4
@@ -67,6 +67,16 @@ describe ThinkingSphinx do
67
67
  ThinkingSphinx.sphinx_running?.should be_true
68
68
  end
69
69
 
70
+ describe '.version' do
71
+ it "should return the version from the stored YAML file" do
72
+ version = Jeweler::VersionHelper.new(
73
+ File.join(File.dirname(__FILE__), '../..')
74
+ ).to_s
75
+
76
+ ThinkingSphinx.version.should == version
77
+ end
78
+ end
79
+
70
80
  describe "use_group_by_shortcut? method" do
71
81
  before :each do
72
82
  adapter = defined?(JRUBY_VERSION) ? :JdbcAdapter : :MysqlAdapter
@@ -1,41 +1,34 @@
1
- require 'rake/rdoctask'
2
- require 'rake/gempackagetask'
3
-
4
- $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
5
- require 'thinking_sphinx'
1
+ require 'yard'
2
+ require 'jeweler'
6
3
 
7
4
  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')
5
+ YARD::Rake::YardocTask.new do |t|
6
+ # t.title = 'Thinking Sphinx - ActiveRecord Sphinx Plugin'
14
7
  end
15
8
 
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[
9
+ Jeweler::Tasks.new do |gem|
10
+ gem.name = "thinking-sphinx"
11
+ gem.summary = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching."
12
+ gem.author = "Pat Allan"
13
+ gem.email = "pat@freelancing-gods.com"
14
+ gem.homepage = "http://ts.freelancing-gods.com"
15
+
16
+ # s.rubyforge_project = "thinking-sphinx"
17
+ gem.files = FileList[
30
18
  "rails/*.rb",
31
19
  "lib/**/*.rb",
32
20
  "LICENCE",
33
21
  "README.textile",
34
22
  "tasks/**/*.rb",
35
23
  "tasks/**/*.rake",
36
- "vendor/**/*"
24
+ "vendor/**/*",
25
+ "VERSION.yml"
37
26
  ]
38
- s.post_install_message = <<-MESSAGE
27
+ gem.test_files = FileList["spec/**/*_spec.rb"]
28
+
29
+ gem.add_dependency 'activerecord', '>= 1.15.6'
30
+
31
+ gem.post_install_message = <<-MESSAGE
39
32
  With the release of Thinking Sphinx 1.1.18, there is one important change to
40
33
  note: previously, the default morphology for indexing was 'stem_en'. The new
41
34
  default is nil, to avoid any unexpected behavior. If you wish to keep the old
@@ -54,14 +47,3 @@ http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-morphology
54
47
 
55
48
  MESSAGE
56
49
  end
57
-
58
- Rake::GemPackageTask.new(spec) do |p|
59
- p.gem_spec = spec
60
- p.need_tar = true
61
- p.need_zip = true
62
- end
63
-
64
- desc "Build gemspec file"
65
- task :build do
66
- File.open('thinking-sphinx.gemspec', 'w') { |f| f.write spec.to_ruby }
67
- end
@@ -84,10 +84,12 @@ task :cucumber_defaults do
84
84
  end
85
85
 
86
86
  namespace :thinking_sphinx do
87
- # "Append testing enviroment settings to app_env task for xmlpipe support"
87
+ # Initialize test enviroment for ts:xml rake task
88
88
  task :app_env do
89
89
  # Establish DB connection
90
90
  if ENV['DATABASE']
91
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '../lib')
92
+ require "thinking_sphinx"
91
93
  database = ENV['DATABASE'].to_s.sub(/jdbc|_enhanced/, '')
92
94
  require "features/support/db/#{database}"
93
95
  require "features/support/db/active_record"
@@ -18,7 +18,7 @@ module Riddle #:nodoc:
18
18
  Rev = 1533
19
19
  # Release number to mark my own fixes, beyond feature parity with
20
20
  # Sphinx itself.
21
- Release = 5
21
+ Release = 7
22
22
 
23
23
  String = [Major, Minor, Tiny].join('.')
24
24
  GemVersion = [Major, Minor, Tiny, Rev, Release].join('.')
@@ -437,6 +437,9 @@ module Riddle
437
437
  version = 0
438
438
  length = 0
439
439
  message = Array(messages).join("")
440
+ if message.respond_to?(:force_encoding)
441
+ message = message.force_encoding('ASCII-8BIT')
442
+ end
440
443
 
441
444
  connect do |socket|
442
445
  case command
@@ -10,14 +10,15 @@ module Riddle
10
10
 
11
11
  # Append raw data (only use if you know what you're doing)
12
12
  def append(*args)
13
- return if args.length == 0
14
-
15
13
  args.each { |arg| @message << arg }
16
14
  end
17
15
 
18
16
  # Append a string's length, then the string itself
19
17
  def append_string(str)
20
- @message << [str.send(@size_method)].pack('N') + str
18
+ string = str.respond_to?(:force_encoding) ?
19
+ str.dup.force_encoding('ASCII-8BIT') : str
20
+
21
+ @message << [string.send(@size_method)].pack('N') + string
21
22
  end
22
23
 
23
24
  # Append an integer
@@ -21,7 +21,7 @@ module Riddle
21
21
  conf = " #{setting} = "
22
22
  else
23
23
  conf = setting_to_array(setting).collect { |set|
24
- " #{setting} = #{set}"
24
+ " #{setting} = #{set}"
25
25
  }
26
26
  end
27
27
  conf.length == 0 ? nil : conf
@@ -4,18 +4,23 @@ module Riddle
4
4
  @configuration = configuration
5
5
  @path = path
6
6
  end
7
-
7
+
8
8
  def index
9
9
  cmd = "indexer --config #{@path} --all"
10
10
  cmd << " --rotate" if running?
11
11
  `#{cmd}`
12
12
  end
13
-
13
+
14
14
  def start
15
15
  return if running?
16
16
 
17
17
  cmd = "searchd --pidfile --config #{@path}"
18
- `#{cmd}`
18
+
19
+ if RUBY_PLATFORM =~ /mswin/
20
+ system("start /B #{cmd} 1> NUL 2>&1")
21
+ else
22
+ `#{cmd}`
23
+ end
19
24
 
20
25
  sleep(1)
21
26
 
@@ -26,19 +31,24 @@ module Riddle
26
31
 
27
32
  def stop
28
33
  return unless running?
29
- `kill #{pid}`
34
+ Process.kill('SIGTERM', pid.to_i)
35
+ rescue Errno::EINVAL
36
+ Process.kill('SIGKILL', pid.to_i)
30
37
  end
31
38
 
32
39
  def pid
33
- if File.exists?("#{@configuration.searchd.pid_file}")
34
- `cat #{@configuration.searchd.pid_file}`[/\d+/]
40
+ if File.exists?(@configuration.searchd.pid_file)
41
+ File.read(@configuration.searchd.pid_file)[/\d+/]
35
42
  else
36
43
  nil
37
44
  end
38
45
  end
39
46
 
40
47
  def running?
41
- pid && `ps #{pid} | wc -l`.to_i > 1
48
+ !!pid && !!Process.kill(0, pid.to_i)
49
+ rescue
50
+ false
42
51
  end
52
+
43
53
  end
44
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ebeigarts-thinking-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.22
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
@@ -9,92 +9,93 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-22 00:00:00 -07:00
12
+ date: 2009-09-12 00:00:00 -07:00
13
13
  default_executable:
14
- dependencies: []
15
-
16
- description: A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activerecord
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.15.6
24
+ version:
25
+ description:
17
26
  email: pat@freelancing-gods.com
18
27
  executables: []
19
28
 
20
29
  extensions: []
21
30
 
22
- extra_rdoc_files: []
23
-
31
+ extra_rdoc_files:
32
+ - README.textile
24
33
  files:
25
- - rails/init.rb
34
+ - LICENCE
35
+ - README.textile
36
+ - VERSION.yml
37
+ - lib/thinking_sphinx.rb
38
+ - lib/thinking_sphinx/active_record.rb
26
39
  - lib/thinking_sphinx/active_record/attribute_updates.rb
27
40
  - lib/thinking_sphinx/active_record/delta.rb
28
41
  - lib/thinking_sphinx/active_record/has_many_association.rb
29
- - lib/thinking_sphinx/active_record/search.rb
30
- - lib/thinking_sphinx/active_record.rb
42
+ - lib/thinking_sphinx/active_record/scopes.rb
31
43
  - lib/thinking_sphinx/adapters/abstract_adapter.rb
32
44
  - lib/thinking_sphinx/adapters/mysql_adapter.rb
33
- - lib/thinking_sphinx/adapters/sqlite3_adapter.rb
34
45
  - lib/thinking_sphinx/adapters/oracle_adapter.rb
35
46
  - lib/thinking_sphinx/adapters/postgresql_adapter.rb
47
+ - lib/thinking_sphinx/adapters/sqlite3_adapter.rb
36
48
  - lib/thinking_sphinx/association.rb
37
49
  - lib/thinking_sphinx/attribute.rb
38
50
  - lib/thinking_sphinx/class_facet.rb
39
- - lib/thinking_sphinx/collection.rb
40
51
  - lib/thinking_sphinx/configuration.rb
52
+ - lib/thinking_sphinx/core/array.rb
41
53
  - lib/thinking_sphinx/core/string.rb
54
+ - lib/thinking_sphinx/deltas.rb
42
55
  - lib/thinking_sphinx/deltas/datetime_delta.rb
43
56
  - lib/thinking_sphinx/deltas/default_delta.rb
57
+ - lib/thinking_sphinx/deltas/delayed_delta.rb
44
58
  - lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb
45
59
  - lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb
46
60
  - lib/thinking_sphinx/deltas/delayed_delta/job.rb
47
- - lib/thinking_sphinx/deltas/delayed_delta.rb
48
- - lib/thinking_sphinx/deltas.rb
49
61
  - lib/thinking_sphinx/deploy/capistrano.rb
62
+ - lib/thinking_sphinx/excerpter.rb
50
63
  - lib/thinking_sphinx/facet.rb
51
- - lib/thinking_sphinx/facet_collection.rb
64
+ - lib/thinking_sphinx/facet_search.rb
52
65
  - lib/thinking_sphinx/field.rb
66
+ - lib/thinking_sphinx/index.rb
53
67
  - lib/thinking_sphinx/index/builder.rb
54
68
  - lib/thinking_sphinx/index/faux_column.rb
55
- - lib/thinking_sphinx/index.rb
56
69
  - lib/thinking_sphinx/property.rb
57
70
  - lib/thinking_sphinx/rails_additions.rb
58
- - lib/thinking_sphinx/search/facets.rb
59
71
  - lib/thinking_sphinx/search.rb
72
+ - lib/thinking_sphinx/search_methods.rb
73
+ - lib/thinking_sphinx/source.rb
60
74
  - lib/thinking_sphinx/source/internal_properties.rb
61
75
  - lib/thinking_sphinx/source/sql.rb
62
- - lib/thinking_sphinx/source.rb
63
76
  - lib/thinking_sphinx/tasks.rb
64
- - lib/thinking_sphinx.rb
65
- - LICENCE
66
- - README.textile
77
+ - rails/init.rb
67
78
  - tasks/distribution.rb
68
- - tasks/testing.rb
69
79
  - tasks/rails.rake
70
- - vendor/after_commit
80
+ - tasks/testing.rb
81
+ - vendor/after_commit/LICENSE
82
+ - vendor/after_commit/README
83
+ - vendor/after_commit/Rakefile
71
84
  - vendor/after_commit/init.rb
72
- - vendor/after_commit/lib
73
- - vendor/after_commit/lib/after_commit
85
+ - vendor/after_commit/lib/after_commit.rb
74
86
  - vendor/after_commit/lib/after_commit/active_record.rb
75
87
  - vendor/after_commit/lib/after_commit/connection_adapters.rb
76
- - vendor/after_commit/lib/after_commit.rb
77
- - vendor/after_commit/LICENSE
78
- - vendor/after_commit/Rakefile
79
- - vendor/after_commit/README
80
- - vendor/after_commit/test
81
88
  - vendor/after_commit/test/after_commit_test.rb
82
- - vendor/delayed_job
83
- - vendor/delayed_job/lib
84
- - vendor/delayed_job/lib/delayed
85
89
  - vendor/delayed_job/lib/delayed/job.rb
86
90
  - vendor/delayed_job/lib/delayed/message_sending.rb
87
91
  - vendor/delayed_job/lib/delayed/performable_method.rb
88
92
  - vendor/delayed_job/lib/delayed/worker.rb
89
- - vendor/riddle
90
- - vendor/riddle/lib
91
- - vendor/riddle/lib/riddle
92
- - vendor/riddle/lib/riddle/client
93
+ - vendor/riddle/lib/riddle.rb
94
+ - vendor/riddle/lib/riddle/client.rb
93
95
  - vendor/riddle/lib/riddle/client/filter.rb
94
96
  - vendor/riddle/lib/riddle/client/message.rb
95
97
  - vendor/riddle/lib/riddle/client/response.rb
96
- - vendor/riddle/lib/riddle/client.rb
97
- - vendor/riddle/lib/riddle/configuration
98
+ - vendor/riddle/lib/riddle/configuration.rb
98
99
  - vendor/riddle/lib/riddle/configuration/distributed_index.rb
99
100
  - vendor/riddle/lib/riddle/configuration/index.rb
100
101
  - vendor/riddle/lib/riddle/configuration/indexer.rb
@@ -104,28 +105,7 @@ files:
104
105
  - vendor/riddle/lib/riddle/configuration/source.rb
105
106
  - vendor/riddle/lib/riddle/configuration/sql_source.rb
106
107
  - vendor/riddle/lib/riddle/configuration/xml_source.rb
107
- - vendor/riddle/lib/riddle/configuration.rb
108
108
  - vendor/riddle/lib/riddle/controller.rb
109
- - vendor/riddle/lib/riddle.rb
110
- - spec/unit/thinking_sphinx/active_record/delta_spec.rb
111
- - spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb
112
- - spec/unit/thinking_sphinx/active_record/search_spec.rb
113
- - spec/unit/thinking_sphinx/active_record_spec.rb
114
- - spec/unit/thinking_sphinx/association_spec.rb
115
- - spec/unit/thinking_sphinx/attribute_spec.rb
116
- - spec/unit/thinking_sphinx/collection_spec.rb
117
- - spec/unit/thinking_sphinx/configuration_spec.rb
118
- - spec/unit/thinking_sphinx/core/string_spec.rb
119
- - spec/unit/thinking_sphinx/facet_collection_spec.rb
120
- - spec/unit/thinking_sphinx/facet_spec.rb
121
- - spec/unit/thinking_sphinx/field_spec.rb
122
- - spec/unit/thinking_sphinx/index/builder_spec.rb
123
- - spec/unit/thinking_sphinx/index/faux_column_spec.rb
124
- - spec/unit/thinking_sphinx/index_spec.rb
125
- - spec/unit/thinking_sphinx/rails_additions_spec.rb
126
- - spec/unit/thinking_sphinx/search_spec.rb
127
- - spec/unit/thinking_sphinx/source_spec.rb
128
- - spec/unit/thinking_sphinx_spec.rb
129
109
  has_rdoc: true
130
110
  homepage: http://ts.freelancing-gods.com
131
111
  licenses:
@@ -147,9 +127,7 @@ post_install_message: |+
147
127
  http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-morphology
148
128
 
149
129
  rdoc_options:
150
- - --title
151
- - Thinking Sphinx -- Rails/Merb Sphinx Plugin
152
- - --line-numbers
130
+ - --charset=UTF-8
153
131
  require_paths:
154
132
  - lib
155
133
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -166,28 +144,30 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
144
  version:
167
145
  requirements: []
168
146
 
169
- rubyforge_project: thinking-sphinx
147
+ rubyforge_project:
170
148
  rubygems_version: 1.3.5
171
149
  signing_key:
172
150
  specification_version: 2
173
151
  summary: A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.
174
152
  test_files:
175
- - spec/unit/thinking_sphinx/active_record/delta_spec.rb
176
- - spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb
177
- - spec/unit/thinking_sphinx/active_record/search_spec.rb
178
- - spec/unit/thinking_sphinx/active_record_spec.rb
179
- - spec/unit/thinking_sphinx/association_spec.rb
180
- - spec/unit/thinking_sphinx/attribute_spec.rb
181
- - spec/unit/thinking_sphinx/collection_spec.rb
182
- - spec/unit/thinking_sphinx/configuration_spec.rb
183
- - spec/unit/thinking_sphinx/core/string_spec.rb
184
- - spec/unit/thinking_sphinx/facet_collection_spec.rb
185
- - spec/unit/thinking_sphinx/facet_spec.rb
186
- - spec/unit/thinking_sphinx/field_spec.rb
187
- - spec/unit/thinking_sphinx/index/builder_spec.rb
188
- - spec/unit/thinking_sphinx/index/faux_column_spec.rb
189
- - spec/unit/thinking_sphinx/index_spec.rb
190
- - spec/unit/thinking_sphinx/rails_additions_spec.rb
191
- - spec/unit/thinking_sphinx/search_spec.rb
192
- - spec/unit/thinking_sphinx/source_spec.rb
193
- - spec/unit/thinking_sphinx_spec.rb
153
+ - spec/lib/thinking_sphinx/active_record/delta_spec.rb
154
+ - spec/lib/thinking_sphinx/active_record/has_many_association_spec.rb
155
+ - spec/lib/thinking_sphinx/active_record/scopes_spec.rb
156
+ - spec/lib/thinking_sphinx/active_record_spec.rb
157
+ - spec/lib/thinking_sphinx/association_spec.rb
158
+ - spec/lib/thinking_sphinx/attribute_spec.rb
159
+ - spec/lib/thinking_sphinx/configuration_spec.rb
160
+ - spec/lib/thinking_sphinx/core/array_spec.rb
161
+ - spec/lib/thinking_sphinx/core/string_spec.rb
162
+ - spec/lib/thinking_sphinx/excerpter_spec.rb
163
+ - spec/lib/thinking_sphinx/facet_search_spec.rb
164
+ - spec/lib/thinking_sphinx/facet_spec.rb
165
+ - spec/lib/thinking_sphinx/field_spec.rb
166
+ - spec/lib/thinking_sphinx/index/builder_spec.rb
167
+ - spec/lib/thinking_sphinx/index/faux_column_spec.rb
168
+ - spec/lib/thinking_sphinx/index_spec.rb
169
+ - spec/lib/thinking_sphinx/rails_additions_spec.rb
170
+ - spec/lib/thinking_sphinx/search_methods_spec.rb
171
+ - spec/lib/thinking_sphinx/search_spec.rb
172
+ - spec/lib/thinking_sphinx/source_spec.rb
173
+ - spec/lib/thinking_sphinx_spec.rb