twitter-photos 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/doc/DateTime.html ADDED
@@ -0,0 +1,140 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: DateTime</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="./js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="./js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="file-metadata">
26
+ <div id="file-list-section" class="section">
27
+ <h3 class="section-header">In Files</h3>
28
+ <div class="section-body">
29
+ <ul>
30
+
31
+ <li><a href="./lib/twitter-photos_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="lib/twitter-photos.rb">lib/twitter-photos.rb</a></li>
33
+
34
+ </ul>
35
+ </div>
36
+ </div>
37
+
38
+
39
+ </div>
40
+
41
+ <div id="class-metadata">
42
+
43
+ <!-- Parent Class -->
44
+
45
+ <div id="parent-class-section" class="section">
46
+ <h3 class="section-header">Parent</h3>
47
+
48
+ <p class="link">Object</p>
49
+
50
+ </div>
51
+
52
+
53
+ <!-- Namespace Contents -->
54
+
55
+
56
+ <!-- Method Quickref -->
57
+
58
+
59
+ <!-- Included Modules -->
60
+
61
+ </div>
62
+
63
+ <div id="project-metadata">
64
+
65
+
66
+ <div id="fileindex-section" class="section project-section">
67
+ <h3 class="section-header">Files</h3>
68
+ <ul>
69
+
70
+ <li class="file"><a href="./LICENSE.html">LICENSE</a></li>
71
+
72
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
73
+
74
+ </ul>
75
+ </div>
76
+
77
+
78
+ <div id="classindex-section" class="section project-section">
79
+ <h3 class="section-header">Class Index
80
+ <span class="search-toggle"><img src="./images/find.png"
81
+ height="16" width="16" alt="[+]"
82
+ title="show/hide quicksearch" /></span></h3>
83
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
84
+ <fieldset>
85
+ <legend>Quicksearch</legend>
86
+ <input type="text" name="quicksearch" value=""
87
+ class="quicksearch-field" />
88
+ </fieldset>
89
+ </form>
90
+
91
+ <ul class="link-list">
92
+
93
+ <li><a href="./DateTime.html">DateTime</a></li>
94
+
95
+ <li><a href="./TimeMod.html">TimeMod</a></li>
96
+
97
+ <li><a href="./TwitterPhoto.html">TwitterPhoto</a></li>
98
+
99
+ </ul>
100
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
101
+ </div>
102
+
103
+
104
+ </div>
105
+ </div>
106
+
107
+ <div id="documentation">
108
+ <h1 class="class">DateTime</h1>
109
+
110
+ <div id="description">
111
+
112
+ </div>
113
+
114
+ <!-- Constants -->
115
+
116
+
117
+ <!-- Attributes -->
118
+
119
+
120
+ <!-- Methods -->
121
+
122
+
123
+ </div>
124
+
125
+
126
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
127
+
128
+ <p>Disabled; run with --debug to generate this.</p>
129
+
130
+ </div>
131
+
132
+ <div id="validator-badges">
133
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
134
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
135
+ Rdoc Generator</a> 1.1.6</small>.</p>
136
+ </div>
137
+
138
+ </body>
139
+ </html>
140
+
data/doc/LICENSE.html ADDED
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: LICENSE [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="./js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="./js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="./js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file">
24
+ <div id="metadata">
25
+ <div id="project-metadata">
26
+
27
+
28
+ <div id="fileindex-section" class="section project-section">
29
+ <h3 class="section-header">Files</h3>
30
+ <ul>
31
+
32
+ <li class="file"><a href="./LICENSE.html">LICENSE</a></li>
33
+
34
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
35
+
36
+ </ul>
37
+ </div>
38
+
39
+
40
+ <div id="classindex-section" class="section project-section">
41
+ <h3 class="section-header">Class Index
42
+ <span class="search-toggle"><img src="./images/find.png"
43
+ height="16" width="16" alt="[+]"
44
+ title="show/hide quicksearch" /></span></h3>
45
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
46
+ <fieldset>
47
+ <legend>Quicksearch</legend>
48
+ <input type="text" name="quicksearch" value=""
49
+ class="quicksearch-field" />
50
+ </fieldset>
51
+ </form>
52
+
53
+ <ul class="link-list">
54
+
55
+ <li><a href="./DateTime.html">DateTime</a></li>
56
+
57
+ <li><a href="./TimeMod.html">TimeMod</a></li>
58
+
59
+ <li><a href="./TwitterPhoto.html">TwitterPhoto</a></li>
60
+
61
+ </ul>
62
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
63
+ </div>
64
+
65
+
66
+ </div>
67
+ </div>
68
+
69
+ <div id="documentation">
70
+ <p>
71
+ Copyright &#169; 2009 bookis
72
+ </p>
73
+ <p>
74
+ Permission is hereby granted, free of charge, to any person obtaining a
75
+ copy of this software and associated documentation files (the
76
+ &#8220;Software&#8221;), to deal in the Software without restriction,
77
+ including without limitation the rights to use, copy, modify, merge,
78
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
79
+ permit persons to whom the Software is furnished to do so, subject to the
80
+ following conditions:
81
+ </p>
82
+ <p>
83
+ The above copyright notice and this permission notice shall be included in
84
+ all copies or substantial portions of the Software.
85
+ </p>
86
+ <p>
87
+ THE SOFTWARE IS PROVIDED &#8220;AS IS&#8221;, WITHOUT WARRANTY OF ANY KIND,
88
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
89
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
90
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
91
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
92
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
93
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
94
+ </p>
95
+
96
+ </div>
97
+
98
+ <div id="validator-badges">
99
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
100
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
101
+ Rdoc Generator</a> 1.1.6</small>.</p>
102
+ </div>
103
+ </body>
104
+ </html>
105
+
@@ -0,0 +1,112 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: README.rdoc [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="./js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="./js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="./js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file">
24
+ <div id="metadata">
25
+ <div id="project-metadata">
26
+
27
+
28
+ <div id="fileindex-section" class="section project-section">
29
+ <h3 class="section-header">Files</h3>
30
+ <ul>
31
+
32
+ <li class="file"><a href="./LICENSE.html">LICENSE</a></li>
33
+
34
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
35
+
36
+ </ul>
37
+ </div>
38
+
39
+
40
+ <div id="classindex-section" class="section project-section">
41
+ <h3 class="section-header">Class Index
42
+ <span class="search-toggle"><img src="./images/find.png"
43
+ height="16" width="16" alt="[+]"
44
+ title="show/hide quicksearch" /></span></h3>
45
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
46
+ <fieldset>
47
+ <legend>Quicksearch</legend>
48
+ <input type="text" name="quicksearch" value=""
49
+ class="quicksearch-field" />
50
+ </fieldset>
51
+ </form>
52
+
53
+ <ul class="link-list">
54
+
55
+ <li><a href="./DateTime.html">DateTime</a></li>
56
+
57
+ <li><a href="./TimeMod.html">TimeMod</a></li>
58
+
59
+ <li><a href="./TwitterPhoto.html">TwitterPhoto</a></li>
60
+
61
+ </ul>
62
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
63
+ </div>
64
+
65
+
66
+ </div>
67
+ </div>
68
+
69
+ <div id="documentation">
70
+ <h1>twitter-photos</h1>
71
+ <p>
72
+ Description goes here.
73
+ </p>
74
+ <h2>Note on Patches/Pull Requests</h2>
75
+ <ul>
76
+ <li>Fork the project.
77
+
78
+ </li>
79
+ <li>Make your feature addition or bug fix.
80
+
81
+ </li>
82
+ <li>Add tests for it. This is important so I don&#8217;t break it in a future
83
+ version unintentionally.
84
+
85
+ </li>
86
+ <li>Commit, do not mess with rakefile, version, or history. (if you want to
87
+ have your own version, that is fine but
88
+
89
+ <pre>
90
+ bump version in a commit by itself I can ignore when I pull)
91
+ </pre>
92
+ </li>
93
+ <li>Send me a pull request. Bonus points for topic branches.
94
+
95
+ </li>
96
+ </ul>
97
+ <h2>Copyright</h2>
98
+ <p>
99
+ Copyright &#169; 2010 bookis. See <a href="LICENSE.html">LICENSE</a> for
100
+ details.
101
+ </p>
102
+
103
+ </div>
104
+
105
+ <div id="validator-badges">
106
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
107
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
108
+ Rdoc Generator</a> 1.1.6</small>.</p>
109
+ </div>
110
+ </body>
111
+ </html>
112
+
data/doc/TimeMod.html ADDED
@@ -0,0 +1,189 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: TimeMod</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="./js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="./js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="module">
23
+
24
+ <div id="metadata">
25
+ <div id="file-metadata">
26
+ <div id="file-list-section" class="section">
27
+ <h3 class="section-header">In Files</h3>
28
+ <div class="section-body">
29
+ <ul>
30
+
31
+ <li><a href="./lib/twitter-photos_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32
+ class="thickbox" title="lib/twitter-photos.rb">lib/twitter-photos.rb</a></li>
33
+
34
+ </ul>
35
+ </div>
36
+ </div>
37
+
38
+
39
+ </div>
40
+
41
+ <div id="class-metadata">
42
+
43
+ <!-- Parent Class -->
44
+
45
+
46
+ <!-- Namespace Contents -->
47
+
48
+
49
+ <!-- Method Quickref -->
50
+
51
+ <div id="method-list-section" class="section">
52
+ <h3 class="section-header">Methods</h3>
53
+ <ul class="link-list">
54
+
55
+ <li><a href="#M000003">#time_ago_to_date</a></li>
56
+
57
+ </ul>
58
+ </div>
59
+
60
+
61
+ <!-- Included Modules -->
62
+
63
+ </div>
64
+
65
+ <div id="project-metadata">
66
+
67
+
68
+ <div id="fileindex-section" class="section project-section">
69
+ <h3 class="section-header">Files</h3>
70
+ <ul>
71
+
72
+ <li class="file"><a href="./LICENSE.html">LICENSE</a></li>
73
+
74
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
75
+
76
+ </ul>
77
+ </div>
78
+
79
+
80
+ <div id="classindex-section" class="section project-section">
81
+ <h3 class="section-header">Class Index
82
+ <span class="search-toggle"><img src="./images/find.png"
83
+ height="16" width="16" alt="[+]"
84
+ title="show/hide quicksearch" /></span></h3>
85
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
86
+ <fieldset>
87
+ <legend>Quicksearch</legend>
88
+ <input type="text" name="quicksearch" value=""
89
+ class="quicksearch-field" />
90
+ </fieldset>
91
+ </form>
92
+
93
+ <ul class="link-list">
94
+
95
+ <li><a href="./DateTime.html">DateTime</a></li>
96
+
97
+ <li><a href="./TimeMod.html">TimeMod</a></li>
98
+
99
+ <li><a href="./TwitterPhoto.html">TwitterPhoto</a></li>
100
+
101
+ </ul>
102
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
103
+ </div>
104
+
105
+
106
+ </div>
107
+ </div>
108
+
109
+ <div id="documentation">
110
+ <h1 class="module">TimeMod</h1>
111
+
112
+ <div id="description">
113
+
114
+ </div>
115
+
116
+ <!-- Constants -->
117
+
118
+
119
+ <!-- Attributes -->
120
+
121
+
122
+ <!-- Methods -->
123
+
124
+ <div id="public-instance-method-details" class="method-section section">
125
+ <h3 class="section-header">Public Instance Methods</h3>
126
+
127
+
128
+ <div id="time-ago-to-date-method" class="method-detail ">
129
+ <a name="M000003"></a>
130
+
131
+ <div class="method-heading">
132
+
133
+ <span class="method-name">time_ago_to_date</span><span
134
+ class="method-args">(tweet_date)</span>
135
+ <span class="method-click-advice">click to toggle source</span>
136
+
137
+ </div>
138
+
139
+ <div class="method-description">
140
+
141
+ <p class="missing-docs">(Not documented)</p>
142
+
143
+
144
+
145
+ <div class="method-source-code"
146
+ id="time-ago-to-date-source">
147
+ <pre>
148
+ <span class="ruby-comment cmt"># File lib/twitter-photos.rb, line 138</span>
149
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">time_ago_to_date</span>(<span class="ruby-identifier">tweet_date</span>)
150
+ <span class="ruby-identifier">date</span> = <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">now</span>
151
+ <span class="ruby-identifier">intervals</span> = <span class="ruby-node">%w(year month week day hour min minute second)</span>
152
+ <span class="ruby-identifier">intervals</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">interval</span><span class="ruby-operator">|</span>
153
+ <span class="ruby-identifier">number</span> = <span class="ruby-identifier">tweet_date</span>.<span class="ruby-identifier">match</span>(<span class="ruby-node">/([\d*]+)\s#{interval}/i</span>)
154
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">number</span>
155
+ <span class="ruby-identifier">interval</span> = <span class="ruby-value str">'minutes'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">interval</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'min'</span>
156
+ <span class="ruby-identifier">date</span> = <span class="ruby-identifier">date</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">number</span>[<span class="ruby-value">1</span>].<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">try</span>(<span class="ruby-identifier">interval</span>)
157
+ <span class="ruby-keyword kw">end</span>
158
+ <span class="ruby-keyword kw">end</span>
159
+ <span class="ruby-identifier">date</span>
160
+ <span class="ruby-keyword kw">end</span></pre>
161
+ </div>
162
+
163
+ </div>
164
+
165
+
166
+ </div>
167
+
168
+
169
+ </div>
170
+
171
+
172
+ </div>
173
+
174
+
175
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
176
+
177
+ <p>Disabled; run with --debug to generate this.</p>
178
+
179
+ </div>
180
+
181
+ <div id="validator-badges">
182
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
183
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
184
+ Rdoc Generator</a> 1.1.6</small>.</p>
185
+ </div>
186
+
187
+ </body>
188
+ </html>
189
+