elasticsearch-api 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 395a9de5256ba33e9ab5d04cdb83fcf0f7658269
4
- data.tar.gz: 5c359960fafcde1fb811317475f4a63d65467bab
3
+ metadata.gz: c8b49f193dab86ffdecf840cce680349ce312d73
4
+ data.tar.gz: a131285038b20ee6362bcaf25713428091aba890
5
5
  SHA512:
6
- metadata.gz: 78f09706de6588dfe9ec6dbeb725c05a7adfb613252940cb2e09e7b5da23b74d3a8d02220ca96c647fd91945f7a1d0b42a19d021e4a572eb6fa73ff5bb4c59ca
7
- data.tar.gz: ed06ece0693145279d9dbf03d2e9a991e435bcc69fd32688a8a1c8d4cf9cdd862ab9651f197d30aea137063a3a53bc4879c1f1b75204b9320baafc4d18bf6b06
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
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module API
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -258,7 +258,8 @@ module Elasticsearch
258
258
 
259
259
  # Skip features
260
260
  elsif skip && skip['skip']['features']
261
- if (skip['skip']['features'].split(',') & SKIP_FEATURES.split(',') ).size > 0
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.0
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-07-19 00:00:00.000000000 Z
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: