tasks/distribution.rb in dpickett-thinking-sphinx-1.1.12 vs tasks/distribution.rb in dpickett-thinking-sphinx-1.1.23
- old
+ new
@@ -25,16 +25,35 @@
s.rdoc_options << "--title" << "Thinking Sphinx -- Rails/Merb Sphinx Plugin" <<
"--line-numbers"
s.rubyforge_project = "thinking-sphinx"
s.test_files = FileList["spec/**/*_spec.rb"]
s.files = FileList[
+ "rails/*.rb",
"lib/**/*.rb",
"LICENCE",
"README.textile",
"tasks/**/*.rb",
"tasks/**/*.rake",
"vendor/**/*"
]
+ s.post_install_message = <<-MESSAGE
+With the release of Thinking Sphinx 1.1.18, there is one important change to
+note: previously, the default morphology for indexing was 'stem_en'. The new
+default is nil, to avoid any unexpected behavior. If you wish to keep the old
+value though, you will need to add the following settings to your
+config/sphinx.yml file:
+
+development:
+ morphology: stem_en
+test:
+ morphology: stem_en
+production:
+ morphology: stem_en
+
+To understand morphologies/stemmers better, visit the following link:
+http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-morphology
+
+MESSAGE
end
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
p.need_tar = true