apiotics 0.1.83 → 0.1.84

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: 60cdc0f1790b8f4586b322d2662215b21de02abc
4
- data.tar.gz: 4b9f828b1fec118b4f14b9173cea23cc7afa63b8
3
+ metadata.gz: c98ba5fed2c3a765bcd4193d9b7cf68dbe93b5c4
4
+ data.tar.gz: 6a4c50fb18d1fa245cfec685ae070274983dcad2
5
5
  SHA512:
6
- metadata.gz: 6fa9d5dd364846ab88578c2924ea817c54611106860cb3617b7ac3f2a4e2f91ee3b804a4ceb3f4dd455719b66c4bfb9b247bc8634a7418999c84e46fa9249f19
7
- data.tar.gz: f2a499ec53ee6a37db9510f1913f1ec0a05813ffdf72ee0213a5cb2b27ef2f4e1d2e061de21582615932f6eca85c3d051a42335bd58c1440aeeda5a172ed7641
6
+ metadata.gz: 074f3866e16280a7916219886b89e126d919639fa6d8d7b1f90bb720ed0f8228de22b6afa62e8079cba544bad8a2626558eb9f5398ea585b7d3b50c3257e445a
7
+ data.tar.gz: 2449e7b73225693546f1af973429157dbcd9d2a9616ed867fb4de12c1c60798f6c651224d8e1c42321cfca58ccfdcf7bc1c37a8dfa946ea44b4fc803d21aa9cc
@@ -19,7 +19,8 @@ module Apiotics
19
19
  connection.puts( msg )
20
20
  connection.close
21
21
  else
22
- $redis.publish Apiotics.configuration.public_key, msg
22
+ redis = Redis.new
23
+ redis.publish Apiotics.configuration.public_key, msg
23
24
  end
24
25
  end
25
26
 
@@ -128,7 +128,8 @@ module Apiotics
128
128
  if Apiotics.configuration.handshake == true
129
129
  self.send('{"action":"connect"}')
130
130
  end
131
- $redis.subscribe(Apiotics.configuration.public_key) do |on|
131
+ redis = Redis.new
132
+ redis.subscribe(Apiotics.configuration.public_key) do |on|
132
133
  on.message do |channel, msg|
133
134
  if @error_msg != nil
134
135
  string = '{"error":"' + error_msg + '"}'
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.83'
2
+ VERSION = '0.1.84'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.83
4
+ version: 0.1.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation