forked from karmi/retire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tire.gemspec
85 lines (66 loc) · 3.05 KB
/
tire.gemspec
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
84
85
# -*- 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"
s.add_dependency "multi_json", "~> 1.0"
s.add_dependency "activemodel", ">= 3.0"
s.add_dependency "hashr", "~> 0.0.19"
s.add_dependency "rack", ">= 1.4" if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
# = Development dependencies
#
s.add_development_dependency "bundler", "~> 1.0"
s.add_development_dependency "yajl-ruby", "~> 1.0"
s.add_development_dependency "shoulda"
s.add_development_dependency "mocha"
s.add_development_dependency "activerecord", ">= 3.0"
s.add_development_dependency "sqlite3"
s.add_development_dependency "mongoid", "~> 2.2"
s.add_development_dependency "bson_ext"
s.add_development_dependency "redis-persistence"
s.add_development_dependency "curb"
s.add_development_dependency "minitest"
# 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 "turn", "~> 0.9" if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
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