bpoweski-apnserver 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,28 +1,61 @@
1
- = apnserver
1
+ h1. apnserver
2
2
 
3
3
  * http://github.com/bpoweski/apnserver
4
4
 
5
- == DESCRIPTION:
5
+ h2. DESCRIPTION:
6
6
 
7
- FIX (describe your package)
7
+ apnserver is a server and set of command line programs to send push notifications to the iPhone.
8
8
 
9
- == FEATURES/PROBLEMS:
10
9
 
11
- * FIX (list of features or problems)
12
-
13
- == SYNOPSIS:
14
-
15
- FIX (code sample of usage)
16
-
17
- == REQUIREMENTS:
10
+ h2. FEATURES/PROBLEMS:
18
11
 
19
- * FIX (list of requirements)
20
-
21
- == INSTALL:
22
-
23
- * FIX (sudo gem install, anything else)
12
+ * FIX (list of features or problems)
24
13
 
25
- == LICENSE:
14
+ h2. SYNOPSIS:
15
+
16
+ Usagge: apnserverd [options] --pem /path/to/pem
17
+
18
+ <pre>
19
+ <code>
20
+ --bind-address bind address (defaults to 0.0.0.0)</i>::
21
+ bind address of the server daemon
22
+
23
+ --proxy-port port
24
+ the port that the daemon will listen on (defaults to 22195)
25
+
26
+ --server server
27
+ APN Server (defaults to gateway.push.apple.com)
28
+
29
+ --port port of the APN Server
30
+ APN server port (defaults to 2195)
31
+
32
+ --pem pem file path
33
+ The PEM encoded private key and certificate.
34
+ To export a PEM ecoded file execute
35
+ # openssl pkcs12 -in cert.p12 -out cert.pem -nodes -clcerts
36
+
37
+ --help
38
+ usage message
39
+
40
+ --daemon
41
+ Runs process as daemon, not available on Windows
42
+
43
+ </code>
44
+ </pre>
45
+
46
+
47
+ h2. INSTALL:
48
+
49
+ To install apnserver execute the following gem command:
50
+
51
+ <code>
52
+ </pre>
53
+ $ gem install bpoweski-apnserver --source http://gems.github.com
54
+ </pre>
55
+ </code>
56
+
57
+
58
+ h2. LICENSE:
26
59
 
27
60
  (The MIT License)
28
61
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
data/apnserver.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{apnserver}
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Poweski"]
@@ -14,10 +14,10 @@ Gem::Specification.new do |s|
14
14
  s.email = %q{bpoweski@3factors.com}
15
15
  s.executables = ["apnsend", "apnserverd"]
16
16
  s.extra_rdoc_files = [
17
- "README.rdoc"
17
+ "README.textile"
18
18
  ]
19
19
  s.files = [
20
- "README.rdoc",
20
+ "README.textile",
21
21
  "Rakefile",
22
22
  "VERSION",
23
23
  "apnserver.gemspec",
data/bin/apnserverd CHANGED
@@ -38,7 +38,7 @@ opts = GetoptLong.new(
38
38
  bind_address = '0.0.0.0'
39
39
  proxy_port = 22195
40
40
  host = 'gateway.push.apple.com'
41
- port = 2295
41
+ port = 2195
42
42
  pem = nil
43
43
  daemon = false
44
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpoweski-apnserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Poweski
@@ -50,9 +50,9 @@ executables:
50
50
  extensions: []
51
51
 
52
52
  extra_rdoc_files:
53
- - README.rdoc
53
+ - README.textile
54
54
  files:
55
- - README.rdoc
55
+ - README.textile
56
56
  - Rakefile
57
57
  - VERSION
58
58
  - apnserver.gemspec