Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Update core.rb #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apns.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Gem::Specification.new do |s|
s.name = %q{apns}
s.version = "1.1.0"
s.version = "1.1.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["James Pozdena", "Thomas Kollbach"]
s.autorequire = %q{apns}
s.date = %q{2013-06-25}
s.date = %q{2013-08-28}
s.description = <<DESC
Simple Apple push notification service gem.
It supports the 3rd wire format (command 2) with support for content-availible (Newsstand), expiration dates and delivery priority (background pushes)}
Expand Down
4 changes: 1 addition & 3 deletions lib/apns/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ def self.send_notifications(notifications)

packed_nofications = self.packed_nofications(notifications)

notifications.each do |n|
ssl.write(packed_nofications)
end
ssl.write(packed_nofications)

ssl.close
sock.close
Expand Down
Empty file added spec/apns/core_spec.rb
Empty file.