elasticsearch-api 1.1.3 → 2.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/lib/elasticsearch/api/actions/bulk.rb +1 -1
  2. data/lib/elasticsearch/api/actions/cat/aliases.rb +3 -0
  3. data/lib/elasticsearch/api/actions/cat/allocation.rb +3 -0
  4. data/lib/elasticsearch/api/actions/cat/count.rb +3 -0
  5. data/lib/elasticsearch/api/actions/cat/fielddata.rb +3 -0
  6. data/lib/elasticsearch/api/actions/cat/health.rb +3 -0
  7. data/lib/elasticsearch/api/actions/cat/indices.rb +3 -0
  8. data/lib/elasticsearch/api/actions/cat/master.rb +3 -0
  9. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +4 -3
  10. data/lib/elasticsearch/api/actions/cat/nodes.rb +3 -0
  11. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +3 -0
  12. data/lib/elasticsearch/api/actions/cat/plugins.rb +4 -1
  13. data/lib/elasticsearch/api/actions/cat/recovery.rb +3 -0
  14. data/lib/elasticsearch/api/actions/cat/repositories.rb +3 -2
  15. data/lib/elasticsearch/api/actions/cat/segments.rb +4 -1
  16. data/lib/elasticsearch/api/actions/cat/shards.rb +3 -0
  17. data/lib/elasticsearch/api/actions/cat/snapshots.rb +3 -2
  18. data/lib/elasticsearch/api/actions/cat/tasks.rb +3 -1
  19. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +3 -3
  20. data/lib/elasticsearch/api/actions/delete_by_query.rb +2 -0
  21. data/lib/elasticsearch/api/actions/index.rb +1 -1
  22. data/lib/elasticsearch/api/actions/indices/analyze.rb +0 -3
  23. data/lib/elasticsearch/api/actions/indices/create.rb +0 -3
  24. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +0 -2
  25. data/lib/elasticsearch/api/actions/indices/get.rb +3 -0
  26. data/lib/elasticsearch/api/actions/indices/get_settings.rb +3 -0
  27. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +0 -3
  28. data/lib/elasticsearch/api/actions/indices/put_settings.rb +1 -1
  29. data/lib/elasticsearch/api/actions/indices/segments.rb +0 -3
  30. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +3 -1
  31. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +3 -1
  32. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +3 -1
  33. data/lib/elasticsearch/api/actions/ingest/simulate.rb +4 -3
  34. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +0 -3
  35. data/lib/elasticsearch/api/actions/nodes/info.rb +2 -4
  36. data/lib/elasticsearch/api/actions/nodes/stats.rb +0 -3
  37. data/lib/elasticsearch/api/actions/percolate.rb +0 -3
  38. data/lib/elasticsearch/api/actions/ping.rb +1 -1
  39. data/lib/elasticsearch/api/actions/put_template.rb +0 -2
  40. data/lib/elasticsearch/api/actions/reindex.rb +1 -4
  41. data/lib/elasticsearch/api/actions/render_search_template.rb +4 -5
  42. data/lib/elasticsearch/api/actions/search.rb +0 -3
  43. data/lib/elasticsearch/api/actions/tasks/cancel.rb +2 -3
  44. data/lib/elasticsearch/api/actions/tasks/list.rb +5 -3
  45. data/lib/elasticsearch/api/actions/termvectors.rb +0 -2
  46. data/lib/elasticsearch/api/actions/update_by_query.rb +3 -0
  47. data/lib/elasticsearch/api/utils.rb +6 -6
  48. data/lib/elasticsearch/api/version.rb +1 -1
  49. data/test/integration/yaml_test_runner.rb +1 -2
  50. metadata +242 -330
  51. checksums.yaml +0 -7
@@ -90,9 +90,6 @@ 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
-
96
93
  method = HTTP_GET
97
94
  path = Utils.__pathify Utils.__escape(arguments[:index]),
98
95
  Utils.__escape(arguments[:type]),
@@ -2,7 +2,7 @@ module Elasticsearch
2
2
  module API
3
3
  module Actions
4
4
 
5
- # Returns true if the cluster returns a successful HTTP response, false otherwise.
5
+ # Returns true if the cluster returns a sucessfull HTTP response, false otherwise.
6
6
  #
7
7
  # @example
8
8
  #
@@ -11,8 +11,6 @@ module Elasticsearch
11
11
  # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
12
12
  #
13
13
  def put_template(arguments={})
14
- Utils.__report_unsupported_method(__method__)
15
-
16
14
  raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
17
15
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
18
16
  method = HTTP_PUT
@@ -50,8 +50,6 @@ 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
-
55
53
  raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
56
54
  valid_params = [
57
55
  :refresh,
@@ -59,8 +57,7 @@ module Elasticsearch
59
57
  :consistency,
60
58
  :wait_for_completion,
61
59
  :requests_per_second ]
62
-
63
- method = HTTP_POST
60
+ method = 'POST'
64
61
  path = "_reindex"
65
62
  params = Utils.__validate_and_extract_params arguments, valid_params
66
63
  body = arguments[:body]
@@ -10,11 +10,10 @@ 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
- Utils.__report_unsupported_method(__method__)
14
-
15
- valid_params = [ :id ]
16
-
17
- method = HTTP_GET
13
+ valid_params = [
14
+ :id
15
+ ]
16
+ method = 'GET'
18
17
  path = "_render/template"
19
18
  params = Utils.__validate_and_extract_params arguments, valid_params
20
19
  body = arguments[:body]
@@ -156,9 +156,6 @@ 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
-
162
159
  method = HTTP_GET
163
160
  path = Utils.__pathify( Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), UNDERSCORE_SEARCH )
164
161
 
@@ -18,8 +18,6 @@ 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
-
23
21
  valid_params = [
24
22
  :node_id,
25
23
  :actions,
@@ -28,7 +26,8 @@ module Elasticsearch
28
26
 
29
27
  task_id = arguments.delete(:task_id)
30
28
 
31
- method = HTTP_POST
29
+ method = 'POST'
30
+ path = "_tasks"
32
31
  path = Utils.__pathify( '_tasks', Utils.__escape(task_id), '_cancel' )
33
32
  params = Utils.__validate_and_extract_params arguments, valid_params
34
33
  body = nil
@@ -22,8 +22,6 @@ 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
-
27
25
  valid_params = [
28
26
  :node_id,
29
27
  :actions,
@@ -33,9 +31,13 @@ module Elasticsearch
33
31
  :group_by,
34
32
  :wait_for_completion ]
35
33
 
34
+ unsupported_params = [ :group_by ]
35
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
36
+
36
37
  task_id = arguments.delete(:task_id)
37
38
 
38
- method = HTTP_GET
39
+ method = 'GET'
40
+ path = "_tasks"
39
41
  path = Utils.__pathify( '_tasks', Utils.__escape(task_id) )
40
42
  params = Utils.__validate_and_extract_params arguments, valid_params
41
43
  body = nil
@@ -58,8 +58,6 @@ 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
-
63
61
  raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
64
62
  raise ArgumentError, "Required argument 'type' missing" unless arguments[:type]
65
63
 
@@ -111,6 +111,9 @@ module Elasticsearch
111
111
  :wait_for_completion,
112
112
  :requests_per_second ]
113
113
 
114
+ unsupported_params = [ :pipeline ]
115
+ Utils.__report_unsupported_parameters(arguments, unsupported_params)
116
+
114
117
  method = HTTP_POST
115
118
 
116
119
  path = Utils.__pathify Utils.__listify(arguments[:index]),
@@ -235,7 +235,7 @@ module Elasticsearch
235
235
  end
236
236
 
237
237
  unless messages.empty?
238
- if STDERR.tty?
238
+ if terminal = STDERR.tty?
239
239
  STDERR.puts messages.map { |m| "\e[31;1m#{m}\e[0m" }.join("\n")
240
240
  else
241
241
  STDERR.puts messages.join("\n")
@@ -251,11 +251,11 @@ module Elasticsearch
251
251
 
252
252
  message += ". This method is not supported in the version you're using: #{Elasticsearch::API::VERSION}, and will be removed in the next release."
253
253
 
254
- if STDERR.tty?
255
- STDERR.puts "\e[31;1m#{message}\e[0m"
256
- else
257
- STDERR.puts message
258
- end
254
+ if terminal = STDERR.tty?
255
+ STDERR.puts "\e[31;1m#{message}\e[0m"
256
+ else
257
+ STDERR.puts message
258
+ end
259
259
  end
260
260
 
261
261
  extend self
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module API
3
- VERSION = "1.1.3"
3
+ VERSION = "2.0.0.pre"
4
4
  end
5
5
  end
@@ -258,8 +258,7 @@ module Elasticsearch
258
258
 
259
259
  # Skip features
260
260
  elsif skip && skip['skip']['features']
261
- skip_features = skip['skip']['features'].respond_to?(:split) ? skip['skip']['features'].split(',') : skip['skip']['features']
262
- if ( skip_features & SKIP_FEATURES.split(',') ).size > 0
261
+ if (skip['skip']['features'].split(',') & SKIP_FEATURES.split(',') ).size > 0
263
262
  return skip['skip']['features']
264
263
  end
265
264
  end
metadata CHANGED
@@ -1,363 +1,264 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 592107980
5
+ prerelease: 6
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 0
10
+ - pre
11
+ version: 2.0.0.pre
5
12
  platform: ruby
6
- authors:
13
+ authors:
7
14
  - Karel Minarik
8
15
  autorequire:
9
16
  bindir: bin
10
17
  cert_chain: []
11
- date: 2017-08-05 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2016-06-22 00:00:00 +02:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
14
23
  name: multi_json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
24
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
28
37
  name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">"
32
- - !ruby/object:Gem::Version
33
- version: '1'
34
- type: :development
35
38
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
38
42
  - - ">"
39
- - !ruby/object:Gem::Version
40
- version: '1'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '11.1'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '11.1'
55
- - !ruby/object:Gem::Dependency
56
- name: elasticsearch
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
43
+ - !ruby/object:Gem::Version
44
+ hash: 1
45
+ segments:
46
+ - 1
47
+ version: "1"
62
48
  type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rake
63
52
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: elasticsearch-transport
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - <
57
+ - !ruby/object:Gem::Version
58
+ hash: 39
59
+ segments:
60
+ - 11
61
+ - 0
62
+ version: "11.0"
76
63
  type: :development
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: elasticsearch
77
67
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '4.0'
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ hash: 3
74
+ segments:
75
+ - 0
76
+ version: "0"
90
77
  type: :development
78
+ version_requirements: *id004
79
+ - !ruby/object:Gem::Dependency
80
+ name: elasticsearch-transport
91
81
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '4.0'
97
- - !ruby/object:Gem::Dependency
98
- name: elasticsearch-extensions
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
104
91
  type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
92
+ version_requirements: *id005
93
+ - !ruby/object:Gem::Dependency
112
94
  name: ansi
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: shoulda-context
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: mocha
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: turn
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: yard
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
95
  prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: pry
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '0'
96
+ requirement: &id006 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
188
105
  type: :development
106
+ version_requirements: *id006
107
+ - !ruby/object:Gem::Dependency
108
+ name: shoulda-context
189
109
  prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- - !ruby/object:Gem::Dependency
196
- name: ci_reporter
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '1.9'
110
+ requirement: &id007 !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 3
116
+ segments:
117
+ - 0
118
+ version: "0"
202
119
  type: :development
120
+ version_requirements: *id007
121
+ - !ruby/object:Gem::Dependency
122
+ name: mocha
203
123
  prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: '1.9'
209
- - !ruby/object:Gem::Dependency
210
- name: jsonify
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - ">="
214
- - !ruby/object:Gem::Version
215
- version: '0'
124
+ requirement: &id008 !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ hash: 3
130
+ segments:
131
+ - 0
132
+ version: "0"
216
133
  type: :development
134
+ version_requirements: *id008
135
+ - !ruby/object:Gem::Dependency
136
+ name: turn
217
137
  prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: '0'
223
- - !ruby/object:Gem::Dependency
224
- name: hashie
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- version: '0'
138
+ requirement: &id009 !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ hash: 3
144
+ segments:
145
+ - 0
146
+ version: "0"
230
147
  type: :development
148
+ version_requirements: *id009
149
+ - !ruby/object:Gem::Dependency
150
+ name: yard
231
151
  prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: '0'
237
- - !ruby/object:Gem::Dependency
238
- name: ruby-prof
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - ">="
242
- - !ruby/object:Gem::Version
243
- version: '0'
152
+ requirement: &id010 !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ hash: 3
158
+ segments:
159
+ - 0
160
+ version: "0"
244
161
  type: :development
162
+ version_requirements: *id010
163
+ - !ruby/object:Gem::Dependency
164
+ name: pry
245
165
  prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - ">="
249
- - !ruby/object:Gem::Version
250
- version: '0'
251
- - !ruby/object:Gem::Dependency
252
- name: jbuilder
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - ">="
256
- - !ruby/object:Gem::Version
257
- version: '0'
258
- type: :development
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - ">="
263
- - !ruby/object:Gem::Version
264
- version: '0'
265
- - !ruby/object:Gem::Dependency
266
- name: escape_utils
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - ">="
270
- - !ruby/object:Gem::Version
271
- version: '0'
166
+ requirement: &id011 !ruby/object:Gem::Requirement
167
+ none: false
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ hash: 3
172
+ segments:
173
+ - 0
174
+ version: "0"
272
175
  type: :development
176
+ version_requirements: *id011
177
+ - !ruby/object:Gem::Dependency
178
+ name: ci_reporter
273
179
  prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - ">="
277
- - !ruby/object:Gem::Version
278
- version: '0'
279
- - !ruby/object:Gem::Dependency
280
- name: simplecov
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - ">="
284
- - !ruby/object:Gem::Version
285
- version: '0'
180
+ requirement: &id012 !ruby/object:Gem::Requirement
181
+ none: false
182
+ requirements:
183
+ - - ~>
184
+ - !ruby/object:Gem::Version
185
+ hash: 29
186
+ segments:
187
+ - 1
188
+ - 9
189
+ version: "1.9"
286
190
  type: :development
191
+ version_requirements: *id012
192
+ - !ruby/object:Gem::Dependency
193
+ name: jsonify
287
194
  prerelease: false
288
- version_requirements: !ruby/object:Gem::Requirement
289
- requirements:
290
- - - ">="
291
- - !ruby/object:Gem::Version
292
- version: '0'
293
- - !ruby/object:Gem::Dependency
294
- name: simplecov-rcov
295
- requirement: !ruby/object:Gem::Requirement
296
- requirements:
297
- - - ">="
298
- - !ruby/object:Gem::Version
299
- version: '0'
195
+ requirement: &id013 !ruby/object:Gem::Requirement
196
+ none: false
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ hash: 3
201
+ segments:
202
+ - 0
203
+ version: "0"
300
204
  type: :development
205
+ version_requirements: *id013
206
+ - !ruby/object:Gem::Dependency
207
+ name: hashie
301
208
  prerelease: false
302
- version_requirements: !ruby/object:Gem::Requirement
303
- requirements:
304
- - - ">="
305
- - !ruby/object:Gem::Version
306
- version: '0'
307
- - !ruby/object:Gem::Dependency
308
- name: cane
309
- requirement: !ruby/object:Gem::Requirement
310
- requirements:
311
- - - ">="
312
- - !ruby/object:Gem::Version
313
- version: '0'
209
+ requirement: &id014 !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ hash: 3
215
+ segments:
216
+ - 0
217
+ version: "0"
314
218
  type: :development
219
+ version_requirements: *id014
220
+ - !ruby/object:Gem::Dependency
221
+ name: test-unit
315
222
  prerelease: false
316
- version_requirements: !ruby/object:Gem::Requirement
317
- requirements:
318
- - - ">="
319
- - !ruby/object:Gem::Version
320
- version: '0'
321
- - !ruby/object:Gem::Dependency
322
- name: require-prof
323
- requirement: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - ">="
326
- - !ruby/object:Gem::Version
327
- version: '0'
223
+ requirement: &id015 !ruby/object:Gem::Requirement
224
+ none: false
225
+ requirements:
226
+ - - ~>
227
+ - !ruby/object:Gem::Version
228
+ hash: 7
229
+ segments:
230
+ - 2
231
+ version: "2"
328
232
  type: :development
233
+ version_requirements: *id015
234
+ - !ruby/object:Gem::Dependency
235
+ name: json
329
236
  prerelease: false
330
- version_requirements: !ruby/object:Gem::Requirement
331
- requirements:
332
- - - ">="
333
- - !ruby/object:Gem::Version
334
- version: '0'
335
- - !ruby/object:Gem::Dependency
336
- name: test-unit
337
- requirement: !ruby/object:Gem::Requirement
338
- requirements:
339
- - - "~>"
340
- - !ruby/object:Gem::Version
341
- version: '2'
237
+ requirement: &id016 !ruby/object:Gem::Requirement
238
+ none: false
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ hash: 3
243
+ segments:
244
+ - 0
245
+ version: "0"
342
246
  type: :development
343
- prerelease: false
344
- version_requirements: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - "~>"
347
- - !ruby/object:Gem::Version
348
- version: '2'
349
- description: 'Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
247
+ version_requirements: *id016
248
+ description: |
249
+ Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
350
250
 
351
- '
352
- email:
251
+ email:
353
252
  - karel.minarik@elasticsearch.org
354
253
  executables: []
254
+
355
255
  extensions: []
356
- extra_rdoc_files:
256
+
257
+ extra_rdoc_files:
357
258
  - README.md
358
259
  - LICENSE.txt
359
- files:
360
- - ".gitignore"
260
+ files:
261
+ - .gitignore
361
262
  - Gemfile
362
263
  - LICENSE.txt
363
264
  - README.md
@@ -648,32 +549,43 @@ files:
648
549
  - utils/thor/templates/ruby/method.erb
649
550
  - utils/thor/templates/ruby/test.erb
650
551
  - utils/thor/templates/ruby/test_helper.rb
552
+ has_rdoc: true
651
553
  homepage: https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-api
652
- licenses:
554
+ licenses:
653
555
  - Apache 2
654
- metadata: {}
655
556
  post_install_message:
656
- rdoc_options:
657
- - "--charset=UTF-8"
658
- require_paths:
557
+ rdoc_options:
558
+ - --charset=UTF-8
559
+ require_paths:
659
560
  - lib
660
- required_ruby_version: !ruby/object:Gem::Requirement
661
- requirements:
561
+ required_ruby_version: !ruby/object:Gem::Requirement
562
+ none: false
563
+ requirements:
662
564
  - - ">="
663
- - !ruby/object:Gem::Version
664
- version: '0'
665
- required_rubygems_version: !ruby/object:Gem::Requirement
666
- requirements:
667
- - - ">="
668
- - !ruby/object:Gem::Version
669
- version: '0'
565
+ - !ruby/object:Gem::Version
566
+ hash: 3
567
+ segments:
568
+ - 0
569
+ version: "0"
570
+ required_rubygems_version: !ruby/object:Gem::Requirement
571
+ none: false
572
+ requirements:
573
+ - - ">"
574
+ - !ruby/object:Gem::Version
575
+ hash: 25
576
+ segments:
577
+ - 1
578
+ - 3
579
+ - 1
580
+ version: 1.3.1
670
581
  requirements: []
582
+
671
583
  rubyforge_project:
672
- rubygems_version: 2.5.2
584
+ rubygems_version: 1.6.2
673
585
  signing_key:
674
- specification_version: 4
586
+ specification_version: 3
675
587
  summary: Ruby API for Elasticsearch.
676
- test_files:
588
+ test_files:
677
589
  - test/integration/yaml_test_runner.rb
678
590
  - test/test_helper.rb
679
591
  - test/unit/abort_benchmark_test.rb