elasticsearch-api 6.8.3 → 7.0.0.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +17 -1
- data/LICENSE.txt +199 -10
- data/README.md +3 -3
- data/Rakefile +23 -6
- data/elasticsearch-api.gemspec +77 -43
- data/lib/elasticsearch-api.rb +16 -3
- data/lib/elasticsearch/api.rb +18 -5
- data/lib/elasticsearch/api/actions/abort_benchmark.rb +17 -4
- data/lib/elasticsearch/api/actions/benchmark.rb +18 -5
- data/lib/elasticsearch/api/actions/bulk.rb +18 -7
- data/lib/elasticsearch/api/actions/cat/aliases.rb +25 -11
- data/lib/elasticsearch/api/actions/cat/allocation.rb +26 -12
- data/lib/elasticsearch/api/actions/cat/count.rb +25 -11
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +23 -11
- data/lib/elasticsearch/api/actions/cat/health.rb +26 -12
- data/lib/elasticsearch/api/actions/cat/help.rb +18 -6
- data/lib/elasticsearch/api/actions/cat/indices.rb +28 -13
- data/lib/elasticsearch/api/actions/cat/master.rb +25 -11
- data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +19 -7
- data/lib/elasticsearch/api/actions/cat/nodes.rb +25 -11
- data/lib/elasticsearch/api/actions/cat/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +25 -11
- data/lib/elasticsearch/api/actions/cat/plugins.rb +21 -8
- data/lib/elasticsearch/api/actions/cat/recovery.rb +26 -11
- data/lib/elasticsearch/api/actions/cat/repositories.rb +18 -7
- data/lib/elasticsearch/api/actions/cat/segments.rb +22 -10
- data/lib/elasticsearch/api/actions/cat/shards.rb +26 -12
- data/lib/elasticsearch/api/actions/cat/snapshots.rb +19 -9
- data/lib/elasticsearch/api/actions/cat/tasks.rb +20 -6
- data/lib/elasticsearch/api/actions/cat/templates.rb +21 -8
- data/lib/elasticsearch/api/actions/cat/thread_pool.rb +33 -16
- data/lib/elasticsearch/api/actions/clear_scroll.rb +19 -15
- data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +20 -6
- data/lib/elasticsearch/api/actions/cluster/get_settings.rb +19 -7
- data/lib/elasticsearch/api/actions/cluster/health.rb +35 -13
- data/lib/elasticsearch/api/actions/cluster/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +20 -6
- data/lib/elasticsearch/api/actions/cluster/put_settings.rb +19 -8
- data/lib/elasticsearch/api/actions/cluster/remote_info.rb +17 -10
- data/lib/elasticsearch/api/actions/cluster/reroute.rb +23 -10
- data/lib/elasticsearch/api/actions/cluster/state.rb +28 -18
- data/lib/elasticsearch/api/actions/cluster/stats.rb +21 -16
- data/lib/elasticsearch/api/actions/count.rb +18 -4
- data/lib/elasticsearch/api/actions/create.rb +16 -3
- data/lib/elasticsearch/api/actions/delete.rb +24 -19
- data/lib/elasticsearch/api/actions/delete_by_query.rb +18 -5
- data/lib/elasticsearch/api/actions/{delete_by_query_rethrottle.rb → delete_by_rethrottle.rb} +18 -5
- data/lib/elasticsearch/api/actions/delete_script.rb +18 -5
- data/lib/elasticsearch/api/actions/exists.rb +18 -6
- data/lib/elasticsearch/api/actions/exists_source.rb +16 -3
- data/lib/elasticsearch/api/actions/explain.rb +30 -10
- data/lib/elasticsearch/api/actions/field_caps.rb +18 -6
- data/lib/elasticsearch/api/actions/get.rb +20 -6
- data/lib/elasticsearch/api/actions/get_script.rb +22 -9
- data/lib/elasticsearch/api/actions/get_source.rb +32 -10
- data/lib/elasticsearch/api/actions/index.rb +37 -17
- data/lib/elasticsearch/api/actions/indices/analyze.rb +32 -6
- data/lib/elasticsearch/api/actions/indices/clear_cache.rb +20 -8
- data/lib/elasticsearch/api/actions/indices/close.rb +31 -11
- data/lib/elasticsearch/api/actions/indices/create.rb +36 -24
- data/lib/elasticsearch/api/actions/indices/delete.rb +21 -7
- data/lib/elasticsearch/api/actions/indices/delete_alias.rb +20 -8
- data/lib/elasticsearch/api/actions/indices/delete_template.rb +18 -6
- data/lib/elasticsearch/api/actions/indices/exists.rb +32 -12
- data/lib/elasticsearch/api/actions/indices/exists_alias.rb +30 -10
- data/lib/elasticsearch/api/actions/indices/exists_template.rb +20 -8
- data/lib/elasticsearch/api/actions/indices/exists_type.rb +31 -10
- data/lib/elasticsearch/api/actions/indices/flush.rb +26 -9
- data/lib/elasticsearch/api/actions/indices/flush_synced.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/freeze.rb +1 -4
- data/lib/elasticsearch/api/actions/indices/get.rb +21 -7
- data/lib/elasticsearch/api/actions/indices/get_alias.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +21 -7
- data/lib/elasticsearch/api/actions/indices/get_mapping.rb +21 -8
- data/lib/elasticsearch/api/actions/indices/get_settings.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/get_template.rb +21 -7
- data/lib/elasticsearch/api/actions/indices/open.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/indices/put_alias.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/put_mapping.rb +23 -11
- data/lib/elasticsearch/api/actions/indices/put_settings.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/put_template.rb +21 -7
- data/lib/elasticsearch/api/actions/indices/recovery.rb +19 -6
- data/lib/elasticsearch/api/actions/indices/refresh.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/rollover.rb +21 -7
- data/lib/elasticsearch/api/actions/indices/segments.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/shard_stores.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/shrink.rb +18 -7
- data/lib/elasticsearch/api/actions/indices/split.rb +19 -9
- data/lib/elasticsearch/api/actions/indices/stats.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/unfreeze.rb +0 -4
- data/lib/elasticsearch/api/actions/indices/update_aliases.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/upgrade.rb +18 -5
- data/lib/elasticsearch/api/actions/indices/validate_query.rb +18 -5
- data/lib/elasticsearch/api/actions/info.rb +16 -9
- data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +18 -5
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +20 -8
- data/lib/elasticsearch/api/actions/ingest/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +0 -4
- data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +18 -5
- data/lib/elasticsearch/api/actions/ingest/simulate.rb +22 -9
- data/lib/elasticsearch/api/actions/mget.rb +17 -4
- data/lib/elasticsearch/api/actions/msearch.rb +21 -7
- data/lib/elasticsearch/api/actions/msearch_template.rb +21 -6
- data/lib/elasticsearch/api/actions/mtermvectors.rb +18 -5
- data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +20 -5
- data/lib/elasticsearch/api/actions/nodes/info.rb +44 -11
- data/lib/elasticsearch/api/actions/nodes/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +19 -12
- data/lib/elasticsearch/api/actions/nodes/shutdown.rb +17 -4
- data/lib/elasticsearch/api/actions/nodes/stats.rb +18 -5
- data/lib/elasticsearch/api/actions/nodes/usage.rb +3 -7
- data/lib/elasticsearch/api/actions/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/ping.rb +16 -9
- data/lib/elasticsearch/api/actions/put_script.rb +18 -6
- data/lib/elasticsearch/api/actions/rank_eval.rb +17 -4
- data/lib/elasticsearch/api/actions/reindex.rb +19 -5
- data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +17 -4
- data/lib/elasticsearch/api/actions/remote/info.rb +16 -3
- data/lib/elasticsearch/api/actions/render_search_template.rb +18 -5
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +16 -9
- data/lib/elasticsearch/api/actions/scroll.rb +19 -6
- data/lib/elasticsearch/api/actions/search.rb +72 -39
- data/lib/elasticsearch/api/actions/search_shards.rb +31 -11
- data/lib/elasticsearch/api/actions/search_template.rb +21 -6
- data/lib/elasticsearch/api/actions/snapshot/create.rb +20 -6
- data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +18 -5
- data/lib/elasticsearch/api/actions/snapshot/delete.rb +20 -7
- data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +19 -5
- data/lib/elasticsearch/api/actions/snapshot/get.rb +21 -7
- data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +23 -7
- data/lib/elasticsearch/api/actions/snapshot/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/snapshot/restore.rb +18 -5
- data/lib/elasticsearch/api/actions/snapshot/status.rb +23 -8
- data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +18 -5
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +18 -5
- data/lib/elasticsearch/api/actions/tasks/get.rb +18 -5
- data/lib/elasticsearch/api/actions/tasks/list.rb +18 -5
- data/lib/elasticsearch/api/actions/tasks/params_registry.rb +19 -6
- data/lib/elasticsearch/api/actions/termvectors.rb +33 -18
- data/lib/elasticsearch/api/actions/update.rb +61 -26
- data/lib/elasticsearch/api/actions/update_by_query.rb +18 -5
- data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +16 -3
- data/lib/elasticsearch/api/namespace/cat.rb +16 -3
- data/lib/elasticsearch/api/namespace/cluster.rb +16 -3
- data/lib/elasticsearch/api/namespace/common.rb +16 -3
- data/lib/elasticsearch/api/namespace/indices.rb +16 -3
- data/lib/elasticsearch/api/namespace/ingest.rb +16 -3
- data/lib/elasticsearch/api/namespace/nodes.rb +16 -3
- data/lib/elasticsearch/api/namespace/remote.rb +16 -3
- data/lib/elasticsearch/api/namespace/snapshot.rb +16 -3
- data/lib/elasticsearch/api/namespace/tasks.rb +16 -3
- data/lib/elasticsearch/api/utils.rb +16 -3
- data/lib/elasticsearch/api/version.rb +17 -4
- data/spec/elasticsearch/api/actions/abort_benchmark_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/benchmark_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/bulk_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/aliases_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/allocation_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/count_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/fielddata_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/health_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/help_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/indices_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/master_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/nodeattrs_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/nodes_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/pending_tasks_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/plugins_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/recovery_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/repositories_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/segments_spec.rb +33 -4
- data/spec/elasticsearch/api/actions/cat/shards_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/snapshot_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/tasks_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/templates_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cat/thread_pool_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/clear_scroll_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/get_settings_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/health_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/pending_tasks_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/put_settings_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/remote_info_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/reroute_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/state_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/cluster/stats_spec.rb +16 -20
- data/spec/elasticsearch/api/actions/count_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/create_document_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/delete_by_query_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/delete_document_spec.rb +16 -9
- data/spec/elasticsearch/api/actions/delete_script_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/exists_document_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/explain_document_spec.rb +17 -10
- data/spec/elasticsearch/api/actions/field_caps_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/get_document_source_spec.rb +17 -4
- data/spec/elasticsearch/api/actions/get_document_spec.rb +17 -4
- data/spec/elasticsearch/api/actions/get_script_spec.rb +22 -16
- data/spec/elasticsearch/api/actions/hashie_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/index_document_spec.rb +16 -9
- data/spec/elasticsearch/api/actions/indices/analyze_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +19 -6
- data/spec/elasticsearch/api/actions/indices/close_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/create_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/delete_alias_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/delete_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/delete_template_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/exists_alias_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/exists_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/exists_template_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/exists_type_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/flush_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/flush_synced_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/forcemerge_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/freeze_spec.rb +68 -0
- data/spec/elasticsearch/api/actions/indices/get_alias_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/get_mapping_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/get_settings_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/get_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/open_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/put_alias_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/put_mapping_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/put_settings_spec.rb +31 -3
- data/spec/elasticsearch/api/actions/indices/put_template_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/recovery_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/refresh_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/rollover_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/segments_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/shard_stores_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/shrink_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/split_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/stats_spec.rb +125 -0
- data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +68 -0
- data/spec/elasticsearch/api/actions/indices/update_aliases_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/upgrade_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/validate_query_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/info_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/ingest/simulate_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/json_builders_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/mget_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/msearch_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/msearch_template_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/mtermvectors_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/nodes/info_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/nodes/shutdown_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/nodes/stats_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/ping_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/put_script_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/reindex_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/remote/info_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/render_search_template_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/scoll_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/search_shards_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/search_spec.rb +31 -3
- data/spec/elasticsearch/api/actions/search_template_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/create_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/delete_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/get_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/restore_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/status_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/tasks/cancel_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/tasks/get_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/tasks/list_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/termvectors_spec.rb +16 -9
- data/spec/elasticsearch/api/actions/update_by_query_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/update_document_spec.rb +16 -9
- data/spec/elasticsearch/api/api_spec.rb +16 -3
- data/spec/elasticsearch/api/client_spec.rb +16 -3
- data/spec/elasticsearch/api/utils_spec.rb +16 -3
- data/spec/spec_helper.rb +16 -14
- data/test/integration/yaml_test_runner.rb +84 -42
- data/test/test_helper.rb +86 -14
- data/utils/Gemfile +17 -0
- data/utils/Thorfile +17 -0
- data/utils/thor/generate_api.rb +16 -3
- data/utils/thor/generate_source.rb +22 -6
- data/utils/thor/lister.rb +16 -3
- data/utils/thor/templates/ruby/method.erb +22 -7
- data/utils/thor/templates/ruby/test.erb +17 -0
- data/utils/thor/templates/ruby/test_helper.rb +16 -4
- metadata +56 -122
- data/lib/elasticsearch/api/actions/count_percolate.rb +0 -86
- data/lib/elasticsearch/api/actions/delete_template.rb +0 -25
- data/lib/elasticsearch/api/actions/field_stats.rb +0 -40
- data/lib/elasticsearch/api/actions/get_template.rb +0 -31
- data/lib/elasticsearch/api/actions/indices/delete_mapping.rb +0 -30
- data/lib/elasticsearch/api/actions/indices/delete_warmer.rb +0 -36
- data/lib/elasticsearch/api/actions/indices/get_aliases.rb +0 -41
- data/lib/elasticsearch/api/actions/indices/get_warmer.rb +0 -66
- data/lib/elasticsearch/api/actions/indices/optimize.rb +0 -81
- data/lib/elasticsearch/api/actions/indices/put_warmer.rb +0 -69
- data/lib/elasticsearch/api/actions/indices/seal.rb +0 -28
- data/lib/elasticsearch/api/actions/indices/snapshot_index.rb +0 -48
- data/lib/elasticsearch/api/actions/indices/status.rb +0 -67
- data/lib/elasticsearch/api/actions/list_benchmarks.rb +0 -31
- data/lib/elasticsearch/api/actions/mlt.rb +0 -134
- data/lib/elasticsearch/api/actions/mpercolate.rb +0 -66
- data/lib/elasticsearch/api/actions/percolate.rb +0 -77
- data/lib/elasticsearch/api/actions/put_template.rb +0 -29
- data/lib/elasticsearch/api/actions/search_exists.rb +0 -67
- data/lib/elasticsearch/api/actions/suggest.rb +0 -53
- data/spec/elasticsearch/api/actions/count_percolate_spec.rb +0 -21
- data/spec/elasticsearch/api/actions/delete_template_spec.rb +0 -21
- data/spec/elasticsearch/api/actions/field_stats_spec.rb +0 -21
- data/spec/elasticsearch/api/actions/get_template_spec.rb +0 -56
- data/spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb +0 -81
- data/spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb +0 -90
- data/spec/elasticsearch/api/actions/indices/get_aliases_spec.rb +0 -59
- data/spec/elasticsearch/api/actions/indices/get_template_spec.rb +0 -63
- data/spec/elasticsearch/api/actions/indices/get_warmer_spec.rb +0 -52
- data/spec/elasticsearch/api/actions/indices/optimize_spec.rb +0 -67
- data/spec/elasticsearch/api/actions/indices/put_warmer_spec.rb +0 -105
- data/spec/elasticsearch/api/actions/indices/seal_spec.rb +0 -22
- data/spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb +0 -93
- data/spec/elasticsearch/api/actions/indices/status_spec.rb +0 -96
- data/spec/elasticsearch/api/actions/list_benchmarks_spec.rb +0 -21
- data/spec/elasticsearch/api/actions/mlt_spec.rb +0 -134
- data/spec/elasticsearch/api/actions/mpercolate_spec.rb +0 -53
- data/spec/elasticsearch/api/actions/put_template_spec.rb +0 -21
- data/spec/elasticsearch/api/actions/rank_eval_spec.rb +0 -113
- data/spec/elasticsearch/api/actions/search_exists_spec.rb +0 -67
- data/spec/elasticsearch/api/actions/suggest_spec.rb +0 -81
data/test/test_helper.rb
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
17
|
+
|
|
18
|
+
ELASTICSEARCH_HOSTS = if hosts = ENV['TEST_ES_SERVER'] || ENV['ELASTICSEARCH_HOSTS']
|
|
19
|
+
hosts.split(',').map do |host|
|
|
20
|
+
/(http\:\/\/)?(\S+)/.match(host)[2]
|
|
21
|
+
end
|
|
22
|
+
end.freeze
|
|
23
|
+
|
|
24
|
+
TEST_HOST, TEST_PORT = ELASTICSEARCH_HOSTS.first.split(':') if ELASTICSEARCH_HOSTS
|
|
25
|
+
|
|
4
26
|
|
|
5
27
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
|
6
28
|
JRUBY = defined?(JRUBY_VERSION)
|
|
@@ -22,18 +44,14 @@ if ENV['CI'] && !RUBY_1_8
|
|
|
22
44
|
SimpleCov.start { add_filter "/test|test_" }
|
|
23
45
|
end
|
|
24
46
|
|
|
25
|
-
require '
|
|
26
|
-
require '
|
|
27
|
-
require '
|
|
47
|
+
require 'ansi'
|
|
48
|
+
require 'test/unit' if RUBY_1_8
|
|
49
|
+
require 'minitest/autorun'
|
|
50
|
+
require 'minitest/reporters'
|
|
51
|
+
require 'shoulda/context'
|
|
52
|
+
require 'mocha/minitest'
|
|
28
53
|
|
|
29
|
-
|
|
30
|
-
require 'turn'
|
|
31
|
-
|
|
32
|
-
if ENV['QUIET']
|
|
33
|
-
Turn.config.format = :outline
|
|
34
|
-
Turn.config.trace = 1
|
|
35
|
-
end
|
|
36
|
-
end
|
|
54
|
+
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
|
|
37
55
|
|
|
38
56
|
require 'require-prof' if ENV["REQUIRE_PROF"]
|
|
39
57
|
require 'elasticsearch/api'
|
|
@@ -44,3 +62,57 @@ if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
|
|
44
62
|
require 'elasticsearch/extensions/test/startup_shutdown'
|
|
45
63
|
require 'elasticsearch/extensions/test/profiling' unless JRUBY
|
|
46
64
|
end
|
|
65
|
+
|
|
66
|
+
module Minitest
|
|
67
|
+
module Assertions
|
|
68
|
+
def assert_nothing_raised(*args)
|
|
69
|
+
begin
|
|
70
|
+
line = __LINE__
|
|
71
|
+
yield
|
|
72
|
+
rescue RuntimeError => e
|
|
73
|
+
raise MiniTest::Assertion, "Exception raised:\n<#{e.class}>", e.backtrace
|
|
74
|
+
end
|
|
75
|
+
true
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def assert_not_nil(object, msg=nil)
|
|
79
|
+
msg = message(msg) { "<#{object.inspect}> expected to not be nil" }
|
|
80
|
+
assert !object.nil?, msg
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def assert_block(*msgs)
|
|
84
|
+
assert yield, *msgs
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
alias :assert_raise :assert_raises
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
module Elasticsearch
|
|
92
|
+
module Test
|
|
93
|
+
class UnitTest < ::Minitest::Test; end
|
|
94
|
+
|
|
95
|
+
class FakeClient
|
|
96
|
+
include Elasticsearch::API
|
|
97
|
+
|
|
98
|
+
def perform_request(method, path, params, body, headers={"Content-Type" => "application/json"})
|
|
99
|
+
puts "PERFORMING REQUEST:", "--> #{method.to_s.upcase} #{path} #{params} #{body} #{headers}"
|
|
100
|
+
FakeResponse.new(200, 'FAKE', {})
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
FakeResponse = Struct.new(:status, :body, :headers) do
|
|
105
|
+
def status
|
|
106
|
+
values[0] || 200
|
|
107
|
+
end
|
|
108
|
+
def body
|
|
109
|
+
values[1] || '{}'
|
|
110
|
+
end
|
|
111
|
+
def headers
|
|
112
|
+
values[2] || {}
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
class NotFound < StandardError; end
|
|
117
|
+
end
|
|
118
|
+
end
|
data/utils/Gemfile
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
17
|
+
|
|
1
18
|
source 'https://rubygems.org'
|
|
2
19
|
|
|
3
20
|
gem 'activesupport'
|
data/utils/Thorfile
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
17
|
+
|
|
1
18
|
require File.expand_path('./thor/generate_api')
|
|
2
19
|
require File.expand_path('./thor/generate_source')
|
|
3
20
|
require File.expand_path('./thor/lister')
|
data/utils/thor/generate_api.rb
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
4
17
|
|
|
5
18
|
require 'thor'
|
|
6
19
|
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
4
17
|
|
|
5
18
|
# encoding: UTF-8
|
|
6
19
|
|
|
@@ -34,7 +47,7 @@ module Elasticsearch
|
|
|
34
47
|
|
|
35
48
|
__root = Pathname( File.expand_path('../../..', __FILE__) )
|
|
36
49
|
|
|
37
|
-
desc "generate
|
|
50
|
+
desc "generate", "Generate source code and tests from the REST API JSON specification"
|
|
38
51
|
method_option :language, default: 'ruby', desc: 'Programming language'
|
|
39
52
|
method_option :force, type: :boolean, default: false, desc: 'Overwrite the output'
|
|
40
53
|
method_option :verbose, type: :boolean, default: false, desc: 'Output more information'
|
|
@@ -50,8 +63,11 @@ module Elasticsearch
|
|
|
50
63
|
# -- Test helper
|
|
51
64
|
copy_file "templates/ruby/test_helper.rb", @output.join('test').join('test_helper.rb') if options[:language] == 'ruby'
|
|
52
65
|
|
|
53
|
-
Dir
|
|
54
|
-
|
|
66
|
+
files = Dir.entries(@input.to_s).reject { |f| f.start_with?('.') || f.start_with?('_') }
|
|
67
|
+
|
|
68
|
+
files.each do |filepath|
|
|
69
|
+
file = @input.join(filepath)
|
|
70
|
+
|
|
55
71
|
@path = Pathname(file)
|
|
56
72
|
@json = MultiJson.load( File.read(@path) )
|
|
57
73
|
@spec = @json.values.first
|
data/utils/thor/lister.rb
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
4
17
|
|
|
5
18
|
# encoding: UTF-8
|
|
6
19
|
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
17
|
+
|
|
1
18
|
module Elasticsearch
|
|
2
19
|
module API
|
|
3
20
|
<%- @module_namespace.each_with_index do |name, i| -%>
|
|
@@ -35,10 +52,14 @@ module Elasticsearch
|
|
|
35
52
|
<%= ' '*(@namespace_depth+1) + "raise ArgumentError, \"Required argument 'body' missing\" unless arguments[:body]" + "\n" -%>
|
|
36
53
|
<%- end -%>
|
|
37
54
|
<%# Method, path, params, body -%>
|
|
55
|
+
<%- unless @spec['url']['params'].empty? -%>
|
|
56
|
+
<%= ' '*@namespace_depth %> valid_params = [
|
|
57
|
+
<%= ' '*(@namespace_depth+2) %><%= @spec['url']['params'].keys.map { |k| ":#{k}" }.join(",\n#{' '*(@namespace_depth+5)}") %> ]
|
|
58
|
+
<%- end -%>
|
|
38
59
|
<%= ' '*@namespace_depth %> method = <%= @http_method %>
|
|
39
60
|
<%= ' '*@namespace_depth %> path = "<%= @http_path %>"
|
|
40
61
|
<%- unless @spec['url']['params'].empty? -%>
|
|
41
|
-
<%= ' '*@namespace_depth %> params = Elasticsearch::API::Utils.__validate_and_extract_params arguments,
|
|
62
|
+
<%= ' '*@namespace_depth %> params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
|
42
63
|
<%- else -%>
|
|
43
64
|
<%= ' '*@namespace_depth %> params = {}
|
|
44
65
|
<%- end -%>
|
|
@@ -49,12 +70,6 @@ module Elasticsearch
|
|
|
49
70
|
<%- @namespace_depth.downto(1) do |i| -%>
|
|
50
71
|
<%= ' '*(i-1) %>end
|
|
51
72
|
<%- end if @namespace_depth > 0 -%>
|
|
52
|
-
|
|
53
|
-
<%= ' '*@namespace_depth -%># Register this action with its valid params when the module is loaded.
|
|
54
|
-
<%= ' '*@namespace_depth -%>#
|
|
55
|
-
<%= ' '*@namespace_depth -%># @since 6.2.0
|
|
56
|
-
<%= ' '*@namespace_depth -%>ParamsRegistry.register(:<%= @method_name -%>, [
|
|
57
|
-
<%= ' '*(@namespace_depth +2) + @spec['url']['params'].keys.map { |k| ":#{k}" }.join(",\n#{' '*(@namespace_depth+5)}") %> ].freeze)
|
|
58
73
|
end
|
|
59
74
|
end
|
|
60
75
|
end
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
17
|
+
|
|
1
18
|
require 'test_helper'
|
|
2
19
|
|
|
3
20
|
module Elasticsearch
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright
|
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
|
6
|
+
# not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
4
17
|
|
|
5
18
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
|
6
19
|
|
|
@@ -11,7 +24,6 @@ require 'simplecov' and SimpleCov.start { add_filter "/test|test_/" } if ENV["CO
|
|
|
11
24
|
require 'test/unit'
|
|
12
25
|
require 'shoulda-context'
|
|
13
26
|
require 'mocha/setup'
|
|
14
|
-
require 'turn' unless ENV["TM_FILEPATH"] || ENV["NOTURN"] || RUBY_1_8
|
|
15
27
|
|
|
16
28
|
require 'require-prof' if ENV["REQUIRE_PROF"]
|
|
17
29
|
Dir[ File.expand_path('../../lib/elasticsearch/api/**/*.rb', __FILE__) ].each do |f|
|
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:
|
|
4
|
+
version: 7.0.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:
|
|
11
|
+
date: 2019-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multi_json
|
|
@@ -25,7 +25,7 @@ dependencies:
|
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: bundler
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|
|
@@ -39,19 +39,19 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: rake
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '11.1'
|
|
48
48
|
type: :development
|
|
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: '
|
|
54
|
+
version: '11.1'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: elasticsearch
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -67,7 +67,7 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: elasticsearch-
|
|
70
|
+
name: elasticsearch-transport
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
@@ -81,7 +81,7 @@ dependencies:
|
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
84
|
+
name: minitest
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - ">="
|
|
@@ -95,21 +95,21 @@ dependencies:
|
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
|
-
name: minitest
|
|
98
|
+
name: minitest-reporters
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - "
|
|
101
|
+
- - ">="
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '
|
|
103
|
+
version: '0'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- - "
|
|
108
|
+
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '
|
|
110
|
+
version: '0'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
|
-
name:
|
|
112
|
+
name: elasticsearch-extensions
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
115
|
- - ">="
|
|
@@ -123,7 +123,7 @@ dependencies:
|
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
126
|
+
name: ansi
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - ">="
|
|
@@ -137,21 +137,21 @@ dependencies:
|
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0'
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
|
-
name:
|
|
140
|
+
name: shoulda-context
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
|
-
- - "
|
|
143
|
+
- - ">="
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: '
|
|
145
|
+
version: '0'
|
|
146
146
|
type: :development
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
|
-
- - "
|
|
150
|
+
- - ">="
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: '
|
|
152
|
+
version: '0'
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
|
-
name:
|
|
154
|
+
name: mocha
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
|
157
157
|
- - ">="
|
|
@@ -165,7 +165,7 @@ dependencies:
|
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
166
|
version: '0'
|
|
167
167
|
- !ruby/object:Gem::Dependency
|
|
168
|
-
name:
|
|
168
|
+
name: yard
|
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
|
170
170
|
requirements:
|
|
171
171
|
- - ">="
|
|
@@ -179,7 +179,7 @@ dependencies:
|
|
|
179
179
|
- !ruby/object:Gem::Version
|
|
180
180
|
version: '0'
|
|
181
181
|
- !ruby/object:Gem::Dependency
|
|
182
|
-
name:
|
|
182
|
+
name: pry
|
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
|
184
184
|
requirements:
|
|
185
185
|
- - ">="
|
|
@@ -193,7 +193,7 @@ dependencies:
|
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
195
|
- !ruby/object:Gem::Dependency
|
|
196
|
-
name:
|
|
196
|
+
name: jsonify
|
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
|
198
198
|
requirements:
|
|
199
199
|
- - ">="
|
|
@@ -207,7 +207,7 @@ dependencies:
|
|
|
207
207
|
- !ruby/object:Gem::Version
|
|
208
208
|
version: '0'
|
|
209
209
|
- !ruby/object:Gem::Dependency
|
|
210
|
-
name:
|
|
210
|
+
name: hashie
|
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
|
212
212
|
requirements:
|
|
213
213
|
- - ">="
|
|
@@ -221,7 +221,7 @@ dependencies:
|
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
222
|
version: '0'
|
|
223
223
|
- !ruby/object:Gem::Dependency
|
|
224
|
-
name:
|
|
224
|
+
name: ruby-prof
|
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
|
226
226
|
requirements:
|
|
227
227
|
- - ">="
|
|
@@ -249,7 +249,7 @@ dependencies:
|
|
|
249
249
|
- !ruby/object:Gem::Version
|
|
250
250
|
version: '0'
|
|
251
251
|
- !ruby/object:Gem::Dependency
|
|
252
|
-
name:
|
|
252
|
+
name: escape_utils
|
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
|
254
254
|
requirements:
|
|
255
255
|
- - ">="
|
|
@@ -266,22 +266,16 @@ dependencies:
|
|
|
266
266
|
name: simplecov
|
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
|
268
268
|
requirements:
|
|
269
|
-
- - "
|
|
270
|
-
- !ruby/object:Gem::Version
|
|
271
|
-
version: '0.17'
|
|
272
|
-
- - "<"
|
|
269
|
+
- - ">="
|
|
273
270
|
- !ruby/object:Gem::Version
|
|
274
|
-
version: '0
|
|
271
|
+
version: '0'
|
|
275
272
|
type: :development
|
|
276
273
|
prerelease: false
|
|
277
274
|
version_requirements: !ruby/object:Gem::Requirement
|
|
278
275
|
requirements:
|
|
279
|
-
- - "
|
|
280
|
-
- !ruby/object:Gem::Version
|
|
281
|
-
version: '0.17'
|
|
282
|
-
- - "<"
|
|
276
|
+
- - ">="
|
|
283
277
|
- !ruby/object:Gem::Version
|
|
284
|
-
version: '0
|
|
278
|
+
version: '0'
|
|
285
279
|
- !ruby/object:Gem::Dependency
|
|
286
280
|
name: simplecov-rcov
|
|
287
281
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -297,19 +291,19 @@ dependencies:
|
|
|
297
291
|
- !ruby/object:Gem::Version
|
|
298
292
|
version: '0'
|
|
299
293
|
- !ruby/object:Gem::Dependency
|
|
300
|
-
name:
|
|
294
|
+
name: cane
|
|
301
295
|
requirement: !ruby/object:Gem::Requirement
|
|
302
296
|
requirements:
|
|
303
|
-
- - "
|
|
297
|
+
- - ">="
|
|
304
298
|
- !ruby/object:Gem::Version
|
|
305
|
-
version: '
|
|
299
|
+
version: '0'
|
|
306
300
|
type: :development
|
|
307
301
|
prerelease: false
|
|
308
302
|
version_requirements: !ruby/object:Gem::Requirement
|
|
309
303
|
requirements:
|
|
310
|
-
- - "
|
|
304
|
+
- - ">="
|
|
311
305
|
- !ruby/object:Gem::Version
|
|
312
|
-
version: '
|
|
306
|
+
version: '0'
|
|
313
307
|
- !ruby/object:Gem::Dependency
|
|
314
308
|
name: require-prof
|
|
315
309
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -325,19 +319,19 @@ dependencies:
|
|
|
325
319
|
- !ruby/object:Gem::Version
|
|
326
320
|
version: '0'
|
|
327
321
|
- !ruby/object:Gem::Dependency
|
|
328
|
-
name:
|
|
322
|
+
name: test-unit
|
|
329
323
|
requirement: !ruby/object:Gem::Requirement
|
|
330
324
|
requirements:
|
|
331
|
-
- - "
|
|
325
|
+
- - "~>"
|
|
332
326
|
- !ruby/object:Gem::Version
|
|
333
|
-
version: '
|
|
327
|
+
version: '2'
|
|
334
328
|
type: :development
|
|
335
329
|
prerelease: false
|
|
336
330
|
version_requirements: !ruby/object:Gem::Requirement
|
|
337
331
|
requirements:
|
|
338
|
-
- - "
|
|
332
|
+
- - "~>"
|
|
339
333
|
- !ruby/object:Gem::Version
|
|
340
|
-
version: '
|
|
334
|
+
version: '2'
|
|
341
335
|
description: 'Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
|
|
342
336
|
|
|
343
337
|
'
|
|
@@ -393,22 +387,18 @@ files:
|
|
|
393
387
|
- lib/elasticsearch/api/actions/cluster/state.rb
|
|
394
388
|
- lib/elasticsearch/api/actions/cluster/stats.rb
|
|
395
389
|
- lib/elasticsearch/api/actions/count.rb
|
|
396
|
-
- lib/elasticsearch/api/actions/count_percolate.rb
|
|
397
390
|
- lib/elasticsearch/api/actions/create.rb
|
|
398
391
|
- lib/elasticsearch/api/actions/delete.rb
|
|
399
392
|
- lib/elasticsearch/api/actions/delete_by_query.rb
|
|
400
|
-
- lib/elasticsearch/api/actions/
|
|
393
|
+
- lib/elasticsearch/api/actions/delete_by_rethrottle.rb
|
|
401
394
|
- lib/elasticsearch/api/actions/delete_script.rb
|
|
402
|
-
- lib/elasticsearch/api/actions/delete_template.rb
|
|
403
395
|
- lib/elasticsearch/api/actions/exists.rb
|
|
404
396
|
- lib/elasticsearch/api/actions/exists_source.rb
|
|
405
397
|
- lib/elasticsearch/api/actions/explain.rb
|
|
406
398
|
- lib/elasticsearch/api/actions/field_caps.rb
|
|
407
|
-
- lib/elasticsearch/api/actions/field_stats.rb
|
|
408
399
|
- lib/elasticsearch/api/actions/get.rb
|
|
409
400
|
- lib/elasticsearch/api/actions/get_script.rb
|
|
410
401
|
- lib/elasticsearch/api/actions/get_source.rb
|
|
411
|
-
- lib/elasticsearch/api/actions/get_template.rb
|
|
412
402
|
- lib/elasticsearch/api/actions/index.rb
|
|
413
403
|
- lib/elasticsearch/api/actions/indices/analyze.rb
|
|
414
404
|
- lib/elasticsearch/api/actions/indices/clear_cache.rb
|
|
@@ -416,9 +406,7 @@ files:
|
|
|
416
406
|
- lib/elasticsearch/api/actions/indices/create.rb
|
|
417
407
|
- lib/elasticsearch/api/actions/indices/delete.rb
|
|
418
408
|
- lib/elasticsearch/api/actions/indices/delete_alias.rb
|
|
419
|
-
- lib/elasticsearch/api/actions/indices/delete_mapping.rb
|
|
420
409
|
- lib/elasticsearch/api/actions/indices/delete_template.rb
|
|
421
|
-
- lib/elasticsearch/api/actions/indices/delete_warmer.rb
|
|
422
410
|
- lib/elasticsearch/api/actions/indices/exists.rb
|
|
423
411
|
- lib/elasticsearch/api/actions/indices/exists_alias.rb
|
|
424
412
|
- lib/elasticsearch/api/actions/indices/exists_template.rb
|
|
@@ -429,31 +417,24 @@ files:
|
|
|
429
417
|
- lib/elasticsearch/api/actions/indices/freeze.rb
|
|
430
418
|
- lib/elasticsearch/api/actions/indices/get.rb
|
|
431
419
|
- lib/elasticsearch/api/actions/indices/get_alias.rb
|
|
432
|
-
- lib/elasticsearch/api/actions/indices/get_aliases.rb
|
|
433
420
|
- lib/elasticsearch/api/actions/indices/get_field_mapping.rb
|
|
434
421
|
- lib/elasticsearch/api/actions/indices/get_mapping.rb
|
|
435
422
|
- lib/elasticsearch/api/actions/indices/get_settings.rb
|
|
436
423
|
- lib/elasticsearch/api/actions/indices/get_template.rb
|
|
437
|
-
- lib/elasticsearch/api/actions/indices/get_warmer.rb
|
|
438
424
|
- lib/elasticsearch/api/actions/indices/open.rb
|
|
439
|
-
- lib/elasticsearch/api/actions/indices/optimize.rb
|
|
440
425
|
- lib/elasticsearch/api/actions/indices/params_registry.rb
|
|
441
426
|
- lib/elasticsearch/api/actions/indices/put_alias.rb
|
|
442
427
|
- lib/elasticsearch/api/actions/indices/put_mapping.rb
|
|
443
428
|
- lib/elasticsearch/api/actions/indices/put_settings.rb
|
|
444
429
|
- lib/elasticsearch/api/actions/indices/put_template.rb
|
|
445
|
-
- lib/elasticsearch/api/actions/indices/put_warmer.rb
|
|
446
430
|
- lib/elasticsearch/api/actions/indices/recovery.rb
|
|
447
431
|
- lib/elasticsearch/api/actions/indices/refresh.rb
|
|
448
432
|
- lib/elasticsearch/api/actions/indices/rollover.rb
|
|
449
|
-
- lib/elasticsearch/api/actions/indices/seal.rb
|
|
450
433
|
- lib/elasticsearch/api/actions/indices/segments.rb
|
|
451
434
|
- lib/elasticsearch/api/actions/indices/shard_stores.rb
|
|
452
435
|
- lib/elasticsearch/api/actions/indices/shrink.rb
|
|
453
|
-
- lib/elasticsearch/api/actions/indices/snapshot_index.rb
|
|
454
436
|
- lib/elasticsearch/api/actions/indices/split.rb
|
|
455
437
|
- lib/elasticsearch/api/actions/indices/stats.rb
|
|
456
|
-
- lib/elasticsearch/api/actions/indices/status.rb
|
|
457
438
|
- lib/elasticsearch/api/actions/indices/unfreeze.rb
|
|
458
439
|
- lib/elasticsearch/api/actions/indices/update_aliases.rb
|
|
459
440
|
- lib/elasticsearch/api/actions/indices/upgrade.rb
|
|
@@ -465,10 +446,7 @@ files:
|
|
|
465
446
|
- lib/elasticsearch/api/actions/ingest/processor_grok.rb
|
|
466
447
|
- lib/elasticsearch/api/actions/ingest/put_pipeline.rb
|
|
467
448
|
- lib/elasticsearch/api/actions/ingest/simulate.rb
|
|
468
|
-
- lib/elasticsearch/api/actions/list_benchmarks.rb
|
|
469
449
|
- lib/elasticsearch/api/actions/mget.rb
|
|
470
|
-
- lib/elasticsearch/api/actions/mlt.rb
|
|
471
|
-
- lib/elasticsearch/api/actions/mpercolate.rb
|
|
472
450
|
- lib/elasticsearch/api/actions/msearch.rb
|
|
473
451
|
- lib/elasticsearch/api/actions/msearch_template.rb
|
|
474
452
|
- lib/elasticsearch/api/actions/mtermvectors.rb
|
|
@@ -480,10 +458,8 @@ files:
|
|
|
480
458
|
- lib/elasticsearch/api/actions/nodes/stats.rb
|
|
481
459
|
- lib/elasticsearch/api/actions/nodes/usage.rb
|
|
482
460
|
- lib/elasticsearch/api/actions/params_registry.rb
|
|
483
|
-
- lib/elasticsearch/api/actions/percolate.rb
|
|
484
461
|
- lib/elasticsearch/api/actions/ping.rb
|
|
485
462
|
- lib/elasticsearch/api/actions/put_script.rb
|
|
486
|
-
- lib/elasticsearch/api/actions/put_template.rb
|
|
487
463
|
- lib/elasticsearch/api/actions/rank_eval.rb
|
|
488
464
|
- lib/elasticsearch/api/actions/reindex.rb
|
|
489
465
|
- lib/elasticsearch/api/actions/reindex_rethrottle.rb
|
|
@@ -492,7 +468,6 @@ files:
|
|
|
492
468
|
- lib/elasticsearch/api/actions/scripts_painless_execute.rb
|
|
493
469
|
- lib/elasticsearch/api/actions/scroll.rb
|
|
494
470
|
- lib/elasticsearch/api/actions/search.rb
|
|
495
|
-
- lib/elasticsearch/api/actions/search_exists.rb
|
|
496
471
|
- lib/elasticsearch/api/actions/search_shards.rb
|
|
497
472
|
- lib/elasticsearch/api/actions/search_template.rb
|
|
498
473
|
- lib/elasticsearch/api/actions/snapshot/create.rb
|
|
@@ -505,7 +480,6 @@ files:
|
|
|
505
480
|
- lib/elasticsearch/api/actions/snapshot/restore.rb
|
|
506
481
|
- lib/elasticsearch/api/actions/snapshot/status.rb
|
|
507
482
|
- lib/elasticsearch/api/actions/snapshot/verify_repository.rb
|
|
508
|
-
- lib/elasticsearch/api/actions/suggest.rb
|
|
509
483
|
- lib/elasticsearch/api/actions/tasks/cancel.rb
|
|
510
484
|
- lib/elasticsearch/api/actions/tasks/get.rb
|
|
511
485
|
- lib/elasticsearch/api/actions/tasks/list.rb
|
|
@@ -558,21 +532,17 @@ files:
|
|
|
558
532
|
- spec/elasticsearch/api/actions/cluster/reroute_spec.rb
|
|
559
533
|
- spec/elasticsearch/api/actions/cluster/state_spec.rb
|
|
560
534
|
- spec/elasticsearch/api/actions/cluster/stats_spec.rb
|
|
561
|
-
- spec/elasticsearch/api/actions/count_percolate_spec.rb
|
|
562
535
|
- spec/elasticsearch/api/actions/count_spec.rb
|
|
563
536
|
- spec/elasticsearch/api/actions/create_document_spec.rb
|
|
564
537
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
|
565
538
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
|
566
539
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
|
567
|
-
- spec/elasticsearch/api/actions/delete_template_spec.rb
|
|
568
540
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
|
569
541
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
|
570
542
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
|
571
|
-
- spec/elasticsearch/api/actions/field_stats_spec.rb
|
|
572
543
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
|
573
544
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
|
574
545
|
- spec/elasticsearch/api/actions/get_script_spec.rb
|
|
575
|
-
- spec/elasticsearch/api/actions/get_template_spec.rb
|
|
576
546
|
- spec/elasticsearch/api/actions/hashie_spec.rb
|
|
577
547
|
- spec/elasticsearch/api/actions/index_document_spec.rb
|
|
578
548
|
- spec/elasticsearch/api/actions/indices/analyze_spec.rb
|
|
@@ -580,10 +550,8 @@ files:
|
|
|
580
550
|
- spec/elasticsearch/api/actions/indices/close_spec.rb
|
|
581
551
|
- spec/elasticsearch/api/actions/indices/create_spec.rb
|
|
582
552
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
|
583
|
-
- spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb
|
|
584
553
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
|
585
554
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
|
586
|
-
- spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb
|
|
587
555
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
|
588
556
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
|
589
557
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
|
@@ -591,31 +559,26 @@ files:
|
|
|
591
559
|
- spec/elasticsearch/api/actions/indices/flush_spec.rb
|
|
592
560
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
|
593
561
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
|
562
|
+
- spec/elasticsearch/api/actions/indices/freeze_spec.rb
|
|
594
563
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
|
595
|
-
- spec/elasticsearch/api/actions/indices/get_aliases_spec.rb
|
|
596
564
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
|
597
565
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
|
598
566
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
|
599
567
|
- spec/elasticsearch/api/actions/indices/get_spec.rb
|
|
600
|
-
- spec/elasticsearch/api/actions/indices/get_template_spec.rb
|
|
601
|
-
- spec/elasticsearch/api/actions/indices/get_warmer_spec.rb
|
|
602
568
|
- spec/elasticsearch/api/actions/indices/open_spec.rb
|
|
603
|
-
- spec/elasticsearch/api/actions/indices/optimize_spec.rb
|
|
604
569
|
- spec/elasticsearch/api/actions/indices/put_alias_spec.rb
|
|
605
570
|
- spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
|
|
606
571
|
- spec/elasticsearch/api/actions/indices/put_settings_spec.rb
|
|
607
572
|
- spec/elasticsearch/api/actions/indices/put_template_spec.rb
|
|
608
|
-
- spec/elasticsearch/api/actions/indices/put_warmer_spec.rb
|
|
609
573
|
- spec/elasticsearch/api/actions/indices/recovery_spec.rb
|
|
610
574
|
- spec/elasticsearch/api/actions/indices/refresh_spec.rb
|
|
611
575
|
- spec/elasticsearch/api/actions/indices/rollover_spec.rb
|
|
612
|
-
- spec/elasticsearch/api/actions/indices/seal_spec.rb
|
|
613
576
|
- spec/elasticsearch/api/actions/indices/segments_spec.rb
|
|
614
577
|
- spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
|
|
615
578
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
|
616
|
-
- spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb
|
|
617
579
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
|
618
|
-
- spec/elasticsearch/api/actions/indices/
|
|
580
|
+
- spec/elasticsearch/api/actions/indices/stats_spec.rb
|
|
581
|
+
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
|
619
582
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
|
620
583
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
|
621
584
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
|
@@ -625,10 +588,7 @@ files:
|
|
|
625
588
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
|
626
589
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
|
627
590
|
- spec/elasticsearch/api/actions/json_builders_spec.rb
|
|
628
|
-
- spec/elasticsearch/api/actions/list_benchmarks_spec.rb
|
|
629
591
|
- spec/elasticsearch/api/actions/mget_spec.rb
|
|
630
|
-
- spec/elasticsearch/api/actions/mlt_spec.rb
|
|
631
|
-
- spec/elasticsearch/api/actions/mpercolate_spec.rb
|
|
632
592
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
|
633
593
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
|
634
594
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
|
@@ -639,13 +599,10 @@ files:
|
|
|
639
599
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
|
640
600
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
|
641
601
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
|
642
|
-
- spec/elasticsearch/api/actions/put_template_spec.rb
|
|
643
|
-
- spec/elasticsearch/api/actions/rank_eval_spec.rb
|
|
644
602
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
|
645
603
|
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
|
646
604
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
|
647
605
|
- spec/elasticsearch/api/actions/scoll_spec.rb
|
|
648
|
-
- spec/elasticsearch/api/actions/search_exists_spec.rb
|
|
649
606
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
|
650
607
|
- spec/elasticsearch/api/actions/search_spec.rb
|
|
651
608
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
|
@@ -658,7 +615,6 @@ files:
|
|
|
658
615
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
|
659
616
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
|
660
617
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
|
661
|
-
- spec/elasticsearch/api/actions/suggest_spec.rb
|
|
662
618
|
- spec/elasticsearch/api/actions/tasks/cancel_spec.rb
|
|
663
619
|
- spec/elasticsearch/api/actions/tasks/get_spec.rb
|
|
664
620
|
- spec/elasticsearch/api/actions/tasks/list_spec.rb
|
|
@@ -679,14 +635,10 @@ files:
|
|
|
679
635
|
- utils/thor/templates/ruby/method.erb
|
|
680
636
|
- utils/thor/templates/ruby/test.erb
|
|
681
637
|
- utils/thor/templates/ruby/test_helper.rb
|
|
682
|
-
homepage: https://
|
|
638
|
+
homepage: https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-api
|
|
683
639
|
licenses:
|
|
684
640
|
- Apache-2.0
|
|
685
|
-
metadata:
|
|
686
|
-
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
|
687
|
-
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/6.x/CHANGELOG.md
|
|
688
|
-
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/6.x/elasticsearch-api
|
|
689
|
-
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
|
641
|
+
metadata: {}
|
|
690
642
|
post_install_message:
|
|
691
643
|
rdoc_options:
|
|
692
644
|
- "--charset=UTF-8"
|
|
@@ -696,14 +648,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
696
648
|
requirements:
|
|
697
649
|
- - ">="
|
|
698
650
|
- !ruby/object:Gem::Version
|
|
699
|
-
version: '
|
|
651
|
+
version: '1.9'
|
|
700
652
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
701
653
|
requirements:
|
|
702
|
-
- - "
|
|
654
|
+
- - ">"
|
|
703
655
|
- !ruby/object:Gem::Version
|
|
704
|
-
version:
|
|
656
|
+
version: 1.3.1
|
|
705
657
|
requirements: []
|
|
706
|
-
rubygems_version: 3.
|
|
658
|
+
rubygems_version: 3.0.3
|
|
707
659
|
signing_key:
|
|
708
660
|
specification_version: 4
|
|
709
661
|
summary: Ruby API for Elasticsearch.
|
|
@@ -741,21 +693,17 @@ test_files:
|
|
|
741
693
|
- spec/elasticsearch/api/actions/cluster/reroute_spec.rb
|
|
742
694
|
- spec/elasticsearch/api/actions/cluster/state_spec.rb
|
|
743
695
|
- spec/elasticsearch/api/actions/cluster/stats_spec.rb
|
|
744
|
-
- spec/elasticsearch/api/actions/count_percolate_spec.rb
|
|
745
696
|
- spec/elasticsearch/api/actions/count_spec.rb
|
|
746
697
|
- spec/elasticsearch/api/actions/create_document_spec.rb
|
|
747
698
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
|
748
699
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
|
749
700
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
|
750
|
-
- spec/elasticsearch/api/actions/delete_template_spec.rb
|
|
751
701
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
|
752
702
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
|
753
703
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
|
754
|
-
- spec/elasticsearch/api/actions/field_stats_spec.rb
|
|
755
704
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
|
756
705
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
|
757
706
|
- spec/elasticsearch/api/actions/get_script_spec.rb
|
|
758
|
-
- spec/elasticsearch/api/actions/get_template_spec.rb
|
|
759
707
|
- spec/elasticsearch/api/actions/hashie_spec.rb
|
|
760
708
|
- spec/elasticsearch/api/actions/index_document_spec.rb
|
|
761
709
|
- spec/elasticsearch/api/actions/indices/analyze_spec.rb
|
|
@@ -763,10 +711,8 @@ test_files:
|
|
|
763
711
|
- spec/elasticsearch/api/actions/indices/close_spec.rb
|
|
764
712
|
- spec/elasticsearch/api/actions/indices/create_spec.rb
|
|
765
713
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
|
766
|
-
- spec/elasticsearch/api/actions/indices/delete_mapping_spec.rb
|
|
767
714
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
|
768
715
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
|
769
|
-
- spec/elasticsearch/api/actions/indices/delete_warmer_spec.rb
|
|
770
716
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
|
771
717
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
|
772
718
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
|
@@ -774,31 +720,26 @@ test_files:
|
|
|
774
720
|
- spec/elasticsearch/api/actions/indices/flush_spec.rb
|
|
775
721
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
|
776
722
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
|
723
|
+
- spec/elasticsearch/api/actions/indices/freeze_spec.rb
|
|
777
724
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
|
778
|
-
- spec/elasticsearch/api/actions/indices/get_aliases_spec.rb
|
|
779
725
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
|
780
726
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
|
781
727
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
|
782
728
|
- spec/elasticsearch/api/actions/indices/get_spec.rb
|
|
783
|
-
- spec/elasticsearch/api/actions/indices/get_template_spec.rb
|
|
784
|
-
- spec/elasticsearch/api/actions/indices/get_warmer_spec.rb
|
|
785
729
|
- spec/elasticsearch/api/actions/indices/open_spec.rb
|
|
786
|
-
- spec/elasticsearch/api/actions/indices/optimize_spec.rb
|
|
787
730
|
- spec/elasticsearch/api/actions/indices/put_alias_spec.rb
|
|
788
731
|
- spec/elasticsearch/api/actions/indices/put_mapping_spec.rb
|
|
789
732
|
- spec/elasticsearch/api/actions/indices/put_settings_spec.rb
|
|
790
733
|
- spec/elasticsearch/api/actions/indices/put_template_spec.rb
|
|
791
|
-
- spec/elasticsearch/api/actions/indices/put_warmer_spec.rb
|
|
792
734
|
- spec/elasticsearch/api/actions/indices/recovery_spec.rb
|
|
793
735
|
- spec/elasticsearch/api/actions/indices/refresh_spec.rb
|
|
794
736
|
- spec/elasticsearch/api/actions/indices/rollover_spec.rb
|
|
795
|
-
- spec/elasticsearch/api/actions/indices/seal_spec.rb
|
|
796
737
|
- spec/elasticsearch/api/actions/indices/segments_spec.rb
|
|
797
738
|
- spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
|
|
798
739
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
|
799
|
-
- spec/elasticsearch/api/actions/indices/snapshot_index_spec.rb
|
|
800
740
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
|
801
|
-
- spec/elasticsearch/api/actions/indices/
|
|
741
|
+
- spec/elasticsearch/api/actions/indices/stats_spec.rb
|
|
742
|
+
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
|
802
743
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
|
803
744
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
|
804
745
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
|
@@ -808,10 +749,7 @@ test_files:
|
|
|
808
749
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
|
809
750
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
|
810
751
|
- spec/elasticsearch/api/actions/json_builders_spec.rb
|
|
811
|
-
- spec/elasticsearch/api/actions/list_benchmarks_spec.rb
|
|
812
752
|
- spec/elasticsearch/api/actions/mget_spec.rb
|
|
813
|
-
- spec/elasticsearch/api/actions/mlt_spec.rb
|
|
814
|
-
- spec/elasticsearch/api/actions/mpercolate_spec.rb
|
|
815
753
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
|
816
754
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
|
817
755
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
|
@@ -822,13 +760,10 @@ test_files:
|
|
|
822
760
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
|
823
761
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
|
824
762
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
|
825
|
-
- spec/elasticsearch/api/actions/put_template_spec.rb
|
|
826
|
-
- spec/elasticsearch/api/actions/rank_eval_spec.rb
|
|
827
763
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
|
828
764
|
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
|
829
765
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
|
830
766
|
- spec/elasticsearch/api/actions/scoll_spec.rb
|
|
831
|
-
- spec/elasticsearch/api/actions/search_exists_spec.rb
|
|
832
767
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
|
833
768
|
- spec/elasticsearch/api/actions/search_spec.rb
|
|
834
769
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
|
@@ -841,7 +776,6 @@ test_files:
|
|
|
841
776
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
|
842
777
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
|
843
778
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
|
844
|
-
- spec/elasticsearch/api/actions/suggest_spec.rb
|
|
845
779
|
- spec/elasticsearch/api/actions/tasks/cancel_spec.rb
|
|
846
780
|
- spec/elasticsearch/api/actions/tasks/get_spec.rb
|
|
847
781
|
- spec/elasticsearch/api/actions/tasks/list_spec.rb
|