require 'yard' require 'jeweler' desc 'Generate documentation' YARD::Rake::YardocTask.new Jeweler::Tasks.new do |gem| gem.name = "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." gem.author = "Pat Allan" gem.email = "pat@freelancing-gods.com" gem.homepage = "http://ts.freelancing-gods.com" # s.rubyforge_project = "thinking-sphinx" gem.files = FileList[ "rails/*.rb", "lib/**/*.rb", "LICENCE", "README.textile", "tasks/**/*.rb", "tasks/**/*.rake", "VERSION" ] gem.test_files = FileList[ "features/**/*", "spec/**/*_spec.rb" ] gem.add_dependency 'activerecord', '>= 1.15.6' gem.add_dependency 'riddle', '>= 1.0.10' gem.add_dependency 'after_commit', '>= 1.0.6' gem.add_development_dependency "yard", ">= 0" gem.add_development_dependency "rspec", ">= 1.2.9" gem.add_development_dependency "cucumber", ">= 0" gem.add_development_dependency "will_paginate", "2.3.11" gem.add_development_dependency "ginger", "1.2.0" gem.add_development_dependency "faker", "0.3.1" gem.post_install_message = <<-MESSAGE If you're upgrading, you should read this: http://freelancing-god.github.com/ts/en/upgrading.html MESSAGE end