elasticsearch-dsl 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +27 -14
- data/README.md +3 -4
- data/Rakefile +16 -19
- data/elasticsearch-dsl.gemspec +39 -25
- data/lib/elasticsearch-dsl.rb +16 -3
- data/lib/elasticsearch/dsl.rb +16 -3
- data/lib/elasticsearch/dsl/search.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregation.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/avg.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/cardinality.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/children.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/composite.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/date_histogram.rb +21 -7
- data/lib/elasticsearch/dsl/search/aggregations/date_range.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/extended_stats.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/filter.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/filters.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/geo_bounds.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/geo_distance.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/geohash_grid.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/global.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/histogram.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/ip_range.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/max.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/min.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/missing.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/nested.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/percentile_ranks.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/percentiles.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/avg_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/bucket_script.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/bucket_selector.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/bucket_sort.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/cumulative_sum.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/derivative.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/extended_stats_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/max_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/min_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/moving_avg.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/percentiles_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/serial_diff.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/stats_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/pipeline/sum_bucket.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/range.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/reverse_nested.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/scripted_metric.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/significant_terms.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/significant_text.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/stats.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/sum.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/terms.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/top_hits.rb +16 -3
- data/lib/elasticsearch/dsl/search/aggregations/value_count.rb +16 -3
- data/lib/elasticsearch/dsl/search/base_aggregation_component.rb +16 -3
- data/lib/elasticsearch/dsl/search/base_component.rb +16 -3
- data/lib/elasticsearch/dsl/search/base_compound_filter_component.rb +16 -3
- data/lib/elasticsearch/dsl/search/collapse.rb +16 -3
- data/lib/elasticsearch/dsl/search/filter.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/and.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/bool.rb +18 -3
- data/lib/elasticsearch/dsl/search/filters/exists.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/geo_bounding_box.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/geo_distance.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/geo_distance_range.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/geo_polygon.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/geo_shape.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/geohash_cell.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/has_child.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/has_parent.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/ids.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/indices.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/limit.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/match_all.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/missing.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/nested.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/not.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/or.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/prefix.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/query.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/range.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/regexp.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/script.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/term.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/terms.rb +16 -3
- data/lib/elasticsearch/dsl/search/filters/type.rb +16 -3
- data/lib/elasticsearch/dsl/search/highlight.rb +16 -3
- data/lib/elasticsearch/dsl/search/options.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/bool.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/boosting.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/common.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/constant_score.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/dis_max.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/exists.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/filtered.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/function_score.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/fuzzy.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/fuzzy_like_this.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/fuzzy_like_this_field.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/geo_shape.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/has_child.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/has_parent.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/ids.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/indices.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/inner_hits.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/match.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/match_all.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/match_phrase.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/match_phrase_prefix.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/more_like_this.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/multi_match.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/nested.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/prefix.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/query_string.rb +17 -6
- data/lib/elasticsearch/dsl/search/queries/range.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/regexp.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/simple_query_string.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/span_first.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/span_multi.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/span_near.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/span_not.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/span_or.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/span_term.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/template.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/term.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/terms.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/top_children.rb +16 -3
- data/lib/elasticsearch/dsl/search/queries/wildcard.rb +16 -3
- data/lib/elasticsearch/dsl/search/query.rb +16 -3
- data/lib/elasticsearch/dsl/search/sort.rb +16 -3
- data/lib/elasticsearch/dsl/search/suggest.rb +16 -3
- data/lib/elasticsearch/dsl/utils.rb +16 -3
- data/lib/elasticsearch/dsl/version.rb +17 -4
- data/spec/elasticsearch/dsl/search/aggregations/avg_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/cardinality_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/children_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/composite_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/date_histogram_spec.rb +30 -24
- data/spec/elasticsearch/dsl/search/aggregations/date_range_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/extended_stats_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/filter_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/filters_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/geo_bounds_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/geo_distance_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/geo_grid_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/global_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/historgram_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/ip_range_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/max_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/min_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/missing_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/nested_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/percentile_ranks_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/percentiles_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/avg_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/bucket_script_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/bucket_selector_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/bucket_sort_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/cumulative_sum_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/derivative_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/extended_stats_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/max_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/min_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/moving_avg_test_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/percentiles_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/serial_diff_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/stats_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/pipeline/sum_bucket_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/range_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/reverse_nested_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/scripted_metric_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/significant_terms_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/significant_text_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/stats_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/sum_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/terms_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/top_hits_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/aggregations/value_count_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/collapse_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/and_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/bool_spec.rb +30 -3
- data/spec/elasticsearch/dsl/search/filters/exists_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/geo_bounding_box_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/geo_distance_range_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/geo_distance_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/geo_polygon_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/geo_shape_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/geohash_cell_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/has_child_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/has_parent_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/ids_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/indices_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/limit_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/match_all_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/missing_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/nested_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/not_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/or_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/prefix_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/query_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/range_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/regexp_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/script_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/term_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/terms_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/filters/type_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/bool_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/boosting_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/common_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/constant_score_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/dis_max_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/exists_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/filtered_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/function_score_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/fuzzy_like_this_field_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/fuzzy_like_this_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/fuzzy_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/geo_shape_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/has_child_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/has_parent_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/ids_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/indices_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/inner_hits_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/match_all_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/match_phrase_prefix_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/match_phrase_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/match_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/more_like_this_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/multi_match_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/nested_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/prefix_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/query_string_spec.rb +21 -12
- data/spec/elasticsearch/dsl/search/queries/range_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/regexp_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/simple_query_string_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/span_first_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/span_multi_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/span_near_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/span_not_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/span_or_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/span_term_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/template_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/term_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/terms_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/top_children_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search/queries/wildcard_spec.rb +16 -3
- data/spec/elasticsearch/dsl/search_spec.rb +16 -3
- data/spec/spec_helper.rb +16 -3
- data/test/integration/search_aggregation_children_test.rb +16 -7
- data/test/integration/search_aggregation_geo_test.rb +16 -7
- data/test/integration/search_aggregation_nested_test.rb +16 -7
- data/test/integration/search_aggregations_test.rb +16 -3
- data/test/integration/search_filters_test.rb +16 -7
- data/test/integration/search_options_test.rb +16 -3
- data/test/integration/search_query_test.rb +16 -7
- data/test/integration/search_size_from_test.rb +16 -3
- data/test/integration/search_sort_test.rb +16 -7
- data/test/integration/search_suggest_test.rb +16 -7
- data/test/integration/search_test.rb +16 -7
- data/test/test_helper.rb +21 -26
- data/test/unit/dsl_test.rb +16 -3
- data/test/unit/search_aggregation_test.rb +16 -3
- data/test/unit/search_base_aggregation_component_test.rb +16 -3
- data/test/unit/search_base_component_test.rb +16 -3
- data/test/unit/search_filter_test.rb +16 -3
- data/test/unit/search_highlight_test.rb +16 -3
- data/test/unit/search_options_test.rb +16 -3
- data/test/unit/search_query_test.rb +16 -3
- data/test/unit/search_size_from_test.rb +16 -3
- data/test/unit/search_sort_test.rb +16 -3
- data/test/unit/search_suggest_test.rb +16 -3
- data/test/unit/search_test.rb +16 -3
- data/test/unit/utils_test.rb +16 -3
- metadata +39 -49
@@ -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 'test_helper'
|
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
|
require 'test_helper'
|
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
|
require 'test_helper'
|
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
|
require 'test_helper'
|
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
|
require 'test_helper'
|
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
|
require 'test_helper'
|
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
|
require 'test_helper'
|
6
19
|
|
data/test/unit/search_test.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 'test_helper'
|
6
19
|
|
data/test/unit/utils_test.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 'test_helper'
|
6
19
|
|
metadata
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: '0'
|
19
|
+
name: bundler
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -25,54 +25,26 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
32
|
+
version: '12.3'
|
33
|
+
name: rake
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: elasticsearch
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: elasticsearch-extensions
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
40
|
+
version: '12.3'
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: shoulda-context
|
71
42
|
requirement: !ruby/object:Gem::Requirement
|
72
43
|
requirements:
|
73
44
|
- - ">="
|
74
45
|
- !ruby/object:Gem::Version
|
75
46
|
version: '0'
|
47
|
+
name: elasticsearch
|
76
48
|
type: :development
|
77
49
|
prerelease: false
|
78
50
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -81,12 +53,12 @@ dependencies:
|
|
81
53
|
- !ruby/object:Gem::Version
|
82
54
|
version: '0'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: mocha
|
85
56
|
requirement: !ruby/object:Gem::Requirement
|
86
57
|
requirements:
|
87
58
|
- - ">="
|
88
59
|
- !ruby/object:Gem::Version
|
89
60
|
version: '0'
|
61
|
+
name: cane
|
90
62
|
type: :development
|
91
63
|
prerelease: false
|
92
64
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -95,12 +67,12 @@ dependencies:
|
|
95
67
|
- !ruby/object:Gem::Version
|
96
68
|
version: '0'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest
|
99
70
|
requirement: !ruby/object:Gem::Requirement
|
100
71
|
requirements:
|
101
72
|
- - "~>"
|
102
73
|
- !ruby/object:Gem::Version
|
103
74
|
version: '5'
|
75
|
+
name: minitest
|
104
76
|
type: :development
|
105
77
|
prerelease: false
|
106
78
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -109,12 +81,12 @@ dependencies:
|
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '5'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: minitest-reporters
|
113
84
|
requirement: !ruby/object:Gem::Requirement
|
114
85
|
requirements:
|
115
86
|
- - "~>"
|
116
87
|
- !ruby/object:Gem::Version
|
117
88
|
version: '1'
|
89
|
+
name: minitest-reporters
|
118
90
|
type: :development
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -123,12 +95,12 @@ dependencies:
|
|
123
95
|
- !ruby/object:Gem::Version
|
124
96
|
version: '1'
|
125
97
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: simplecov
|
127
98
|
requirement: !ruby/object:Gem::Requirement
|
128
99
|
requirements:
|
129
100
|
- - ">="
|
130
101
|
- !ruby/object:Gem::Version
|
131
102
|
version: '0'
|
103
|
+
name: mocha
|
132
104
|
type: :development
|
133
105
|
prerelease: false
|
134
106
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -137,12 +109,12 @@ dependencies:
|
|
137
109
|
- !ruby/object:Gem::Version
|
138
110
|
version: '0'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
|
-
name: yard
|
141
112
|
requirement: !ruby/object:Gem::Requirement
|
142
113
|
requirements:
|
143
114
|
- - ">="
|
144
115
|
- !ruby/object:Gem::Version
|
145
116
|
version: '0'
|
117
|
+
name: pry
|
146
118
|
type: :development
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -151,12 +123,12 @@ dependencies:
|
|
151
123
|
- !ruby/object:Gem::Version
|
152
124
|
version: '0'
|
153
125
|
- !ruby/object:Gem::Dependency
|
154
|
-
name: cane
|
155
126
|
requirement: !ruby/object:Gem::Requirement
|
156
127
|
requirements:
|
157
128
|
- - ">="
|
158
129
|
- !ruby/object:Gem::Version
|
159
130
|
version: '0'
|
131
|
+
name: shoulda-context
|
160
132
|
type: :development
|
161
133
|
prerelease: false
|
162
134
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -165,12 +137,12 @@ dependencies:
|
|
165
137
|
- !ruby/object:Gem::Version
|
166
138
|
version: '0'
|
167
139
|
- !ruby/object:Gem::Dependency
|
168
|
-
name: pry
|
169
140
|
requirement: !ruby/object:Gem::Requirement
|
170
141
|
requirements:
|
171
142
|
- - ">="
|
172
143
|
- !ruby/object:Gem::Version
|
173
144
|
version: '0'
|
145
|
+
name: simplecov
|
174
146
|
type: :development
|
175
147
|
prerelease: false
|
176
148
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -179,12 +151,12 @@ dependencies:
|
|
179
151
|
- !ruby/object:Gem::Version
|
180
152
|
version: '0'
|
181
153
|
- !ruby/object:Gem::Dependency
|
182
|
-
name: test-unit
|
183
154
|
requirement: !ruby/object:Gem::Requirement
|
184
155
|
requirements:
|
185
156
|
- - "~>"
|
186
157
|
- !ruby/object:Gem::Version
|
187
158
|
version: '2'
|
159
|
+
name: test-unit
|
188
160
|
type: :development
|
189
161
|
prerelease: false
|
190
162
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -192,6 +164,20 @@ dependencies:
|
|
192
164
|
- - "~>"
|
193
165
|
- !ruby/object:Gem::Version
|
194
166
|
version: '2'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
name: yard
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
195
181
|
description: A Ruby DSL builder for Elasticsearch
|
196
182
|
email:
|
197
183
|
- karel.minarik@elasticsearch.com
|
@@ -475,11 +461,15 @@ files:
|
|
475
461
|
- test/unit/search_suggest_test.rb
|
476
462
|
- test/unit/search_test.rb
|
477
463
|
- test/unit/utils_test.rb
|
478
|
-
homepage: https://
|
464
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
479
465
|
licenses:
|
480
466
|
- Apache-2.0
|
481
|
-
metadata:
|
482
|
-
|
467
|
+
metadata:
|
468
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
469
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/master/CHANGELOG.md
|
470
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-dsl
|
471
|
+
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
472
|
+
post_install_message:
|
483
473
|
rdoc_options:
|
484
474
|
- "--charset=UTF-8"
|
485
475
|
require_paths:
|
@@ -488,7 +478,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
488
478
|
requirements:
|
489
479
|
- - ">="
|
490
480
|
- !ruby/object:Gem::Version
|
491
|
-
version: '
|
481
|
+
version: '2.5'
|
492
482
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
493
483
|
requirements:
|
494
484
|
- - ">="
|
@@ -496,7 +486,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
496
486
|
version: '0'
|
497
487
|
requirements: []
|
498
488
|
rubygems_version: 3.0.6
|
499
|
-
signing_key:
|
489
|
+
signing_key:
|
500
490
|
specification_version: 4
|
501
491
|
summary: A Ruby DSL builder for Elasticsearch
|
502
492
|
test_files:
|