elasticsearch-sinneduy 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +16 -0
- data/LICENSE.txt +13 -0
- data/README.md +99 -0
- data/Rakefile +48 -0
- data/elasticsearch.gemspec +63 -0
- data/lib/elasticsearch-ruby.rb +1 -0
- data/lib/elasticsearch.rb +12 -0
- data/lib/elasticsearch/version.rb +3 -0
- data/test/integration/client_integration_test.rb +56 -0
- data/test/test_helper.rb +61 -0
- data/test/unit/wrapper_gem_test.rb +26 -0
- metadata +316 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ede0bb24f2596810fccd72e1b2effeede747a94d
|
4
|
+
data.tar.gz: 0c0b4c54a85d7312642ee966c8f7898a42d97b8f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 98d8c21b5aa836a96cbb5619480baa6cafb4efb9f6347be1077c6907db01de9669b320a56f27f6012e716a90ffffc9ce964f1e095c57d4b5ed4e06f09db6db1a
|
7
|
+
data.tar.gz: d6fdc370ea3118dd0709bdd78221a8cdf46a3b5d701e9abd7a99753d8515c302bbe177bc6fc1abde033f379859303cdd30abea0ca845ce982125c7f05b1f341b
|
data/.gitignore
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in elasticsearch.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
if File.exists? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __FILE__)
|
7
|
+
gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false
|
8
|
+
end
|
9
|
+
|
10
|
+
if File.exists? File.expand_path("../../elasticsearch-transport/elasticsearch-transport.gemspec", __FILE__)
|
11
|
+
gem 'elasticsearch-transport-sinneduy', :path => File.expand_path("../../elasticsearch-transport", __FILE__), :require => false
|
12
|
+
end
|
13
|
+
|
14
|
+
if File.exists? File.expand_path("../../elasticsearch-extensions", __FILE__)
|
15
|
+
gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions", __FILE__), :require => true
|
16
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Copyright 2013 Elasticsearch
|
2
|
+
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
you may not use this file except in compliance with the License.
|
5
|
+
You may obtain a copy of the License at
|
6
|
+
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
See the License for the specific language governing permissions and
|
13
|
+
limitations under the License.
|
data/README.md
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# Elasticsearch
|
2
|
+
|
3
|
+
The `elasticsearch` library provides a Ruby client and API for [Elasticsearch](http://elasticsearch.org).
|
4
|
+
|
5
|
+
Features overview:
|
6
|
+
|
7
|
+
* Pluggable logging and tracing
|
8
|
+
* Plugabble connection selection strategies (round-robin, random, custom)
|
9
|
+
* Pluggable transport implementation, customizable and extendable
|
10
|
+
* Pluggable serializer implementation
|
11
|
+
* Request retries and dead connections handling
|
12
|
+
* Node reloading (based on cluster state) on errors or on demand
|
13
|
+
* Consistent API support for the whole Elasticsearch API
|
14
|
+
* Extensive documentation and examples
|
15
|
+
* Emphasis on modularity and extendability of both the client and API libraries
|
16
|
+
|
17
|
+
(For integration with Ruby models and Rails applications,
|
18
|
+
see the <https://github.com/elasticsearch/elasticsearch-rails> project.)
|
19
|
+
|
20
|
+
## Compatibility
|
21
|
+
|
22
|
+
The library is compatible with Ruby 1.8.7 and higher.
|
23
|
+
|
24
|
+
The library is compatible with Elasticsearch 0.90 and 1.0 -- you have to install and use a matching version, though.
|
25
|
+
|
26
|
+
The 1.x versions and the master branch are compatible with **Elasticsearch 1.0** API.
|
27
|
+
|
28
|
+
To use the **Elasticsearch 0.90** API, install the **0.4.x** gem version or use the corresponding
|
29
|
+
[`0.4`](https://github.com/elasticsearch/elasticsearch-ruby/tree/0.4) branch.
|
30
|
+
|
31
|
+
## Installation
|
32
|
+
|
33
|
+
Install the package from [Rubygems](https://rubygems.org):
|
34
|
+
|
35
|
+
gem install elasticsearch
|
36
|
+
|
37
|
+
To use an unreleased version, either add it to your `Gemfile` for [Bundler](http://gembundler.com):
|
38
|
+
|
39
|
+
gem 'elasticsearch', git: 'git://github.com/elasticsearch/elasticsearch-ruby.git'
|
40
|
+
|
41
|
+
or install it from a source code checkout:
|
42
|
+
|
43
|
+
git clone https://github.com/elasticsearch/elasticsearch-ruby.git
|
44
|
+
cd elasticsearch-ruby/elasticsearch
|
45
|
+
bundle install
|
46
|
+
rake install
|
47
|
+
|
48
|
+
## Usage
|
49
|
+
|
50
|
+
This library is a wrapper for two separate libraries:
|
51
|
+
|
52
|
+
* [`elasticsearch-transport`](https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport),
|
53
|
+
which provides a low-level Ruby client for connecting to an [Elasticsearch](http://elasticsearch.org) cluster
|
54
|
+
* [`elasticsearch-api`](https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-api),
|
55
|
+
which provides a Ruby API for the Elasticsearch RESTful API
|
56
|
+
|
57
|
+
Install the `elasticsearch` package and use the API directly:
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
require 'elasticsearch'
|
61
|
+
|
62
|
+
client = Elasticsearch::Client.new log: true
|
63
|
+
|
64
|
+
client.cluster.health
|
65
|
+
|
66
|
+
client.transport.reload_connections!
|
67
|
+
|
68
|
+
client.search q: 'test'
|
69
|
+
|
70
|
+
# etc.
|
71
|
+
```
|
72
|
+
|
73
|
+
Please refer to the specific library documentation for details:
|
74
|
+
|
75
|
+
* **Transport**:
|
76
|
+
[[README]](https://github.com/elasticsearch/elasticsearch-ruby/blob/master/elasticsearch-transport/README.md)
|
77
|
+
[[Documentation]](http://rubydoc.info/gems/elasticsearch-transport/file/README.markdown)
|
78
|
+
|
79
|
+
* **API**:
|
80
|
+
[[README]](https://github.com/elasticsearch/elasticsearch-ruby/blob/master/elasticsearch-api/README.md)
|
81
|
+
[[Documentation]](http://rubydoc.info/gems/elasticsearch-api/file/README.markdown)
|
82
|
+
|
83
|
+
## License
|
84
|
+
|
85
|
+
This software is licensed under the Apache 2 license, quoted below.
|
86
|
+
|
87
|
+
Copyright (c) 2013 Elasticsearch <http://www.elasticsearch.org>
|
88
|
+
|
89
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
90
|
+
you may not use this file except in compliance with the License.
|
91
|
+
You may obtain a copy of the License at
|
92
|
+
|
93
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
94
|
+
|
95
|
+
Unless required by applicable law or agreed to in writing, software
|
96
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
97
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
98
|
+
See the License for the specific language governing permissions and
|
99
|
+
limitations under the License.
|
data/Rakefile
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
desc "Run unit tests"
|
4
|
+
task :test => 'test:unit'
|
5
|
+
|
6
|
+
# ----- Test tasks ------------------------------------------------------------
|
7
|
+
|
8
|
+
require 'rake/testtask'
|
9
|
+
namespace :test do
|
10
|
+
task :ci_reporter do
|
11
|
+
ENV['CI_REPORTS'] ||= 'tmp/reports'
|
12
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
13
|
+
require 'ci/reporter/rake/test_unit'
|
14
|
+
Rake::Task['ci:setup:testunit'].invoke
|
15
|
+
else
|
16
|
+
require 'ci/reporter/rake/minitest'
|
17
|
+
Rake::Task['ci:setup:minitest'].invoke
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
Rake::TestTask.new(:unit) do |test|
|
22
|
+
Rake::Task['test:ci_reporter'].invoke if ENV['CI']
|
23
|
+
test.libs << 'lib' << 'test'
|
24
|
+
test.test_files = FileList["test/unit/**/*_test.rb"]
|
25
|
+
# test.verbose = true
|
26
|
+
# test.warning = true
|
27
|
+
end
|
28
|
+
|
29
|
+
Rake::TestTask.new(:integration) do |test|
|
30
|
+
Rake::Task['test:ci_reporter'].invoke if ENV['CI']
|
31
|
+
test.libs << 'lib' << 'test'
|
32
|
+
test.test_files = FileList["test/integration/**/*_test.rb"]
|
33
|
+
end
|
34
|
+
|
35
|
+
Rake::TestTask.new(:all) do |test|
|
36
|
+
Rake::Task['test:ci_reporter'].invoke if ENV['CI']
|
37
|
+
test.libs << 'lib' << 'test'
|
38
|
+
test.test_files = FileList["test/unit/**/*_test.rb", "test/integration/**/*_test.rb"]
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
# ----- Documentation tasks ---------------------------------------------------
|
44
|
+
|
45
|
+
require 'yard'
|
46
|
+
YARD::Rake::YardocTask.new(:doc) do |t|
|
47
|
+
t.options = %w| --embed-mixins --markup=markdown |
|
48
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'elasticsearch/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "elasticsearch-sinneduy"
|
8
|
+
s.version = Elasticsearch::VERSION
|
9
|
+
s.authors = ["Karel Minarik"]
|
10
|
+
s.email = ["karel.minarik@elasticsearch.org"]
|
11
|
+
s.summary = "Ruby integrations for Elasticsearch"
|
12
|
+
s.homepage = "http://github.com/elasticsearch/elasticsearch-ruby"
|
13
|
+
s.license = "Apache 2"
|
14
|
+
|
15
|
+
s.files = `git ls-files`.split($/)
|
16
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
|
+
s.require_paths = ["lib"]
|
19
|
+
|
20
|
+
s.extra_rdoc_files = [ "README.md", "LICENSE.txt" ]
|
21
|
+
s.rdoc_options = [ "--charset=UTF-8" ]
|
22
|
+
|
23
|
+
s.add_dependency "elasticsearch-transport-sinneduy", '1.0.12'
|
24
|
+
s.add_dependency "elasticsearch-api", '1.0.12'
|
25
|
+
|
26
|
+
s.add_development_dependency "bundler", "> 1"
|
27
|
+
s.add_development_dependency "rake"
|
28
|
+
|
29
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
30
|
+
s.add_development_dependency "elasticsearch-extensions"
|
31
|
+
end
|
32
|
+
|
33
|
+
s.add_development_dependency "ansi"
|
34
|
+
s.add_development_dependency "shoulda-context"
|
35
|
+
s.add_development_dependency "mocha"
|
36
|
+
s.add_development_dependency "turn"
|
37
|
+
s.add_development_dependency "yard"
|
38
|
+
s.add_development_dependency "pry"
|
39
|
+
s.add_development_dependency "ci_reporter", "~> 1.9"
|
40
|
+
|
41
|
+
# Prevent unit test failures on Ruby 1.8
|
42
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
43
|
+
s.add_development_dependency "test-unit", '~> 2'
|
44
|
+
s.add_development_dependency "json"
|
45
|
+
end
|
46
|
+
|
47
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
48
|
+
s.add_development_dependency "minitest", "~> 4.0"
|
49
|
+
s.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
50
|
+
s.add_development_dependency "require-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
51
|
+
s.add_development_dependency "simplecov"
|
52
|
+
s.add_development_dependency "simplecov-rcov"
|
53
|
+
s.add_development_dependency "cane"
|
54
|
+
end
|
55
|
+
|
56
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION > '2.2'
|
57
|
+
s.add_development_dependency "test-unit", '~> 2'
|
58
|
+
end
|
59
|
+
|
60
|
+
s.description = <<-DESC.gsub(/^ /, '')
|
61
|
+
Ruby integrations for Elasticsearch (client, API, etc.)
|
62
|
+
DESC
|
63
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'elasticsearch'
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'logger'
|
3
|
+
|
4
|
+
module Elasticsearch
|
5
|
+
module Test
|
6
|
+
class ClientIntegrationTest < Elasticsearch::Test::IntegrationTestCase
|
7
|
+
startup do
|
8
|
+
Elasticsearch::Extensions::Test::Cluster.start(nodes: 2) if ENV['SERVER'] and not Elasticsearch::Extensions::Test::Cluster.running?
|
9
|
+
end
|
10
|
+
|
11
|
+
context "Elasticsearch client" do
|
12
|
+
setup do
|
13
|
+
@port = (ENV['TEST_CLUSTER_PORT'] || 9250).to_i
|
14
|
+
system "curl -X DELETE http://localhost:#{@port}/_all > /dev/null 2>&1"
|
15
|
+
|
16
|
+
@logger = Logger.new(STDERR)
|
17
|
+
@logger.formatter = proc do |severity, datetime, progname, msg|
|
18
|
+
color = case severity
|
19
|
+
when /INFO/ then :green
|
20
|
+
when /ERROR|WARN|FATAL/ then :red
|
21
|
+
when /DEBUG/ then :cyan
|
22
|
+
else :white
|
23
|
+
end
|
24
|
+
ANSI.ansi(severity[0] + ' ', color, :faint) + ANSI.ansi(msg, :white, :faint) + "\n"
|
25
|
+
end
|
26
|
+
|
27
|
+
@client = Elasticsearch::Client.new host: "localhost:#{@port}", logger: (ENV['QUIET'] ? nil : @logger)
|
28
|
+
end
|
29
|
+
|
30
|
+
should "perform the API methods" do
|
31
|
+
assert_nothing_raised do
|
32
|
+
# Index a document
|
33
|
+
#
|
34
|
+
@client.index index: 'test-index', type: 'test-type', id: '1', body: { title: 'Test' }
|
35
|
+
|
36
|
+
# Refresh the index
|
37
|
+
#
|
38
|
+
@client.indices.refresh index: 'test-index'
|
39
|
+
|
40
|
+
# Search
|
41
|
+
#
|
42
|
+
response = @client.search index: 'test-index', body: { query: { match: { title: 'test' } } }
|
43
|
+
|
44
|
+
assert_equal 1, response['hits']['total']
|
45
|
+
assert_equal 'Test', response['hits']['hits'][0]['_source']['title']
|
46
|
+
|
47
|
+
# Delete the index
|
48
|
+
#
|
49
|
+
@client.indices.delete index: 'test-index'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
2
|
+
JRUBY = defined?(JRUBY_VERSION)
|
3
|
+
|
4
|
+
if RUBY_1_8 and not ENV['BUNDLE_GEMFILE']
|
5
|
+
require 'rubygems'
|
6
|
+
gem 'test-unit'
|
7
|
+
end
|
8
|
+
|
9
|
+
if ENV['COVERAGE'] && ENV['CI'].nil? && !RUBY_1_8
|
10
|
+
require 'simplecov'
|
11
|
+
SimpleCov.start { add_filter "/test|test_/" }
|
12
|
+
end
|
13
|
+
|
14
|
+
if ENV['CI'] && !RUBY_1_8
|
15
|
+
require 'simplecov'
|
16
|
+
require 'simplecov-rcov'
|
17
|
+
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
|
18
|
+
SimpleCov.start { add_filter "/test|test_" }
|
19
|
+
end
|
20
|
+
|
21
|
+
# Register `at_exit` handler for integration tests shutdown.
|
22
|
+
# MUST be called before requiring `test/unit`.
|
23
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
24
|
+
at_exit { Elasticsearch::Test::IntegrationTestCase.__run_at_exit_hooks }
|
25
|
+
end
|
26
|
+
|
27
|
+
require 'test/unit'
|
28
|
+
require 'shoulda-context'
|
29
|
+
require 'mocha/setup'
|
30
|
+
require 'turn' unless ENV["TM_FILEPATH"] || ENV["NOTURN"] || RUBY_1_8
|
31
|
+
|
32
|
+
require 'require-prof' if ENV["REQUIRE_PROF"]
|
33
|
+
require 'elasticsearch'
|
34
|
+
RequireProf.print_timing_infos if ENV["REQUIRE_PROF"]
|
35
|
+
|
36
|
+
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
37
|
+
require 'elasticsearch/extensions/test/cluster'
|
38
|
+
require 'elasticsearch/extensions/test/startup_shutdown'
|
39
|
+
require 'elasticsearch/extensions/test/profiling' unless JRUBY
|
40
|
+
end
|
41
|
+
|
42
|
+
module Elasticsearch
|
43
|
+
module Test
|
44
|
+
class IntegrationTestCase < ::Test::Unit::TestCase
|
45
|
+
extend Elasticsearch::Extensions::Test::StartupShutdown
|
46
|
+
|
47
|
+
shutdown { Elasticsearch::Extensions::Test::Cluster.stop if ENV['SERVER'] && started? && Elasticsearch::Extensions::Test::Cluster.running? }
|
48
|
+
context "IntegrationTest" do; should "noop on Ruby 1.8" do; end; end if RUBY_1_8
|
49
|
+
end if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
50
|
+
end
|
51
|
+
|
52
|
+
module Test
|
53
|
+
class ProfilingTest < ::Test::Unit::TestCase
|
54
|
+
extend Elasticsearch::Extensions::Test::StartupShutdown
|
55
|
+
extend Elasticsearch::Extensions::Test::Profiling
|
56
|
+
|
57
|
+
shutdown { Elasticsearch::Extensions::Test::Cluster.stop if ENV['SERVER'] && started? && Elasticsearch::Extensions::Test::Cluster.running? }
|
58
|
+
context "IntegrationTest" do; should "noop on Ruby 1.8" do; end; end if RUBY_1_8
|
59
|
+
end unless RUBY_1_8 || JRUBY
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Elasticsearch
|
4
|
+
module Test
|
5
|
+
class WrapperGemTest < ::Test::Unit::TestCase
|
6
|
+
|
7
|
+
context "Wrapper gem" do
|
8
|
+
|
9
|
+
should "require all neccessary subgems" do
|
10
|
+
assert defined? Elasticsearch::Client
|
11
|
+
assert defined? Elasticsearch::API
|
12
|
+
end
|
13
|
+
|
14
|
+
should "mix the API into the client" do
|
15
|
+
client = Elasticsearch::Client.new
|
16
|
+
|
17
|
+
assert_respond_to client, :search
|
18
|
+
assert_respond_to client, :cluster
|
19
|
+
assert_respond_to client, :indices
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,316 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: elasticsearch-sinneduy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.13
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Karel Minarik
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: elasticsearch-transport-sinneduy
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.12
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.12
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: elasticsearch-api
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.12
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.12
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>'
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>'
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: elasticsearch-extensions
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ansi
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: shoulda-context
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: mocha
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: turn
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: yard
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: ci_reporter
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1.9'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ~>
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '1.9'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: minitest
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ~>
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '4.0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ~>
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '4.0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: ruby-prof
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: require-prof
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: simplecov
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov-rcov
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - '>='
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: cane
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - '>='
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - '>='
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
description: |
|
266
|
+
Ruby integrations for Elasticsearch (client, API, etc.)
|
267
|
+
email:
|
268
|
+
- karel.minarik@elasticsearch.org
|
269
|
+
executables: []
|
270
|
+
extensions: []
|
271
|
+
extra_rdoc_files:
|
272
|
+
- README.md
|
273
|
+
- LICENSE.txt
|
274
|
+
files:
|
275
|
+
- .gitignore
|
276
|
+
- Gemfile
|
277
|
+
- LICENSE.txt
|
278
|
+
- README.md
|
279
|
+
- Rakefile
|
280
|
+
- elasticsearch.gemspec
|
281
|
+
- lib/elasticsearch-ruby.rb
|
282
|
+
- lib/elasticsearch.rb
|
283
|
+
- lib/elasticsearch/version.rb
|
284
|
+
- test/integration/client_integration_test.rb
|
285
|
+
- test/test_helper.rb
|
286
|
+
- test/unit/wrapper_gem_test.rb
|
287
|
+
homepage: http://github.com/elasticsearch/elasticsearch-ruby
|
288
|
+
licenses:
|
289
|
+
- Apache 2
|
290
|
+
metadata: {}
|
291
|
+
post_install_message:
|
292
|
+
rdoc_options:
|
293
|
+
- --charset=UTF-8
|
294
|
+
require_paths:
|
295
|
+
- lib
|
296
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
297
|
+
requirements:
|
298
|
+
- - '>='
|
299
|
+
- !ruby/object:Gem::Version
|
300
|
+
version: '0'
|
301
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
302
|
+
requirements:
|
303
|
+
- - '>='
|
304
|
+
- !ruby/object:Gem::Version
|
305
|
+
version: '0'
|
306
|
+
requirements: []
|
307
|
+
rubyforge_project:
|
308
|
+
rubygems_version: 2.0.14
|
309
|
+
signing_key:
|
310
|
+
specification_version: 4
|
311
|
+
summary: Ruby integrations for Elasticsearch
|
312
|
+
test_files:
|
313
|
+
- test/integration/client_integration_test.rb
|
314
|
+
- test/test_helper.rb
|
315
|
+
- test/unit/wrapper_gem_test.rb
|
316
|
+
has_rdoc:
|