elasticsearch-extensions 0.0.29 → 0.0.30
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f4760fbeff3a693cc08f02710afebaaf1dbca1a0d0771c36fc3b5072932f0268
|
4
|
+
data.tar.gz: 6f3da46e288f0ca3d98be99e6e1455dd18d2af0b69d2a3b3841a3fbbf70c660a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e6ad27fa0c9588b9f58da4f7cecabba3a96b5b69a51fd469bac7fad0a4fe348fbd9acc8aac8a0b8205fac22fe0e5f62703da639f2bbadccda66ff7541ace0f7
|
7
|
+
data.tar.gz: a092b5a179bf08df5b13675b0a9f59565bcc0ebfc1e2720f29125f6319d8d47c22ac5e8414976d678b528559c8d0aca5bb8f068f56950c04ba36d29190b24622
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_dependency "elasticsearch"
|
23
23
|
|
24
24
|
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
25
|
-
s.
|
25
|
+
s.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
26
26
|
end
|
27
27
|
|
28
28
|
s.add_development_dependency "bundler", "> 1"
|
@@ -453,7 +453,7 @@ module Elasticsearch
|
|
453
453
|
path_to_lib = File.dirname(arguments[:command]) + '/../lib/'
|
454
454
|
version = if arguments[:version]
|
455
455
|
arguments[:version]
|
456
|
-
elsif File.exist?(path_to_lib) && !(jar = Dir.entries(path_to_lib).select { |f| f
|
456
|
+
elsif File.exist?(path_to_lib) && !(jar = Dir.entries(path_to_lib).select { |f| f.start_with? 'elasticsearch' }.first).nil?
|
457
457
|
__log "Determining version from [#{jar}]" if ENV['DEBUG']
|
458
458
|
if m = jar.match(/elasticsearch\-(\d+\.\d+\.\d+).*/)
|
459
459
|
m[1]
|
@@ -252,7 +252,7 @@ class Elasticsearch::Extensions::TestClusterTest < Elasticsearch::Test::UnitTest
|
|
252
252
|
|
253
253
|
should "return version from lib/elasticsearch.X.Y.Z.jar" do
|
254
254
|
File.expects(:exist?).with('/foo/bar/bin/../lib/').returns(true)
|
255
|
-
Dir.expects(:entries).with('/foo/bar/bin/../lib/').returns(['foo.jar', 'elasticsearch-
|
255
|
+
Dir.expects(:entries).with('/foo/bar/bin/../lib/').returns(['foo.jar', 'elasticsearch-2.3.0.jar'])
|
256
256
|
|
257
257
|
assert_equal '2.0', @subject.__determine_version
|
258
258
|
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.
|
4
|
+
version: 0.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ansi
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
|
-
type: :
|
48
|
+
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
@@ -287,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
287
|
version: '0'
|
288
288
|
requirements: []
|
289
289
|
rubyforge_project:
|
290
|
-
rubygems_version: 2.
|
290
|
+
rubygems_version: 2.7.7
|
291
291
|
signing_key:
|
292
292
|
specification_version: 4
|
293
293
|
summary: Extensions for the Elasticsearch Rubygem
|