apn_sender 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.rdoc +7 -0
  2. data/VERSION +1 -1
  3. data/apn_sender.gemspec +2 -2
  4. data/lib/apn.rb +1 -6
  5. metadata +2 -2
data/README.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ = CURRENT STATUS
2
+
3
+ This gem is still in development. It is functional for me, but I'm still working on getting the background daemon running properly (read: haven't tested it at all, expect it to fail).
4
+
5
+ I'll be working on this soon, though, and expect to have a stable version released in the next few weeks (or maybe days).
6
+
7
+
1
8
  = apn_sender
2
9
 
3
10
  So you're building the server component of an iPhone application in Ruby. And you want to send background notifications through the Apple Push Notification servers, which doesn't seem too bad. But then you read in the {Apple Documentation}[https://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/WhatAreRemoteNotif/WhatAreRemoteNotif.html#//apple_ref/doc/uid/TP40008194-CH102-SW7] (<em>Apple Dev account required</em>) that Apple's servers may treat non-persistent connections as a Denial of Service attack, and things started looking more complicated.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/apn_sender.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{apn_sender}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kali Donovan"]
12
- s.date = %q{2010-05-03}
12
+ s.date = %q{2010-05-06}
13
13
  s.description = %q{Resque-based background worker to send Apple Push Notifications over a persistent TCP socket. Includes Resque tweaks to allow persistent sockets between jobs, helper methods for enqueueing APN notifications, and a background daemon to send them.}
14
14
  s.email = %q{kali.donovan@gmail.com}
15
15
  s.extra_rdoc_files = [
data/lib/apn.rb CHANGED
@@ -1,12 +1,7 @@
1
1
  require 'resque'
2
2
  require 'resque/plugins/access_worker_from_job'
3
3
  require 'resque/hooks/before_unregister_worker'
4
-
5
- begin
6
- require 'yajl/json_gem'
7
- rescue LoadError
8
- require 'json'
9
- end
4
+ require 'json'
10
5
 
11
6
  require 'apn/queue_manager'
12
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apn_sender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kali Donovan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-05-03 00:00:00 -07:00
12
+ date: 2010-05-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency