elasticsearch 7.11.0.pre.1 → 7.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/elasticsearch.gemspec +2 -2
- data/lib/elasticsearch.rb +10 -1
- data/lib/elasticsearch/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1bf1f8264e8d71fdecf26ee8c089d35ca54a9664bd4f2b474e109e1871eefb5
|
4
|
+
data.tar.gz: 373353381ee3db9097389076d3752b09b7d04b8a6796723db92b3787a0c27364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1444db81bf1d3ce37def7dd154479dcf2b5d8b9d24233a47f990fcc50435371b8694334614ffb4eb5b74c6d7e1d752a87ed8381ff8e9bc8cdccf7ce25c1d7b5
|
7
|
+
data.tar.gz: a80ba9d4deb94a9c34cd0f57830ac7dc3b79880161ba88a0d38a2c48fc7e7b3e96eac1c5a610aeaa50b42edbbaa495cbacd391f9894c01cc4d7d4413197b1887
|
data/elasticsearch.gemspec
CHANGED
@@ -45,8 +45,8 @@ Gem::Specification.new do |s|
|
|
45
45
|
|
46
46
|
s.required_ruby_version = '>= 2.4'
|
47
47
|
|
48
|
-
s.add_dependency 'elasticsearch-transport', '7.11.0
|
49
|
-
s.add_dependency 'elasticsearch-api', '7.11.0
|
48
|
+
s.add_dependency 'elasticsearch-transport', '7.11.0'
|
49
|
+
s.add_dependency 'elasticsearch-api', '7.11.0'
|
50
50
|
|
51
51
|
s.add_development_dependency 'bundler'
|
52
52
|
|
data/lib/elasticsearch.rb
CHANGED
@@ -28,6 +28,15 @@ module Elasticsearch
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
module Elastic
|
31
|
+
# If the version is X.X.X.pre/alpha/beta, use X.X.Xp for the meta-header:
|
32
|
+
def self.client_meta_version
|
33
|
+
regexp = /^([0-9]+\.[0-9]+\.[0-9]+)\.?([a-z0-9.-]+)?$/
|
34
|
+
match = Elasticsearch::VERSION.match(regexp)
|
35
|
+
return "#{match[1]}p" if match[2]
|
36
|
+
|
37
|
+
Elasticsearch::VERSION
|
38
|
+
end
|
39
|
+
|
31
40
|
# Constant for elasticsearch-transport meta-header
|
32
|
-
META_HEADER_SERVICE_VERSION = [:es,
|
41
|
+
META_HEADER_SERVICE_VERSION = [:es, client_meta_version].freeze
|
33
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.11.0
|
4
|
+
version: 7.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elasticsearch-transport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.11.0
|
19
|
+
version: 7.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.11.0
|
26
|
+
version: 7.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: elasticsearch-api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 7.11.0
|
33
|
+
version: 7.11.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 7.11.0
|
40
|
+
version: 7.11.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -313,9 +313,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
313
313
|
version: '2.4'
|
314
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
315
315
|
requirements:
|
316
|
-
- - "
|
316
|
+
- - ">="
|
317
317
|
- !ruby/object:Gem::Version
|
318
|
-
version:
|
318
|
+
version: '0'
|
319
319
|
requirements: []
|
320
320
|
rubygems_version: 3.1.4
|
321
321
|
signing_key:
|