Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 83 lines (64 sloc) 2.925 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "tire/version"

Gem::Specification.new do |s|
  s.name = "tire"
  s.version = Tire::VERSION
  s.platform = Gem::Platform::RUBY
  s.summary = "Ruby client for ElasticSearch"
  s.homepage = "http://github.com/karmi/tire"
  s.authors = [ 'Karel Minarik' ]
  s.email = 'karmi@karmi.cz'

  s.rubyforge_project = "tire"

  s.files = `git ls-files`.split("\n")
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }

  s.require_paths = ["lib"]

  s.extra_rdoc_files = [ "README.markdown", "MIT-LICENSE" ]
  s.rdoc_options = [ "--charset=UTF-8" ]

  s.required_rubygems_version = ">= 1.3.6"

  # = Library dependencies
  #
  s.add_dependency "rake"
  s.add_dependency "rest-client", "~> 1.6.0"
  s.add_dependency "multi_json", "~> 1.0"
  s.add_dependency "activemodel", "~> 3.0"
  s.add_dependency "hashr", "~> 0.0.16"

  # = Development dependencies
  #
  s.add_development_dependency "bundler", "~> 1.0"
  s.add_development_dependency "yajl-ruby", "~> 0.8.0"
  s.add_development_dependency "shoulda"
  s.add_development_dependency "mocha"
  s.add_development_dependency "activerecord", "~> 3.0.7"
  s.add_development_dependency "mongoid", "~> 2.2.1"
  s.add_development_dependency "sqlite3"
  s.add_development_dependency "supermodel"
  s.add_development_dependency "curb"

  # These gems are not needed for CI at <http://travis-ci.org/#!/karmi/tire>
  #
  unless ENV["CI"]
    s.add_development_dependency "rdoc"
    s.add_development_dependency "rcov"
    s.add_development_dependency "turn"
  end

  s.description = <<-DESC
Tire is a Ruby client for the ElasticSearch search engine/database.

It provides Ruby-like API for fluent communication with the ElasticSearch server
and blends with ActiveModel class for convenient usage in Rails applications.

It allows to delete and create indices, define mapping for them, supports
the bulk API, and presents an easy-to-use DSL for constructing your queries.

It has full ActiveRecord/ActiveModel compatibility, allowing you to index
your models (incrementally upon saving, or in bulk), searching and
paginating the results.

Please check the documentation at <http://karmi.github.com/tire/>.
DESC

  s.post_install_message =<<-CHANGELOG.gsub(/^ /, '')
================================================================================

Please check the documentation at <http://karmi.github.com/tire/>.

--------------------------------------------------------------------------------

#{Tire::CHANGELOG}
See the full changelog at <http://github.com/karmi/tire/commits/v#{Tire::VERSION}>.

--------------------------------------------------------------------------------
CHANGELOG
end
Something went wrong with that request. Please try again.