googlecal 0.1.0 → 0.1.1

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.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.gitignore +1 -1
  4. data/.travis.yml +4 -1
  5. data/README.md +5 -2
  6. data/bin/console +1 -0
  7. data/client_secret.json.enc +2 -0
  8. data/docs/Gemfile.html +98 -0
  9. data/docs/Gemfile_lock.html +187 -0
  10. data/docs/Googlecal.html +384 -0
  11. data/docs/Googlecal/Base.html +319 -0
  12. data/docs/Googlecal/GCalendar.html +265 -0
  13. data/docs/Googlecal/GEvent.html +418 -0
  14. data/docs/LICENSE.html +115 -0
  15. data/docs/Object.html +113 -0
  16. data/docs/README_md.html +161 -0
  17. data/docs/Rakefile.html +99 -0
  18. data/docs/bin/setup.html +99 -0
  19. data/docs/client_secret_json.html +96 -0
  20. data/docs/created.rid +19 -0
  21. data/docs/css/fonts.css +167 -0
  22. data/docs/css/rdoc.css +590 -0
  23. data/docs/fonts/Lato-Light.ttf +0 -0
  24. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  25. data/docs/fonts/Lato-Regular.ttf +0 -0
  26. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  27. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  28. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  29. data/docs/googlecal_gemspec.html +126 -0
  30. data/docs/images/add.png +0 -0
  31. data/docs/images/arrow_up.png +0 -0
  32. data/docs/images/brick.png +0 -0
  33. data/docs/images/brick_link.png +0 -0
  34. data/docs/images/bug.png +0 -0
  35. data/docs/images/bullet_black.png +0 -0
  36. data/docs/images/bullet_toggle_minus.png +0 -0
  37. data/docs/images/bullet_toggle_plus.png +0 -0
  38. data/docs/images/date.png +0 -0
  39. data/docs/images/delete.png +0 -0
  40. data/docs/images/find.png +0 -0
  41. data/docs/images/loadingAnimation.gif +0 -0
  42. data/docs/images/macFFBgHack.png +0 -0
  43. data/docs/images/package.png +0 -0
  44. data/docs/images/page_green.png +0 -0
  45. data/docs/images/page_white_text.png +0 -0
  46. data/docs/images/page_white_width.png +0 -0
  47. data/docs/images/plugin.png +0 -0
  48. data/docs/images/ruby.png +0 -0
  49. data/docs/images/tag_blue.png +0 -0
  50. data/docs/images/tag_green.png +0 -0
  51. data/docs/images/transparent.png +0 -0
  52. data/docs/images/wrench.png +0 -0
  53. data/docs/images/wrench_orange.png +0 -0
  54. data/docs/images/zoom.png +0 -0
  55. data/docs/index.html +111 -0
  56. data/docs/js/darkfish.js +161 -0
  57. data/docs/js/jquery.js +4 -0
  58. data/docs/js/navigation.js +142 -0
  59. data/docs/js/navigation.js.gz +0 -0
  60. data/docs/js/search.js +109 -0
  61. data/docs/js/search_index.js +1 -0
  62. data/docs/js/search_index.js.gz +0 -0
  63. data/docs/js/searcher.js +228 -0
  64. data/docs/js/searcher.js.gz +0 -0
  65. data/docs/table_of_contents.html +191 -0
  66. data/lib/googlecal.rb +2 -157
  67. data/lib/googlecal/base.rb +191 -0
  68. data/lib/googlecal/gcalendar.rb +27 -0
  69. data/lib/googlecal/gevent.rb +97 -0
  70. data/lib/googlecal/version.rb +1 -1
  71. metadata +63 -1
@@ -0,0 +1,418 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Googlecal::GEvent - Googlecal</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ </script>
12
+
13
+ <script src="../js/jquery.js"></script>
14
+ <script src="../js/darkfish.js"></script>
15
+
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="../index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="../table_of_contents.html#pages">Pages</a>
31
+ <a href="../table_of_contents.html#classes">Classes</a>
32
+ <a href="../table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Base.html">Googlecal::Base</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <div id="method-list-section" class="nav-section">
69
+ <h3>Methods</h3>
70
+
71
+ <ul class="link-list" role="directory">
72
+
73
+ <li ><a href="#method-c-new">::new</a>
74
+
75
+ <li ><a href="#method-i-end_time-3D">#end_time=</a>
76
+
77
+ <li ><a href="#method-i-id">#id</a>
78
+
79
+ <li ><a href="#method-i-save">#save</a>
80
+
81
+ <li ><a href="#method-i-start_time-3D">#start_time=</a>
82
+
83
+ <li ><a href="#method-i-status">#status</a>
84
+
85
+ <li ><a href="#method-i-summary-3D">#summary=</a>
86
+
87
+ </ul>
88
+ </div>
89
+
90
+ </div>
91
+ </nav>
92
+
93
+ <main role="main" aria-labelledby="class-Googlecal::GEvent">
94
+ <h1 id="class-Googlecal::GEvent" class="class">
95
+ class Googlecal::GEvent
96
+ </h1>
97
+
98
+ <section class="description">
99
+
100
+ </section>
101
+
102
+
103
+
104
+
105
+ <section id="5Buntitled-5D" class="documentation-section">
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <section class="attribute-method-details" class="method-section">
114
+ <header>
115
+ <h3>Attributes</h3>
116
+ </header>
117
+
118
+
119
+ <div id="attribute-i-end_time" class="method-detail">
120
+ <div class="method-heading attribute-method-heading">
121
+ <span class="method-name">end_time</span><span
122
+ class="attribute-access-type">[RW]</span>
123
+ </div>
124
+
125
+ <div class="method-description">
126
+
127
+
128
+
129
+ </div>
130
+ </div>
131
+
132
+ <div id="attribute-i-start_time" class="method-detail">
133
+ <div class="method-heading attribute-method-heading">
134
+ <span class="method-name">start_time</span><span
135
+ class="attribute-access-type">[RW]</span>
136
+ </div>
137
+
138
+ <div class="method-description">
139
+
140
+
141
+
142
+ </div>
143
+ </div>
144
+
145
+ <div id="attribute-i-summary" class="method-detail">
146
+ <div class="method-heading attribute-method-heading">
147
+ <span class="method-name">summary</span><span
148
+ class="attribute-access-type">[RW]</span>
149
+ </div>
150
+
151
+ <div class="method-description">
152
+
153
+
154
+
155
+ </div>
156
+ </div>
157
+
158
+ </section>
159
+
160
+
161
+
162
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
163
+ <header>
164
+ <h3>Public Class Methods</h3>
165
+ </header>
166
+
167
+
168
+ <div id="method-c-new" class="method-detail ">
169
+
170
+ <div class="method-heading">
171
+ <span class="method-name">new</span><span
172
+ class="method-args">(event = nil)</span>
173
+
174
+ <span class="method-click-advice">click to toggle source</span>
175
+
176
+ </div>
177
+
178
+
179
+ <div class="method-description">
180
+
181
+ <p>initialize with a google event instance</p>
182
+
183
+
184
+
185
+
186
+ <div class="method-source-code" id="new-source">
187
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 10</span>
188
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">event</span> = <span class="ruby-keyword">nil</span>)
189
+ <span class="ruby-ivar">@event</span> = <span class="ruby-identifier">event</span>
190
+ <span class="ruby-keyword">end</span></pre>
191
+ </div>
192
+
193
+ </div>
194
+
195
+
196
+
197
+
198
+ </div>
199
+
200
+
201
+ </section>
202
+
203
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
204
+ <header>
205
+ <h3>Public Instance Methods</h3>
206
+ </header>
207
+
208
+
209
+ <div id="method-i-end_time-3D" class="method-detail ">
210
+
211
+ <div class="method-heading">
212
+ <span class="method-name">end_time=</span><span
213
+ class="method-args">(value)</span>
214
+
215
+ <span class="method-click-advice">click to toggle source</span>
216
+
217
+ </div>
218
+
219
+
220
+ <div class="method-description">
221
+
222
+
223
+
224
+
225
+
226
+
227
+ <div class="method-source-code" id="end_time-3D-source">
228
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 39</span>
229
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">end_time=</span>(<span class="ruby-identifier">value</span>)
230
+ <span class="ruby-ivar">@event</span>.<span class="ruby-identifier">end</span>.<span class="ruby-identifier">date_time</span> = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">iso8601</span>
231
+ <span class="ruby-keyword">end</span></pre>
232
+ </div>
233
+
234
+ </div>
235
+
236
+
237
+
238
+
239
+ </div>
240
+
241
+
242
+ <div id="method-i-id" class="method-detail ">
243
+
244
+ <div class="method-heading">
245
+ <span class="method-name">id</span><span
246
+ class="method-args">()</span>
247
+
248
+ <span class="method-click-advice">click to toggle source</span>
249
+
250
+ </div>
251
+
252
+
253
+ <div class="method-description">
254
+
255
+
256
+
257
+
258
+
259
+
260
+ <div class="method-source-code" id="id-source">
261
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 14</span>
262
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">id</span>
263
+ <span class="ruby-ivar">@event</span>.<span class="ruby-identifier">id</span>
264
+ <span class="ruby-keyword">end</span></pre>
265
+ </div>
266
+
267
+ </div>
268
+
269
+
270
+
271
+
272
+ </div>
273
+
274
+
275
+ <div id="method-i-save" class="method-detail ">
276
+
277
+ <div class="method-heading">
278
+ <span class="method-name">save</span><span
279
+ class="method-args">()</span>
280
+
281
+ <span class="method-click-advice">click to toggle source</span>
282
+
283
+ </div>
284
+
285
+
286
+ <div class="method-description">
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <div class="method-source-code" id="save-source">
294
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 47</span>
295
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>
296
+ <span class="ruby-identifier">update</span>(<span class="ruby-identifier">start</span><span class="ruby-operator">:</span> { <span class="ruby-identifier">date_time</span><span class="ruby-operator">:</span> <span class="ruby-identifier">start_time</span> }, <span class="ruby-keyword">end</span></pre>
297
+ </div>
298
+
299
+ </div>
300
+
301
+
302
+
303
+
304
+ </div>
305
+
306
+
307
+ <div id="method-i-start_time-3D" class="method-detail ">
308
+
309
+ <div class="method-heading">
310
+ <span class="method-name">start_time=</span><span
311
+ class="method-args">(value)</span>
312
+
313
+ <span class="method-click-advice">click to toggle source</span>
314
+
315
+ </div>
316
+
317
+
318
+ <div class="method-description">
319
+
320
+
321
+
322
+
323
+
324
+
325
+ <div class="method-source-code" id="start_time-3D-source">
326
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 30</span>
327
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">start_time=</span>(<span class="ruby-identifier">value</span>)
328
+ <span class="ruby-comment"># set it to iso8601</span>
329
+ <span class="ruby-ivar">@event</span>.<span class="ruby-identifier">start</span>.<span class="ruby-identifier">date_time</span> = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">iso8601</span>
330
+ <span class="ruby-keyword">end</span></pre>
331
+ </div>
332
+
333
+ </div>
334
+
335
+
336
+
337
+
338
+ </div>
339
+
340
+
341
+ <div id="method-i-status" class="method-detail ">
342
+
343
+ <div class="method-heading">
344
+ <span class="method-name">status</span><span
345
+ class="method-args">()</span>
346
+
347
+ <span class="method-click-advice">click to toggle source</span>
348
+
349
+ </div>
350
+
351
+
352
+ <div class="method-description">
353
+
354
+
355
+
356
+
357
+
358
+
359
+ <div class="method-source-code" id="status-source">
360
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 43</span>
361
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">status</span>
362
+ <span class="ruby-ivar">@event</span>.<span class="ruby-identifier">status</span>
363
+ <span class="ruby-keyword">end</span></pre>
364
+ </div>
365
+
366
+ </div>
367
+
368
+
369
+
370
+
371
+ </div>
372
+
373
+
374
+ <div id="method-i-summary-3D" class="method-detail ">
375
+
376
+ <div class="method-heading">
377
+ <span class="method-name">summary=</span><span
378
+ class="method-args">(value)</span>
379
+
380
+ <span class="method-click-advice">click to toggle source</span>
381
+
382
+ </div>
383
+
384
+
385
+ <div class="method-description">
386
+
387
+
388
+
389
+
390
+
391
+
392
+ <div class="method-source-code" id="summary-3D-source">
393
+ <pre><span class="ruby-comment"># File lib/googlecal/gevent.rb, line 22</span>
394
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">summary=</span>(<span class="ruby-identifier">value</span>)
395
+ <span class="ruby-ivar">@event</span>.<span class="ruby-identifier">summary</span> = <span class="ruby-identifier">value</span>
396
+ <span class="ruby-keyword">end</span></pre>
397
+ </div>
398
+
399
+ </div>
400
+
401
+
402
+
403
+
404
+ </div>
405
+
406
+
407
+ </section>
408
+
409
+ </section>
410
+ </main>
411
+
412
+
413
+ <footer id="validator-badges" role="contentinfo">
414
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
415
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
416
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
417
+ </footer>
418
+
data/docs/LICENSE.html ADDED
@@ -0,0 +1,115 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>LICENSE - Googlecal</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="./Gemfile.html">Gemfile</a>
62
+
63
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
64
+
65
+ <li><a href="./LICENSE.html">LICENSE</a>
66
+
67
+ <li><a href="./README_md.html">README</a>
68
+
69
+ <li><a href="./Rakefile.html">Rakefile</a>
70
+
71
+ <li><a href="./bin/setup.html">setup</a>
72
+
73
+ <li><a href="./client_secret_json.html">client_secret.json</a>
74
+
75
+ <li><a href="./googlecal_gemspec.html">googlecal.gemspec</a>
76
+
77
+ </ul>
78
+ </div>
79
+
80
+ </div>
81
+ </nav>
82
+
83
+ <main role="main" aria-label="Page LICENSE">
84
+
85
+ <p>MIT License</p>
86
+
87
+ <p>Copyright © 2017 Ennovar</p>
88
+
89
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
90
+ copy of this software and associated documentation files (the “Software”),
91
+ to deal in the Software without restriction, including without limitation
92
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
93
+ and/or sell copies of the Software, and to permit persons to whom the
94
+ Software is furnished to do so, subject to the following conditions:</p>
95
+
96
+ <p>The above copyright notice and this permission notice shall be included in
97
+ all copies or substantial portions of the Software.</p>
98
+
99
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
104
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
105
+ DEALINGS IN THE SOFTWARE.</p>
106
+ </main>
107
+
108
+
109
+
110
+ <footer id="validator-badges" role="contentinfo">
111
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
112
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
113
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
114
+ </footer>
115
+