tasks/distribution.rb in warp-thinking-sphinx-1.2.12 vs tasks/distribution.rb in warp-thinking-sphinx-1.3.10
- old
+ new
@@ -1,12 +1,10 @@
require 'yard'
require 'jeweler'
desc 'Generate documentation'
-YARD::Rake::YardocTask.new do |t|
- # t.title = 'Thinking Sphinx - ActiveRecord Sphinx Plugin'
-end
+YARD::Rake::YardocTask.new
Jeweler::Tasks.new do |gem|
gem.name = "warp-thinking-sphinx"
gem.summary = "ActiveRecord/Rails Sphinx library"
gem.description = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching."
@@ -20,35 +18,23 @@
"lib/**/*.rb",
"LICENCE",
"README.textile",
"tasks/**/*.rb",
"tasks/**/*.rake",
- "vendor/**/*",
- "VERSION.yml"
+ "VERSION"
]
gem.test_files = FileList[
"features/**/*",
"spec/**/*_spec.rb"
]
gem.add_dependency 'activerecord', '>= 1.15.6'
+ gem.add_dependency 'riddle', '>= 1.0.8'
+ gem.add_dependency 'after_commit', '>= 1.0.5'
gem.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
+If you're upgrading, you should read this:
+http://freelancing-god.github.com/ts/en/upgrading.html
MESSAGE
end
Jeweler::GemcutterTasks.new