elasticsearch-api 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8b49f193dab86ffdecf840cce680349ce312d73
|
4
|
+
data.tar.gz: a131285038b20ee6362bcaf25713428091aba890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c3e2c0016c0152c325dcd568f7345951e25becd426a0a6769ec507b6fdcd9dfa6600c7e2b20e0c08ef0c0c44419c57b754a9fa16e38acca4047ddd00d57d64b
|
7
|
+
data.tar.gz: f17ab0061f4ef166c1783ca2241d988729ceaa34f2bbba019b0066cac097e6c04dc90b54080e7337c63071aaba6333f8ebcddbbb17680cab1ef2b84c433a2693
|
@@ -11,6 +11,8 @@ 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
|
+
|
14
16
|
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
|
15
17
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
16
18
|
method = HTTP_PUT
|
@@ -258,7 +258,8 @@ module Elasticsearch
|
|
258
258
|
|
259
259
|
# Skip features
|
260
260
|
elsif skip && skip['skip']['features']
|
261
|
-
|
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
|
262
263
|
return skip['skip']['features']
|
263
264
|
end
|
264
265
|
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.1.
|
4
|
+
version: 1.1.1
|
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-
|
11
|
+
date: 2016-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -795,4 +795,3 @@ test_files:
|
|
795
795
|
- test/unit/update_by_query_test.rb
|
796
796
|
- test/unit/update_document_test.rb
|
797
797
|
- test/unit/utils_test.rb
|
798
|
-
has_rdoc:
|