Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tompesman committed Feb 15, 2016
2 parents d0e3fcf + a2cca34 commit 2851c56
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ rvm:
- 2.2.2
- 2.1.1
- 2.0.0
- 1.9.3
2 changes: 1 addition & 1 deletion lib/pushr-apns/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PushrApns
VERSION = '1.0.3'
VERSION = '1.0.4'
end
2 changes: 1 addition & 1 deletion lib/pushr/daemon/apns_support/connection_apns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def close
end

def read(num_bytes)
@ssl_socket.read(num_bytes)
@ssl_socket ? @ssl_socket.read(num_bytes) : false
end

def select(timeout)
Expand Down
2 changes: 1 addition & 1 deletion pushr-apns.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']

s.required_ruby_version = '>= 1.9.3'
s.required_ruby_version = '>= 2.0.0'

s.add_runtime_dependency 'multi_json'
s.add_runtime_dependency 'pushr-core'
Expand Down

0 comments on commit 2851c56

Please sign in to comment.