pling 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Gemfile +4 -1
- data/Guardfile +4 -0
- data/README.md +82 -21
- data/Rakefile +6 -1
- data/lib/pling.rb +86 -1
- data/lib/pling/adapter.rb +5 -0
- data/lib/pling/adapter/base.rb +17 -0
- data/lib/pling/configurable.rb +29 -0
- data/lib/pling/delayed_initializer.rb +13 -0
- data/lib/pling/device.rb +68 -0
- data/lib/pling/gateway.rb +17 -0
- data/lib/pling/gateway/apn.rb +85 -0
- data/lib/pling/gateway/base.rb +64 -0
- data/lib/pling/gateway/c2dm.rb +102 -0
- data/lib/pling/message.rb +56 -0
- data/lib/pling/middleware.rb +5 -0
- data/lib/pling/middleware/base.rb +15 -0
- data/lib/pling/version.rb +1 -1
- data/pling.gemspec +4 -4
- data/spec/pling/adapter/base_spec.rb +22 -0
- data/spec/pling/delayed_initializer_spec.rb +31 -0
- data/spec/pling/device_spec.rb +75 -0
- data/spec/pling/gateway/apn_spec.rb +103 -0
- data/spec/pling/gateway/base_spec.rb +61 -0
- data/spec/pling/gateway/c2dm_spec.rb +182 -0
- data/spec/pling/gateway_spec.rb +50 -0
- data/spec/pling/message_spec.rb +44 -0
- data/spec/pling_spec.rb +117 -0
- metadata +64 -11
metadata
CHANGED
@@ -1,21 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
- Benedikt Deicke
|
9
|
+
- Konstantin Tennhard
|
10
|
+
- Christian Bäuerlein
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2011-10-
|
14
|
+
date: 2011-10-28 00:00:00.000000000Z
|
15
15
|
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: faraday
|
18
|
+
requirement: &70095758683660 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0.7'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *70095758683660
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: &70095758682420 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ~>
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.4'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: *70095758682420
|
16
38
|
- !ruby/object:Gem::Dependency
|
17
39
|
name: rspec
|
18
|
-
requirement: &
|
40
|
+
requirement: &70095758681540 !ruby/object:Gem::Requirement
|
19
41
|
none: false
|
20
42
|
requirements:
|
21
43
|
- - ~>
|
@@ -23,10 +45,10 @@ dependencies:
|
|
23
45
|
version: '2.7'
|
24
46
|
type: :development
|
25
47
|
prerelease: false
|
26
|
-
version_requirements: *
|
48
|
+
version_requirements: *70095758681540
|
27
49
|
- !ruby/object:Gem::Dependency
|
28
50
|
name: yard
|
29
|
-
requirement: &
|
51
|
+
requirement: &70095758680240 !ruby/object:Gem::Requirement
|
30
52
|
none: false
|
31
53
|
requirements:
|
32
54
|
- - ! '>='
|
@@ -34,10 +56,10 @@ dependencies:
|
|
34
56
|
version: '0.7'
|
35
57
|
type: :development
|
36
58
|
prerelease: false
|
37
|
-
version_requirements: *
|
59
|
+
version_requirements: *70095758680240
|
38
60
|
- !ruby/object:Gem::Dependency
|
39
61
|
name: rake
|
40
|
-
requirement: &
|
62
|
+
requirement: &70095758678900 !ruby/object:Gem::Requirement
|
41
63
|
none: false
|
42
64
|
requirements:
|
43
65
|
- - ! '>='
|
@@ -45,7 +67,7 @@ dependencies:
|
|
45
67
|
version: '0.9'
|
46
68
|
type: :development
|
47
69
|
prerelease: false
|
48
|
-
version_requirements: *
|
70
|
+
version_requirements: *70095758678900
|
49
71
|
description: Pling is a notification framework that supports multiple gateways. Currently
|
50
72
|
supported are Android Push and SMS.
|
51
73
|
email:
|
@@ -59,12 +81,34 @@ files:
|
|
59
81
|
- .gitignore
|
60
82
|
- .travis.yml
|
61
83
|
- Gemfile
|
84
|
+
- Guardfile
|
62
85
|
- LICENSE
|
63
86
|
- README.md
|
64
87
|
- Rakefile
|
65
88
|
- lib/pling.rb
|
89
|
+
- lib/pling/adapter.rb
|
90
|
+
- lib/pling/adapter/base.rb
|
91
|
+
- lib/pling/configurable.rb
|
92
|
+
- lib/pling/delayed_initializer.rb
|
93
|
+
- lib/pling/device.rb
|
94
|
+
- lib/pling/gateway.rb
|
95
|
+
- lib/pling/gateway/apn.rb
|
96
|
+
- lib/pling/gateway/base.rb
|
97
|
+
- lib/pling/gateway/c2dm.rb
|
98
|
+
- lib/pling/message.rb
|
99
|
+
- lib/pling/middleware.rb
|
100
|
+
- lib/pling/middleware/base.rb
|
66
101
|
- lib/pling/version.rb
|
67
102
|
- pling.gemspec
|
103
|
+
- spec/pling/adapter/base_spec.rb
|
104
|
+
- spec/pling/delayed_initializer_spec.rb
|
105
|
+
- spec/pling/device_spec.rb
|
106
|
+
- spec/pling/gateway/apn_spec.rb
|
107
|
+
- spec/pling/gateway/base_spec.rb
|
108
|
+
- spec/pling/gateway/c2dm_spec.rb
|
109
|
+
- spec/pling/gateway_spec.rb
|
110
|
+
- spec/pling/message_spec.rb
|
111
|
+
- spec/pling_spec.rb
|
68
112
|
- spec/spec_helper.rb
|
69
113
|
homepage: https://flinc.github.com/pling
|
70
114
|
licenses: []
|
@@ -91,5 +135,14 @@ signing_key:
|
|
91
135
|
specification_version: 3
|
92
136
|
summary: Pling is a notification framework that supports multiple gateways
|
93
137
|
test_files:
|
138
|
+
- spec/pling/adapter/base_spec.rb
|
139
|
+
- spec/pling/delayed_initializer_spec.rb
|
140
|
+
- spec/pling/device_spec.rb
|
141
|
+
- spec/pling/gateway/apn_spec.rb
|
142
|
+
- spec/pling/gateway/base_spec.rb
|
143
|
+
- spec/pling/gateway/c2dm_spec.rb
|
144
|
+
- spec/pling/gateway_spec.rb
|
145
|
+
- spec/pling/message_spec.rb
|
146
|
+
- spec/pling_spec.rb
|
94
147
|
- spec/spec_helper.rb
|
95
148
|
has_rdoc:
|