yapplabs-em-hiredis 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: f65497178f2d00f8cd3ad0123616ebca02e5c424870a82bc808d7b1871ed9000
4
- data.tar.gz: a5f59ff5c6e7a808c0b5a471a015cbbd7fb506fe6818b593ef3d061bb59112f6
3
+ metadata.gz: dd0ba7e6f8a9ed6b563377c499adbb6163d56e54d97c8d1d46e86303c6b20b23
4
+ data.tar.gz: 5d9619a2e4d2681658e3fc384b1c6b4bf63deeb044e8d6e238de8a1f7ab2d73b
5
5
  SHA512:
6
- metadata.gz: 4e9cd348564dbe48d0621e57c962656753f1db0e10962c0b7c2b58723cab909b98374ac600fbbb7c4dd9ba7881e304b0b0db93a1685183675eee8292fbce73d5
7
- data.tar.gz: 2ae7e11b4f1eab41987c47193ceb1447a46f978e78ad218064a61534623d724b337e530ad1c125810d80833c6d1021a5324a44b9b7fee2753f616446de3bacf6
6
+ metadata.gz: d62d3633dac59abaf49e3b746334a428f76119a2975bbf927a6425a15b88ce05c83d35feebb1a4d252a3ce92f6b1950249874705c0b811d29a09a562575506e9
7
+ data.tar.gz: fbe44124852782f14b370bf10a46cd51580d0355b2803e86bd5afe33e111ac65e71fe029fcd4528ea26cf34817d43678a197784a693440506b2956d2e3688a25
@@ -87,7 +87,7 @@ module EventMachine::Hiredis
87
87
  #
88
88
  def pubsub
89
89
  @pubsub ||= begin
90
- PubsubClient.new(@host, @port, @password, @db).connect
90
+ PubsubClient.new(@host, @port, @password, @db, @tls).connect
91
91
  end
92
92
  end
93
93
 
@@ -4,8 +4,9 @@ module EventMachine::Hiredis
4
4
 
5
5
  PING_CHANNEL = '__em-hiredis-ping'
6
6
 
7
- def initialize(host='localhost', port='6379', password=nil, db=nil)
7
+ def initialize(host='localhost', port='6379', password=nil, db=nil, tls=false)
8
8
  @subs, @psubs = [], []
9
+ @tls = tls
9
10
  @pubsub_defs = Hash.new { |h,k| h[k] = [] }
10
11
  super
11
12
  end
@@ -1,5 +1,5 @@
1
1
  module EventMachine
2
2
  module Hiredis
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yapplabs-em-hiredis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martyn Loughran