elastic_queue 0.0.8 → 0.0.9
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/lib/elastic_queue/persistence.rb +5 -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: 27b8c7f2b618f63f8ee1d27fbbddcfe01962203a
|
|
4
|
+
data.tar.gz: 09eb104fe8598fc18ad91c5fd5e6a60833f9d1a6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0662d2a579e6a734edc8d5cab8524010210d990ffc8511c5d3740526d41a165d981d75cfa8027fe2a3f6d5d5c0734b986977b90d9d5f201b9f4e4a1112a5f9b9
|
|
7
|
+
data.tar.gz: 1e5bdd59638781425484331f2463f22604303693b953e5413df09fe23c6612b3619ea0b190830f736a129ad7b9b3301813649e5971995803397abe3ff5e1cd67
|
|
@@ -58,7 +58,11 @@ module ElasticQueue
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def remove_model(instance)
|
|
61
|
-
|
|
61
|
+
begin
|
|
62
|
+
search_client.delete index: index_name, id: instance.id, type: instance.class.to_s.underscore
|
|
63
|
+
rescue Elasticsearch::Transport::Transport::Errors::NotFound
|
|
64
|
+
# just say you deleted it if it's not there!
|
|
65
|
+
end
|
|
62
66
|
end
|
|
63
67
|
end
|
|
64
68
|
end
|
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.9
|
|
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-02-
|
|
12
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|