zero_push 0.0.5 → 1.0.0
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/.yardoc/checksums +5 -2
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +2 -2
- data/README.md +11 -12
- data/doc/ZeroPush.html +37 -27
- data/doc/ZeroPush/InstallGenerator.html +196 -0
- data/doc/_index.html +19 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +10 -0
- data/doc/file.README.html +20 -19
- data/doc/frames.html +1 -1
- data/doc/index.html +20 -19
- data/doc/method_list.html +9 -1
- data/doc/top-level-namespace.html +3 -3
- data/doc/zeropush-header.png +0 -0
- data/lib/zero_push/version.rb +1 -1
- data/spec/fixtures/notify.yml +1 -1
- data/spec/fixtures/verify_credentials.yml +2 -2
- metadata +27 -5
- checksums.yaml +0 -15
data/.yardoc/checksums
CHANGED
@@ -1,2 +1,5 @@
|
|
1
|
-
lib/zero_push.rb
|
2
|
-
lib/zero_push/
|
1
|
+
lib/zero_push.rb 4e26ee56b254c4e6c4e4e94fc97f85847af1118d
|
2
|
+
lib/zero_push/client.rb 320cb3888492b6ee1145baaa28e48fc5807dacfe
|
3
|
+
lib/zero_push/version.rb 5e2505a1d0944efdf5713ab88a4c888dea936503
|
4
|
+
lib/generators/zero_push/install_generator.rb 35d1c52c5657e75a1a0d109af66974d28dd922df
|
5
|
+
lib/generators/zero_push/templates/zero_push.rb 8727f64fb299b7a89d0526acfacb3eaef546227e
|
data/.yardoc/object_types
CHANGED
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
zero_push (0.0
|
4
|
+
zero_push (1.0.0)
|
5
5
|
faraday (~> 0.8.5)
|
6
6
|
|
7
7
|
GEM
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
multi_json (~> 1.0)
|
26
26
|
builder (3.0.4)
|
27
27
|
erubis (2.7.0)
|
28
|
-
faraday (0.8.
|
28
|
+
faraday (0.8.7)
|
29
29
|
multipart-post (~> 1.1)
|
30
30
|
hike (1.2.1)
|
31
31
|
i18n (0.6.1)
|
data/README.md
CHANGED
@@ -1,13 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
---
|
1
|
+
[](https://zeropush.com)
|
4
2
|
|
5
3
|
Build Status: [](https://travis-ci.org/SymmetricInfinity/zero_push)
|
6
4
|
|
7
|
-
## Disclaimer:
|
8
|
-
|
9
|
-
This gem is not for use at this time
|
10
|
-
|
11
5
|
## Installation
|
12
6
|
|
13
7
|
Add this line to your application's Gemfile:
|
@@ -24,12 +18,17 @@ Or install it yourself as:
|
|
24
18
|
|
25
19
|
## Usage
|
26
20
|
|
27
|
-
|
21
|
+
Generate the ZeroPush initializer if you are using Ruby on Rails.
|
22
|
+
|
23
|
+
$ rails g zero_push:install
|
24
|
+
|
25
|
+
For more documentation, check our [Getting Started Guide with ZeroPush](https://zeropush.com/documentation)
|
28
26
|
|
29
27
|
## Contributing
|
30
28
|
|
31
29
|
1. Fork it
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
1. Create your feature branch (`git checkout -b my-new-feature`)
|
31
|
+
1. Write tests for your feature
|
32
|
+
1. Commit your changes (`git commit -am 'Add some feature'`)
|
33
|
+
1. Push to the branch (`git push origin my-new-feature`)
|
34
|
+
1. Create new Pull Request
|
data/doc/ZeroPush.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: ZeroPush
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -79,13 +79,23 @@
|
|
79
79
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
|
-
<dd class="r1 last">lib/zero_push.rb<span class="defines">,<br />
|
83
|
-
lib/zero_push/version.rb</span>
|
82
|
+
<dd class="r1 last">lib/zero_push/client.rb<span class="defines">,<br />
|
83
|
+
lib/zero_push/version.rb,<br /> lib/generators/zero_push/install_generator.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
87
87
|
<div class="clear"></div>
|
88
88
|
|
89
|
+
<h2>Defined Under Namespace</h2>
|
90
|
+
<p class="children">
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="ZeroPush/InstallGenerator.html" title="ZeroPush::InstallGenerator (class)">InstallGenerator</a></span>
|
96
|
+
|
97
|
+
|
98
|
+
</p>
|
89
99
|
|
90
100
|
<h2>Constant Summary</h2>
|
91
101
|
|
@@ -94,12 +104,12 @@
|
|
94
104
|
<dt id="URL-constant" class="">URL =
|
95
105
|
|
96
106
|
</dt>
|
97
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>
|
107
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>https://api.zeropush.com</span><span class='tstring_end'>"</span></span></pre></dd>
|
98
108
|
|
99
109
|
<dt id="VERSION-constant" class="">VERSION =
|
100
110
|
|
101
111
|
</dt>
|
102
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.5</span><span class='tstring_end'>"</span></span></pre></dd>
|
103
113
|
|
104
114
|
</dl>
|
105
115
|
|
@@ -257,12 +267,12 @@
|
|
257
267
|
<pre class="lines">
|
258
268
|
|
259
269
|
|
260
|
-
|
261
|
-
|
262
|
-
|
270
|
+
5
|
271
|
+
6
|
272
|
+
7</pre>
|
263
273
|
</td>
|
264
274
|
<td>
|
265
|
-
<pre class="code"><span class="info file"># File 'lib/zero_push.rb', line
|
275
|
+
<pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 5</span>
|
266
276
|
|
267
277
|
<span class='kw'>def</span> <span class='id identifier rubyid_auth_token'>auth_token</span>
|
268
278
|
<span class='ivar'>@auth_token</span>
|
@@ -305,16 +315,16 @@
|
|
305
315
|
<pre class="lines">
|
306
316
|
|
307
317
|
|
318
|
+
25
|
319
|
+
26
|
320
|
+
27
|
308
321
|
28
|
309
322
|
29
|
310
323
|
30
|
311
|
-
31
|
312
|
-
32
|
313
|
-
33
|
314
|
-
34</pre>
|
324
|
+
31</pre>
|
315
325
|
</td>
|
316
326
|
<td>
|
317
|
-
<pre class="code"><span class="info file"># File 'lib/zero_push.rb', line
|
327
|
+
<pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 25</span>
|
318
328
|
|
319
329
|
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
320
330
|
<span class='const'>Faraday</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>url:</span> <span class='const'>URL</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
|
@@ -387,15 +397,15 @@
|
|
387
397
|
<pre class="lines">
|
388
398
|
|
389
399
|
|
390
|
-
|
391
|
-
|
392
|
-
|
400
|
+
19
|
401
|
+
20
|
402
|
+
21</pre>
|
393
403
|
</td>
|
394
404
|
<td>
|
395
|
-
<pre class="code"><span class="info file"># File 'lib/zero_push.rb', line
|
405
|
+
<pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 19</span>
|
396
406
|
|
397
407
|
<span class='kw'>def</span> <span class='id identifier rubyid_notify'>notify</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
398
|
-
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/
|
408
|
+
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/notify</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
399
409
|
<span class='kw'>end</span></pre>
|
400
410
|
</td>
|
401
411
|
</tr>
|
@@ -441,16 +451,16 @@
|
|
441
451
|
<pre class="lines">
|
442
452
|
|
443
453
|
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
454
|
+
10
|
455
|
+
11
|
456
|
+
12
|
457
|
+
13</pre>
|
448
458
|
</td>
|
449
459
|
<td>
|
450
|
-
<pre class="code"><span class="info file"># File 'lib/zero_push.rb', line
|
460
|
+
<pre class="code"><span class="info file"># File 'lib/zero_push/client.rb', line 10</span>
|
451
461
|
|
452
462
|
<span class='kw'>def</span> <span class='id identifier rubyid_verify_credentials'>verify_credentials</span>
|
453
|
-
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/
|
463
|
+
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/verify_credentials</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
454
464
|
<span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span> <span class='op'>==</span> <span class='int'>200</span>
|
455
465
|
<span class='kw'>end</span></pre>
|
456
466
|
</td>
|
@@ -463,9 +473,9 @@
|
|
463
473
|
</div>
|
464
474
|
|
465
475
|
<div id="footer">
|
466
|
-
Generated on
|
476
|
+
Generated on Sat Jun 8 14:43:46 2013 by
|
467
477
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
468
|
-
0.8.
|
478
|
+
0.8.5.2 (ruby-1.9.3).
|
469
479
|
</div>
|
470
480
|
|
471
481
|
</body>
|
@@ -0,0 +1,196 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: ZeroPush::InstallGenerator
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (I)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../ZeroPush.html" title="ZeroPush (module)">ZeroPush</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">InstallGenerator</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: ZeroPush::InstallGenerator
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName">Rails::Generators::Base</span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next">Rails::Generators::Base</li>
|
82
|
+
|
83
|
+
<li class="next">ZeroPush::InstallGenerator</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">lib/generators/zero_push/install_generator.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
<h2>
|
113
|
+
Instance Method Summary
|
114
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
115
|
+
</h2>
|
116
|
+
|
117
|
+
<ul class="summary">
|
118
|
+
|
119
|
+
<li class="public ">
|
120
|
+
<span class="summary_signature">
|
121
|
+
|
122
|
+
<a href="#create_initializer_file-instance_method" title="#create_initializer_file (instance method)">- (Object) <strong>create_initializer_file</strong> </a>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
</span>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
137
|
+
|
138
|
+
</li>
|
139
|
+
|
140
|
+
|
141
|
+
</ul>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<div id="instance_method_details" class="method_details_list">
|
148
|
+
<h2>Instance Method Details</h2>
|
149
|
+
|
150
|
+
|
151
|
+
<div class="method_details first">
|
152
|
+
<h3 class="signature first" id="create_initializer_file-instance_method">
|
153
|
+
|
154
|
+
- (<tt>Object</tt>) <strong>create_initializer_file</strong>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
</h3><table class="source_code">
|
161
|
+
<tr>
|
162
|
+
<td>
|
163
|
+
<pre class="lines">
|
164
|
+
|
165
|
+
|
166
|
+
7
|
167
|
+
8
|
168
|
+
9
|
169
|
+
10
|
170
|
+
11</pre>
|
171
|
+
</td>
|
172
|
+
<td>
|
173
|
+
<pre class="code"><span class="info file"># File 'lib/generators/zero_push/install_generator.rb', line 7</span>
|
174
|
+
|
175
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_initializer_file'>create_initializer_file</span>
|
176
|
+
<span class='ivar'>@production_token</span> <span class='op'>=</span> <span class='id identifier rubyid_ask'>ask</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Production auth_token:</span><span class='tstring_end'>'</span></span>
|
177
|
+
<span class='ivar'>@development_token</span> <span class='op'>=</span> <span class='id identifier rubyid_ask'>ask</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Development auth_token:</span><span class='tstring_end'>'</span></span>
|
178
|
+
<span class='id identifier rubyid_template'>template</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>zero_push.rb</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>config/initializers/zero_push.rb</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
179
|
+
<span class='kw'>end</span></pre>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
</table>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div id="footer">
|
190
|
+
Generated on Sat Jun 8 14:43:46 2013 by
|
191
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
192
|
+
0.8.5.2 (ruby-1.9.3).
|
193
|
+
</div>
|
194
|
+
|
195
|
+
</body>
|
196
|
+
</html>
|
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.8.
|
7
|
+
Documentation by YARD 0.8.5.2
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
58
58
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.5.2</h1>
|
60
60
|
<div id="listing">
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
62
|
|
@@ -80,6 +80,21 @@
|
|
80
80
|
<td valign='top' width="33%">
|
81
81
|
|
82
82
|
|
83
|
+
<ul id="alpha_I" class="alpha">
|
84
|
+
<li class="letter">I</li>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<span class='object_link'><a href="ZeroPush/InstallGenerator.html" title="ZeroPush::InstallGenerator (class)">InstallGenerator</a></span>
|
89
|
+
|
90
|
+
<small>(ZeroPush)</small>
|
91
|
+
|
92
|
+
</li>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</ul>
|
96
|
+
|
97
|
+
|
83
98
|
<ul id="alpha_Z" class="alpha">
|
84
99
|
<li class="letter">Z</li>
|
85
100
|
<ul>
|
@@ -101,9 +116,9 @@
|
|
101
116
|
</div>
|
102
117
|
|
103
118
|
<div id="footer">
|
104
|
-
Generated on
|
119
|
+
Generated on Sat Jun 8 14:43:45 2013 by
|
105
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
106
|
-
0.8.
|
121
|
+
0.8.5.2 (ruby-1.9.3).
|
107
122
|
</div>
|
108
123
|
|
109
124
|
</body>
|
data/doc/class_list.html
CHANGED
@@ -45,7 +45,7 @@
|
|
45
45
|
|
46
46
|
<ul id="full_list" class="class">
|
47
47
|
<li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
|
48
|
-
<li><span class='object_link'><a href="ZeroPush.html" title="ZeroPush (module)">ZeroPush</a></span><small class='search_info'>Top Level Namespace</small></li>
|
48
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="ZeroPush.html" title="ZeroPush (module)">ZeroPush</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="ZeroPush/InstallGenerator.html" title="ZeroPush::InstallGenerator (class)">InstallGenerator</a></span> < Base<small class='search_info'>ZeroPush</small></li></ul>
|
49
49
|
|
50
50
|
</ul>
|
51
51
|
</div>
|
data/doc/css/style.css
CHANGED
@@ -27,6 +27,16 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
27
27
|
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
28
28
|
.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
|
29
29
|
|
30
|
+
/* style for <table> */
|
31
|
+
#filecontents table, .docstring table { border-collapse: collapse; }
|
32
|
+
#filecontents table th, #filecontents table td,
|
33
|
+
.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
|
34
|
+
#filecontents table tr:nth-child(odd),
|
35
|
+
.docstring table tr:nth-child(odd) { background: #eee; }
|
36
|
+
#filecontents table tr:nth-child(even),
|
37
|
+
.docstring table tr:nth-child(even) { background: #fff; }
|
38
|
+
#filecontents table th, .docstring table th { background: #fff; }
|
39
|
+
|
30
40
|
/* style for <ul> */
|
31
41
|
#filecontents li > p, .docstring li > p { margin: 0px; }
|
32
42
|
#filecontents ul, .docstring ul { padding-left: 20px; }
|
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -61,17 +61,13 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><
|
64
|
+
<div id="content"><div id='filecontents'><p><a href="https://zeropush.com"><img src="https://github.com/SymmetricInfinity/zero_push/raw/master/doc/zeropush-header.png" alt="ZeroPush"></a></p>
|
65
65
|
|
66
|
-
<
|
66
|
+
<p>Build Status: <a href="https://travis-ci.org/SymmetricInfinity/zero_push"><img src="https://travis-ci.org/SymmetricInfinity/zero_push.png?branch=master" alt="Build Status"></a></p>
|
67
67
|
|
68
|
-
<h2
|
68
|
+
<h2>Installation</h2>
|
69
69
|
|
70
|
-
<p>
|
71
|
-
|
72
|
-
<h2 id="installation">Installation</h2>
|
73
|
-
|
74
|
-
<p>Add this line to your application’s Gemfile:</p>
|
70
|
+
<p>Add this line to your application's Gemfile:</p>
|
75
71
|
|
76
72
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>zero_push</span><span class='tstring_end'>'</span></span>
|
77
73
|
</code></pre>
|
@@ -86,25 +82,30 @@
|
|
86
82
|
<pre class="code ruby"><code class="ruby">$ gem install zero_push
|
87
83
|
</code></pre>
|
88
84
|
|
89
|
-
<h2
|
85
|
+
<h2>Usage</h2>
|
86
|
+
|
87
|
+
<p>Generate the ZeroPush initializer if you are using Ruby on Rails.</p>
|
88
|
+
|
89
|
+
<pre class="code ruby"><code class="ruby">$ rails g zero_push:install
|
90
|
+
</code></pre>
|
90
91
|
|
91
|
-
<p>
|
92
|
+
<p>For more documentation, check our <a href="https://zeropush.com/documentation">Getting Started Guide with ZeroPush</a></p>
|
92
93
|
|
93
|
-
<h2
|
94
|
+
<h2>Contributing</h2>
|
94
95
|
|
95
96
|
<ol>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
97
|
+
<li>Fork it</li>
|
98
|
+
<li>Create your feature branch (<code>git checkout -b my-new-feature</code>)</li>
|
99
|
+
<li>Commit your changes (<code>git commit -am 'Add some feature'</code>)</li>
|
100
|
+
<li>Push to the branch (<code>git push origin my-new-feature</code>)</li>
|
101
|
+
<li>Create new Pull Request</li>
|
101
102
|
</ol>
|
102
103
|
</div></div>
|
103
104
|
|
104
105
|
<div id="footer">
|
105
|
-
Generated on
|
106
|
+
Generated on Sat Jun 8 14:43:45 2013 by
|
106
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
107
|
-
0.8.
|
108
|
+
0.8.5.2 (ruby-1.9.3).
|
108
109
|
</div>
|
109
110
|
|
110
111
|
</body>
|
data/doc/frames.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
-
<title>Documentation by YARD 0.8.
|
7
|
+
<title>Documentation by YARD 0.8.5.2</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -61,17 +61,13 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><
|
64
|
+
<div id="content"><div id='filecontents'><p><a href="https://zeropush.com"><img src="https://github.com/SymmetricInfinity/zero_push/raw/master/doc/zeropush-header.png" alt="ZeroPush"></a></p>
|
65
65
|
|
66
|
-
<
|
66
|
+
<p>Build Status: <a href="https://travis-ci.org/SymmetricInfinity/zero_push"><img src="https://travis-ci.org/SymmetricInfinity/zero_push.png?branch=master" alt="Build Status"></a></p>
|
67
67
|
|
68
|
-
<h2
|
68
|
+
<h2>Installation</h2>
|
69
69
|
|
70
|
-
<p>
|
71
|
-
|
72
|
-
<h2 id="installation">Installation</h2>
|
73
|
-
|
74
|
-
<p>Add this line to your application’s Gemfile:</p>
|
70
|
+
<p>Add this line to your application's Gemfile:</p>
|
75
71
|
|
76
72
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>zero_push</span><span class='tstring_end'>'</span></span>
|
77
73
|
</code></pre>
|
@@ -86,25 +82,30 @@
|
|
86
82
|
<pre class="code ruby"><code class="ruby">$ gem install zero_push
|
87
83
|
</code></pre>
|
88
84
|
|
89
|
-
<h2
|
85
|
+
<h2>Usage</h2>
|
86
|
+
|
87
|
+
<p>Generate the ZeroPush initializer if you are using Ruby on Rails.</p>
|
88
|
+
|
89
|
+
<pre class="code ruby"><code class="ruby">$ rails g zero_push:install
|
90
|
+
</code></pre>
|
90
91
|
|
91
|
-
<p>
|
92
|
+
<p>For more documentation, check our <a href="https://zeropush.com/documentation">Getting Started Guide with ZeroPush</a></p>
|
92
93
|
|
93
|
-
<h2
|
94
|
+
<h2>Contributing</h2>
|
94
95
|
|
95
96
|
<ol>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
97
|
+
<li>Fork it</li>
|
98
|
+
<li>Create your feature branch (<code>git checkout -b my-new-feature</code>)</li>
|
99
|
+
<li>Commit your changes (<code>git commit -am 'Add some feature'</code>)</li>
|
100
|
+
<li>Push to the branch (<code>git push origin my-new-feature</code>)</li>
|
101
|
+
<li>Create new Pull Request</li>
|
101
102
|
</ol>
|
102
103
|
</div></div>
|
103
104
|
|
104
105
|
<div id="footer">
|
105
|
-
Generated on
|
106
|
+
Generated on Sat Jun 8 14:43:45 2013 by
|
106
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
107
|
-
0.8.
|
108
|
+
0.8.5.2 (ruby-1.9.3).
|
108
109
|
</div>
|
109
110
|
|
110
111
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -63,6 +63,14 @@
|
|
63
63
|
|
64
64
|
|
65
65
|
<li class="r1 ">
|
66
|
+
<span class='object_link'><a href="ZeroPush/InstallGenerator.html#create_initializer_file-instance_method" title="ZeroPush::InstallGenerator#create_initializer_file (method)">#create_initializer_file</a></span>
|
67
|
+
|
68
|
+
<small>ZeroPush::InstallGenerator</small>
|
69
|
+
|
70
|
+
</li>
|
71
|
+
|
72
|
+
|
73
|
+
<li class="r2 ">
|
66
74
|
<span class='object_link'><a href="ZeroPush.html#notify-class_method" title="ZeroPush.notify (method)">notify</a></span>
|
67
75
|
|
68
76
|
<small>ZeroPush</small>
|
@@ -70,7 +78,7 @@
|
|
70
78
|
</li>
|
71
79
|
|
72
80
|
|
73
|
-
<li class="
|
81
|
+
<li class="r1 ">
|
74
82
|
<span class='object_link'><a href="ZeroPush.html#verify_credentials-class_method" title="ZeroPush.verify_credentials (method)">verify_credentials</a></span>
|
75
83
|
|
76
84
|
<small>ZeroPush</small>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Top Level Namespace
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -103,9 +103,9 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Sat Jun 8 14:43:45 2013 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
-
0.8.
|
108
|
+
0.8.5.2 (ruby-1.9.3).
|
109
109
|
</div>
|
110
110
|
|
111
111
|
</body>
|
Binary file
|
data/lib/zero_push/version.rb
CHANGED
data/spec/fixtures/notify.yml
CHANGED
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
Authorization:
|
11
11
|
- Token token="test_token"
|
12
12
|
User-Agent:
|
13
|
-
- Faraday v0.8.
|
13
|
+
- Faraday v0.8.7
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
Authorization:
|
75
75
|
- Token token="not a valid token"
|
76
76
|
User-Agent:
|
77
|
-
- Faraday v0.8.
|
77
|
+
- Faraday v0.8.7
|
78
78
|
response:
|
79
79
|
status:
|
80
80
|
code: 401
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zero_push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Stefan Natchev
|
@@ -9,11 +10,12 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-
|
13
|
+
date: 2013-08-08 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: faraday
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
20
|
- - ~>
|
19
21
|
- !ruby/object:Gem::Version
|
@@ -21,6 +23,7 @@ dependencies:
|
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
28
|
- - ~>
|
26
29
|
- !ruby/object:Gem::Version
|
@@ -28,6 +31,7 @@ dependencies:
|
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: actionpack
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
36
|
- - ~>
|
33
37
|
- !ruby/object:Gem::Version
|
@@ -35,6 +39,7 @@ dependencies:
|
|
35
39
|
type: :development
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
44
|
- - ~>
|
40
45
|
- !ruby/object:Gem::Version
|
@@ -42,6 +47,7 @@ dependencies:
|
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: activesupport
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
52
|
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
@@ -49,6 +55,7 @@ dependencies:
|
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
60
|
- - ~>
|
54
61
|
- !ruby/object:Gem::Version
|
@@ -56,6 +63,7 @@ dependencies:
|
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: minitest
|
58
65
|
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
59
67
|
requirements:
|
60
68
|
- - ~>
|
61
69
|
- !ruby/object:Gem::Version
|
@@ -63,6 +71,7 @@ dependencies:
|
|
63
71
|
type: :development
|
64
72
|
prerelease: false
|
65
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
66
75
|
requirements:
|
67
76
|
- - ~>
|
68
77
|
- !ruby/object:Gem::Version
|
@@ -70,6 +79,7 @@ dependencies:
|
|
70
79
|
- !ruby/object:Gem::Dependency
|
71
80
|
name: mocha
|
72
81
|
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
73
83
|
requirements:
|
74
84
|
- - ~>
|
75
85
|
- !ruby/object:Gem::Version
|
@@ -77,6 +87,7 @@ dependencies:
|
|
77
87
|
type: :development
|
78
88
|
prerelease: false
|
79
89
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
80
91
|
requirements:
|
81
92
|
- - ~>
|
82
93
|
- !ruby/object:Gem::Version
|
@@ -84,6 +95,7 @@ dependencies:
|
|
84
95
|
- !ruby/object:Gem::Dependency
|
85
96
|
name: rake
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
87
99
|
requirements:
|
88
100
|
- - ~>
|
89
101
|
- !ruby/object:Gem::Version
|
@@ -91,6 +103,7 @@ dependencies:
|
|
91
103
|
type: :development
|
92
104
|
prerelease: false
|
93
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
94
107
|
requirements:
|
95
108
|
- - ~>
|
96
109
|
- !ruby/object:Gem::Version
|
@@ -98,6 +111,7 @@ dependencies:
|
|
98
111
|
- !ruby/object:Gem::Dependency
|
99
112
|
name: railties
|
100
113
|
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
101
115
|
requirements:
|
102
116
|
- - ~>
|
103
117
|
- !ruby/object:Gem::Version
|
@@ -105,6 +119,7 @@ dependencies:
|
|
105
119
|
type: :development
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
108
123
|
requirements:
|
109
124
|
- - ~>
|
110
125
|
- !ruby/object:Gem::Version
|
@@ -112,6 +127,7 @@ dependencies:
|
|
112
127
|
- !ruby/object:Gem::Dependency
|
113
128
|
name: vcr
|
114
129
|
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
115
131
|
requirements:
|
116
132
|
- - ~>
|
117
133
|
- !ruby/object:Gem::Version
|
@@ -119,6 +135,7 @@ dependencies:
|
|
119
135
|
type: :development
|
120
136
|
prerelease: false
|
121
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
122
139
|
requirements:
|
123
140
|
- - ~>
|
124
141
|
- !ruby/object:Gem::Version
|
@@ -126,6 +143,7 @@ dependencies:
|
|
126
143
|
- !ruby/object:Gem::Dependency
|
127
144
|
name: yard
|
128
145
|
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
129
147
|
requirements:
|
130
148
|
- - ~>
|
131
149
|
- !ruby/object:Gem::Version
|
@@ -133,6 +151,7 @@ dependencies:
|
|
133
151
|
type: :development
|
134
152
|
prerelease: false
|
135
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
136
155
|
requirements:
|
137
156
|
- - ~>
|
138
157
|
- !ruby/object:Gem::Version
|
@@ -158,6 +177,7 @@ files:
|
|
158
177
|
- README.md
|
159
178
|
- Rakefile
|
160
179
|
- doc/ZeroPush.html
|
180
|
+
- doc/ZeroPush/InstallGenerator.html
|
161
181
|
- doc/_index.html
|
162
182
|
- doc/class_list.html
|
163
183
|
- doc/css/common.css
|
@@ -172,6 +192,7 @@ files:
|
|
172
192
|
- doc/js/jquery.js
|
173
193
|
- doc/method_list.html
|
174
194
|
- doc/top-level-namespace.html
|
195
|
+
- doc/zeropush-header.png
|
175
196
|
- lib/generators/zero_push/install_generator.rb
|
176
197
|
- lib/generators/zero_push/templates/zero_push.rb
|
177
198
|
- lib/zero_push.rb
|
@@ -185,26 +206,27 @@ files:
|
|
185
206
|
- zero_push.gemspec
|
186
207
|
homepage: https://github.com/SymmetricInfinity/zero_push
|
187
208
|
licenses: []
|
188
|
-
metadata: {}
|
189
209
|
post_install_message:
|
190
210
|
rdoc_options: []
|
191
211
|
require_paths:
|
192
212
|
- lib
|
193
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
194
215
|
requirements:
|
195
216
|
- - ! '>='
|
196
217
|
- !ruby/object:Gem::Version
|
197
218
|
version: '1.9'
|
198
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
+
none: false
|
199
221
|
requirements:
|
200
222
|
- - ! '>='
|
201
223
|
- !ruby/object:Gem::Version
|
202
224
|
version: '0'
|
203
225
|
requirements: []
|
204
226
|
rubyforge_project:
|
205
|
-
rubygems_version:
|
227
|
+
rubygems_version: 1.8.24
|
206
228
|
signing_key:
|
207
|
-
specification_version:
|
229
|
+
specification_version: 3
|
208
230
|
summary: A gem for interacting with the ZeroPush API. (http://zeropush.com)
|
209
231
|
test_files:
|
210
232
|
- spec/fixtures/notify.yml
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
OGE2NGMyNzBiNzFiMTZjZTJkZjBmNzUwNWQxYmY5MDVkYTI1OWRjMw==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZWE3ZDRhZmM0N2E2M2ViOWUyNDg0ZWE5ZmJhMDRlZjRhZmNlMzM0Yg==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
N2ZiZWM0YTIwMGUwMjRiYjc3ODA2ZTdhNDg4YWZlNGM1NzVmOTcxYjgwMThl
|
10
|
-
MmMyZjVjZTQ2NzhiNmFkZTczMjNkZmFlODg2YzlmMThhYmJhMjMwYjEyMGU2
|
11
|
-
OWMyZjYzY2RlMDMyZjc5NzhjOWQ5ODdiZDcxYWRlMGUwMjdiYzU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YzkzMWY3NWZhZTY0Nzc1YzU3OTJjNzMzYjUxNTM4Mjk5YWI5MTEzYmI1YzRl
|
14
|
-
Nzg1ZmNkMDExYjBkNjQ3NDQ2YjQ5M2M3MDBjMDE0Yjk1ZmMzNjJiMjE5MjRi
|
15
|
-
YjJjOTE0MmNkMGQzOWQ2OTg3OGU1NGQ2YThlZGQ3MjJmZDIyYTA=
|