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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e48143c4262e94c462591ac1b72a135b1e9e0b3c74c9177677ab2a951275fe3
4
- data.tar.gz: b89516a8178fc3fae7a9f26fdacf996087f325ac75e902b2f3325bced9356657
3
+ metadata.gz: c1bf1f8264e8d71fdecf26ee8c089d35ca54a9664bd4f2b474e109e1871eefb5
4
+ data.tar.gz: 373353381ee3db9097389076d3752b09b7d04b8a6796723db92b3787a0c27364
5
5
  SHA512:
6
- metadata.gz: 45a4e4575bc208adec2bb611f178e0790c0fb7f306dbc7a284931301dc0ccd38245832f514f43ae38959dd11c9586e92b82ec8634583046ba02fd73e4f8b3632
7
- data.tar.gz: 4778126a821dfad3702d94efd50a51e6265550b98d61bb3c08f62e04c03fe771bef6b16ce749ec02618940a3aedf4903aab66d149a438d4d0b6846771e92cc5a
6
+ metadata.gz: d1444db81bf1d3ce37def7dd154479dcf2b5d8b9d24233a47f990fcc50435371b8694334614ffb4eb5b74c6d7e1d752a87ed8381ff8e9bc8cdccf7ce25c1d7b5
7
+ data.tar.gz: a80ba9d4deb94a9c34cd0f57830ac7dc3b79880161ba88a0d38a2c48fc7e7b3e96eac1c5a610aeaa50b42edbbaa495cbacd391f9894c01cc4d7d4413197b1887
@@ -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.pre.1'
49
- s.add_dependency 'elasticsearch-api', '7.11.0.pre.1'
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, Elasticsearch::VERSION]
41
+ META_HEADER_SERVICE_VERSION = [:es, client_meta_version].freeze
33
42
  end
@@ -16,5 +16,5 @@
16
16
  # under the License.
17
17
 
18
18
  module Elasticsearch
19
- VERSION = '7.11.0.pre.1'.freeze
19
+ VERSION = '7.11.0'.freeze
20
20
  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.pre.1
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-01-11 00:00:00.000000000 Z
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.pre.1
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.pre.1
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.pre.1
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.pre.1
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: 1.3.1
318
+ version: '0'
319
319
  requirements: []
320
320
  rubygems_version: 3.1.4
321
321
  signing_key: