elastic_queue 0.0.11 → 0.0.12
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/elastic_queue/persistence.rb +1 -1
- data/lib/elastic_queue/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4e0bed9d1361bfd627eaedb2545563ed398acfa
|
|
4
|
+
data.tar.gz: 27fedce9ed0df4bba437e9481b8d56a5c43a390f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf000af013ea86d5fc0a835c0e5b1ce18a712d2bb100aba4c251221f2f7666e1cc1dfc1d4bbe827401227d317e2ddb83801a50cb5d5d7975ba9bccafd8aafc3e
|
|
7
|
+
data.tar.gz: 4227155eef9edfffe259a118053ec8cb5f986309109d2a540e134800be838579b4af3f590aacd39ce1710133346ba64ba61fb1206335c6cab8455f70dd8fc8c8
|
data/Gemfile.lock
CHANGED
|
@@ -81,7 +81,7 @@ module ElasticQueue
|
|
|
81
81
|
|
|
82
82
|
def upsert_model(instance)
|
|
83
83
|
body = { doc: instance.indexed_for_queue, doc_as_upsert: true }
|
|
84
|
-
search_client.update index: index_name, id: instance.id, type: instance.class.to_s.underscore, body: body, refresh: true
|
|
84
|
+
search_client.update index: index_name, id: instance.id, type: instance.class.to_s.underscore, body: body, refresh: true, retry_on_conflict: 20
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
def remove_model(instance)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elastic_queue
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ruth Thompson
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-06-
|
|
12
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|