This repository has been archived by the owner on Jun 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 533
/
tire.gemspec
86 lines (67 loc) · 3.06 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
86
# -*- 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 = '[email protected]'
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.3"
s.add_dependency "activemodel", ">= 3.0"
s.add_dependency "hashr", "~> 0.0.19"
s.add_dependency "activesupport"
s.add_dependency "ansi"
# = Development dependencies
#
s.add_development_dependency "bundler", "~> 1.0"
s.add_development_dependency "shoulda-context"
s.add_development_dependency "mocha", "~> 0.13"
s.add_development_dependency "minitest", "~> 2.12"
s.add_development_dependency "activerecord", ">= 3.0"
s.add_development_dependency "active_model_serializers"
s.add_development_dependency "mongoid", "~> 2.2"
s.add_development_dependency "redis-persistence"
s.add_development_dependency "faraday"
unless defined?(JRUBY_VERSION)
s.add_development_dependency "yajl-ruby", "~> 1.0"
s.add_development_dependency "sqlite3"
s.add_development_dependency "bson_ext"
s.add_development_dependency "curb"
s.add_development_dependency "oj"
s.add_development_dependency "turn", "~> 0.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/retire/>.
DESC
s.post_install_message =<<-CHANGELOG.gsub(/^ /, '')
================================================================================
Please check the documentation at <http://karmi.github.com/retire/>.
--------------------------------------------------------------------------------
#{Tire::CHANGELOG}
See the full changelog at <http://github.com/karmi/tire/commits/v#{Tire::VERSION}>.
--------------------------------------------------------------------------------
CHANGELOG
end