elasticsearch-extensions 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 963a43717a44906e62a376c87b894c872a3891dd
4
- data.tar.gz: 555031cabc4df4bc24d484a0f0ef14654c4014f6
3
+ metadata.gz: 79ad05a12ba00c1adf6af3343e8e9cebfab6781b
4
+ data.tar.gz: e6c39ff2fa59d03fb574c3cb6d7a62c1088c715c
5
5
  SHA512:
6
- metadata.gz: a156bff865916c5371a5d71c7afc49fec2aee0171d9014c7a4b5dde28999865afa27104fc7a4844eee4e005c0f3ec041c156f49e8eeb9cc38ea2f709f54d26a4
7
- data.tar.gz: 3e38871c8f9baf01c976069a57dcdb6991b81e5223116ae89b9bd80fdc2118e70496eb4944c313ce18cd6ecfc2562ca4689a4675bb22267ee20ed281e0c5ae98
6
+ metadata.gz: 96274d4e00fd3c32c90a9e10a20915975c751e03508ecb83367a4daffe0d338d072ad842a1e93521debcccafc9ea5062baaec10da578c41c6dd2d984024ee487
7
+ data.tar.gz: a700abdbbd398fceefbac51a0c5333fca9d38a9ff0600c4b0ac7a0e8029310e6e8d2089c98f34f21dd334a57bf5dddbdd10cdd00d03a10c3dac7468a3b37452d
data/Rakefile CHANGED
@@ -8,19 +8,7 @@ task :test => 'test:unit'
8
8
 
9
9
  require 'rake/testtask'
10
10
  namespace :test do
11
- task :ci_reporter do
12
- ENV['CI_REPORTS'] ||= 'tmp/reports'
13
- if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
14
- require 'ci/reporter/rake/test_unit'
15
- Rake::Task['ci:setup:testunit'].invoke
16
- else
17
- require 'ci/reporter/rake/minitest'
18
- Rake::Task['ci:setup:minitest'].invoke
19
- end
20
- end
21
-
22
11
  Rake::TestTask.new(:unit) do |test|
23
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
24
12
  test.libs << 'lib' << 'test'
25
13
  test.test_files = FileList["test/**/unit/**/*_test.rb"]
26
14
  test.verbose = false
@@ -28,7 +16,6 @@ namespace :test do
28
16
  end
29
17
 
30
18
  Rake::TestTask.new(:integration) do |test|
31
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
32
19
  test.libs << 'lib' << 'test'
33
20
  test.test_files = FileList["test/**/integration/**/*_test.rb"]
34
21
  test.verbose = false
@@ -36,13 +23,11 @@ namespace :test do
36
23
  end
37
24
 
38
25
  Rake::TestTask.new(:all) do |test|
39
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
40
26
  test.libs << 'lib' << 'test'
41
27
  test.test_files = FileList["test/**/unit/**/*_test.rb", "test/**/integration/**/*_test.rb"]
42
28
  end
43
29
 
44
30
  Rake::TestTask.new(:profile) do |test|
45
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
46
31
  test.libs << 'lib' << 'test'
47
32
  test.test_files = FileList["test/profile/**/*_test.rb"]
48
33
  end
@@ -20,9 +20,10 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_dependency "ansi"
22
22
  s.add_dependency "elasticsearch"
23
+ s.add_dependency "oj"
24
+ s.add_dependency "patron"
23
25
 
24
26
  if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
25
- s.add_development_dependency "minitest", "~> 4.0"
26
27
  s.add_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
27
28
  end
28
29
 
@@ -36,28 +37,16 @@ Gem::Specification.new do |s|
36
37
 
37
38
  s.add_development_dependency "awesome_print"
38
39
 
39
- s.add_development_dependency "shoulda-context"
40
- s.add_development_dependency "mocha"
41
- s.add_development_dependency "turn"
42
- s.add_development_dependency "yard"
43
- s.add_development_dependency "pry"
44
- s.add_development_dependency "ci_reporter", "~> 1.9"
40
+ s.add_development_dependency 'shoulda-context'
41
+ s.add_development_dependency 'mocha'
42
+ s.add_development_dependency 'minitest', '~> 5'
43
+ s.add_development_dependency 'minitest-reporters', '~> 1'
44
+ s.add_development_dependency 'simplecov'
45
+ s.add_development_dependency 'yard'
46
+ s.add_development_dependency 'cane'
47
+ s.add_development_dependency 'pry'
45
48
 
46
49
  if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
47
50
  s.add_development_dependency "json", '~> 1.8'
48
51
  end
49
-
50
- if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
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
- # Gems for testing integrations
61
- s.add_development_dependency "patron"
62
- s.add_development_dependency "oj"
63
52
  end
@@ -174,9 +174,28 @@ module Elasticsearch
174
174
  -E logger.level=#{ENV['DEBUG'] ? 'DEBUG' : 'INFO'} \
175
175
  #{arguments[:es_params]}
176
176
  COMMAND
177
+ },
178
+
179
+ '6.0' => lambda { |arguments, node_number|
180
+ <<-COMMAND.gsub(/ /, '').gsub(/\n$/, '')
181
+ #{arguments[:command]} \
182
+ -E cluster.name=#{arguments[:cluster_name]} \
183
+ -E node.name=#{arguments[:node_name]}-#{node_number} \
184
+ -E http.port=#{arguments[:port].to_i + (node_number-1)} \
185
+ -E path.data=#{arguments[:path_data]} \
186
+ -E path.logs=#{arguments[:path_logs]} \
187
+ -E cluster.routing.allocation.disk.threshold_enabled=false \
188
+ -E network.host=#{arguments[:network_host]} \
189
+ -E node.attr.testattr=test \
190
+ -E path.repo=/tmp \
191
+ -E repositories.url.allowed_urls=http://snapshot.test* \
192
+ -E discovery.zen.minimum_master_nodes=#{arguments[:number_of_nodes]-1} \
193
+ -E node.max_local_storage_nodes=#{arguments[:number_of_nodes]} \
194
+ -E logger.level=#{ENV['DEBUG'] ? 'DEBUG' : 'INFO'} \
195
+ #{arguments[:es_params]}
196
+ COMMAND
177
197
  }
178
198
  }
179
- COMMANDS['6.0'] = COMMANDS['5.0']
180
199
  COMMANDS.freeze
181
200
 
182
201
  # Create a new instance of the Cluster class
@@ -191,6 +210,7 @@ module Elasticsearch
191
210
  # @option arguments [String] :path_logs Path to the directory with log files
192
211
  # @option arguments [Boolean] :multicast_enabled Whether multicast is enabled (default: true)
193
212
  # @option arguments [Integer] :timeout Timeout when starting the cluster (default: 60)
213
+ # @option arguments [Integer] :timeout_version Timeout when waiting for `elasticsearch --version` (default: 15)
194
214
  # @option arguments [String] :network_host The host that nodes will bind on and publish to
195
215
  # @option arguments [Boolean] :clear_cluster Wipe out cluster content on startup (default: true)
196
216
  # @option arguments [Boolean] :quiet Disable printing to STDERR (default: false)
@@ -212,6 +232,7 @@ module Elasticsearch
212
232
  @arguments[:es_params] ||= ENV.fetch('TEST_CLUSTER_PARAMS', '')
213
233
  @arguments[:multicast_enabled] ||= ENV.fetch('TEST_CLUSTER_MULTICAST', 'true')
214
234
  @arguments[:timeout] ||= ENV.fetch('TEST_CLUSTER_TIMEOUT', 60).to_i
235
+ @arguments[:timeout_version] ||= ENV.fetch('TEST_CLUSTER_TIMEOUT_VERSION', 15).to_i
215
236
  @arguments[:number_of_nodes] ||= ENV.fetch('TEST_CLUSTER_NODES', 2).to_i
216
237
  @arguments[:network_host] ||= ENV.fetch('TEST_CLUSTER_NETWORK_HOST', __default_network_host)
217
238
  @arguments[:quiet] ||= ! ENV.fetch('QUIET', '').empty?
@@ -419,8 +440,9 @@ module Elasticsearch
419
440
 
420
441
  # Determine Elasticsearch version to be launched
421
442
  #
422
- # Tries to parse the version number from the `lib/elasticsearch-X.Y.Z.jar` file,
423
- # it not available, uses `elasticsearch --version` or `elasticsearch -v`
443
+ # Tries to get the version from the arguments passed,
444
+ # if not available, it parses the version number from the `lib/elasticsearch-X.Y.Z.jar` file,
445
+ # if that is not available, uses `elasticsearch --version` or `elasticsearch -v`
424
446
  #
425
447
  # @api private
426
448
  #
@@ -428,10 +450,9 @@ module Elasticsearch
428
450
  #
429
451
  def __determine_version
430
452
  path_to_lib = File.dirname(arguments[:command]) + '/../lib/'
431
-
432
- jar = Dir.entries(path_to_lib).select { |f| f.start_with? 'elasticsearch' }.first if File.exist? path_to_lib
433
-
434
- version = if jar
453
+ version = if arguments[:version]
454
+ arguments[:version]
455
+ elsif File.exist?(path_to_lib) && !(jar = Dir.entries(path_to_lib).select { |f| f.start_with? 'elasticsearch' }.first).nil?
435
456
  __log "Determining version from [#{jar}]" if ENV['DEBUG']
436
457
  if m = jar.match(/elasticsearch\-(\d+\.\d+\.\d+).*/)
437
458
  m[1]
@@ -464,7 +485,7 @@ module Elasticsearch
464
485
  rout, wout = IO.pipe
465
486
  pid = Process.spawn("#{arguments[:command]} --version", out: wout)
466
487
 
467
- Timeout::timeout(10) do
488
+ Timeout::timeout(arguments[:timeout_version]) do
468
489
  Process.wait(pid)
469
490
  wout.close unless wout.closed?
470
491
  output = rout.read unless rout.closed?
@@ -53,28 +53,35 @@ module Elasticsearch
53
53
  #
54
54
  def measure(name, options={}, &block)
55
55
  ___ = '-'*ANSI::Terminal.terminal_width
56
- test_name = self.name.split('::').last
56
+ test_name = name
57
+ suite_name = self.name.split('::').last
57
58
  context_name = self.context(nil) {}.first.parent.name
58
59
  count = Integer(ENV['COUNT'] || options[:count] || 1_000)
59
60
  ticks = []
60
- # progress = ANSI::Progressbar.new("#{name} (#{count}x)", count)
61
+ progress = ANSI::Progressbar.new(suite_name, count) unless ENV['QUIET'] || options[:quiet]
61
62
 
62
- should "#{name} (#{count}x)" do
63
+ should "#{test_name} (#{count}x)" do
63
64
  RubyProf.start
64
65
 
65
- count.times do
66
- ticks << Benchmark.realtime { self.instance_eval(&block) }
67
- # RubyProf.pause
68
- # progress.inc
69
- # RubyProf.resume
70
- end
66
+ begin
67
+ count.times do
68
+ ticks << Benchmark.realtime { self.instance_eval(&block) }
71
69
 
72
- result = RubyProf.stop
73
- # progress.finish
70
+ if progress
71
+ RubyProf.pause
72
+ progress.inc
73
+ RubyProf.resume
74
+ end
75
+ end
76
+ ensure
77
+ result = RubyProf.stop
78
+ progress.finish if progress
79
+ end
74
80
 
75
- total = result.threads.reduce(0) { |total,info| total += info.total_time; total }
81
+ total = result.threads.reduce(0) { |t,info| t += info.total_time; t }
76
82
  mean = (ticks.sort[(ticks.size/2).round-1])*1000
77
83
  avg = (ticks.inject {|sum,el| sum += el; sum}.to_f/ticks.size)*1000
84
+ min = ticks.min*1000
78
85
  max = ticks.max*1000
79
86
 
80
87
 
@@ -84,9 +91,11 @@ module Elasticsearch
84
91
 
85
92
  puts "\n",
86
93
  ___,
87
- 'Context: ' + ANSI.bold(context_name) + ' should ' + ANSI.bold(name) + " (#{count}x)",
94
+ "#{suite_name}: " + ANSI.bold(context_name) + ' should ' + ANSI.bold(name) + " (#{count}x)",
95
+ "total: #{sprintf('%.2f', total)}s | " +
88
96
  "mean: #{sprintf('%.2f', mean)}ms | " +
89
97
  "avg: #{sprintf('%.2f', avg)}ms | " +
98
+ "min: #{sprintf('%.2f', min)}ms | " +
90
99
  "max: #{sprintf('%.2f', max)}ms",
91
100
  ___
92
101
  printer.print(STDOUT, {}) unless ENV['QUIET'] || options[:quiet]
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module Extensions
3
- VERSION = "0.0.26"
3
+ VERSION = "0.0.27"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
  require 'elasticsearch/extensions/ansi'
3
3
 
4
- class Elasticsearch::Extensions::AnsiTest < Test::Unit::TestCase
4
+ class Elasticsearch::Extensions::AnsiTest < Elasticsearch::Test::UnitTestCase
5
5
  context "The ANSI extension" do
6
6
  setup do
7
7
  @client = Elasticsearch::Client.new
@@ -38,7 +38,7 @@ end
38
38
 
39
39
  require 'elasticsearch/extensions/backup'
40
40
 
41
- class Elasticsearch::Extensions::BackupTest < Test::Unit::TestCase
41
+ class Elasticsearch::Extensions::BackupTest < Elasticsearch::Test::UnitTestCase
42
42
  context "The Backup gem extension" do
43
43
  setup do
44
44
  @model = stub trigger: true
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
  require 'elasticsearch/extensions/reindex'
3
3
 
4
- class Elasticsearch::Extensions::ReindexTest < Test::Unit::TestCase
4
+ class Elasticsearch::Extensions::ReindexTest < Elasticsearch::Test::UnitTestCase
5
5
  context "The Reindex extension module" do
6
6
  DEFAULT_OPTIONS = { source: { index: 'foo', client: Object.new }, target: { index: 'bar' } }
7
7
 
@@ -3,9 +3,13 @@ require 'pathname'
3
3
 
4
4
  require 'elasticsearch/extensions/test/cluster'
5
5
 
6
- class Elasticsearch::Extensions::TestClusterIntegrationTest < Test::Unit::TestCase
6
+ class Elasticsearch::Extensions::TestClusterIntegrationTest < Elasticsearch::Test::IntegrationTestCase
7
7
  context "The Test::Cluster" do
8
- PATH_TO_BUILDS = Pathname(File.expand_path('../../../../../../tmp/builds', __FILE__))
8
+ PATH_TO_BUILDS = if ENV['PATH_TO_BUILDS']
9
+ Pathname(ENV['PATH_TO_BUILDS'])
10
+ else
11
+ Pathname(File.expand_path('../../../../../../tmp/builds', __FILE__))
12
+ end
9
13
 
10
14
  unless PATH_TO_BUILDS.exist?
11
15
  puts "Path to builds doesn't exist, skipping TestClusterIntegrationTest"
@@ -13,21 +17,32 @@ class Elasticsearch::Extensions::TestClusterIntegrationTest < Test::Unit::TestCa
13
17
  end
14
18
 
15
19
  @builds = begin
16
- PATH_TO_BUILDS.entries.reject { |f| f.to_s =~ /^\./ }
20
+ PATH_TO_BUILDS.entries.reject { |f| f.to_s =~ /^\./ }.sort
17
21
  rescue Errno::ENOENT
18
22
  []
19
23
  end
20
24
 
25
+ STDOUT.puts %Q|Builds: \n#{@builds.map { |b| " * #{b}"}.join("\n")}| unless ENV['QUIET']
26
+
21
27
  @builds.each do |build|
22
28
  should "start and stop #{build.to_s}" do
23
29
  puts ("----- #{build.to_s} " + "-"*(80-7-build.to_s.size)).to_s.ansi(:bold)
24
- Elasticsearch::Extensions::Test::Cluster.start command: PATH_TO_BUILDS.join(build.join('bin/elasticsearch')).to_s
25
-
26
- # Index some data to create the data directory
27
- client = Elasticsearch::Client.new host: "localhost:9250"
28
- client.index index: 'test1', type: 'd', id: 1, body: { title: 'TEST' }
30
+ begin
31
+ Elasticsearch::Extensions::Test::Cluster.start \
32
+ command: PATH_TO_BUILDS.join(build.join('bin/elasticsearch')).to_s,
33
+ port: 9260,
34
+ cluster_name: 'elasticsearch-ext-integration-test',
35
+ path_data: '/tmp/elasticsearch-ext-integration-test'
29
36
 
30
- Elasticsearch::Extensions::Test::Cluster.stop command: PATH_TO_BUILDS.join(build.join('bin/elasticsearch')).to_s
37
+ # Index some data to create the data directory
38
+ client = Elasticsearch::Client.new host: "localhost:9260"
39
+ client.index index: 'test1', type: 'd', id: 1, body: { title: 'TEST' }
40
+ ensure
41
+ Elasticsearch::Extensions::Test::Cluster.stop \
42
+ command: PATH_TO_BUILDS.join(build.join('bin/elasticsearch')).to_s,
43
+ port: 9260,
44
+ cluster_name: 'elasticsearch-ext-integration-test'
45
+ end
31
46
  end
32
47
  end
33
48
  end
@@ -2,7 +2,7 @@ require 'test_helper'
2
2
 
3
3
  require 'elasticsearch/extensions/test/cluster'
4
4
 
5
- class Elasticsearch::Extensions::TestClusterTest < Test::Unit::TestCase
5
+ class Elasticsearch::Extensions::TestClusterTest < Elasticsearch::Test::UnitTestCase
6
6
  include Elasticsearch::Extensions::Test
7
7
  context "The Test::Cluster" do
8
8
  context "module" do
@@ -271,6 +271,11 @@ class Elasticsearch::Extensions::TestClusterTest < Test::Unit::TestCase
271
271
  assert_equal '2.0', @subject.__determine_version
272
272
  end
273
273
 
274
+ should "return version from arguments" do
275
+ cluster = Elasticsearch::Extensions::Test::Cluster::Cluster.new command: '/foo/bar/bin/elasticsearch', version: '5.2'
276
+ assert_equal '5.0', cluster.__determine_version
277
+ end
278
+
274
279
  should "raise an exception when the version cannot be parsed from .jar" do
275
280
  # Incorrect jar version (no dots)
276
281
  File.expects(:exist?).with('/foo/bar/bin/../lib/').returns(true)
@@ -1,28 +1,18 @@
1
- RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
2
1
  JRUBY = defined?(JRUBY_VERSION)
3
2
 
4
- if RUBY_1_8
5
- puts "Tests for '#{File.expand_path('../..', __FILE__).split('/').last}' not supported on Ruby #{RUBY_VERSION}"
6
- exit(0)
7
- end
8
-
9
3
  if ENV['COVERAGE'] && ENV['CI'].nil? && !RUBY_1_8
10
4
  require 'simplecov'
11
- SimpleCov.start { add_filter "test_" }
5
+ SimpleCov.start { add_filter "/test|test_" }
12
6
  end
13
7
 
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_|ansi" }
19
- end
20
-
21
- require 'test/unit'
8
+ require 'minitest/autorun'
22
9
  require 'shoulda-context'
23
10
  require 'mocha/setup'
11
+
12
+ require 'minitest/reporters'
13
+ Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
14
+
24
15
  require 'ansi/code'
25
- require 'turn' unless ENV["TM_FILEPATH"] || ENV["NOTURN"] || RUBY_1_8
26
16
  require 'logger'
27
17
 
28
18
  require 'elasticsearch/extensions'
@@ -31,15 +21,32 @@ require 'elasticsearch/extensions/test/cluster'
31
21
 
32
22
  module Elasticsearch
33
23
  module Test
34
- class IntegrationTestCase < ::Test::Unit::TestCase
35
- extend Elasticsearch::Extensions::Test::StartupShutdown
24
+ module Assertions
25
+ def assert_nothing_raised(*)
26
+ yield
27
+ end
28
+ end
29
+
30
+ class UnitTestCase < ::Minitest::Test
31
+ include Assertions
32
+ alias_method :assert_not_nil, :refute_nil
33
+ alias_method :assert_raise, :assert_raises
34
+ end
35
+
36
+ class IntegrationTestCase < ::Minitest::Test
37
+ include Assertions
38
+ alias_method :assert_not_nil, :refute_nil
39
+ alias_method :assert_raise, :assert_raises
40
+
41
+ include Elasticsearch::Extensions::Test
42
+ extend StartupShutdown
36
43
 
37
44
  startup do
38
- Elasticsearch::Extensions::Test::Cluster.start(nodes: 2) if ENV['SERVER'] and not Elasticsearch::Extensions::Test::Cluster.running?
45
+ Elasticsearch::Extensions::Test::Cluster.start(number_of_nodes: 2) if ENV['SERVER'] and not Elasticsearch::Extensions::Test::Cluster.running?(number_of_nodes: 2)
39
46
  end
40
47
 
41
48
  shutdown do
42
- Elasticsearch::Extensions::Test::Cluster.stop if ENV['SERVER'] and Elasticsearch::Extensions::Test::Cluster.running?
49
+ Elasticsearch::Extensions::Test::Cluster.stop(number_of_nodes: 2) if ENV['SERVER'] and Elasticsearch::Extensions::Test::Cluster.running?(number_of_nodes: 2)
43
50
  end
44
51
  end
45
52
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ansi
@@ -39,19 +39,33 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: minitest
42
+ name: oj
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '4.0'
48
- type: :development
47
+ version: '0'
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '4.0'
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: patron
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: ruby-prof
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -137,61 +151,33 @@ dependencies:
137
151
  - !ruby/object:Gem::Version
138
152
  version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
- name: turn
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: yard
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: pry
154
+ name: minitest
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
- - - ">="
157
+ - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: '0'
159
+ version: '5'
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
- - - ">="
164
+ - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: '0'
166
+ version: '5'
181
167
  - !ruby/object:Gem::Dependency
182
- name: ci_reporter
168
+ name: minitest-reporters
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - "~>"
186
172
  - !ruby/object:Gem::Version
187
- version: '1.9'
173
+ version: '1'
188
174
  type: :development
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
- version: '1.9'
180
+ version: '1'
195
181
  - !ruby/object:Gem::Dependency
196
182
  name: simplecov
197
183
  requirement: !ruby/object:Gem::Requirement
@@ -207,7 +193,7 @@ dependencies:
207
193
  - !ruby/object:Gem::Version
208
194
  version: '0'
209
195
  - !ruby/object:Gem::Dependency
210
- name: simplecov-rcov
196
+ name: yard
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
199
  - - ">="
@@ -235,21 +221,7 @@ dependencies:
235
221
  - !ruby/object:Gem::Version
236
222
  version: '0'
237
223
  - !ruby/object:Gem::Dependency
238
- name: patron
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: oj
224
+ name: pry
253
225
  requirement: !ruby/object:Gem::Requirement
254
226
  requirements:
255
227
  - - ">="
@@ -315,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
287
  version: '0'
316
288
  requirements: []
317
289
  rubyforge_project:
318
- rubygems_version: 2.2.2
290
+ rubygems_version: 2.5.2
319
291
  signing_key:
320
292
  specification_version: 4
321
293
  summary: Extensions for the Elasticsearch Rubygem