lead_zeppelin 0.1.7 → 0.1.8

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.
@@ -2,7 +2,6 @@ require 'thread'
2
2
  require 'socket'
3
3
  require 'openssl'
4
4
  require 'multi_json'
5
- require 'connection_pool'
6
5
  require 'timeout'
7
6
  require 'securerandom'
8
7
  require_relative './apns/application'
@@ -18,7 +18,7 @@ module LeadZeppelin
18
18
  Logger.thread 's'
19
19
  begin
20
20
  timeout(@opts[:timeout] || DEFAULT_TIMEOUT) do
21
- socket = TCPSocket.new((@opts[:apns_host] || HOST), (@opts[:apns_port] || PORT))
21
+ socket = TCPSocket.new((@opts[:host] || HOST), (@opts[:port] || PORT))
22
22
  ssl_socket = OpenSSL::SSL::SSLSocket.new socket, @ssl_context
23
23
 
24
24
  ssl_socket.sync_close = true # when ssl_socket is closed, make sure the regular socket closes too.
@@ -1,3 +1,3 @@
1
1
  module LeadZeppelin
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lead_zeppelin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: