coney_island 0.11.5 → 0.11.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: 5b37b8094a18bf7583baf60304ba81a02cc89b28
4
- data.tar.gz: f459132ee4aba56f789743faceaa867e098cecae
3
+ metadata.gz: a9f87c4a033c181b2e41b484646d6f30f5997ddb
4
+ data.tar.gz: e36d98e987299873a92e92dff7e6c01a6f190296
5
5
  SHA512:
6
- metadata.gz: 83cd0ca590537117bf88e426b16f926df260737d5ec911848b15880bbaf79f77ebe6bd7717db2b0295334de1286046b1a87b551cda8f09c944aebd541466dcfc
7
- data.tar.gz: 9d92651a39c4c41e35606a69bb27c3e9c70440d901e07b566621ba579e391f95504fdcb35c0d84179b5bafcf74c817e500012908dc392008097ce3f9752bf959
6
+ metadata.gz: 8e1bf6f004482bf93637d6f2df2088bf20b694c9758fc84d2fec3d59020e67afd5eb2e1c51ece7cc65127a5edfb5a27c20cff30386befe4606652efbd1dfc52c
7
+ data.tar.gz: aa63a403b99836e3403e5ccd64e69368d9f3b41e7e73754c99475a3c79b5a6e168053975b581757ed974679e7bdf7dff234004167b6116d2b456b4415c1c1e91
data/lib/coney_island.rb CHANGED
@@ -95,10 +95,6 @@ module ConeyIsland
95
95
  ConeyIsland::Submitter.flush_jobs
96
96
  end
97
97
 
98
- def self.run_with_em(klass, method, *args)
99
- ConeyIsland::Submitter.run_with_em(klass, method, *args)
100
- end
101
-
102
98
  def self.submit(*args)
103
99
  ConeyIsland::Submitter.submit(*args)
104
100
  end
@@ -212,27 +212,6 @@ module ConeyIsland
212
212
  RequestStore.store[:cache_jobs] = false
213
213
  end
214
214
 
215
- def self.run_with_em(klass, method, *args)
216
- ConeyIsland.stop_running_inline
217
- EventMachine.run do
218
- self.cache_jobs
219
- klass.send(method, *args)
220
- self.flush_jobs
221
- self.publisher_shutdown
222
- end
223
- ConeyIsland.run_inline
224
- end
225
-
226
- def self.publisher_shutdown
227
- EventMachine.add_periodic_timer(1) do
228
- if RequestStore.store[:jobs] && RequestStore.store[:jobs].length > 0
229
- Rails.logger.info("Waiting for #{RequestStore.store[:jobs].length} publishes to finish")
230
- else
231
- Rails.logger.info("Shutting down coney island publisher")
232
- EventMachine.stop
233
- end
234
- end
235
- end
236
215
  end
237
216
  end
238
217
 
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.11.5"
2
+ VERSION = "0.11.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.11.5
4
+ version: 0.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut