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.
Files changed (274) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +27 -14
  3. data/README.md +3 -4
  4. data/Rakefile +16 -19
  5. data/elasticsearch-dsl.gemspec +39 -25
  6. data/lib/elasticsearch-dsl.rb +16 -3
  7. data/lib/elasticsearch/dsl.rb +16 -3
  8. data/lib/elasticsearch/dsl/search.rb +16 -3
  9. data/lib/elasticsearch/dsl/search/aggregation.rb +16 -3
  10. data/lib/elasticsearch/dsl/search/aggregations/avg.rb +16 -3
  11. data/lib/elasticsearch/dsl/search/aggregations/cardinality.rb +16 -3
  12. data/lib/elasticsearch/dsl/search/aggregations/children.rb +16 -3
  13. data/lib/elasticsearch/dsl/search/aggregations/composite.rb +16 -3
  14. data/lib/elasticsearch/dsl/search/aggregations/date_histogram.rb +21 -7
  15. data/lib/elasticsearch/dsl/search/aggregations/date_range.rb +16 -3
  16. data/lib/elasticsearch/dsl/search/aggregations/extended_stats.rb +16 -3
  17. data/lib/elasticsearch/dsl/search/aggregations/filter.rb +16 -3
  18. data/lib/elasticsearch/dsl/search/aggregations/filters.rb +16 -3
  19. data/lib/elasticsearch/dsl/search/aggregations/geo_bounds.rb +16 -3
  20. data/lib/elasticsearch/dsl/search/aggregations/geo_distance.rb +16 -3
  21. data/lib/elasticsearch/dsl/search/aggregations/geohash_grid.rb +16 -3
  22. data/lib/elasticsearch/dsl/search/aggregations/global.rb +16 -3
  23. data/lib/elasticsearch/dsl/search/aggregations/histogram.rb +16 -3
  24. data/lib/elasticsearch/dsl/search/aggregations/ip_range.rb +16 -3
  25. data/lib/elasticsearch/dsl/search/aggregations/max.rb +16 -3
  26. data/lib/elasticsearch/dsl/search/aggregations/min.rb +16 -3
  27. data/lib/elasticsearch/dsl/search/aggregations/missing.rb +16 -3
  28. data/lib/elasticsearch/dsl/search/aggregations/nested.rb +16 -3
  29. data/lib/elasticsearch/dsl/search/aggregations/percentile_ranks.rb +16 -3
  30. data/lib/elasticsearch/dsl/search/aggregations/percentiles.rb +16 -3
  31. data/lib/elasticsearch/dsl/search/aggregations/pipeline/avg_bucket.rb +16 -3
  32. data/lib/elasticsearch/dsl/search/aggregations/pipeline/bucket_script.rb +16 -3
  33. data/lib/elasticsearch/dsl/search/aggregations/pipeline/bucket_selector.rb +16 -3
  34. data/lib/elasticsearch/dsl/search/aggregations/pipeline/bucket_sort.rb +16 -3
  35. data/lib/elasticsearch/dsl/search/aggregations/pipeline/cumulative_sum.rb +16 -3
  36. data/lib/elasticsearch/dsl/search/aggregations/pipeline/derivative.rb +16 -3
  37. data/lib/elasticsearch/dsl/search/aggregations/pipeline/extended_stats_bucket.rb +16 -3
  38. data/lib/elasticsearch/dsl/search/aggregations/pipeline/max_bucket.rb +16 -3
  39. data/lib/elasticsearch/dsl/search/aggregations/pipeline/min_bucket.rb +16 -3
  40. data/lib/elasticsearch/dsl/search/aggregations/pipeline/moving_avg.rb +16 -3
  41. data/lib/elasticsearch/dsl/search/aggregations/pipeline/percentiles_bucket.rb +16 -3
  42. data/lib/elasticsearch/dsl/search/aggregations/pipeline/serial_diff.rb +16 -3
  43. data/lib/elasticsearch/dsl/search/aggregations/pipeline/stats_bucket.rb +16 -3
  44. data/lib/elasticsearch/dsl/search/aggregations/pipeline/sum_bucket.rb +16 -3
  45. data/lib/elasticsearch/dsl/search/aggregations/range.rb +16 -3
  46. data/lib/elasticsearch/dsl/search/aggregations/reverse_nested.rb +16 -3
  47. data/lib/elasticsearch/dsl/search/aggregations/scripted_metric.rb +16 -3
  48. data/lib/elasticsearch/dsl/search/aggregations/significant_terms.rb +16 -3
  49. data/lib/elasticsearch/dsl/search/aggregations/significant_text.rb +16 -3
  50. data/lib/elasticsearch/dsl/search/aggregations/stats.rb +16 -3
  51. data/lib/elasticsearch/dsl/search/aggregations/sum.rb +16 -3
  52. data/lib/elasticsearch/dsl/search/aggregations/terms.rb +16 -3
  53. data/lib/elasticsearch/dsl/search/aggregations/top_hits.rb +16 -3
  54. data/lib/elasticsearch/dsl/search/aggregations/value_count.rb +16 -3
  55. data/lib/elasticsearch/dsl/search/base_aggregation_component.rb +16 -3
  56. data/lib/elasticsearch/dsl/search/base_component.rb +16 -3
  57. data/lib/elasticsearch/dsl/search/base_compound_filter_component.rb +16 -3
  58. data/lib/elasticsearch/dsl/search/collapse.rb +16 -3
  59. data/lib/elasticsearch/dsl/search/filter.rb +16 -3
  60. data/lib/elasticsearch/dsl/search/filters/and.rb +16 -3
  61. data/lib/elasticsearch/dsl/search/filters/bool.rb +18 -3
  62. data/lib/elasticsearch/dsl/search/filters/exists.rb +16 -3
  63. data/lib/elasticsearch/dsl/search/filters/geo_bounding_box.rb +16 -3
  64. data/lib/elasticsearch/dsl/search/filters/geo_distance.rb +16 -3
  65. data/lib/elasticsearch/dsl/search/filters/geo_distance_range.rb +16 -3
  66. data/lib/elasticsearch/dsl/search/filters/geo_polygon.rb +16 -3
  67. data/lib/elasticsearch/dsl/search/filters/geo_shape.rb +16 -3
  68. data/lib/elasticsearch/dsl/search/filters/geohash_cell.rb +16 -3
  69. data/lib/elasticsearch/dsl/search/filters/has_child.rb +16 -3
  70. data/lib/elasticsearch/dsl/search/filters/has_parent.rb +16 -3
  71. data/lib/elasticsearch/dsl/search/filters/ids.rb +16 -3
  72. data/lib/elasticsearch/dsl/search/filters/indices.rb +16 -3
  73. data/lib/elasticsearch/dsl/search/filters/limit.rb +16 -3
  74. data/lib/elasticsearch/dsl/search/filters/match_all.rb +16 -3
  75. data/lib/elasticsearch/dsl/search/filters/missing.rb +16 -3
  76. data/lib/elasticsearch/dsl/search/filters/nested.rb +16 -3
  77. data/lib/elasticsearch/dsl/search/filters/not.rb +16 -3
  78. data/lib/elasticsearch/dsl/search/filters/or.rb +16 -3
  79. data/lib/elasticsearch/dsl/search/filters/prefix.rb +16 -3
  80. data/lib/elasticsearch/dsl/search/filters/query.rb +16 -3
  81. data/lib/elasticsearch/dsl/search/filters/range.rb +16 -3
  82. data/lib/elasticsearch/dsl/search/filters/regexp.rb +16 -3
  83. data/lib/elasticsearch/dsl/search/filters/script.rb +16 -3
  84. data/lib/elasticsearch/dsl/search/filters/term.rb +16 -3
  85. data/lib/elasticsearch/dsl/search/filters/terms.rb +16 -3
  86. data/lib/elasticsearch/dsl/search/filters/type.rb +16 -3
  87. data/lib/elasticsearch/dsl/search/highlight.rb +16 -3
  88. data/lib/elasticsearch/dsl/search/options.rb +16 -3
  89. data/lib/elasticsearch/dsl/search/queries/bool.rb +16 -3
  90. data/lib/elasticsearch/dsl/search/queries/boosting.rb +16 -3
  91. data/lib/elasticsearch/dsl/search/queries/common.rb +16 -3
  92. data/lib/elasticsearch/dsl/search/queries/constant_score.rb +16 -3
  93. data/lib/elasticsearch/dsl/search/queries/dis_max.rb +16 -3
  94. data/lib/elasticsearch/dsl/search/queries/exists.rb +16 -3
  95. data/lib/elasticsearch/dsl/search/queries/filtered.rb +16 -3
  96. data/lib/elasticsearch/dsl/search/queries/function_score.rb +16 -3
  97. data/lib/elasticsearch/dsl/search/queries/fuzzy.rb +16 -3
  98. data/lib/elasticsearch/dsl/search/queries/fuzzy_like_this.rb +16 -3
  99. data/lib/elasticsearch/dsl/search/queries/fuzzy_like_this_field.rb +16 -3
  100. data/lib/elasticsearch/dsl/search/queries/geo_shape.rb +16 -3
  101. data/lib/elasticsearch/dsl/search/queries/has_child.rb +16 -3
  102. data/lib/elasticsearch/dsl/search/queries/has_parent.rb +16 -3
  103. data/lib/elasticsearch/dsl/search/queries/ids.rb +16 -3
  104. data/lib/elasticsearch/dsl/search/queries/indices.rb +16 -3
  105. data/lib/elasticsearch/dsl/search/queries/inner_hits.rb +16 -3
  106. data/lib/elasticsearch/dsl/search/queries/match.rb +16 -3
  107. data/lib/elasticsearch/dsl/search/queries/match_all.rb +16 -3
  108. data/lib/elasticsearch/dsl/search/queries/match_phrase.rb +16 -3
  109. data/lib/elasticsearch/dsl/search/queries/match_phrase_prefix.rb +16 -3
  110. data/lib/elasticsearch/dsl/search/queries/more_like_this.rb +16 -3
  111. data/lib/elasticsearch/dsl/search/queries/multi_match.rb +16 -3
  112. data/lib/elasticsearch/dsl/search/queries/nested.rb +16 -3
  113. data/lib/elasticsearch/dsl/search/queries/prefix.rb +16 -3
  114. data/lib/elasticsearch/dsl/search/queries/query_string.rb +17 -6
  115. data/lib/elasticsearch/dsl/search/queries/range.rb +16 -3
  116. data/lib/elasticsearch/dsl/search/queries/regexp.rb +16 -3
  117. data/lib/elasticsearch/dsl/search/queries/simple_query_string.rb +16 -3
  118. data/lib/elasticsearch/dsl/search/queries/span_first.rb +16 -3
  119. data/lib/elasticsearch/dsl/search/queries/span_multi.rb +16 -3
  120. data/lib/elasticsearch/dsl/search/queries/span_near.rb +16 -3
  121. data/lib/elasticsearch/dsl/search/queries/span_not.rb +16 -3
  122. data/lib/elasticsearch/dsl/search/queries/span_or.rb +16 -3
  123. data/lib/elasticsearch/dsl/search/queries/span_term.rb +16 -3
  124. data/lib/elasticsearch/dsl/search/queries/template.rb +16 -3
  125. data/lib/elasticsearch/dsl/search/queries/term.rb +16 -3
  126. data/lib/elasticsearch/dsl/search/queries/terms.rb +16 -3
  127. data/lib/elasticsearch/dsl/search/queries/top_children.rb +16 -3
  128. data/lib/elasticsearch/dsl/search/queries/wildcard.rb +16 -3
  129. data/lib/elasticsearch/dsl/search/query.rb +16 -3
  130. data/lib/elasticsearch/dsl/search/sort.rb +16 -3
  131. data/lib/elasticsearch/dsl/search/suggest.rb +16 -3
  132. data/lib/elasticsearch/dsl/utils.rb +16 -3
  133. data/lib/elasticsearch/dsl/version.rb +17 -4
  134. data/spec/elasticsearch/dsl/search/aggregations/avg_spec.rb +16 -3
  135. data/spec/elasticsearch/dsl/search/aggregations/cardinality_spec.rb +16 -3
  136. data/spec/elasticsearch/dsl/search/aggregations/children_spec.rb +16 -3
  137. data/spec/elasticsearch/dsl/search/aggregations/composite_spec.rb +16 -3
  138. data/spec/elasticsearch/dsl/search/aggregations/date_histogram_spec.rb +30 -24
  139. data/spec/elasticsearch/dsl/search/aggregations/date_range_spec.rb +16 -3
  140. data/spec/elasticsearch/dsl/search/aggregations/extended_stats_spec.rb +16 -3
  141. data/spec/elasticsearch/dsl/search/aggregations/filter_spec.rb +16 -3
  142. data/spec/elasticsearch/dsl/search/aggregations/filters_spec.rb +16 -3
  143. data/spec/elasticsearch/dsl/search/aggregations/geo_bounds_spec.rb +16 -3
  144. data/spec/elasticsearch/dsl/search/aggregations/geo_distance_spec.rb +16 -3
  145. data/spec/elasticsearch/dsl/search/aggregations/geo_grid_spec.rb +16 -3
  146. data/spec/elasticsearch/dsl/search/aggregations/global_spec.rb +16 -3
  147. data/spec/elasticsearch/dsl/search/aggregations/historgram_spec.rb +16 -3
  148. data/spec/elasticsearch/dsl/search/aggregations/ip_range_spec.rb +16 -3
  149. data/spec/elasticsearch/dsl/search/aggregations/max_spec.rb +16 -3
  150. data/spec/elasticsearch/dsl/search/aggregations/min_spec.rb +16 -3
  151. data/spec/elasticsearch/dsl/search/aggregations/missing_spec.rb +16 -3
  152. data/spec/elasticsearch/dsl/search/aggregations/nested_spec.rb +16 -3
  153. data/spec/elasticsearch/dsl/search/aggregations/percentile_ranks_spec.rb +16 -3
  154. data/spec/elasticsearch/dsl/search/aggregations/percentiles_spec.rb +16 -3
  155. data/spec/elasticsearch/dsl/search/aggregations/pipeline/avg_bucket_spec.rb +16 -3
  156. data/spec/elasticsearch/dsl/search/aggregations/pipeline/bucket_script_spec.rb +16 -3
  157. data/spec/elasticsearch/dsl/search/aggregations/pipeline/bucket_selector_spec.rb +16 -3
  158. data/spec/elasticsearch/dsl/search/aggregations/pipeline/bucket_sort_spec.rb +16 -3
  159. data/spec/elasticsearch/dsl/search/aggregations/pipeline/cumulative_sum_spec.rb +16 -3
  160. data/spec/elasticsearch/dsl/search/aggregations/pipeline/derivative_spec.rb +16 -3
  161. data/spec/elasticsearch/dsl/search/aggregations/pipeline/extended_stats_bucket_spec.rb +16 -3
  162. data/spec/elasticsearch/dsl/search/aggregations/pipeline/max_bucket_spec.rb +16 -3
  163. data/spec/elasticsearch/dsl/search/aggregations/pipeline/min_bucket_spec.rb +16 -3
  164. data/spec/elasticsearch/dsl/search/aggregations/pipeline/moving_avg_test_spec.rb +16 -3
  165. data/spec/elasticsearch/dsl/search/aggregations/pipeline/percentiles_bucket_spec.rb +16 -3
  166. data/spec/elasticsearch/dsl/search/aggregations/pipeline/serial_diff_spec.rb +16 -3
  167. data/spec/elasticsearch/dsl/search/aggregations/pipeline/stats_bucket_spec.rb +16 -3
  168. data/spec/elasticsearch/dsl/search/aggregations/pipeline/sum_bucket_spec.rb +16 -3
  169. data/spec/elasticsearch/dsl/search/aggregations/range_spec.rb +16 -3
  170. data/spec/elasticsearch/dsl/search/aggregations/reverse_nested_spec.rb +16 -3
  171. data/spec/elasticsearch/dsl/search/aggregations/scripted_metric_spec.rb +16 -3
  172. data/spec/elasticsearch/dsl/search/aggregations/significant_terms_spec.rb +16 -3
  173. data/spec/elasticsearch/dsl/search/aggregations/significant_text_spec.rb +16 -3
  174. data/spec/elasticsearch/dsl/search/aggregations/stats_spec.rb +16 -3
  175. data/spec/elasticsearch/dsl/search/aggregations/sum_spec.rb +16 -3
  176. data/spec/elasticsearch/dsl/search/aggregations/terms_spec.rb +16 -3
  177. data/spec/elasticsearch/dsl/search/aggregations/top_hits_spec.rb +16 -3
  178. data/spec/elasticsearch/dsl/search/aggregations/value_count_spec.rb +16 -3
  179. data/spec/elasticsearch/dsl/search/collapse_spec.rb +16 -3
  180. data/spec/elasticsearch/dsl/search/filters/and_spec.rb +16 -3
  181. data/spec/elasticsearch/dsl/search/filters/bool_spec.rb +30 -3
  182. data/spec/elasticsearch/dsl/search/filters/exists_spec.rb +16 -3
  183. data/spec/elasticsearch/dsl/search/filters/geo_bounding_box_spec.rb +16 -3
  184. data/spec/elasticsearch/dsl/search/filters/geo_distance_range_spec.rb +16 -3
  185. data/spec/elasticsearch/dsl/search/filters/geo_distance_spec.rb +16 -3
  186. data/spec/elasticsearch/dsl/search/filters/geo_polygon_spec.rb +16 -3
  187. data/spec/elasticsearch/dsl/search/filters/geo_shape_spec.rb +16 -3
  188. data/spec/elasticsearch/dsl/search/filters/geohash_cell_spec.rb +16 -3
  189. data/spec/elasticsearch/dsl/search/filters/has_child_spec.rb +16 -3
  190. data/spec/elasticsearch/dsl/search/filters/has_parent_spec.rb +16 -3
  191. data/spec/elasticsearch/dsl/search/filters/ids_spec.rb +16 -3
  192. data/spec/elasticsearch/dsl/search/filters/indices_spec.rb +16 -3
  193. data/spec/elasticsearch/dsl/search/filters/limit_spec.rb +16 -3
  194. data/spec/elasticsearch/dsl/search/filters/match_all_spec.rb +16 -3
  195. data/spec/elasticsearch/dsl/search/filters/missing_spec.rb +16 -3
  196. data/spec/elasticsearch/dsl/search/filters/nested_spec.rb +16 -3
  197. data/spec/elasticsearch/dsl/search/filters/not_spec.rb +16 -3
  198. data/spec/elasticsearch/dsl/search/filters/or_spec.rb +16 -3
  199. data/spec/elasticsearch/dsl/search/filters/prefix_spec.rb +16 -3
  200. data/spec/elasticsearch/dsl/search/filters/query_spec.rb +16 -3
  201. data/spec/elasticsearch/dsl/search/filters/range_spec.rb +16 -3
  202. data/spec/elasticsearch/dsl/search/filters/regexp_spec.rb +16 -3
  203. data/spec/elasticsearch/dsl/search/filters/script_spec.rb +16 -3
  204. data/spec/elasticsearch/dsl/search/filters/term_spec.rb +16 -3
  205. data/spec/elasticsearch/dsl/search/filters/terms_spec.rb +16 -3
  206. data/spec/elasticsearch/dsl/search/filters/type_spec.rb +16 -3
  207. data/spec/elasticsearch/dsl/search/queries/bool_spec.rb +16 -3
  208. data/spec/elasticsearch/dsl/search/queries/boosting_spec.rb +16 -3
  209. data/spec/elasticsearch/dsl/search/queries/common_spec.rb +16 -3
  210. data/spec/elasticsearch/dsl/search/queries/constant_score_spec.rb +16 -3
  211. data/spec/elasticsearch/dsl/search/queries/dis_max_spec.rb +16 -3
  212. data/spec/elasticsearch/dsl/search/queries/exists_spec.rb +16 -3
  213. data/spec/elasticsearch/dsl/search/queries/filtered_spec.rb +16 -3
  214. data/spec/elasticsearch/dsl/search/queries/function_score_spec.rb +16 -3
  215. data/spec/elasticsearch/dsl/search/queries/fuzzy_like_this_field_spec.rb +16 -3
  216. data/spec/elasticsearch/dsl/search/queries/fuzzy_like_this_spec.rb +16 -3
  217. data/spec/elasticsearch/dsl/search/queries/fuzzy_spec.rb +16 -3
  218. data/spec/elasticsearch/dsl/search/queries/geo_shape_spec.rb +16 -3
  219. data/spec/elasticsearch/dsl/search/queries/has_child_spec.rb +16 -3
  220. data/spec/elasticsearch/dsl/search/queries/has_parent_spec.rb +16 -3
  221. data/spec/elasticsearch/dsl/search/queries/ids_spec.rb +16 -3
  222. data/spec/elasticsearch/dsl/search/queries/indices_spec.rb +16 -3
  223. data/spec/elasticsearch/dsl/search/queries/inner_hits_spec.rb +16 -3
  224. data/spec/elasticsearch/dsl/search/queries/match_all_spec.rb +16 -3
  225. data/spec/elasticsearch/dsl/search/queries/match_phrase_prefix_spec.rb +16 -3
  226. data/spec/elasticsearch/dsl/search/queries/match_phrase_spec.rb +16 -3
  227. data/spec/elasticsearch/dsl/search/queries/match_spec.rb +16 -3
  228. data/spec/elasticsearch/dsl/search/queries/more_like_this_spec.rb +16 -3
  229. data/spec/elasticsearch/dsl/search/queries/multi_match_spec.rb +16 -3
  230. data/spec/elasticsearch/dsl/search/queries/nested_spec.rb +16 -3
  231. data/spec/elasticsearch/dsl/search/queries/prefix_spec.rb +16 -3
  232. data/spec/elasticsearch/dsl/search/queries/query_string_spec.rb +21 -12
  233. data/spec/elasticsearch/dsl/search/queries/range_spec.rb +16 -3
  234. data/spec/elasticsearch/dsl/search/queries/regexp_spec.rb +16 -3
  235. data/spec/elasticsearch/dsl/search/queries/simple_query_string_spec.rb +16 -3
  236. data/spec/elasticsearch/dsl/search/queries/span_first_spec.rb +16 -3
  237. data/spec/elasticsearch/dsl/search/queries/span_multi_spec.rb +16 -3
  238. data/spec/elasticsearch/dsl/search/queries/span_near_spec.rb +16 -3
  239. data/spec/elasticsearch/dsl/search/queries/span_not_spec.rb +16 -3
  240. data/spec/elasticsearch/dsl/search/queries/span_or_spec.rb +16 -3
  241. data/spec/elasticsearch/dsl/search/queries/span_term_spec.rb +16 -3
  242. data/spec/elasticsearch/dsl/search/queries/template_spec.rb +16 -3
  243. data/spec/elasticsearch/dsl/search/queries/term_spec.rb +16 -3
  244. data/spec/elasticsearch/dsl/search/queries/terms_spec.rb +16 -3
  245. data/spec/elasticsearch/dsl/search/queries/top_children_spec.rb +16 -3
  246. data/spec/elasticsearch/dsl/search/queries/wildcard_spec.rb +16 -3
  247. data/spec/elasticsearch/dsl/search_spec.rb +16 -3
  248. data/spec/spec_helper.rb +16 -3
  249. data/test/integration/search_aggregation_children_test.rb +16 -7
  250. data/test/integration/search_aggregation_geo_test.rb +16 -7
  251. data/test/integration/search_aggregation_nested_test.rb +16 -7
  252. data/test/integration/search_aggregations_test.rb +16 -3
  253. data/test/integration/search_filters_test.rb +16 -7
  254. data/test/integration/search_options_test.rb +16 -3
  255. data/test/integration/search_query_test.rb +16 -7
  256. data/test/integration/search_size_from_test.rb +16 -3
  257. data/test/integration/search_sort_test.rb +16 -7
  258. data/test/integration/search_suggest_test.rb +16 -7
  259. data/test/integration/search_test.rb +16 -7
  260. data/test/test_helper.rb +21 -26
  261. data/test/unit/dsl_test.rb +16 -3
  262. data/test/unit/search_aggregation_test.rb +16 -3
  263. data/test/unit/search_base_aggregation_component_test.rb +16 -3
  264. data/test/unit/search_base_component_test.rb +16 -3
  265. data/test/unit/search_filter_test.rb +16 -3
  266. data/test/unit/search_highlight_test.rb +16 -3
  267. data/test/unit/search_options_test.rb +16 -3
  268. data/test/unit/search_query_test.rb +16 -3
  269. data/test/unit/search_size_from_test.rb +16 -3
  270. data/test/unit/search_sort_test.rb +16 -3
  271. data/test/unit/search_suggest_test.rb +16 -3
  272. data/test/unit/search_test.rb +16 -3
  273. data/test/unit/utils_test.rb +16 -3
  274. metadata +39 -49
@@ -1,6 +1,19 @@
1
- # Licensed to Elasticsearch B.V under one or more agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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.9
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: 2019-11-05 00:00:00.000000000 Z
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: '11.1'
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: '11.1'
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://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-dsl
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
- post_install_message:
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: '1.9'
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: