spns 0.2.7 → 0.2.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.
- data/README.md +30 -14
- data/VERSION +1 -1
- metadata +2 -34
data/README.md
CHANGED
|
@@ -3,20 +3,36 @@ spns
|
|
|
3
3
|
Simple Push Notification Server written with Sinatra and Sequel(Sqlite3)
|
|
4
4
|
|
|
5
5
|
Feature:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
=======
|
|
7
|
+
|
|
8
|
+
1. rubygem, simple to install.
|
|
9
|
+
2. provide pem file is the only requirement.
|
|
10
|
+
3. no need to setup database, using sqlite3.
|
|
11
|
+
4. provide default config file(spns.yml) with default value.
|
|
10
12
|
|
|
11
13
|
Requirement
|
|
12
|
-
|
|
14
|
+
=======
|
|
15
|
+
|
|
13
16
|
Sqlite3
|
|
14
17
|
-------
|
|
15
18
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
CentOS/Redhat:
|
|
20
|
+
|
|
21
|
+
$ yum install sqlite3
|
|
22
|
+
|
|
23
|
+
Debian/Ubuntu:
|
|
24
|
+
|
|
25
|
+
$ apt-get install sqlite3
|
|
26
|
+
|
|
27
|
+
FreeBSD:
|
|
28
|
+
|
|
29
|
+
$ cd /usr/ports/databases/sqlite34
|
|
30
|
+
$ sudo make install clean
|
|
31
|
+
|
|
32
|
+
Mac:
|
|
33
|
+
|
|
34
|
+
$ brew install sqlite3 # Homebrew
|
|
35
|
+
$ port install sqlite3 # Macport
|
|
20
36
|
|
|
21
37
|
Installation
|
|
22
38
|
=======
|
|
@@ -25,13 +41,13 @@ Installation
|
|
|
25
41
|
|
|
26
42
|
Usage
|
|
27
43
|
=======
|
|
28
|
-
|
|
44
|
+
1. under the current directory, provide single pem file combined with certificate and key, HOWTO ([Check this link](http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12))
|
|
29
45
|
|
|
30
|
-
|
|
46
|
+
2. edit spns.yml. (when you run spns first time, it will generate this file) ([Check this link](https://raw.github.com/eiffelqiu/spns/master/spns.yml))
|
|
31
47
|
|
|
32
|
-
|
|
48
|
+
3. provide a cron script under current directory, default named "cron" according to spns.yml
|
|
33
49
|
|
|
34
|
-
|
|
50
|
+
4. start spns server, default port is 4567(sinatra's default port)
|
|
35
51
|
|
|
36
52
|

|
|
37
53
|
|
|
@@ -47,7 +63,7 @@ Contributing to spns
|
|
|
47
63
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
|
48
64
|
|
|
49
65
|
Copyright
|
|
50
|
-
|
|
66
|
+
=======
|
|
51
67
|
|
|
52
68
|
Copyright (c) 2012 Eiffel Qiu. See LICENSE.txt for further details.
|
|
53
69
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.8
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -75,22 +75,6 @@ dependencies:
|
|
|
75
75
|
- - ! '>='
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
77
|
version: '0'
|
|
78
|
-
- !ruby/object:Gem::Dependency
|
|
79
|
-
name: feedzirra
|
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
|
-
requirements:
|
|
83
|
-
- - ! '>='
|
|
84
|
-
- !ruby/object:Gem::Version
|
|
85
|
-
version: '0'
|
|
86
|
-
type: :runtime
|
|
87
|
-
prerelease: false
|
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
|
-
requirements:
|
|
91
|
-
- - ! '>='
|
|
92
|
-
- !ruby/object:Gem::Version
|
|
93
|
-
version: '0'
|
|
94
78
|
- !ruby/object:Gem::Dependency
|
|
95
79
|
name: eventmachine
|
|
96
80
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -235,22 +219,6 @@ dependencies:
|
|
|
235
219
|
- - ! '>='
|
|
236
220
|
- !ruby/object:Gem::Version
|
|
237
221
|
version: '0'
|
|
238
|
-
- !ruby/object:Gem::Dependency
|
|
239
|
-
name: feedzirra
|
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
|
241
|
-
none: false
|
|
242
|
-
requirements:
|
|
243
|
-
- - ! '>='
|
|
244
|
-
- !ruby/object:Gem::Version
|
|
245
|
-
version: '0'
|
|
246
|
-
type: :runtime
|
|
247
|
-
prerelease: false
|
|
248
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
249
|
-
none: false
|
|
250
|
-
requirements:
|
|
251
|
-
- - ! '>='
|
|
252
|
-
- !ruby/object:Gem::Version
|
|
253
|
-
version: '0'
|
|
254
222
|
- !ruby/object:Gem::Dependency
|
|
255
223
|
name: eventmachine
|
|
256
224
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -315,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
315
283
|
version: '0'
|
|
316
284
|
segments:
|
|
317
285
|
- 0
|
|
318
|
-
hash:
|
|
286
|
+
hash: -4424344164577850970
|
|
319
287
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
320
288
|
none: false
|
|
321
289
|
requirements:
|