elastic_record 3.1.1 → 3.1.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: 3554208d8b85cd26b25c1a8dcc0583b4d2162383
4
- data.tar.gz: 5f6b101f847df19e1f5a5c2e5606477b383b35b9
3
+ metadata.gz: 9b18e68a0c4a616e08e879a906683757c1e0c979
4
+ data.tar.gz: a34181d9a9b1e3ad2ab1db82db9ce061e25b884d
5
5
  SHA512:
6
- metadata.gz: 2e281730247003f42fb3788cba4766807a4facafab2ac3def9baa62b4c753962a4343ffd854abbdf03603251170c521b9d1b3ff34978128ce4ffc9988ab64767
7
- data.tar.gz: 36571be68a155eca663f0cc4eef6a28f1407ac88654fac10dcf218e6e779973cc640f6afed53be034243c6cb2493a8a9c6f387c677cbb70b7314c3c17a17569f
6
+ metadata.gz: 70233d664e8ac50568de063616c21568007dd3b453ea144543619b45eaf9531b118d37bbbd03b60ca3cf2f862ac507a29de266abc8bf447b99739c76a67e5879
7
+ data.tar.gz: cf32de11320f4c182e458cc40569be262928a4a128d22902f47ec3278ea9809609f440fbbfa3e1750e684dcc5930b378c70f61da8a5e549c5dafe6cdac36fb1c
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'elastic_record'
5
- s.version = '3.1.1'
5
+ s.version = '3.1.2'
6
6
  s.summary = 'An Elasticsearch querying ORM'
7
7
  s.description = 'Find your records with Elasticsearch'
8
8
 
@@ -24,6 +24,7 @@ module ElasticRecord
24
24
  if writes_made
25
25
  begin
26
26
  index.disable_deferring!
27
+ index.refresh
27
28
  index.delete_by_query query: {match_all: {}}
28
29
  ensure
29
30
  index.enable_deferring!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infogroup
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-13 00:00:00.000000000 Z
12
+ date: 2016-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: arelastic