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
data/docs/Object.html ADDED
@@ -0,0 +1,113 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Object - 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">BasicObject
62
+
63
+ </div>
64
+
65
+ <div id="includes-section" class="nav-section">
66
+ <h3>Included Modules</h3>
67
+
68
+ <ul class="link-list">
69
+
70
+
71
+ <li><a class="include" href="Googlecal.html">Googlecal</a>
72
+
73
+
74
+ </ul>
75
+ </div>
76
+
77
+
78
+
79
+ </div>
80
+ </nav>
81
+
82
+ <main role="main" aria-labelledby="class-Object">
83
+ <h1 id="class-Object" class="class">
84
+ class Object
85
+ </h1>
86
+
87
+ <section class="description">
88
+
89
+ </section>
90
+
91
+
92
+
93
+
94
+ <section id="5Buntitled-5D" class="documentation-section">
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ </section>
105
+ </main>
106
+
107
+
108
+ <footer id="validator-badges" role="contentinfo">
109
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
110
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
111
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
112
+ </footer>
113
+
@@ -0,0 +1,161 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>README - 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
+ <div class="nav-section">
55
+ <h3>Table of Contents</h3>
56
+
57
+ <ul class="link-list" role="directory">
58
+ <li><a href="#label-Googlecal">Googlecal</a>
59
+ <li><a href="#label-This+project+is+in+Alpha-21-21-21">This project is in Alpha!!!</a>
60
+ <li><a href="#label-Testing+Setup">Testing Setup</a>
61
+ <li><a href="#label-Generating+Documentation">Generating Documentation</a>
62
+ </ul>
63
+ </div>
64
+
65
+
66
+ <div id="project-metadata">
67
+ <div id="fileindex-section" class="nav-section">
68
+ <h3>Pages</h3>
69
+
70
+ <ul class="link-list">
71
+
72
+ <li><a href="./Gemfile.html">Gemfile</a>
73
+
74
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
75
+
76
+ <li><a href="./LICENSE.html">LICENSE</a>
77
+
78
+ <li><a href="./README_md.html">README</a>
79
+
80
+ <li><a href="./Rakefile.html">Rakefile</a>
81
+
82
+ <li><a href="./bin/setup.html">setup</a>
83
+
84
+ <li><a href="./client_secret_json.html">client_secret.json</a>
85
+
86
+ <li><a href="./googlecal_gemspec.html">googlecal.gemspec</a>
87
+
88
+ </ul>
89
+ </div>
90
+
91
+ </div>
92
+ </nav>
93
+
94
+ <main role="main" aria-label="Page README.md">
95
+
96
+ <h1 id="label-Googlecal"><a href="Googlecal.html">Googlecal</a><span><a href="#label-Googlecal">&para;</a> <a href="#top">&uarr;</a></span></h1>
97
+
98
+ <p><a href="https://travis-ci.org/Ennovar/googlecal"><img
99
+ src="https://travis-ci.org/Ennovar/googlecal.svg?branch=master"></a> <a
100
+ href="https://badge.fury.io/rb/googlecal"><img
101
+ src="https://badge.fury.io/rb/googlecal.svg"></a></p>
102
+
103
+ <p><em>simple wrapper for google calendar api for ruby</em></p>
104
+
105
+ <h2 id="label-This+project+is+in+Alpha-21-21-21">This project is in Alpha!!!<span><a href="#label-This+project+is+in+Alpha-21-21-21">&para;</a> <a href="#top">&uarr;</a></span></h2>
106
+
107
+ <h2 id="label-Testing+Setup">Testing Setup<span><a href="#label-Testing+Setup">&para;</a> <a href="#top">&uarr;</a></span></h2>
108
+
109
+ <p>Before you are ready to start developing on the project there are a couple
110
+ steps to follow</p>
111
+ <ol><li>
112
+ <p>make sure you have a google account… <strong>DUH</strong></p>
113
+ </li><li>
114
+ <p>make sure you enable the account to access your google calendar, you can
115
+ find directions for that <a
116
+ href="https://developers.google.com/google-apps/calendar/quickstart/ruby">here</a></p>
117
+ </li><li>
118
+ <p>download your <a href="client_secret_json.html">client_secret.json</a> file
119
+ into the project directory, these will authenticate you. Dont worry the
120
+ .gitignore will ignore this file</p>
121
+ </li><li>
122
+ <p>run your tests with the following command inside the directory <code>rake
123
+ spec</code></p>
124
+ </li></ol>
125
+
126
+ <p><strong>NOTE:</strong> if you get the following output from running your
127
+ tests</p>
128
+
129
+ <pre>Open the following url in the browser ............</pre>
130
+ <ol><li>
131
+ <p>you need to cancel your tests</p>
132
+ </li><li>
133
+ <p>run <code>./bin/console</code></p>
134
+ </li><li>
135
+ <p>in the irb console you need to run the following
136
+ <code>Googlecal::Base.new(&#39;&#39;)</code></p>
137
+ </li><li>
138
+ <p>the url should print out to the console, open the url in your browser and
139
+ then use the code that is in the webpage and paste it into the irb console
140
+ to authenticate you.</p>
141
+ </li></ol>
142
+
143
+ <p><strong>Then you are clear to start running tests</strong></p>
144
+
145
+ <h2 id="label-Generating+Documentation">Generating Documentation<span><a href="#label-Generating+Documentation">&para;</a> <a href="#top">&uarr;</a></span></h2>
146
+ <ol><li>
147
+ <p>install rdoc with <code> gem install rdoc </code></p>
148
+ </li><li>
149
+ <p>generate the docs by running this command in the project directory <code>
150
+ rdoc </code></p>
151
+ </li></ol>
152
+ </main>
153
+
154
+
155
+
156
+ <footer id="validator-badges" role="contentinfo">
157
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
158
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
159
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
160
+ </footer>
161
+
@@ -0,0 +1,99 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Rakefile - 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 Rakefile">
84
+
85
+ <p>require “bundler/gem_tasks” require “rspec/core/rake_task”</p>
86
+
87
+ <p>RSpec::Core::RakeTask.new(:spec)</p>
88
+
89
+ <p>task :default =&gt; :spec</p>
90
+ </main>
91
+
92
+
93
+
94
+ <footer id="validator-badges" role="contentinfo">
95
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
96
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
97
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
+ </footer>
99
+
@@ -0,0 +1,99 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>setup - 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 bin/setup">
84
+
85
+ <p>#!/usr/bin/env bash set -euo pipefail IFS=$&#39;nt&#39; set -vx</p>
86
+
87
+ <p>bundle install</p>
88
+
89
+ <p># Do any other automated setup that you need to do here</p>
90
+ </main>
91
+
92
+
93
+
94
+ <footer id="validator-badges" role="contentinfo">
95
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
96
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.3.0.
97
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
+ </footer>
99
+