flickr.rb 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog.txt +7 -4
  3. data/Gemfile.lock +3 -3
  4. data/README.md +5 -1
  5. data/Rakefile +6 -7
  6. data/doc/Flickr.html +1813 -0
  7. data/doc/Flickr/Config.html +468 -0
  8. data/doc/Flickr/Group.html +974 -0
  9. data/doc/Flickr/Photo.html +2467 -0
  10. data/doc/Flickr/PhotoCollection.html +529 -0
  11. data/doc/Flickr/Photoset.html +942 -0
  12. data/doc/Flickr/User.html +1672 -0
  13. data/doc/_index.html +190 -0
  14. data/doc/class_list.html +54 -0
  15. data/doc/css/common.css +1 -0
  16. data/doc/css/full_list.css +57 -0
  17. data/doc/css/style.css +339 -0
  18. data/doc/file.Changelog.html +73 -0
  19. data/doc/file.LICENSE.html +94 -0
  20. data/{rdoc/README_md.html → doc/file.README.html} +85 -121
  21. data/doc/file_list.html +62 -0
  22. data/doc/frames.html +26 -0
  23. data/doc/index.html +216 -0
  24. data/doc/js/app.js +219 -0
  25. data/doc/js/full_list.js +178 -0
  26. data/doc/js/jquery.js +4 -0
  27. data/doc/method_list.html +725 -0
  28. data/doc/top-level-namespace.html +112 -0
  29. data/flickr.gemspec +3 -3
  30. data/lib/flickr.rb +1 -1
  31. metadata +27 -46
  32. data/rdoc/Flickr.html +0 -1044
  33. data/rdoc/Flickr/Config.html +0 -300
  34. data/rdoc/Flickr/Group.html +0 -373
  35. data/rdoc/Flickr/Photo.html +0 -1427
  36. data/rdoc/Flickr/PhotoCollection.html +0 -261
  37. data/rdoc/Flickr/Photoset.html +0 -389
  38. data/rdoc/Flickr/User.html +0 -775
  39. data/rdoc/created.rid +0 -3
  40. data/rdoc/images/add.png +0 -0
  41. data/rdoc/images/arrow_up.png +0 -0
  42. data/rdoc/images/brick.png +0 -0
  43. data/rdoc/images/brick_link.png +0 -0
  44. data/rdoc/images/bug.png +0 -0
  45. data/rdoc/images/bullet_black.png +0 -0
  46. data/rdoc/images/bullet_toggle_minus.png +0 -0
  47. data/rdoc/images/bullet_toggle_plus.png +0 -0
  48. data/rdoc/images/date.png +0 -0
  49. data/rdoc/images/delete.png +0 -0
  50. data/rdoc/images/find.png +0 -0
  51. data/rdoc/images/loadingAnimation.gif +0 -0
  52. data/rdoc/images/macFFBgHack.png +0 -0
  53. data/rdoc/images/package.png +0 -0
  54. data/rdoc/images/page_green.png +0 -0
  55. data/rdoc/images/page_white_text.png +0 -0
  56. data/rdoc/images/page_white_width.png +0 -0
  57. data/rdoc/images/plugin.png +0 -0
  58. data/rdoc/images/ruby.png +0 -0
  59. data/rdoc/images/tag_blue.png +0 -0
  60. data/rdoc/images/tag_green.png +0 -0
  61. data/rdoc/images/transparent.png +0 -0
  62. data/rdoc/images/wrench.png +0 -0
  63. data/rdoc/images/wrench_orange.png +0 -0
  64. data/rdoc/images/zoom.png +0 -0
  65. data/rdoc/index.html +0 -92
  66. data/rdoc/js/darkfish.js +0 -155
  67. data/rdoc/js/jquery.js +0 -18
  68. data/rdoc/js/navigation.js +0 -142
  69. data/rdoc/js/search.js +0 -94
  70. data/rdoc/js/search_index.js +0 -1
  71. data/rdoc/js/searcher.js +0 -228
  72. data/rdoc/rdoc.css +0 -595
  73. data/rdoc/table_of_contents.html +0 -241
@@ -0,0 +1,73 @@
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
+ File: Changelog
8
+
9
+ &mdash; Documentation by YARD 0.8.7.4
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" 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#!file.Changelog.html";
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</a> &raquo;
35
+ <span class="title">File: Changelog</span>
36
+
37
+
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
40
+
41
+ <div id="search">
42
+
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
52
+
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame"></iframe>
63
+
64
+ <div id="content"><div id='filecontents'>== 1.2.0 2014-05-13<br/>* New image sizes support: Large square, Small 320, Medium 640 - #5 - https://github.com/RaVbaker/flickr/issues/5<br/>* SSL support for requests to Flickr API - #4 - https://github.com/RaVbaker/flickr/issues/4<br/> This change might not be backward compatible so I changed gem version to 1.2. See README.md for more info about SSL<br/><br/>== 1.1.2 2014-04-17<br/>* No changes at all. I failed to set a gem update date for 1.1.1<br/><br/>== 1.1.1 2014-04-17<br/>* Migrated to usage of Bundler for dependency tracking<br/>* Fixes retrieving list of photos no matter which sibling they are in XML structure<br/>* Made tests compatible with latest version of mocha<br/><br/>== 1.1.0 2010-05-16<br/>* Major improvement - now gem is very easy to use as a rails plugin with external configuration for api connection. - /config/flickr.api.yml<br/><br/>== 1.0.9 2010-05-16<br/>* Few enhancements:<br/> * New flickr api domain support: http://api.flickr.com<br/> * depricated email/password params removed form Flickr#initialize and only hash method supported<br/> * New rdoc documentation.<br/> * tests fixed<br/> * init.rb - file ready for using library as a rails 3.x plugin.<br/><br/>== 1.0.8 2009-01-25<br/>* 2 minor enhancements<br/> * Refactored initialization of PhotoCollection so can be instantiated from response returned by photosets.getPhotos<br/> * Added photosets.getPhotos. Returns PhotoCollection<br/><br/>== 1.0.7 2008-11-26<br/>* 1 major enhancement<br/> * When a collection of photos is fetched (e.g. by Flickr#search), a PhotoCollection object is now returned, a type of array, which allows easy access to the pagination information returned by Flickr (e.g. total items, pages, etc). Previously this info was lost<br/>* Minor enhancements:<br/> * Refactored parsing of response when getting info about photo (public API is not changed).<br/> * All returned info is now parsed and stored (previously only some attributes were)<br/> * A record is kept of whether info has been previously fetched from Flickr (avoids unnecessary extra calls)<br/> * Improved User#getInfo. No longer makes API call for pretty_url (which was in addition to main getInfo call) or photos_url<br/>* Bugfixes<br/> * Fixed Photo#source not to make unnecessary API call<br/> * Fixed User#url not to make unnecessary API call<br/><br/>== 1.0.6 2008-07-30<br/>* Bugfixes:<br/> * fixed Flickr#photos when used for searching<br/> * fixed Flickr::Photo#url to not use usernames (if the user changes their username, the url will wrong)<br/> * fixed Flickr#related_tags<br/> * Flickr::Photo#to_s was making unnecessary API calls<br/> * fixed &#39;test&#39; Rake task<br/> * fixed &#39;gem&#39; Rake task<br/>* Minor enhancements:<br/> * added Flickr#search as an alias for Flickr#photos in its search mode<br/> * added Flickr#recent as an alias for Flickr#photos for recent photos<br/> * added Flickr::Photo#pretty_url for the URL that includes a username if present<br/> * added Flickr::Photo#size_url which is like url except &#39;Medium&#39; works the same as other sizes<br/> * allow lowercase (&#39;medium&#39;) and symbol (:medium) forms for sizes<br/> * internal code cleanup<br/><br/>== 1.0.5 2008-05-12<br/><br/>* 1 major change:<br/> * Updated and refactored Flickr::Group class and Flickr#groups method to work with current Flickr API. Flickr#groups now searches for given group, rather than groups.getActiveList (which no longer exists as Flickr API call)<br/>* Minor enhancements:<br/> * Tweaked internals so new client instance isn&#39;t created each time new object (e.g. photo, user) is created<br/> * Improved test coverage<br/><br/>== 1.0.4 2008-05-11<br/><br/>* 1 major enhancement:<br/> * Added authentication facility as per current Flickr API<br/>* 3 minor enhancements:<br/> * Improved test suite<br/> * Improved API for creating Flickr objects (old one still works)<br/> * Protected methods that are only used internally (e.g. request, request_url)<br/><br/>== 1.0.3 2008-04-18<br/><br/>* Various bugfixes:<br/> * User instantiation was broken (wrong number of params passed)<br/> * Instantiating photos failed in several places if single photo returned<br/> * Photosets#getInfo would always fail as the parameter name should be photoset_id, not photosets_id<br/> * Removed call to flickr.people.getOnlineList in Flickr#users as that call is no longer in the Flickr API<br/>* Performance improvements:<br/> * Url and image source uri now generated without a call to the Flickr API, as per the Flickr API docs</div></div>
65
+
66
+ <div id="footer">
67
+ Generated on Tue May 13 13:49:25 2014 by
68
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
69
+ 0.8.7.4 (ruby-2.0.0).
70
+ </div>
71
+
72
+ </body>
73
+ </html>
@@ -0,0 +1,94 @@
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
+ File: LICENSE
8
+
9
+ &mdash; Documentation by YARD 0.8.7.4
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" 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#!file.LICENSE.html";
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</a> &raquo;
35
+ <span class="title">File: LICENSE</span>
36
+
37
+
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
40
+
41
+ <div id="search">
42
+
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
52
+
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame"></iframe>
63
+
64
+ <div id="content"><div id='filecontents'>
65
+ <p>Copyright © 2007 Scott Raymond, Patrick Plattes, Chris Taggart, Rafał
66
+ Piekarski</p>
67
+
68
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
69
+ copy of this software and associated documentation files (the “Software”),
70
+ to deal in the Software without restriction, including without limitation
71
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
72
+ and/or sell copies of the Software, and to permit persons to whom the
73
+ Software is furnished to do so, subject to the following conditions:</p>
74
+
75
+ <p>The above copyright notice and this permission notice shall be included in
76
+ all copies or substantial portions of the Software.</p>
77
+
78
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
83
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
84
+ DEALINGS IN THE SOFTWARE.</p>
85
+ </div></div>
86
+
87
+ <div id="footer">
88
+ Generated on Tue May 13 13:49:25 2014 by
89
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
90
+ 0.8.7.4 (ruby-2.0.0).
91
+ </div>
92
+
93
+ </body>
94
+ </html>
@@ -1,124 +1,84 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
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
+ File: README
8
+
9
+ &mdash; Documentation by YARD 0.8.7.4
10
+
11
+ </title>
6
12
 
7
- <title>README - Flickr</title>
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
8
14
 
9
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
10
16
 
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "./";
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!file.README.html";
13
21
  </script>
14
22
 
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 class="file">
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
23
 
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>
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
41
25
 
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
44
27
 
45
28
 
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
46
33
 
47
- <div id="table-of-contents">
48
- <nav class="section">
49
- <h3 class="section-header">Table of Contents</h3>
50
- <ul>
51
- <li><a href="#label-flickr.rb">flickr.rb</a>
52
- <li><a href="#label-DESCRIPTION%3A">DESCRIPTION:</a>
53
- <li><a href="#label-FEATURES%2FPROBLEMS%3A">FEATURES/PROBLEMS:</a>
54
- <li><a href="#label-SYNOPSIS%3A">SYNOPSIS:</a>
55
- <li><a href="#label-REQUIREMENTS%3A">REQUIREMENTS:</a>
56
- <li><a href="#label-INSTALLATION%3A">INSTALLATION:</a>
57
- <li><a href="#label-CONFIGURING%3A">CONFIGURING:</a>
58
- <li><a href="#label-CONTRIBUTING">CONTRIBUTING</a>
59
- <li><a href="#label-THANKS">THANKS</a>
60
- <li><a href="#label-LICENSE">LICENSE</a>
61
- </ul>
62
- </nav>
63
- </div>
64
-
65
-
66
- <div id="project-metadata">
67
- <nav id="fileindex-section" class="section project-section">
68
- <h3 class="section-header">Pages</h3>
69
-
70
- <ul>
71
-
72
- <li class="file"><a href="./README_md.html">README</a>
34
+ <a href="_index.html">Index</a> &raquo;
35
+ <span class="title">File: README</span>
73
36
 
74
- </ul>
75
- </nav>
76
37
 
77
- <nav id="classindex-section" class="section project-section">
78
- <h3 class="section-header">Class and Module Index</h3>
38
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
+ </div>
79
40
 
80
- <ul class="link-list">
41
+ <div id="search">
81
42
 
82
- <li><a href="./Flickr.html">Flickr</a>
43
+ <a class="full_list_link" id="class_list_link"
44
+ href="class_list.html">
45
+ Class List
46
+ </a>
83
47
 
84
- <li><a href="./Flickr/Config.html">Flickr::Config</a>
48
+ <a class="full_list_link" id="method_list_link"
49
+ href="method_list.html">
50
+ Method List
51
+ </a>
85
52
 
86
- <li><a href="./Flickr/Group.html">Flickr::Group</a>
53
+ <a class="full_list_link" id="file_list_link"
54
+ href="file_list.html">
55
+ File List
56
+ </a>
87
57
 
88
- <li><a href="./Flickr/Photo.html">Flickr::Photo</a>
89
-
90
- <li><a href="./Flickr/PhotoCollection.html">Flickr::PhotoCollection</a>
91
-
92
- <li><a href="./Flickr/Photoset.html">Flickr::Photoset</a>
93
-
94
- <li><a href="./Flickr/User.html">Flickr::User</a>
95
-
96
- </ul>
97
- </nav>
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
98
61
 
99
- </div>
100
- </nav>
62
+ <iframe id="search_frame"></iframe>
101
63
 
102
- <div id="documentation" class="description">
103
-
104
- <h1 id="label-flickr.rb">flickr.rb<span><a href="#label-flickr.rb">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
64
+ <div id="content"><div id='filecontents'>
65
+ <h1 id="label-flickr.rb">flickr.rb</h1>
105
66
 
106
67
  <p><a href="http://github.com/RaVbaker/flickr">github.com/RaVbaker/flickr</a></p>
107
68
 
108
69
  <p><a href="https://badge.fury.io/rb/flickr.rb.svg">{Gem Version</a>]</p>
109
70
 
110
- <h2 id="label-DESCRIPTION%3A">DESCRIPTION:<span><a href="#label-DESCRIPTION%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
71
+ <h2 id="label-DESCRIPTION%3A">DESCRIPTION:</h2>
111
72
 
112
- <p>An insanely easy interface to the <a href="Flickr.html">Flickr</a>
113
- photo-sharing service. By Scott Raymond. (&amp; updated May 2008 by Chris
114
- Taggart, <a href="http://pushrod.wordpress.com">pushrod.wordpress.com</a>
115
- &amp; maintained since May 2010 by me - Rafal Piekarski)</p>
73
+ <p>An insanely easy interface to the Flickr photo-sharing service. By Scott
74
+ Raymond. (&amp; updated May 2008 by Chris Taggart, <a
75
+ href="http://pushrod.wordpress.com">pushrod.wordpress.com</a> &amp;
76
+ maintained since May 2010 by me - Rafal Piekarski)</p>
116
77
 
117
- <p>It&#39;s a simple interface for using <a href="Flickr.html">Flickr</a> API
118
- - <a
78
+ <p>It&#39;s a simple interface for using Flickr API - <a
119
79
  href="https://www.flickr.com/services/api/">www.flickr.com/services/api/</a></p>
120
80
 
121
- <h2 id="label-FEATURES%2FPROBLEMS%3A">FEATURES/PROBLEMS:<span><a href="#label-FEATURES%2FPROBLEMS%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
81
+ <h2 id="label-FEATURES%3A">FEATURES:</h2>
122
82
 
123
83
  <p>The flickr gem (famously featured in a RubyonRails screencast) had broken
124
84
  with Flickr&#39;s new authentication scheme and updated API.
@@ -126,7 +86,7 @@ This has now
126
86
  been largely corrected, though not all current API calls are supported yet.
127
87
  If you need something let me know in pull requests.</p>
128
88
 
129
- <h2 id="label-SYNOPSIS%3A">SYNOPSIS:<span><a href="#label-SYNOPSIS%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
89
+ <h2 id="label-SYNOPSIS%3A">SYNOPSIS:</h2>
130
90
 
131
91
  <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;flickr&#39;</span>
132
92
  <span class="ruby-identifier">flickr</span> = <span class="ruby-constant">Flickr</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&#39;some_flickr_api_key&#39;</span>) <span class="ruby-comment"># create a flickr client (get an API key from http://api.flickr.com/services/api/)</span>
@@ -139,7 +99,7 @@ If you need something let me know in pull requests.</p>
139
99
  <span class="ruby-identifier">user</span>.<span class="ruby-identifier">favorites</span> <span class="ruby-comment"># ...favorite photos...</span>
140
100
  <span class="ruby-identifier">user</span>.<span class="ruby-identifier">photosets</span> <span class="ruby-comment"># ...their photo sets...</span>
141
101
  <span class="ruby-identifier">user</span>.<span class="ruby-identifier">tags</span> <span class="ruby-comment"># ...their tags...</span>
142
- <span class="ruby-identifier">user</span>.<span class="ruby-identifier">popular_tags</span> <span class="ruby-comment"># ...and their popular tags</span>
102
+ <span class="ruby-identifier">user</span>.<span class="ruby-identifier">popular_tags</span> <span class="ruby-comment"># ...and their popular tags</span>
143
103
  <span class="ruby-identifier">recentphotos</span> = <span class="ruby-identifier">flickr</span>.<span class="ruby-identifier">photos</span> <span class="ruby-comment"># get the 100 most recent public photos</span>
144
104
  <span class="ruby-identifier">photo</span> = <span class="ruby-identifier">recentphotos</span>.<span class="ruby-identifier">first</span> <span class="ruby-comment"># or very most recent one</span>
145
105
  <span class="ruby-identifier">photo</span>.<span class="ruby-identifier">url</span> <span class="ruby-comment"># see its URL,</span>
@@ -156,41 +116,41 @@ If you need something let me know in pull requests.</p>
156
116
  <span class="ruby-keyword">end</span>
157
117
  </pre>
158
118
 
159
- <h2 id="label-REQUIREMENTS%3A">REQUIREMENTS:<span><a href="#label-REQUIREMENTS%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
119
+ <h2 id="label-REQUIREMENTS%3A">REQUIREMENTS:</h2>
160
120
  <ul><li>
161
121
  <p>Xmlsimple gem</p>
162
122
  </li></ul>
163
123
 
164
- <h2 id="label-INSTALLATION%3A">INSTALLATION:<span><a href="#label-INSTALLATION%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
124
+ <h2 id="label-INSTALLATION%3A">INSTALLATION:</h2>
165
125
 
166
126
  <p>Add this line to your application&#39;s Gemfile:</p>
167
127
 
168
- <pre>gem &#39;flickr.rb&#39;</pre>
128
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>flickr.rb</span><span class='tstring_end'>&#39;</span></span></code></pre>
169
129
 
170
130
  <p>And then execute:</p>
171
131
 
172
- <pre>$ bundle</pre>
132
+ <pre class="code ruby"><code class="ruby">$ bundle</code></pre>
173
133
 
174
134
  <p>Or install it yourself as:</p>
175
135
 
176
- <pre>$ gem install flickr.rb</pre>
136
+ <pre class="code ruby"><code class="ruby">$ gem install flickr.rb</code></pre>
177
137
  <ul><li>
178
138
  <p>Gem homepage: <a
179
139
  href="http://rubygems.org/gems/flickr.rb">rubygems.org/gems/flickr.rb</a></p>
180
140
  </li></ul>
181
141
 
182
- <h2 id="label-CONFIGURING%3A">CONFIGURING:<span><a href="#label-CONFIGURING%3A">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
142
+ <h2 id="label-CONFIGURING%3A">CONFIGURING:</h2>
183
143
 
184
144
  <p>You can provide just a api_key <code>Flickr.new(&#39;api_key&#39;)</code>
185
145
  or full set of advanced configuration options:</p>
186
146
 
187
- <pre>flickr = Flickr.new(
188
- api_key: &#39;your_api_key&#39;,
189
- shared_secret: &#39;shared_secret_code&#39;,
190
- auth_token: &#39;authSecretToken&#39;,
191
- verify_ssl: true,
192
- ca_file: &#39;/path/to/cert.pem&#39;
193
- )</pre>
147
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_flickr'>flickr</span> <span class='op'>=</span> <span class='const'>Flickr</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
148
+ <span class='label'>api_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>your_api_key</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
149
+ <span class='label'>shared_secret:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shared_secret_code</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
150
+ <span class='label'>auth_token:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>authSecretToken</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
151
+ <span class='label'>verify_ssl:</span> <span class='kw'>true</span><span class='comma'>,</span>
152
+ <span class='label'>ca_file:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/path/to/cert.pem</span><span class='tstring_end'>&#39;</span></span>
153
+ <span class='rparen'>)</span></code></pre>
194
154
 
195
155
  <p>As you see you can turn off ssl verification (<code>verify_ssl:
196
156
  false</code>) or provide your own CA file (<code>:ca_file</code> option)
@@ -201,7 +161,7 @@ for SSL verification. By default gem uses the
201
161
  create configuration file in /config directory with specified api
202
162
  connection settings. For example:</p>
203
163
 
204
- <pre>development:
164
+ <pre class="code ruby"><code class="ruby">development:
205
165
  api_key: SomeLongApiKey
206
166
  shared_secret: secret!
207
167
  auth_token: authSecretToken
@@ -209,9 +169,14 @@ connection settings. For example:</p>
209
169
  beta:
210
170
  api_key: SomeLongApiKeyBeta
211
171
  shared_secret: secretBeta!
212
- auth_token: authSecretTokenBeta</pre>
172
+ auth_token: authSecretTokenBeta</code></pre>
213
173
 
214
- <h2 id="label-CONTRIBUTING">CONTRIBUTING<span><a href="#label-CONTRIBUTING">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
174
+ <h2 id="label-DOCUMENTATION">DOCUMENTATION</h2>
175
+
176
+ <p>Full documentation: <a
177
+ href="http://ravbaker.github.io/flickr">ravbaker.github.io/flickr</a>.</p>
178
+
179
+ <h2 id="label-CONTRIBUTING">CONTRIBUTING</h2>
215
180
  <ol><li>
216
181
  <p>Fork it</p>
217
182
  </li><li>
@@ -225,7 +190,7 @@ feature&#39;</code>)</p>
225
190
  <p>Create new Pull Request</p>
226
191
  </li></ol>
227
192
 
228
- <h2 id="label-THANKS">THANKS<span><a href="#label-THANKS">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
193
+ <h2 id="label-THANKS">THANKS</h2>
229
194
  <ul><li>
230
195
  <p>Scott Raymond</p>
231
196
  </li><li>
@@ -234,19 +199,18 @@ feature&#39;</code>)</p>
234
199
  <p>Chris Taggart</p>
235
200
  </li></ul>
236
201
 
237
- <h2 id="label-LICENSE">LICENSE<span><a href="#label-LICENSE">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
202
+ <h2 id="label-LICENSE">LICENSE</h2>
238
203
 
239
204
  <p>MIT License , see <code>LICENSE</code> for more details.</p>
240
205
 
241
206
  <p>© 2010 - 2014 Rafal “RaVbaker” Piekarski</p>
207
+ </div></div>
242
208
 
209
+ <div id="footer">
210
+ Generated on Tue May 13 13:49:25 2014 by
211
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
212
+ 0.8.7.4 (ruby-2.0.0).
243
213
  </div>
244
214
 
245
-
246
-
247
- <footer id="validator-badges">
248
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
249
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
250
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
251
- </footer>
252
-
215
+ </body>
216
+ </html>