searchkick-hooopo 2.3.1 → 2.3.2

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: 41a81315022eb182ca3109693af0853cd37d73a8
4
- data.tar.gz: ae16a84534484096be3fd1d6f459c3fda6703ddd
3
+ metadata.gz: fbd878fffec743015745b05e721873cdf845def1
4
+ data.tar.gz: 8c3650214768a063c743cbe06b89a36aeb045070
5
5
  SHA512:
6
- metadata.gz: e4324686615093b4f17906f07a8c42971ac0488cba974c7dfd16b17b39ec2c844e828da8673fff0a1f453c5f88821be2e80f7b849ebd34e6757ce62ad0932327
7
- data.tar.gz: 89bdb2ce131b750c669c1fd3210243d4fd8eeef518d83e988b41e33913fe3f2ad350f711bb9a5c1a2815ae42e52c42a36abae6569a3e131380768b3ecf7f87ff
6
+ metadata.gz: e188ae0743ef683bb151c8a19d13e3e4328ae28b91328d3a2b3c3d2f3a4ffc632dd7a90dae579f17620f4f227b67c943094f7a25788ebd8abc3881bd0357a0a6
7
+ data.tar.gz: 9784fdc900f4100e5c99f84aa407fac72a067acdc79ba12f2907452c13230a7cc83b8d402c28db2b497d0baf6d0542eb81c21ca3d0fbc04211943e00f615ad61
@@ -128,6 +128,13 @@ module Searchkick
128
128
  end
129
129
  end unless method_defined?(:reindex)
130
130
 
131
+ def termvectors(arguments = {})
132
+ index = self.class.searchkick_index
133
+ index_name = index.name
134
+ index_type = index.send :document_type, self
135
+ Searchkick.client.termvectors(:id => self.id, :index => index_name, :type => index_type)
136
+ end
137
+
131
138
  # TODO remove this method in next major version
132
139
  def reindex_async
133
140
  reindex(async: true)
@@ -1,3 +1,3 @@
1
1
  module Searchkick
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchkick-hooopo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-28 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel