elasticsearch-api 1.0.18 → 1.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elasticsearch/api/actions/bulk.rb +4 -1
  3. data/lib/elasticsearch/api/actions/cat/aliases.rb +3 -0
  4. data/lib/elasticsearch/api/actions/cat/allocation.rb +3 -0
  5. data/lib/elasticsearch/api/actions/cat/count.rb +3 -0
  6. data/lib/elasticsearch/api/actions/cat/fielddata.rb +3 -0
  7. data/lib/elasticsearch/api/actions/cat/health.rb +3 -0
  8. data/lib/elasticsearch/api/actions/cat/indices.rb +3 -0
  9. data/lib/elasticsearch/api/actions/cat/master.rb +3 -0
  10. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +3 -0
  11. data/lib/elasticsearch/api/actions/cat/nodes.rb +3 -0
  12. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +3 -0
  13. data/lib/elasticsearch/api/actions/cat/plugins.rb +4 -0
  14. data/lib/elasticsearch/api/actions/cat/recovery.rb +3 -0
  15. data/lib/elasticsearch/api/actions/cat/repositories.rb +2 -0
  16. data/lib/elasticsearch/api/actions/cat/segments.rb +4 -0
  17. data/lib/elasticsearch/api/actions/cat/shards.rb +3 -0
  18. data/lib/elasticsearch/api/actions/cat/snapshots.rb +2 -0
  19. data/lib/elasticsearch/api/actions/cat/tasks.rb +2 -0
  20. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +3 -0
  21. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +2 -0
  22. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +3 -0
  23. data/lib/elasticsearch/api/actions/cluster/reroute.rb +3 -0
  24. data/lib/elasticsearch/api/actions/index.rb +3 -0
  25. data/lib/elasticsearch/api/actions/indices/analyze.rb +3 -0
  26. data/lib/elasticsearch/api/actions/indices/create.rb +3 -0
  27. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +2 -0
  28. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +3 -0
  29. data/lib/elasticsearch/api/actions/indices/put_settings.rb +3 -0
  30. data/lib/elasticsearch/api/actions/indices/segments.rb +3 -0
  31. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +2 -0
  32. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +2 -0
  33. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +2 -0
  34. data/lib/elasticsearch/api/actions/ingest/simulate.rb +2 -0
  35. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +3 -0
  36. data/lib/elasticsearch/api/actions/nodes/info.rb +4 -2
  37. data/lib/elasticsearch/api/actions/nodes/stats.rb +3 -0
  38. data/lib/elasticsearch/api/actions/percolate.rb +3 -0
  39. data/lib/elasticsearch/api/actions/reindex.rb +4 -1
  40. data/lib/elasticsearch/api/actions/render_search_template.rb +5 -4
  41. data/lib/elasticsearch/api/actions/search.rb +3 -0
  42. data/lib/elasticsearch/api/actions/tasks/cancel.rb +3 -2
  43. data/lib/elasticsearch/api/actions/tasks/list.rb +3 -2
  44. data/lib/elasticsearch/api/actions/termvectors.rb +2 -0
  45. data/lib/elasticsearch/api/version.rb +1 -1
  46. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccbe9ec4450fdf833e93e1c85ac3bd2594959d72
4
- data.tar.gz: 10ad273b15eddba62c7ae9f29bd8f60fdf277937
3
+ metadata.gz: f4748f47a20f83f1ceb2feb255f59373ba98842a
4
+ data.tar.gz: d9a62b32224975bb34728778d972b0d1c5d9fb04
5
5
  SHA512:
6
- metadata.gz: 32833fc2c378b8c7eea938fab37fb277a815c9b3427d52e13e12df1bfa6dad4a1b1e446c3406ab8c8eb4bbc4e88fae2857e3f024008b6196916935fd8040e423
7
- data.tar.gz: 77ae9c0a0688da4c609aa0df47cd4a33d743b2ab643e3d6bb67b5b0b1e4cea2a14e218778dd24a8ef3b87710c51a405cef3832520ceee5ad328a903a7f76bcf1
6
+ metadata.gz: a5d0c06aabf62da89445f1176375f5bb59b63dd317ca5fbfe738711767b491360bed634940492da6ec62df5f2dde6dc7270747b4fddeffba59cb8dcc4440d287
7
+ data.tar.gz: 40e8a7f9913617a517a163565464a788cff108bebb10e546506601022480c6da48859319fcb643e1c734ef5698d21cb36fe4ca439de1a56001ce0715717d5f19
@@ -64,7 +64,7 @@ module Elasticsearch
64
64
  def bulk(arguments={})
65
65
  arguments = arguments.clone
66
66
 
67
- type = arguments.delete(:type)
67
+ type = arguments.delete(:type)
68
68
 
69
69
  valid_params = [
70
70
  :consistency,
@@ -75,6 +75,9 @@ module Elasticsearch
75
75
  :fields,
76
76
  :pipeline ]
77
77
 
78
+ unsupported_params = [ :fields, :pipeline ]
79
+ Utils.__report_unsupported_parameters(arguments, unsupported_params)
80
+
78
81
  method = HTTP_POST
79
82
  path = Utils.__pathify Utils.__escape(arguments[:index]), Utils.__escape(type), '_bulk'
80
83
 
@@ -48,6 +48,9 @@ module Elasticsearch
48
48
  :help,
49
49
  :v ]
50
50
 
51
+ unsupported_params = [ :format ]
52
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
53
+
51
54
  name = arguments.delete(:name)
52
55
 
53
56
  method = HTTP_GET
@@ -50,6 +50,9 @@ module Elasticsearch
50
50
  :help,
51
51
  :v ]
52
52
 
53
+ unsupported_params = [ :format ]
54
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
55
+
53
56
  node_id = arguments.delete(:node_id)
54
57
 
55
58
  method = HTTP_GET
@@ -44,6 +44,9 @@ module Elasticsearch
44
44
  :help,
45
45
  :v ]
46
46
 
47
+ unsupported_params = [ :format ]
48
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
49
+
47
50
  index = arguments.delete(:index)
48
51
 
49
52
  method = HTTP_GET
@@ -34,6 +34,9 @@ module Elasticsearch
34
34
  :v,
35
35
  :fields ]
36
36
 
37
+ unsupported_params = [ :format ]
38
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
39
+
37
40
  fields = arguments.delete(:fields)
38
41
 
39
42
  method = HTTP_GET
@@ -37,6 +37,9 @@ module Elasticsearch
37
37
  :ts,
38
38
  :v ]
39
39
 
40
+ unsupported_params = [ :format ]
41
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
42
+
40
43
  method = HTTP_GET
41
44
  path = "_cat/health"
42
45
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -58,6 +58,9 @@ module Elasticsearch
58
58
  :pri,
59
59
  :v ]
60
60
 
61
+ unsupported_params = [ :format ]
62
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
63
+
61
64
  index = arguments.delete(:index)
62
65
 
63
66
  method = HTTP_GET
@@ -35,6 +35,9 @@ module Elasticsearch
35
35
  :help,
36
36
  :v ]
37
37
 
38
+ unsupported_params = [ :format ]
39
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
40
+
38
41
  method = HTTP_GET
39
42
  path = "_cat/master"
40
43
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -14,12 +14,15 @@ module Elasticsearch
14
14
  # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html
15
15
  #
16
16
  def nodeattrs(arguments={})
17
+ Utils.__report_unsupported_method(__method__)
18
+
17
19
  valid_params = [
18
20
  :local,
19
21
  :master_timeout,
20
22
  :h,
21
23
  :help,
22
24
  :v ]
25
+
23
26
  method = 'GET'
24
27
  path = "_cat/nodeattrs"
25
28
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -43,6 +43,9 @@ module Elasticsearch
43
43
  :help,
44
44
  :v ]
45
45
 
46
+ unsupported_params = [ :format ]
47
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
48
+
46
49
  method = HTTP_GET
47
50
  path = "_cat/nodes"
48
51
 
@@ -35,6 +35,9 @@ module Elasticsearch
35
35
  :help,
36
36
  :v ]
37
37
 
38
+ unsupported_params = [ :format ]
39
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
40
+
38
41
  method = HTTP_GET
39
42
  path = "_cat/pending_tasks"
40
43
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -21,6 +21,10 @@ module Elasticsearch
21
21
  :h,
22
22
  :help,
23
23
  :v ]
24
+
25
+ unsupported_params = [ :format ]
26
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
27
+
24
28
  method = 'GET'
25
29
  path = "_cat/plugins"
26
30
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -54,6 +54,9 @@ module Elasticsearch
54
54
  :help,
55
55
  :v ]
56
56
 
57
+ unsupported_params = [ :format ]
58
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
59
+
57
60
  index = arguments.delete(:index)
58
61
 
59
62
  method = HTTP_GET
@@ -21,6 +21,8 @@ module Elasticsearch
21
21
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-repositories.html
22
22
  #
23
23
  def repositories(arguments={})
24
+ Utils.__report_unsupported_method(__method__)
25
+
24
26
  valid_params = [
25
27
  :master_timeout,
26
28
  :h,
@@ -23,6 +23,10 @@ module Elasticsearch
23
23
  :h,
24
24
  :help,
25
25
  :v ]
26
+
27
+ unsupported_params = [ :format ]
28
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
29
+
26
30
  method = 'GET'
27
31
  path = "_cat/segments"
28
32
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -58,6 +58,9 @@ module Elasticsearch
58
58
  :help,
59
59
  :v ]
60
60
 
61
+ unsupported_params = [ :format ]
62
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
63
+
61
64
  index = arguments.delete(:index)
62
65
 
63
66
  method = HTTP_GET
@@ -21,6 +21,8 @@ module Elasticsearch
21
21
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html
22
22
  #
23
23
  def snapshots(arguments={})
24
+ Utils.__report_unsupported_method(__method__)
25
+
24
26
  raise ArgumentError, "Required argument 'repository' missing" unless arguments[:repository]
25
27
 
26
28
  valid_params = [
@@ -18,6 +18,8 @@ module Elasticsearch
18
18
  # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
19
19
  #
20
20
  def tasks(arguments={})
21
+ Utils.__report_unsupported_method(__method__)
22
+
21
23
  valid_params = [
22
24
  :format,
23
25
  :node_id,
@@ -45,6 +45,9 @@ module Elasticsearch
45
45
  :help,
46
46
  :v ]
47
47
 
48
+ unsupported_params = [ :format, :size ]
49
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
50
+
48
51
  method = HTTP_GET
49
52
  path = "_cat/thread_pool"
50
53
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -11,6 +11,8 @@ module Elasticsearch
11
11
  # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
12
12
  #
13
13
  def allocation_explain(arguments={})
14
+ Utils.__report_unsupported_method(__method__)
15
+
14
16
  valid_params = [
15
17
  :include_yes_decisions ]
16
18
  method = 'GET'
@@ -21,6 +21,9 @@ module Elasticsearch
21
21
  :include_defaults
22
22
  ]
23
23
 
24
+ unsupported_params = [ :include_defaults ]
25
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
26
+
24
27
  method = HTTP_GET
25
28
  path = "_cluster/settings"
26
29
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -34,6 +34,9 @@ module Elasticsearch
34
34
  def reroute(arguments={})
35
35
  valid_params = [ :dry_run, :explain, :metric, :master_timeout, :retry_failed, :timeout ]
36
36
 
37
+ unsupported_params = [ :retry_failed ]
38
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
39
+
37
40
  method = HTTP_POST
38
41
  path = "_cluster/reroute"
39
42
 
@@ -89,6 +89,9 @@ module Elasticsearch
89
89
  :version,
90
90
  :version_type ]
91
91
 
92
+ unsupported_params = [ :pipeline ]
93
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
94
+
92
95
  method = arguments[:id] ? HTTP_PUT : HTTP_POST
93
96
  path = Utils.__pathify Utils.__escape(arguments[:index]),
94
97
  Utils.__escape(arguments[:type]),
@@ -64,6 +64,9 @@ module Elasticsearch
64
64
  :token_filters,
65
65
  :format ]
66
66
 
67
+ unsupported_params = [ :explain, :attributes ]
68
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
69
+
67
70
  method = HTTP_GET
68
71
  path = Utils.__pathify Utils.__listify(arguments[:index]), '_analyze'
69
72
 
@@ -75,6 +75,9 @@ module Elasticsearch
75
75
  :update_all_types
76
76
  ]
77
77
 
78
+ unsupported_params = [ :update_all_types ]
79
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
80
+
78
81
  method = HTTP_PUT
79
82
  path = Utils.__pathify Utils.__escape(arguments[:index])
80
83
 
@@ -42,6 +42,8 @@ module Elasticsearch
42
42
  # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html
43
43
  #
44
44
  def forcemerge(arguments={})
45
+ Utils.__report_unsupported_method(__method__)
46
+
45
47
  valid_params = [
46
48
  :max_num_segments,
47
49
  :only_expunge_deletes,
@@ -62,6 +62,9 @@ module Elasticsearch
62
62
  :timeout
63
63
  ]
64
64
 
65
+ unsupported_params = [ :update_all_types ]
66
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
67
+
65
68
  method = HTTP_PUT
66
69
  path = Utils.__pathify Utils.__listify(arguments[:index]), '_mapping', Utils.__escape(arguments[:type])
67
70
 
@@ -59,6 +59,9 @@ module Elasticsearch
59
59
  :flat_settings
60
60
  ]
61
61
 
62
+ unsupported_params = [ :update_all_types ]
63
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
64
+
62
65
  method = HTTP_PUT
63
66
  path = Utils.__pathify Utils.__listify(arguments[:index]), '_settings'
64
67
  params = Utils.__validate_and_extract_params arguments, valid_params
@@ -32,6 +32,9 @@ module Elasticsearch
32
32
  :verbose
33
33
  ]
34
34
 
35
+ unsupported_params = [ :verbose ]
36
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
37
+
35
38
  method = HTTP_GET
36
39
  path = Utils.__pathify Utils.__listify(arguments[:index]), '_segments'
37
40
 
@@ -12,6 +12,8 @@ module Elasticsearch
12
12
  # @see https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
13
13
  #
14
14
  def delete_pipeline(arguments={})
15
+ Utils.__report_unsupported_method(__method__)
16
+
15
17
  raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
16
18
  valid_params = [
17
19
  :master_timeout,
@@ -11,6 +11,8 @@ module Elasticsearch
11
11
  # @see https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
12
12
  #
13
13
  def get_pipeline(arguments={})
14
+ Utils.__report_unsupported_method(__method__)
15
+
14
16
  raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
15
17
  valid_params = [
16
18
  :master_timeout ]
@@ -13,6 +13,8 @@ module Elasticsearch
13
13
  # @see https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
14
14
  #
15
15
  def put_pipeline(arguments={})
16
+ Utils.__report_unsupported_method(__method__)
17
+
16
18
  raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
17
19
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
18
20
  valid_params = [
@@ -13,6 +13,8 @@ module Elasticsearch
13
13
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html
14
14
  #
15
15
  def simulate(arguments={})
16
+ Utils.__report_unsupported_method(__method__)
17
+
16
18
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
17
19
  valid_params = [
18
20
  :verbose ]
@@ -34,6 +34,9 @@ module Elasticsearch
34
34
  :type,
35
35
  :timeout ]
36
36
 
37
+ unsupported_params = [ :timeout ]
38
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
39
+
37
40
  method = HTTP_GET
38
41
  path = Utils.__pathify '_nodes', Utils.__listify(arguments[:node_id]), 'hot_threads'
39
42
 
@@ -53,11 +53,13 @@ module Elasticsearch
53
53
  :process,
54
54
  :settings,
55
55
  :thread_pool,
56
- :transport,
57
- :timeout ]
56
+ :transport ]
58
57
 
59
58
  valid_params = [ :timeout ]
60
59
 
60
+ unsupported_params = [ :timeout ]
61
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
62
+
61
63
  method = HTTP_GET
62
64
 
63
65
  if metric
@@ -57,6 +57,9 @@ module Elasticsearch
57
57
  :types,
58
58
  :timeout ]
59
59
 
60
+ unsupported_params = [ :timeout ]
61
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
62
+
60
63
  method = HTTP_GET
61
64
 
62
65
  path = Utils.__pathify '_nodes',
@@ -90,6 +90,9 @@ module Elasticsearch
90
90
  :version,
91
91
  :version_type ]
92
92
 
93
+ unsupported_params = [ :percolate_format ]
94
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
95
+
93
96
  method = HTTP_GET
94
97
  path = Utils.__pathify Utils.__escape(arguments[:index]),
95
98
  Utils.__escape(arguments[:type]),
@@ -50,6 +50,8 @@ module Elasticsearch
50
50
  # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html
51
51
  #
52
52
  def reindex(arguments={})
53
+ Utils.__report_unsupported_method(__method__)
54
+
53
55
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
54
56
  valid_params = [
55
57
  :refresh,
@@ -57,7 +59,8 @@ module Elasticsearch
57
59
  :consistency,
58
60
  :wait_for_completion,
59
61
  :requests_per_second ]
60
- method = 'POST'
62
+
63
+ method = HTTP_POST
61
64
  path = "_reindex"
62
65
  params = Utils.__validate_and_extract_params arguments, valid_params
63
66
  body = arguments[:body]
@@ -10,10 +10,11 @@ module Elasticsearch
10
10
  # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
11
11
  #
12
12
  def render_search_template(arguments={})
13
- valid_params = [
14
- :id
15
- ]
16
- method = 'GET'
13
+ Utils.__report_unsupported_method(__method__)
14
+
15
+ valid_params = [ :id ]
16
+
17
+ method = HTTP_GET
17
18
  path = "_render/template"
18
19
  params = Utils.__validate_and_extract_params arguments, valid_params
19
20
  body = arguments[:body]
@@ -156,6 +156,9 @@ module Elasticsearch
156
156
  :timeout,
157
157
  :version ]
158
158
 
159
+ unsupported_params = [ :terminate_after ]
160
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
161
+
159
162
  method = HTTP_GET
160
163
  path = Utils.__pathify( Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), UNDERSCORE_SEARCH )
161
164
 
@@ -18,6 +18,8 @@ module Elasticsearch
18
18
  # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-cancel.html
19
19
  #
20
20
  def cancel(arguments={})
21
+ Utils.__report_unsupported_method(__method__)
22
+
21
23
  valid_params = [
22
24
  :node_id,
23
25
  :actions,
@@ -26,8 +28,7 @@ module Elasticsearch
26
28
 
27
29
  task_id = arguments.delete(:task_id)
28
30
 
29
- method = 'POST'
30
- path = "_tasks"
31
+ method = HTTP_POST
31
32
  path = Utils.__pathify( '_tasks', Utils.__escape(task_id), '_cancel' )
32
33
  params = Utils.__validate_and_extract_params arguments, valid_params
33
34
  body = nil
@@ -22,6 +22,8 @@ module Elasticsearch
22
22
  # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-list.html
23
23
  #
24
24
  def list(arguments={})
25
+ Utils.__report_unsupported_method(__method__)
26
+
25
27
  valid_params = [
26
28
  :node_id,
27
29
  :actions,
@@ -33,8 +35,7 @@ module Elasticsearch
33
35
 
34
36
  task_id = arguments.delete(:task_id)
35
37
 
36
- method = 'GET'
37
- path = "_tasks"
38
+ method = HTTP_GET
38
39
  path = Utils.__pathify( '_tasks', Utils.__escape(task_id) )
39
40
  params = Utils.__validate_and_extract_params arguments, valid_params
40
41
  body = nil
@@ -58,6 +58,8 @@ module Elasticsearch
58
58
  # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/docs-termvectors.html
59
59
  #
60
60
  def termvectors(arguments={})
61
+ Utils.__report_unsupported_method(__method__)
62
+
61
63
  raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
62
64
  raise ArgumentError, "Required argument 'type' missing" unless arguments[:type]
63
65
 
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module API
3
- VERSION = "1.0.18"
3
+ VERSION = "1.1.pre"
4
4
  end
5
5
  end
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: 1.0.18
4
+ version: 1.1.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: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -649,9 +649,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
649
649
  version: '0'
650
650
  required_rubygems_version: !ruby/object:Gem::Requirement
651
651
  requirements:
652
- - - ">="
652
+ - - ">"
653
653
  - !ruby/object:Gem::Version
654
- version: '0'
654
+ version: 1.3.1
655
655
  requirements: []
656
656
  rubyforge_project:
657
657
  rubygems_version: 2.2.2