elasticsearch-api 7.12.0 → 7.13.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -8
  3. data/Rakefile +46 -62
  4. data/lib/elasticsearch/api.rb +2 -1
  5. data/lib/elasticsearch/api/actions/bulk.rb +1 -1
  6. data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
  7. data/lib/elasticsearch/api/actions/cat/allocation.rb +1 -1
  8. data/lib/elasticsearch/api/actions/cat/count.rb +1 -1
  9. data/lib/elasticsearch/api/actions/cat/fielddata.rb +1 -1
  10. data/lib/elasticsearch/api/actions/cat/health.rb +1 -1
  11. data/lib/elasticsearch/api/actions/cat/help.rb +1 -1
  12. data/lib/elasticsearch/api/actions/cat/indices.rb +1 -1
  13. data/lib/elasticsearch/api/actions/cat/master.rb +1 -1
  14. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +1 -1
  15. data/lib/elasticsearch/api/actions/cat/nodes.rb +4 -2
  16. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +1 -1
  17. data/lib/elasticsearch/api/actions/cat/plugins.rb +1 -1
  18. data/lib/elasticsearch/api/actions/cat/recovery.rb +1 -1
  19. data/lib/elasticsearch/api/actions/cat/repositories.rb +1 -1
  20. data/lib/elasticsearch/api/actions/cat/segments.rb +1 -1
  21. data/lib/elasticsearch/api/actions/cat/shards.rb +1 -1
  22. data/lib/elasticsearch/api/actions/cat/snapshots.rb +1 -1
  23. data/lib/elasticsearch/api/actions/cat/tasks.rb +1 -1
  24. data/lib/elasticsearch/api/actions/cat/templates.rb +1 -1
  25. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +1 -1
  26. data/lib/elasticsearch/api/actions/clear_scroll.rb +1 -1
  27. data/lib/elasticsearch/api/actions/close_point_in_time.rb +42 -0
  28. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +1 -1
  29. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +1 -1
  30. data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +1 -1
  31. data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +1 -1
  32. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +1 -1
  33. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +1 -1
  34. data/lib/elasticsearch/api/actions/cluster/health.rb +1 -1
  35. data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +1 -1
  36. data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +1 -1
  37. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +1 -1
  38. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +1 -1
  39. data/lib/elasticsearch/api/actions/cluster/remote_info.rb +1 -1
  40. data/lib/elasticsearch/api/actions/cluster/reroute.rb +1 -1
  41. data/lib/elasticsearch/api/actions/cluster/state.rb +1 -1
  42. data/lib/elasticsearch/api/actions/cluster/stats.rb +1 -1
  43. data/lib/elasticsearch/api/actions/count.rb +1 -1
  44. data/lib/elasticsearch/api/actions/create.rb +1 -1
  45. data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +1 -1
  46. data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +1 -1
  47. data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +1 -1
  48. data/lib/elasticsearch/api/actions/delete.rb +1 -1
  49. data/lib/elasticsearch/api/actions/delete_by_query.rb +1 -1
  50. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
  51. data/lib/elasticsearch/api/actions/delete_script.rb +1 -1
  52. data/lib/elasticsearch/api/actions/exists.rb +1 -1
  53. data/lib/elasticsearch/api/actions/exists_source.rb +1 -1
  54. data/lib/elasticsearch/api/actions/explain.rb +1 -1
  55. data/lib/elasticsearch/api/actions/features/get_features.rb +2 -2
  56. data/lib/elasticsearch/api/actions/features/reset_features.rb +47 -0
  57. data/lib/elasticsearch/api/actions/field_caps.rb +1 -1
  58. data/lib/elasticsearch/api/actions/get.rb +1 -1
  59. data/lib/elasticsearch/api/actions/get_script.rb +1 -1
  60. data/lib/elasticsearch/api/actions/get_script_context.rb +1 -1
  61. data/lib/elasticsearch/api/actions/get_script_languages.rb +1 -1
  62. data/lib/elasticsearch/api/actions/get_source.rb +1 -1
  63. data/lib/elasticsearch/api/actions/index.rb +1 -1
  64. data/lib/elasticsearch/api/actions/indices/add_block.rb +1 -1
  65. data/lib/elasticsearch/api/actions/indices/analyze.rb +1 -1
  66. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +1 -1
  67. data/lib/elasticsearch/api/actions/indices/clone.rb +1 -1
  68. data/lib/elasticsearch/api/actions/indices/close.rb +1 -1
  69. data/lib/elasticsearch/api/actions/indices/create.rb +1 -1
  70. data/lib/elasticsearch/api/actions/indices/delete.rb +1 -1
  71. data/lib/elasticsearch/api/actions/indices/delete_alias.rb +1 -1
  72. data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +1 -1
  73. data/lib/elasticsearch/api/actions/indices/delete_template.rb +1 -1
  74. data/lib/elasticsearch/api/actions/indices/exists.rb +1 -1
  75. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +1 -1
  76. data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +1 -1
  77. data/lib/elasticsearch/api/actions/indices/exists_template.rb +1 -1
  78. data/lib/elasticsearch/api/actions/indices/exists_type.rb +1 -1
  79. data/lib/elasticsearch/api/actions/indices/flush.rb +1 -1
  80. data/lib/elasticsearch/api/actions/indices/flush_synced.rb +1 -1
  81. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +1 -1
  82. data/lib/elasticsearch/api/actions/indices/freeze.rb +29 -19
  83. data/lib/elasticsearch/api/actions/indices/get.rb +1 -1
  84. data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
  85. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +1 -1
  86. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +1 -1
  87. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +1 -1
  88. data/lib/elasticsearch/api/actions/indices/get_settings.rb +1 -1
  89. data/lib/elasticsearch/api/actions/indices/get_template.rb +1 -1
  90. data/lib/elasticsearch/api/actions/indices/get_upgrade.rb +1 -1
  91. data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
  92. data/lib/elasticsearch/api/actions/indices/put_alias.rb +1 -1
  93. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -1
  94. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +1 -1
  95. data/lib/elasticsearch/api/actions/indices/put_settings.rb +1 -1
  96. data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
  97. data/lib/elasticsearch/api/actions/indices/recovery.rb +1 -1
  98. data/lib/elasticsearch/api/actions/indices/refresh.rb +1 -1
  99. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +1 -1
  100. data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
  101. data/lib/elasticsearch/api/actions/indices/segments.rb +1 -1
  102. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +1 -1
  103. data/lib/elasticsearch/api/actions/indices/shrink.rb +1 -1
  104. data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +1 -1
  105. data/lib/elasticsearch/api/actions/indices/simulate_template.rb +1 -1
  106. data/lib/elasticsearch/api/actions/indices/split.rb +1 -1
  107. data/lib/elasticsearch/api/actions/indices/stats.rb +1 -1
  108. data/lib/elasticsearch/api/actions/indices/unfreeze.rb +29 -19
  109. data/lib/elasticsearch/api/actions/indices/update_aliases.rb +1 -1
  110. data/lib/elasticsearch/api/actions/indices/upgrade.rb +1 -1
  111. data/lib/elasticsearch/api/actions/indices/validate_query.rb +1 -1
  112. data/lib/elasticsearch/api/actions/info.rb +1 -1
  113. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +1 -1
  114. data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +43 -0
  115. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +3 -1
  116. data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +1 -1
  117. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +1 -1
  118. data/lib/elasticsearch/api/actions/ingest/simulate.rb +1 -1
  119. data/lib/elasticsearch/api/actions/mget.rb +1 -1
  120. data/lib/elasticsearch/api/actions/msearch.rb +1 -1
  121. data/lib/elasticsearch/api/actions/msearch_template.rb +1 -1
  122. data/lib/elasticsearch/api/actions/mtermvectors.rb +1 -1
  123. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +1 -1
  124. data/lib/elasticsearch/api/actions/nodes/info.rb +1 -1
  125. data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +1 -1
  126. data/lib/elasticsearch/api/actions/nodes/stats.rb +4 -2
  127. data/lib/elasticsearch/api/actions/nodes/usage.rb +1 -1
  128. data/lib/elasticsearch/api/actions/open_point_in_time.rb +64 -0
  129. data/lib/elasticsearch/api/actions/ping.rb +1 -1
  130. data/lib/elasticsearch/api/actions/put_script.rb +1 -1
  131. data/lib/elasticsearch/api/actions/rank_eval.rb +1 -1
  132. data/lib/elasticsearch/api/actions/reindex.rb +1 -1
  133. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
  134. data/lib/elasticsearch/api/actions/render_search_template.rb +1 -1
  135. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +1 -1
  136. data/lib/elasticsearch/api/actions/scroll.rb +1 -1
  137. data/lib/elasticsearch/api/actions/search.rb +1 -1
  138. data/lib/elasticsearch/api/actions/search_shards.rb +1 -1
  139. data/lib/elasticsearch/api/actions/search_template.rb +1 -1
  140. data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +52 -0
  141. data/lib/elasticsearch/api/actions/shutdown/get_node.rb +54 -0
  142. data/lib/elasticsearch/api/actions/shutdown/params_registry.rb +60 -0
  143. data/lib/elasticsearch/api/actions/shutdown/put_node.rb +54 -0
  144. data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +1 -1
  145. data/lib/elasticsearch/api/actions/snapshot/clone.rb +1 -1
  146. data/lib/elasticsearch/api/actions/snapshot/create.rb +1 -1
  147. data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +1 -1
  148. data/lib/elasticsearch/api/actions/snapshot/delete.rb +1 -1
  149. data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +1 -1
  150. data/lib/elasticsearch/api/actions/snapshot/get.rb +3 -1
  151. data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +1 -1
  152. data/lib/elasticsearch/api/actions/snapshot/restore.rb +1 -1
  153. data/lib/elasticsearch/api/actions/snapshot/status.rb +1 -1
  154. data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +1 -1
  155. data/lib/elasticsearch/api/actions/tasks/cancel.rb +1 -1
  156. data/lib/elasticsearch/api/actions/tasks/get.rb +1 -1
  157. data/lib/elasticsearch/api/actions/tasks/list.rb +1 -1
  158. data/lib/elasticsearch/api/actions/termvectors.rb +1 -1
  159. data/lib/elasticsearch/api/actions/update.rb +1 -1
  160. data/lib/elasticsearch/api/actions/update_by_query.rb +1 -1
  161. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
  162. data/lib/elasticsearch/api/namespace/shutdown.rb +37 -0
  163. data/lib/elasticsearch/api/version.rb +1 -1
  164. data/spec/elasticsearch/api/actions/close_point_in_time_spec.rb +34 -0
  165. data/spec/elasticsearch/api/actions/features/get_features_spec.rb +5 -5
  166. data/spec/elasticsearch/api/actions/features/reset_features_spec.rb +34 -0
  167. data/spec/elasticsearch/api/actions/indices/freeze_spec.rb +1 -1
  168. data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +1 -1
  169. data/spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb +34 -0
  170. data/spec/elasticsearch/api/actions/open_point_in_time_spec.rb +44 -0
  171. data/spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb +44 -0
  172. data/spec/elasticsearch/api/actions/shutdown/get_node_spec.rb +46 -0
  173. data/spec/elasticsearch/api/actions/shutdown/put_node_spec.rb +50 -0
  174. data/spec/elasticsearch/api/rest_api_yaml_spec.rb +7 -0
  175. data/spec/rest_yaml_tests_helper.rb +4 -7
  176. data/utils/Gemfile +4 -3
  177. data/utils/thor/generate_source.rb +1 -2
  178. data/utils/thor/generator/files_helper.rb +38 -20
  179. metadata +28 -5
data/utils/Gemfile CHANGED
@@ -18,10 +18,11 @@
18
18
  source 'https://rubygems.org'
19
19
 
20
20
  gem 'activesupport'
21
- gem 'rest-client'
21
+ gem 'byebug'
22
22
  gem 'coderay'
23
- gem 'multi_json'
24
- gem 'thor'
25
23
  gem 'json'
24
+ gem 'multi_json'
26
25
  gem 'pry'
26
+ gem 'rest-client'
27
27
  gem 'rubocop'
28
+ gem 'thor'
@@ -66,11 +66,10 @@ module Elasticsearch
66
66
 
67
67
  def __generate_source(api)
68
68
  @current_api = api
69
- @input = FilesHelper.input_dir(api)
70
69
  @output = FilesHelper.output_dir(api)
71
70
 
72
71
  FilesHelper.files(api).each do |filepath|
73
- @path = Pathname(@input.join(filepath))
72
+ @path = Pathname(filepath)
74
73
  @json = MultiJson.load(File.read(@path))
75
74
  @spec = @json.values.first
76
75
  say_status 'json', @path, :yellow
@@ -21,20 +21,47 @@ require_relative '../../../lib/elasticsearch/api/version.rb'
21
21
  module Elasticsearch
22
22
  module API
23
23
  module FilesHelper
24
- OSS_SRC_PATH = '../../../../../tmp/elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api/'.freeze
24
+ PROJECT_PATH = File.join(File.dirname(__FILE__), '..')
25
+ SRC_PATH = File.join(PROJECT_PATH, '..', '..', '..', 'tmp/elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api/')
25
26
  OSS_OUTPUT_DIR = '../../elasticsearch-api/lib/elasticsearch/api/actions'.freeze
26
-
27
- XPACK_SRC_PATH = '../../../../../tmp/elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/api'.freeze
28
27
  XPACK_OUTPUT_DIR = '../../elasticsearch-xpack/lib/elasticsearch/xpack/api/actions'.freeze
29
28
 
30
- # Path to directory with JSON API specs
31
- def self.input_dir(api)
32
- input_dir = if api == :xpack
33
- File.expand_path(XPACK_SRC_PATH, __FILE__)
34
- else
35
- File.expand_path(OSS_SRC_PATH, __FILE__)
36
- end
37
- Pathname(input_dir)
29
+ TESTS_DIRECTORIES = {
30
+ oss: "#{PROJECT_PATH}/../../../tmp/rest-api-spec/test/free",
31
+ xpack: "#{PROJECT_PATH}/../../../tmp/rest-api-spec/test/platinum"
32
+ }.freeze
33
+
34
+ # Only get JSON files and remove hidden files
35
+ def self.files(api)
36
+ json_files = if api == :xpack
37
+ xpack_files
38
+ else
39
+ Dir.entries(SRC_PATH) - xpack_files
40
+ end
41
+ json_files.reject do |file|
42
+ File.extname(file) != '.json' ||
43
+ File.basename(file) == '_common.json'
44
+ end.map { |file| "#{SRC_PATH}#{file}" }
45
+ end
46
+
47
+ XPACK_ENDPOINTS = [
48
+ 'autoscaling', 'cross_cluster_replication', 'ccr', 'data_frame_transform_deprecated',
49
+ 'enrich', 'eql', 'fleet', 'ilm', 'logstash', 'migration', 'watcher', 'slm'
50
+ ]
51
+ XPACK_ENDPOINTS_REGEXP = /data_stream|ml_|reload_search_analyzers|transform/
52
+
53
+ def self.xpack_files
54
+ xpack_tests = Dir.entries(TESTS_DIRECTORIES[:xpack])
55
+ Dir.entries(SRC_PATH).map do |entry|
56
+ filename = entry.split('.').first
57
+ next if filename == 'snapshot'
58
+
59
+ if xpack_tests.include?(filename) ||
60
+ XPACK_ENDPOINTS.include?(filename) ||
61
+ entry.match?(XPACK_ENDPOINTS_REGEXP)
62
+ entry
63
+ end
64
+ end.compact
38
65
  end
39
66
 
40
67
  # Path to directory to copy generated files
@@ -42,15 +69,6 @@ module Elasticsearch
42
69
  api == :xpack ? Pathname(XPACK_OUTPUT_DIR) : Pathname(OSS_OUTPUT_DIR)
43
70
  end
44
71
 
45
- # Only get JSON files and remove hidden files
46
- def self.files(api)
47
- Dir.entries(input_dir(api).to_s).reject do |f|
48
- f.start_with?('.') ||
49
- f.start_with?('_') ||
50
- File.extname(f) != '.json'
51
- end
52
- end
53
-
54
72
  def self.gem_version
55
73
  regex = /([0-9]{1,2}\.[0-9x]{1,2})/
56
74
  Elasticsearch::API::VERSION.match(regex)[0]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.12.0
4
+ version: 7.13.0.pre
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-03-23 00:00:00.000000000 Z
11
+ date: 2021-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -382,6 +382,7 @@ files:
382
382
  - lib/elasticsearch/api/actions/cat/templates.rb
383
383
  - lib/elasticsearch/api/actions/cat/thread_pool.rb
384
384
  - lib/elasticsearch/api/actions/clear_scroll.rb
385
+ - lib/elasticsearch/api/actions/close_point_in_time.rb
385
386
  - lib/elasticsearch/api/actions/cluster/allocation_explain.rb
386
387
  - lib/elasticsearch/api/actions/cluster/delete_component_template.rb
387
388
  - lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb
@@ -414,6 +415,7 @@ files:
414
415
  - lib/elasticsearch/api/actions/explain.rb
415
416
  - lib/elasticsearch/api/actions/features/get_features.rb
416
417
  - lib/elasticsearch/api/actions/features/params_registry.rb
418
+ - lib/elasticsearch/api/actions/features/reset_features.rb
417
419
  - lib/elasticsearch/api/actions/field_caps.rb
418
420
  - lib/elasticsearch/api/actions/get.rb
419
421
  - lib/elasticsearch/api/actions/get_script.rb
@@ -472,6 +474,7 @@ files:
472
474
  - lib/elasticsearch/api/actions/indices/validate_query.rb
473
475
  - lib/elasticsearch/api/actions/info.rb
474
476
  - lib/elasticsearch/api/actions/ingest/delete_pipeline.rb
477
+ - lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb
475
478
  - lib/elasticsearch/api/actions/ingest/get_pipeline.rb
476
479
  - lib/elasticsearch/api/actions/ingest/params_registry.rb
477
480
  - lib/elasticsearch/api/actions/ingest/processor_grok.rb
@@ -488,6 +491,7 @@ files:
488
491
  - lib/elasticsearch/api/actions/nodes/shutdown.rb
489
492
  - lib/elasticsearch/api/actions/nodes/stats.rb
490
493
  - lib/elasticsearch/api/actions/nodes/usage.rb
494
+ - lib/elasticsearch/api/actions/open_point_in_time.rb
491
495
  - lib/elasticsearch/api/actions/params_registry.rb
492
496
  - lib/elasticsearch/api/actions/ping.rb
493
497
  - lib/elasticsearch/api/actions/put_script.rb
@@ -501,6 +505,10 @@ files:
501
505
  - lib/elasticsearch/api/actions/search.rb
502
506
  - lib/elasticsearch/api/actions/search_shards.rb
503
507
  - lib/elasticsearch/api/actions/search_template.rb
508
+ - lib/elasticsearch/api/actions/shutdown/delete_node.rb
509
+ - lib/elasticsearch/api/actions/shutdown/get_node.rb
510
+ - lib/elasticsearch/api/actions/shutdown/params_registry.rb
511
+ - lib/elasticsearch/api/actions/shutdown/put_node.rb
504
512
  - lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb
505
513
  - lib/elasticsearch/api/actions/snapshot/clone.rb
506
514
  - lib/elasticsearch/api/actions/snapshot/create.rb
@@ -531,6 +539,7 @@ files:
531
539
  - lib/elasticsearch/api/namespace/ingest.rb
532
540
  - lib/elasticsearch/api/namespace/nodes.rb
533
541
  - lib/elasticsearch/api/namespace/remote.rb
542
+ - lib/elasticsearch/api/namespace/shutdown.rb
534
543
  - lib/elasticsearch/api/namespace/snapshot.rb
535
544
  - lib/elasticsearch/api/namespace/tasks.rb
536
545
  - lib/elasticsearch/api/utils.rb
@@ -559,6 +568,7 @@ files:
559
568
  - spec/elasticsearch/api/actions/cat/templates_spec.rb
560
569
  - spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
561
570
  - spec/elasticsearch/api/actions/clear_scroll_spec.rb
571
+ - spec/elasticsearch/api/actions/close_point_in_time_spec.rb
562
572
  - spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
563
573
  - spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
564
574
  - spec/elasticsearch/api/actions/cluster/health_spec.rb
@@ -579,6 +589,7 @@ files:
579
589
  - spec/elasticsearch/api/actions/exists_document_spec.rb
580
590
  - spec/elasticsearch/api/actions/explain_document_spec.rb
581
591
  - spec/elasticsearch/api/actions/features/get_features_spec.rb
592
+ - spec/elasticsearch/api/actions/features/reset_features_spec.rb
582
593
  - spec/elasticsearch/api/actions/field_caps_spec.rb
583
594
  - spec/elasticsearch/api/actions/get_document_source_spec.rb
584
595
  - spec/elasticsearch/api/actions/get_document_spec.rb
@@ -626,6 +637,7 @@ files:
626
637
  - spec/elasticsearch/api/actions/indices/validate_query_spec.rb
627
638
  - spec/elasticsearch/api/actions/info_spec.rb
628
639
  - spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
640
+ - spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
629
641
  - spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
630
642
  - spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
631
643
  - spec/elasticsearch/api/actions/ingest/simulate_spec.rb
@@ -639,6 +651,7 @@ files:
639
651
  - spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
640
652
  - spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
641
653
  - spec/elasticsearch/api/actions/nodes/stats_spec.rb
654
+ - spec/elasticsearch/api/actions/open_point_in_time_spec.rb
642
655
  - spec/elasticsearch/api/actions/ping_spec.rb
643
656
  - spec/elasticsearch/api/actions/put_script_spec.rb
644
657
  - spec/elasticsearch/api/actions/reindex_spec.rb
@@ -648,6 +661,9 @@ files:
648
661
  - spec/elasticsearch/api/actions/search_shards_spec.rb
649
662
  - spec/elasticsearch/api/actions/search_spec.rb
650
663
  - spec/elasticsearch/api/actions/search_template_spec.rb
664
+ - spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
665
+ - spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
666
+ - spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
651
667
  - spec/elasticsearch/api/actions/snapshot/clone_spec.rb
652
668
  - spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
653
669
  - spec/elasticsearch/api/actions/snapshot/create_spec.rb
@@ -707,11 +723,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
707
723
  version: '2.4'
708
724
  required_rubygems_version: !ruby/object:Gem::Requirement
709
725
  requirements:
710
- - - ">="
726
+ - - ">"
711
727
  - !ruby/object:Gem::Version
712
- version: '0'
728
+ version: 1.3.1
713
729
  requirements: []
714
- rubygems_version: 3.1.4
730
+ rubygems_version: 3.2.16
715
731
  signing_key:
716
732
  specification_version: 4
717
733
  summary: Ruby API for Elasticsearch.
@@ -740,6 +756,7 @@ test_files:
740
756
  - spec/elasticsearch/api/actions/cat/templates_spec.rb
741
757
  - spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
742
758
  - spec/elasticsearch/api/actions/clear_scroll_spec.rb
759
+ - spec/elasticsearch/api/actions/close_point_in_time_spec.rb
743
760
  - spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
744
761
  - spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
745
762
  - spec/elasticsearch/api/actions/cluster/health_spec.rb
@@ -760,6 +777,7 @@ test_files:
760
777
  - spec/elasticsearch/api/actions/exists_document_spec.rb
761
778
  - spec/elasticsearch/api/actions/explain_document_spec.rb
762
779
  - spec/elasticsearch/api/actions/features/get_features_spec.rb
780
+ - spec/elasticsearch/api/actions/features/reset_features_spec.rb
763
781
  - spec/elasticsearch/api/actions/field_caps_spec.rb
764
782
  - spec/elasticsearch/api/actions/get_document_source_spec.rb
765
783
  - spec/elasticsearch/api/actions/get_document_spec.rb
@@ -807,6 +825,7 @@ test_files:
807
825
  - spec/elasticsearch/api/actions/indices/validate_query_spec.rb
808
826
  - spec/elasticsearch/api/actions/info_spec.rb
809
827
  - spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
828
+ - spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
810
829
  - spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
811
830
  - spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
812
831
  - spec/elasticsearch/api/actions/ingest/simulate_spec.rb
@@ -820,6 +839,7 @@ test_files:
820
839
  - spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
821
840
  - spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
822
841
  - spec/elasticsearch/api/actions/nodes/stats_spec.rb
842
+ - spec/elasticsearch/api/actions/open_point_in_time_spec.rb
823
843
  - spec/elasticsearch/api/actions/ping_spec.rb
824
844
  - spec/elasticsearch/api/actions/put_script_spec.rb
825
845
  - spec/elasticsearch/api/actions/reindex_spec.rb
@@ -829,6 +849,9 @@ test_files:
829
849
  - spec/elasticsearch/api/actions/search_shards_spec.rb
830
850
  - spec/elasticsearch/api/actions/search_spec.rb
831
851
  - spec/elasticsearch/api/actions/search_template_spec.rb
852
+ - spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
853
+ - spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
854
+ - spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
832
855
  - spec/elasticsearch/api/actions/snapshot/clone_spec.rb
833
856
  - spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
834
857
  - spec/elasticsearch/api/actions/snapshot/create_spec.rb