flickrie 0.4.1 → 0.5.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.
Files changed (91) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +6 -4
  3. data/Rakefile +9 -8
  4. data/api_methods.md +297 -0
  5. data/doc/Flickrie.html +364 -0
  6. data/doc/Flickrie/.DS_Store +0 -0
  7. data/doc/Flickrie/ApiMethods.html +1692 -0
  8. data/doc/Flickrie/Client.html +914 -0
  9. data/doc/Flickrie/Error.html +187 -0
  10. data/doc/Flickrie/Instance.html +344 -0
  11. data/doc/Flickrie/License.html +288 -0
  12. data/doc/Flickrie/Location.html +233 -0
  13. data/doc/Flickrie/Media.html +1689 -0
  14. data/doc/Flickrie/Media/ClassMethods.html +509 -0
  15. data/doc/Flickrie/Media/Count.html +314 -0
  16. data/doc/Flickrie/Media/Exif.html +276 -0
  17. data/doc/Flickrie/Media/Note.html +362 -0
  18. data/doc/Flickrie/Media/Tag.html +425 -0
  19. data/doc/Flickrie/Media/Ticket.html +425 -0
  20. data/doc/Flickrie/Media/Visibility.html +359 -0
  21. data/doc/Flickrie/MediaCount.html +314 -0
  22. data/doc/Flickrie/OAuth.html +334 -0
  23. data/doc/Flickrie/OAuth/AccessToken.html +187 -0
  24. data/doc/Flickrie/OAuth/Error.html +187 -0
  25. data/doc/Flickrie/OAuth/ParseResponseParams.html +187 -0
  26. data/doc/Flickrie/OAuth/RequestToken.html +241 -0
  27. data/doc/Flickrie/OAuth/StatusCheck.html +235 -0
  28. data/doc/Flickrie/OAuth/Token.html +227 -0
  29. data/doc/Flickrie/OAuthStatusCheck.html +236 -0
  30. data/doc/Flickrie/Photo.html +913 -0
  31. data/doc/Flickrie/Set.html +998 -0
  32. data/doc/Flickrie/StatusCheck.html +235 -0
  33. data/doc/Flickrie/UploadClient.html +284 -0
  34. data/doc/Flickrie/UploadStatusCheck.html +235 -0
  35. data/doc/Flickrie/User.html +875 -0
  36. data/doc/Flickrie/Video.html +601 -0
  37. data/doc/Gemfile.html +163 -0
  38. data/doc/LICENSE.html +165 -0
  39. data/doc/Rakefile.html +168 -0
  40. data/doc/created.rid +25 -0
  41. data/doc/images/add.png +0 -0
  42. data/doc/images/brick.png +0 -0
  43. data/doc/images/brick_link.png +0 -0
  44. data/doc/images/bug.png +0 -0
  45. data/doc/images/bullet_black.png +0 -0
  46. data/doc/images/bullet_toggle_minus.png +0 -0
  47. data/doc/images/bullet_toggle_plus.png +0 -0
  48. data/doc/images/date.png +0 -0
  49. data/doc/images/delete.png +0 -0
  50. data/doc/images/find.png +0 -0
  51. data/doc/images/loadingAnimation.gif +0 -0
  52. data/doc/images/macFFBgHack.png +0 -0
  53. data/doc/images/package.png +0 -0
  54. data/doc/images/page_green.png +0 -0
  55. data/doc/images/page_white_text.png +0 -0
  56. data/doc/images/page_white_width.png +0 -0
  57. data/doc/images/plugin.png +0 -0
  58. data/doc/images/ruby.png +0 -0
  59. data/doc/images/tag_blue.png +0 -0
  60. data/doc/images/tag_green.png +0 -0
  61. data/doc/images/transparent.png +0 -0
  62. data/doc/images/wrench.png +0 -0
  63. data/doc/images/wrench_orange.png +0 -0
  64. data/doc/images/zoom.png +0 -0
  65. data/doc/index.html +140 -0
  66. data/doc/js/darkfish.js +153 -0
  67. data/doc/js/jquery.js +18 -0
  68. data/doc/js/navigation.js +142 -0
  69. data/doc/js/search.js +94 -0
  70. data/doc/js/search_index.js +1 -0
  71. data/doc/js/searcher.js +228 -0
  72. data/doc/rdoc.css +543 -0
  73. data/doc/table_of_contents.html +642 -0
  74. data/flickrie.gemspec +7 -6
  75. data/lib/flickrie/api_methods.rb +26 -1
  76. data/lib/flickrie/client.rb +8 -0
  77. data/lib/flickrie/media.rb +24 -0
  78. data/lib/flickrie/media/exif.rb +18 -0
  79. data/lib/flickrie/media_count.rb +28 -0
  80. data/lib/flickrie/version.rb +1 -1
  81. data/test/license_test.rb +0 -1
  82. data/test/location_test.rb +0 -1
  83. data/test/media_count_test.rb +17 -0
  84. data/test/media_test.rb +0 -1
  85. data/test/oauth_test.rb +1 -2
  86. data/test/photo_test.rb +13 -1
  87. data/test/set_test.rb +0 -1
  88. data/test/test.rb +1 -1
  89. data/test/user_test.rb +0 -1
  90. data/test/video_test.rb +12 -1
  91. metadata +87 -13
@@ -0,0 +1,227 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module Flickrie::OAuth::Token - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="module">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../../index.html">Home</a>
28
+ <a href="../../table_of_contents.html#classes">Classes</a>
29
+ <a href="../../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/flickrie/oauth.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-i-from_response">#from_response</a>
68
+
69
+ </ul>
70
+ </nav>
71
+
72
+ </div>
73
+
74
+ <div id="project-metadata">
75
+ <nav id="fileindex-section" class="section project-section">
76
+ <h3 class="section-header">Pages</h3>
77
+
78
+ <ul>
79
+
80
+ <li class="file"><a href="../../Gemfile.html">Gemfile</a>
81
+
82
+ <li class="file"><a href="../../LICENSE.html">LICENSE</a>
83
+
84
+ <li class="file"><a href="../../Rakefile.html">Rakefile</a>
85
+
86
+ </ul>
87
+ </nav>
88
+
89
+ <nav id="classindex-section" class="section project-section">
90
+ <h3 class="section-header">Class and Module Index</h3>
91
+
92
+ <ul class="link-list">
93
+
94
+ <li><a href="../../Flickrie.html">Flickrie</a>
95
+
96
+ <li><a href="../../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
97
+
98
+ <li><a href="../../Flickrie/Client.html">Flickrie::Client</a>
99
+
100
+ <li><a href="../../Flickrie/Error.html">Flickrie::Error</a>
101
+
102
+ <li><a href="../../Flickrie/Instance.html">Flickrie::Instance</a>
103
+
104
+ <li><a href="../../Flickrie/License.html">Flickrie::License</a>
105
+
106
+ <li><a href="../../Flickrie/Location.html">Flickrie::Location</a>
107
+
108
+ <li><a href="../../Flickrie/Media.html">Flickrie::Media</a>
109
+
110
+ <li><a href="../../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
111
+
112
+ <li><a href="../../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
113
+
114
+ <li><a href="../../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
115
+
116
+ <li><a href="../../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
117
+
118
+ <li><a href="../../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
119
+
120
+ <li><a href="../../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
121
+
122
+ <li><a href="../../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
123
+
124
+ <li><a href="../../Flickrie/OAuth.html">Flickrie::OAuth</a>
125
+
126
+ <li><a href="../../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
127
+
128
+ <li><a href="../../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
129
+
130
+ <li><a href="../../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
131
+
132
+ <li><a href="../../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
133
+
134
+ <li><a href="../../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
135
+
136
+ <li><a href="../../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
137
+
138
+ <li><a href="../../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
139
+
140
+ <li><a href="../../Flickrie/Photo.html">Flickrie::Photo</a>
141
+
142
+ <li><a href="../../Flickrie/Set.html">Flickrie::Set</a>
143
+
144
+ <li><a href="../../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
145
+
146
+ <li><a href="../../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
147
+
148
+ <li><a href="../../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
149
+
150
+ <li><a href="../../Flickrie/User.html">Flickrie::User</a>
151
+
152
+ <li><a href="../../Flickrie/Video.html">Flickrie::Video</a>
153
+
154
+ </ul>
155
+ </nav>
156
+
157
+ </div>
158
+ </nav>
159
+
160
+ <div id="documentation">
161
+ <h1 class="module">module Flickrie::OAuth::Token</h1>
162
+
163
+ <div id="description" class="description">
164
+
165
+ </div><!-- description -->
166
+
167
+
168
+
169
+
170
+ <section id="5Buntitled-5D" class="documentation-section">
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <!-- Methods -->
180
+
181
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
182
+ <h3 class="section-header">Public Instance Methods</h3>
183
+
184
+
185
+ <div id="method-i-from_response" class="method-detail ">
186
+
187
+ <div class="method-heading">
188
+ <span class="method-name">from_response</span><span
189
+ class="method-args">(body)</span>
190
+ <span class="method-click-advice">click to toggle source</span>
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+
197
+
198
+
199
+
200
+ <div class="method-source-code" id="from_response-source">
201
+ <pre><span class="ruby-comment"># File lib/flickrie/oauth.rb, line 66</span>
202
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">from_response</span>(<span class="ruby-identifier">body</span>)
203
+ <span class="ruby-identifier">new</span>(<span class="ruby-identifier">body</span>[<span class="ruby-string">'oauth_token'</span>], <span class="ruby-identifier">body</span>[<span class="ruby-string">'oauth_token_secret'</span>])
204
+ <span class="ruby-keyword">end</span></pre>
205
+ </div><!-- from_response-source -->
206
+
207
+ </div>
208
+
209
+
210
+
211
+
212
+ </div><!-- from_response-method -->
213
+
214
+
215
+ </section><!-- public-instance-method-details -->
216
+
217
+ </section><!-- 5Buntitled-5D -->
218
+
219
+ </div><!-- documentation -->
220
+
221
+
222
+ <footer id="validator-badges">
223
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
224
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
225
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
226
+ </footer>
227
+
@@ -0,0 +1,236 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Flickrie::OAuthStatusCheck - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/flickrie/client.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">Faraday::Response::Middleware
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-i-on_complete">#on_complete</a>
74
+
75
+ </ul>
76
+ </nav>
77
+
78
+ </div>
79
+
80
+ <div id="project-metadata">
81
+ <nav id="fileindex-section" class="section project-section">
82
+ <h3 class="section-header">Pages</h3>
83
+
84
+ <ul>
85
+
86
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
87
+
88
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
89
+
90
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
91
+
92
+ </ul>
93
+ </nav>
94
+
95
+ <nav id="classindex-section" class="section project-section">
96
+ <h3 class="section-header">Class and Module Index</h3>
97
+
98
+ <ul class="link-list">
99
+
100
+ <li><a href="../Flickrie.html">Flickrie</a>
101
+
102
+ <li><a href="../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
103
+
104
+ <li><a href="../Flickrie/Client.html">Flickrie::Client</a>
105
+
106
+ <li><a href="../Flickrie/Error.html">Flickrie::Error</a>
107
+
108
+ <li><a href="../Flickrie/Instance.html">Flickrie::Instance</a>
109
+
110
+ <li><a href="../Flickrie/License.html">Flickrie::License</a>
111
+
112
+ <li><a href="../Flickrie/Location.html">Flickrie::Location</a>
113
+
114
+ <li><a href="../Flickrie/Media.html">Flickrie::Media</a>
115
+
116
+ <li><a href="../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
117
+
118
+ <li><a href="../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
119
+
120
+ <li><a href="../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
121
+
122
+ <li><a href="../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
123
+
124
+ <li><a href="../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
125
+
126
+ <li><a href="../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
127
+
128
+ <li><a href="../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
129
+
130
+ <li><a href="../Flickrie/OAuth.html">Flickrie::OAuth</a>
131
+
132
+ <li><a href="../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
133
+
134
+ <li><a href="../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
135
+
136
+ <li><a href="../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
137
+
138
+ <li><a href="../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
139
+
140
+ <li><a href="../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
141
+
142
+ <li><a href="../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
143
+
144
+ <li><a href="../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
145
+
146
+ <li><a href="../Flickrie/Photo.html">Flickrie::Photo</a>
147
+
148
+ <li><a href="../Flickrie/Set.html">Flickrie::Set</a>
149
+
150
+ <li><a href="../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
151
+
152
+ <li><a href="../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
153
+
154
+ <li><a href="../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
155
+
156
+ <li><a href="../Flickrie/User.html">Flickrie::User</a>
157
+
158
+ <li><a href="../Flickrie/Video.html">Flickrie::Video</a>
159
+
160
+ </ul>
161
+ </nav>
162
+
163
+ </div>
164
+ </nav>
165
+
166
+ <div id="documentation">
167
+ <h1 class="class">class Flickrie::OAuthStatusCheck</h1>
168
+
169
+ <div id="description" class="description">
170
+
171
+ </div><!-- description -->
172
+
173
+
174
+
175
+
176
+ <section id="5Buntitled-5D" class="documentation-section">
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ <!-- Methods -->
186
+
187
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
188
+ <h3 class="section-header">Public Instance Methods</h3>
189
+
190
+
191
+ <div id="method-i-on_complete" class="method-detail ">
192
+
193
+ <div class="method-heading">
194
+ <span class="method-name">on_complete</span><span
195
+ class="method-args">(env)</span>
196
+ <span class="method-click-advice">click to toggle source</span>
197
+ </div>
198
+
199
+
200
+ <div class="method-description">
201
+
202
+
203
+
204
+
205
+
206
+ <div class="method-source-code" id="on_complete-source">
207
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 68</span>
208
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">on_complete</span>(<span class="ruby-identifier">env</span>)
209
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">env</span>[<span class="ruby-value">:status</span>] <span class="ruby-operator">!=</span> <span class="ruby-value">200</span>
210
+ <span class="ruby-identifier">message</span> = <span class="ruby-identifier">env</span>[<span class="ruby-value">:body</span>][<span class="ruby-regexp">%r(?&lt;=oauth_problem=)[^&amp;]+/</span>]
211
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">Error</span>, <span class="ruby-identifier">message</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-string">'_'</span>, <span class="ruby-string">' '</span>).<span class="ruby-identifier">capitalize</span>
212
+ <span class="ruby-keyword">end</span>
213
+ <span class="ruby-keyword">end</span></pre>
214
+ </div><!-- on_complete-source -->
215
+
216
+ </div>
217
+
218
+
219
+
220
+
221
+ </div><!-- on_complete-method -->
222
+
223
+
224
+ </section><!-- public-instance-method-details -->
225
+
226
+ </section><!-- 5Buntitled-5D -->
227
+
228
+ </div><!-- documentation -->
229
+
230
+
231
+ <footer id="validator-badges">
232
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
233
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
234
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
235
+ </footer>
236
+