coney_island 0.1.5 → 0.1.6

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: 05c6e2876d543540b1ff828f5964a36f55bfc101
4
- data.tar.gz: c8a6662f9299ac76103a6df543de875a9f9e4c9c
3
+ metadata.gz: 10b95342e78c96d8256c9cf73d98e4b7979a355a
4
+ data.tar.gz: 75813ae7166de85507d8cd098ad6d25a996ec1c2
5
5
  SHA512:
6
- metadata.gz: 8a6073e152f4403febe9c2fe4f13693c01c4cfe9fb5b8695a816c5f6636f1e142debc26254c8501ea833d09b913ca94815007c37f4ad848a15be7c6386da199e
7
- data.tar.gz: 46e49ad4d43124b6c8ee27661a0fd696022d3c5b7536e3e2fd41d4ad9316ceb0cea9fb879ae130dd76cfbb7e325b3da74702b0901440d8fb78b5aeb54f012391
6
+ metadata.gz: 5b862649274af855f01aabd37799b9b92e1a75e9afbc844929b18235f4bba52dbb39ec3941aa23010a737d47f337eb9b2e59a1122619e695073593ae33d9be0e
7
+ data.tar.gz: 1c2691b81528703c3b5b136611d8b5ec02cea3dfad0fd32425b70d2c3d7d77abb46312c6541f67b0d29502d65c45123a01e43b60b3c21f808d4cf44bcbbcc28e
@@ -107,7 +107,7 @@ module ConeyIsland
107
107
  work_queue = job_args.delete :work_queue
108
108
  work_queue ||= 'default'
109
109
  self.exchange.publish((job_args.to_json), routing_key: "carousels.#{work_queue}") do
110
- RequestStore.store[:jobs].delete job_id if job_id.present?
110
+ RequestStore.store[:jobs].delete job_id if RequestStore.store[:jobs] && job_id.present?
111
111
  end
112
112
  end
113
113
  true
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coney_island
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut