metacosm 0.3.6 → 0.3.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c90b692bcdcdddcd754273a046127c9ec716e31
4
- data.tar.gz: cfb3cca128d5af1441319c8a6f02227f1fd9ec88
3
+ metadata.gz: 7d2d9b9ddf05636aeb4e6015581edb62f7dbfe30
4
+ data.tar.gz: 555264af3ea42c524791518da6535a4ced2306ca
5
5
  SHA512:
6
- metadata.gz: 71241dcb632d859a39d055cb51300240214056536fd23ecf5cdc0ee0f7d56544e2185ee1d39cbc6a62a2750c8fc77658e758191de4efbbf6ff669edb960b9808
7
- data.tar.gz: 113daa197a19a8a543c4ba41f0a50088cff3dcb50e80788256e2697817971c064f2488c295c3bbe6dfa583ba411fb3b24bcba4bd8ca4d920a0c204c1ed9f848c
6
+ metadata.gz: 78d4ae8b726eccaf095a17bde386fefc897e9841c2b79734bb62a89b74f5528536a98cb0abae3ab3497a42b00a76ada58c5c0be81de69d1f5b3cd24dbf49c278
7
+ data.tar.gz: 52f6d7336f8f243ba5b733e6beb917d456e740080576bd8ea9cca72ae5bcdf945da2f2afdc1fee3a35d2fdb01ec495733b34a4ede81ad0a12eb2f176d97a34e6
@@ -14,7 +14,7 @@ module Metacosm
14
14
  command_dto = command.attrs.merge(handler_module: command.handler_module_name, handler_class_name: command.handler_class_name)
15
15
 
16
16
  Thread.new do
17
- REDIS.with do |redis|
17
+ REDIS_PUB.with do |redis|
18
18
  puts "---> Sending command over redis conn: #{redis.inspect}"
19
19
  redis.publish(@command_queue_name, Marshal.dump(command_dto))
20
20
  end
@@ -30,7 +30,7 @@ module Metacosm
30
30
  def setup_connection
31
31
  @remote_listener_thread = Thread.new do
32
32
  begin
33
- REDIS.with do |redis|
33
+ REDIS_SUB.with do |redis|
34
34
  redis.subscribe(@event_stream_name) do |on|
35
35
  on.subscribe do |channel, subscriptions|
36
36
  puts "Subscribed to remote simulation event stream ##{channel} (#{subscriptions} subscriptions)"
@@ -1,4 +1,4 @@
1
1
  module Metacosm
2
2
  # metacosm version
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metacosm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Weissman