kuva 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +11 -10
  3. data/app/assets/stylesheets/kuva/{base.css.sass → base.sass} +0 -0
  4. data/lib/kuva/version.rb +1 -1
  5. metadata +37 -280
  6. data/.coveralls.yml +0 -1
  7. data/.env.example +0 -4
  8. data/.gitignore +0 -14
  9. data/.rspec +0 -1
  10. data/.ruby-gemset +0 -1
  11. data/.ruby-version +0 -1
  12. data/.travis.yml +0 -12
  13. data/Gemfile.lock +0 -191
  14. data/MIT-LICENSE +0 -20
  15. data/kuva.gemspec +0 -26
  16. data/spec/controllers/kuva/application_controller_spec.rb +0 -42
  17. data/spec/controllers/kuva/photos_controller_spec.rb +0 -22
  18. data/spec/controllers/kuva/sets_controller_spec.rb +0 -51
  19. data/spec/dummy/README.md +0 -1
  20. data/spec/dummy/Rakefile +0 -6
  21. data/spec/dummy/app/assets/images/.keep +0 -0
  22. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  23. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  24. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  25. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  26. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  27. data/spec/dummy/app/mailers/.keep +0 -0
  28. data/spec/dummy/app/models/.keep +0 -0
  29. data/spec/dummy/app/models/concerns/.keep +0 -0
  30. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  31. data/spec/dummy/bin/bundle +0 -3
  32. data/spec/dummy/bin/rails +0 -4
  33. data/spec/dummy/bin/rake +0 -4
  34. data/spec/dummy/config.ru +0 -4
  35. data/spec/dummy/config/application.rb +0 -30
  36. data/spec/dummy/config/boot.rb +0 -5
  37. data/spec/dummy/config/database.yml +0 -25
  38. data/spec/dummy/config/environment.rb +0 -5
  39. data/spec/dummy/config/environments/development.rb +0 -29
  40. data/spec/dummy/config/environments/production.rb +0 -80
  41. data/spec/dummy/config/environments/test.rb +0 -39
  42. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  43. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  44. data/spec/dummy/config/initializers/inflections.rb +0 -16
  45. data/spec/dummy/config/initializers/kuva.rb +0 -29
  46. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  47. data/spec/dummy/config/initializers/secret_token.rb +0 -12
  48. data/spec/dummy/config/initializers/session_store.rb +0 -3
  49. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  50. data/spec/dummy/config/locales/en.yml +0 -23
  51. data/spec/dummy/config/routes.rb +0 -4
  52. data/spec/dummy/lib/assets/.keep +0 -0
  53. data/spec/dummy/log/.keep +0 -0
  54. data/spec/dummy/public/404.html +0 -58
  55. data/spec/dummy/public/422.html +0 -58
  56. data/spec/dummy/public/500.html +0 -57
  57. data/spec/dummy/public/favicon.ico +0 -0
  58. data/spec/features/photo_spec.rb +0 -40
  59. data/spec/features/photoset_collection_spec.rb +0 -25
  60. data/spec/features/photoset_spec.rb +0 -42
  61. data/spec/generators/kuva/assets_generator_spec.rb +0 -30
  62. data/spec/generators/kuva/install_generator_spec.rb +0 -63
  63. data/spec/generators/kuva/views_generator_spec.rb +0 -37
  64. data/spec/helpers/kuva/application_helper_spec.rb +0 -26
  65. data/spec/kuva/authorizer_spec.rb +0 -83
  66. data/spec/kuva/elements/photo_spec.rb +0 -76
  67. data/spec/kuva/elements/photoset_collection_spec.rb +0 -42
  68. data/spec/kuva/elements/photoset_spec.rb +0 -106
  69. data/spec/kuva/elements/url_info_spec.rb +0 -25
  70. data/spec/kuva_spec.rb +0 -81
  71. data/spec/spec_helper.rb +0 -68
  72. data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_API_key.yml +0 -160
  73. data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_secret.yml +0 -160
  74. data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_token.yml +0 -160
  75. data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_NOT_the_set_page/creates_a_breadcrumb_with_the_set_URL.yml +0 -65
  76. data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_the_set_page/creates_a_breadcrumb_without_the_set_URL.yml +0 -222
  77. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/fetches_the_photo_from_Flickr_specified_by_id.yml +0 -95
  78. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/instantiates_a_new_Kuva_Elements_Photo_object.yml +0 -252
  79. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/does_NOT_set_the_is_primary_boolean.yml +0 -252
  80. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/returns_itself.yml +0 -95
  81. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_description.yml +0 -95
  82. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_farm.yml +0 -95
  83. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_id.yml +0 -95
  84. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_secret.yml +0 -95
  85. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_server.yml +0 -252
  86. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_title.yml +0 -95
  87. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_default_sized_medium_image.yml +0 -95
  88. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_n-sized_small_320_image.yml +0 -252
  89. data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/instantiates_a_new_URL_info_object_to_create_image_URLs.yml +0 -95
  90. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/fetches_the_photoset_from_Flickr_specified_by_id.yml +0 -65
  91. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/instantiates_a_new_Kuva_Elements_Photoset_object.yml +0 -65
  92. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/generates_an_image_URL_for_a_large_square_image.yml +0 -65
  93. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/instantiates_a_new_URL_info_object_to_create_an_image_URL.yml +0 -222
  94. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/returns_itself.yml +0 -65
  95. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_created_at_date.yml +0 -65
  96. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_description.yml +0 -65
  97. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml +0 -65
  98. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml +0 -65
  99. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_photos.yml +0 -65
  100. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_views.yml +0 -65
  101. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_primary_id.yml +0 -222
  102. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_secret.yml +0 -65
  103. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_server.yml +0 -65
  104. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_title.yml +0 -222
  105. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_updated_at_date.yml +0 -65
  106. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array.yml +0 -162
  107. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array_with_the_size_specified_by_number_of_photos.yml +0 -162
  108. data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/wraps_the_photos_into_a_Kuva_Elements_Photo_element.yml +0 -319
  109. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/retrieves_all_photosets.yml +0 -2761
  110. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/returns_an_array.yml +0 -2918
  111. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/wraps_the_photosets_into_a_Kuva_Elements_Photoset_element.yml +0 -2761
  112. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/fetches_all_photosets_from_Flickr.yml +0 -2918
  113. data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/instantiates_a_new_Kuva_Elements_PhotosetCollection_object.yml +0 -2761
  114. data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/assigns_the_photo.yml +0 -314
  115. data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/finds_the_photo.yml +0 -157
  116. data/spec/support/vcr/cassettes/Kuva_SetsController/_index/assigns_the_photoset_collection_with_photosets.yml +0 -2761
  117. data/spec/support/vcr/cassettes/Kuva_SetsController/_index/knows_its_type.yml +0 -2918
  118. data/spec/support/vcr/cassettes/Kuva_SetsController/_index/retrieves_the_entire_photoset_collection.yml +0 -160
  119. data/spec/support/vcr/cassettes/Kuva_SetsController/_show/assigns_the_photos_of_the_specified_photoset.yml +0 -2858
  120. data/spec/support/vcr/cassettes/Kuva_SetsController/_show/finds_the_specified_photoset_within_the_entire_photoset_collection.yml +0 -2858
  121. data/spec/support/vcr/cassettes/Kuva_SetsController/_show/knows_its_type.yml +0 -2858
  122. data/spec/support/vcr/cassettes/photo/navigating_back_to_the_photoset_page.yml +0 -3169
  123. data/spec/support/vcr/cassettes/photo/viewing_the_first_photo_of_the_photoset.yml +0 -157
  124. data/spec/support/vcr/cassettes/photoset/navigating_back_to_the_photoset_collection_page.yml +0 -5616
  125. data/spec/support/vcr/cassettes/photoset/navigating_to_the_page_with_details_of_the_first_photo.yml +0 -3012
  126. data/spec/support/vcr/cassettes/photoset/viewing_the_first_photo_of_the_photoset.yml +0 -314
  127. data/spec/support/vcr/cassettes/photoset/viewing_the_first_photoset_of_the_photoset_collection.yml +0 -3015
  128. data/spec/support/vcr/cassettes/photoset_collection/navigating_to_the_page_with_photos_of_the_first_photoset.yml +0 -5616
  129. data/spec/support/vcr/cassettes/photoset_collection/viewing_the_photoset_collection.yml +0 -2761
  130. data/spec/support/vcr/vcr.rb +0 -17
@@ -1,314 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.flickr.com/services/rest/
6
- body:
7
- encoding: US-ASCII
8
- string: photo_id=8317914535&method=flickr.photos.getInfo&format=json&nojsoncallback=1
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - '*/*'
14
- User-Agent:
15
- - FlickRaw/0.9.8
16
- Authorization:
17
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
18
- oauth_nonce="oErWuxLs2Lu%2Ffk%2B2AE%2F3sOinywOJtbWYBq0W07VipT0%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
19
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1397479206", oauth_token="<KUVA_ACCESS_TOKEN>",
20
- oauth_version="1.0"
21
- Content-Type:
22
- - application/x-www-form-urlencoded
23
- response:
24
- status:
25
- code: 200
26
- message: OK
27
- headers:
28
- Date:
29
- - Mon, 14 Apr 2014 12:40:06 GMT
30
- P3p:
31
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
32
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
33
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
34
- Cache-Control:
35
- - private
36
- X-Served-By:
37
- - www117.flickr.bf1.yahoo.com
38
- Vary:
39
- - Accept-Encoding
40
- Content-Length:
41
- - '1154'
42
- Content-Type:
43
- - application/json
44
- Age:
45
- - '3'
46
- Via:
47
- - http/1.1 fts109.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
48
- http/1.1 r21.ycpi.dee.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
49
- Server:
50
- - ATS
51
- Connection:
52
- - keep-alive
53
- body:
54
- encoding: UTF-8
55
- string: '{"photo":{"id":"8317914535", "secret":"c7393787f3", "server":"8217",
56
- "farm":9, "dateuploaded":"1356715395", "isfavorite":0, "license":"0", "safety_level":"0",
57
- "rotation":0, "originalsecret":"2e841b1a95", "originalformat":"jpg", "owner":{"nsid":"8558751@N06",
58
- "username":"ktnl", "realname":"Kevin Tuhumury", "location":"", "iconserver":"213",
59
- "iconfarm":1, "path_alias":"kevintuhumury"}, "title":{"_content":"Mus\u00e9e
60
- du Louvre"}, "description":{"_content":"These shots were taken in Paris, France
61
- in December 2012. Most of them are taken with my Nikon D80 and Nikkor 50mm
62
- f\/1.8 or Tokina 12-24mm f\/4."}, "visibility":{"ispublic":1, "isfriend":0,
63
- "isfamily":0}, "dates":{"posted":"1356715395", "taken":"2012-12-02 16:03:55",
64
- "takengranularity":"0", "lastupdate":"1356715869"}, "permissions":{"permcomment":3,
65
- "permaddmeta":2}, "views":"291", "editability":{"cancomment":1, "canaddmeta":1},
66
- "publiceditability":{"cancomment":1, "canaddmeta":0}, "usage":{"candownload":1,
67
- "canblog":1, "canprint":1, "canshare":1}, "comments":{"_content":"0"}, "notes":{"note":[]},
68
- "people":{"haspeople":0}, "tags":{"tag":[{"id":"8513429-8317914535-484", "author":"8558751@N06",
69
- "authorname":"ktnl", "raw":"Paris", "_content":"paris", "machine_tag":0},
70
- {"id":"8513429-8317914535-487", "author":"8558751@N06", "authorname":"ktnl",
71
- "raw":"France", "_content":"france", "machine_tag":0}, {"id":"8513429-8317914535-9178",
72
- "author":"8558751@N06", "authorname":"ktnl", "raw":"Eiffel", "_content":"eiffel",
73
- "machine_tag":0}, {"id":"8513429-8317914535-6973", "author":"8558751@N06",
74
- "authorname":"ktnl", "raw":"Eiffel tower", "_content":"eiffeltower", "machine_tag":0},
75
- {"id":"8513429-8317914535-5080", "author":"8558751@N06", "authorname":"ktnl",
76
- "raw":"Louvre", "_content":"louvre", "machine_tag":0}, {"id":"8513429-8317914535-44616",
77
- "author":"8558751@N06", "authorname":"ktnl", "raw":"Arc de Triomphe", "_content":"arcdetriomphe",
78
- "machine_tag":0}, {"id":"8513429-8317914535-11119", "author":"8558751@N06",
79
- "authorname":"ktnl", "raw":"Notre Dame", "_content":"notredame", "machine_tag":0},
80
- {"id":"8513429-8317914535-1128", "author":"8558751@N06", "authorname":"ktnl",
81
- "raw":"Seine", "_content":"seine", "machine_tag":0}, {"id":"8513429-8317914535-315853",
82
- "author":"8558751@N06", "authorname":"ktnl", "raw":"Champs-\u00c9lys\u00e9es",
83
- "_content":"champs\u00e9lys\u00e9es", "machine_tag":0}]}, "location":{"latitude":48.861948,
84
- "longitude":2.335174, "accuracy":"15", "context":"0", "neighbourhood":{"_content":"Saint-Germain-L''auxerrois",
85
- "place_id":"36CFHdZUV7KNOKK4LQ", "woeid":"55843752"}, "locality":{"_content":"Paris",
86
- "place_id":"EsIQUYZXU79_kEA", "woeid":"615702"}, "county":{"_content":"Paris",
87
- "place_id":".tpTHPFQUL.gM81.cQ", "woeid":"12597155"}, "region":{"_content":"Ile-de-France",
88
- "place_id":"QLdv_.RWU7_jEfrE", "woeid":"7153319"}, "country":{"_content":"France",
89
- "place_id":"lbWye9tTUb6GOcp80w", "woeid":"23424819"}, "place_id":"36CFHdZUV7KNOKK4LQ",
90
- "woeid":"55843752"}, "geoperms":{"ispublic":1, "iscontact":0, "isfriend":0,
91
- "isfamily":0}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/kevintuhumury\/8317914535\/"}]},
92
- "media":"photo"}, "stat":"ok"}'
93
- http_version:
94
- recorded_at: Mon, 14 Apr 2014 12:40:07 GMT
95
- - request:
96
- method: post
97
- uri: https://api.flickr.com/services/rest/
98
- body:
99
- encoding: US-ASCII
100
- string: method=flickr.reflection.getMethods&format=json&nojsoncallback=1
101
- headers:
102
- Accept-Encoding:
103
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
104
- Accept:
105
- - '*/*'
106
- User-Agent:
107
- - FlickRaw/0.9.8
108
- Authorization:
109
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
110
- oauth_nonce="nPwFpp8KdIQwWkT%2Bqt6Yn2M%2Fg8vmOmmqEpvvGaVL%2FbU%3D", oauth_signature="<KUVA_SHARED_SECRET>%26",
111
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1397484495", oauth_token="",
112
- oauth_version="1.0"
113
- Content-Type:
114
- - application/x-www-form-urlencoded
115
- response:
116
- status:
117
- code: 200
118
- message: OK
119
- headers:
120
- Date:
121
- - Mon, 14 Apr 2014 14:08:15 GMT
122
- P3p:
123
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
124
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
125
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
126
- Cache-Control:
127
- - private
128
- X-Served-By:
129
- - www270.flickr.bf1.yahoo.com
130
- Vary:
131
- - Accept-Encoding
132
- Content-Length:
133
- - '1432'
134
- Content-Type:
135
- - application/json
136
- Age:
137
- - '0'
138
- Via:
139
- - http/1.1 fts119.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
140
- http/1.1 r21.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
141
- Server:
142
- - ATS
143
- Connection:
144
- - keep-alive
145
- body:
146
- encoding: UTF-8
147
- string: '{"methods":{"method":[{"_content":"flickr.activity.userComments"},
148
- {"_content":"flickr.activity.userPhotos"}, {"_content":"flickr.auth.checkToken"},
149
- {"_content":"flickr.auth.getFrob"}, {"_content":"flickr.auth.getFullToken"},
150
- {"_content":"flickr.auth.getToken"}, {"_content":"flickr.auth.oauth.checkToken"},
151
- {"_content":"flickr.auth.oauth.getAccessToken"}, {"_content":"flickr.blogs.getList"},
152
- {"_content":"flickr.blogs.getServices"}, {"_content":"flickr.blogs.postPhoto"},
153
- {"_content":"flickr.cameras.getBrandModels"}, {"_content":"flickr.cameras.getBrands"},
154
- {"_content":"flickr.collections.getInfo"}, {"_content":"flickr.collections.getTree"},
155
- {"_content":"flickr.commons.getInstitutions"}, {"_content":"flickr.contacts.getList"},
156
- {"_content":"flickr.contacts.getListRecentlyUploaded"}, {"_content":"flickr.contacts.getPublicList"},
157
- {"_content":"flickr.contacts.getTaggingSuggestions"}, {"_content":"flickr.favorites.add"},
158
- {"_content":"flickr.favorites.getContext"}, {"_content":"flickr.favorites.getList"},
159
- {"_content":"flickr.favorites.getPublicList"}, {"_content":"flickr.favorites.remove"},
160
- {"_content":"flickr.galleries.addPhoto"}, {"_content":"flickr.galleries.create"},
161
- {"_content":"flickr.galleries.editMeta"}, {"_content":"flickr.galleries.editPhoto"},
162
- {"_content":"flickr.galleries.editPhotos"}, {"_content":"flickr.galleries.getInfo"},
163
- {"_content":"flickr.galleries.getList"}, {"_content":"flickr.galleries.getListForPhoto"},
164
- {"_content":"flickr.galleries.getPhotos"}, {"_content":"flickr.groups.browse"},
165
- {"_content":"flickr.groups.discuss.replies.add"}, {"_content":"flickr.groups.discuss.replies.delete"},
166
- {"_content":"flickr.groups.discuss.replies.edit"}, {"_content":"flickr.groups.discuss.replies.getInfo"},
167
- {"_content":"flickr.groups.discuss.replies.getList"}, {"_content":"flickr.groups.discuss.topics.add"},
168
- {"_content":"flickr.groups.discuss.topics.getInfo"}, {"_content":"flickr.groups.discuss.topics.getList"},
169
- {"_content":"flickr.groups.getInfo"}, {"_content":"flickr.groups.join"}, {"_content":"flickr.groups.joinRequest"},
170
- {"_content":"flickr.groups.leave"}, {"_content":"flickr.groups.members.getList"},
171
- {"_content":"flickr.groups.pools.add"}, {"_content":"flickr.groups.pools.getContext"},
172
- {"_content":"flickr.groups.pools.getGroups"}, {"_content":"flickr.groups.pools.getPhotos"},
173
- {"_content":"flickr.groups.pools.remove"}, {"_content":"flickr.groups.search"},
174
- {"_content":"flickr.interestingness.getList"}, {"_content":"flickr.machinetags.getNamespaces"},
175
- {"_content":"flickr.machinetags.getPairs"}, {"_content":"flickr.machinetags.getPredicates"},
176
- {"_content":"flickr.machinetags.getRecentValues"}, {"_content":"flickr.machinetags.getValues"},
177
- {"_content":"flickr.panda.getList"}, {"_content":"flickr.panda.getPhotos"},
178
- {"_content":"flickr.people.findByEmail"}, {"_content":"flickr.people.findByUsername"},
179
- {"_content":"flickr.people.getGroups"}, {"_content":"flickr.people.getInfo"},
180
- {"_content":"flickr.people.getLimits"}, {"_content":"flickr.people.getPhotos"},
181
- {"_content":"flickr.people.getPhotosOf"}, {"_content":"flickr.people.getPublicGroups"},
182
- {"_content":"flickr.people.getPublicPhotos"}, {"_content":"flickr.people.getUploadStatus"},
183
- {"_content":"flickr.photos.addTags"}, {"_content":"flickr.photos.comments.addComment"},
184
- {"_content":"flickr.photos.comments.deleteComment"}, {"_content":"flickr.photos.comments.editComment"},
185
- {"_content":"flickr.photos.comments.getList"}, {"_content":"flickr.photos.comments.getRecentForContacts"},
186
- {"_content":"flickr.photos.delete"}, {"_content":"flickr.photos.geo.batchCorrectLocation"},
187
- {"_content":"flickr.photos.geo.correctLocation"}, {"_content":"flickr.photos.geo.getLocation"},
188
- {"_content":"flickr.photos.geo.getPerms"}, {"_content":"flickr.photos.geo.photosForLocation"},
189
- {"_content":"flickr.photos.geo.removeLocation"}, {"_content":"flickr.photos.geo.setContext"},
190
- {"_content":"flickr.photos.geo.setLocation"}, {"_content":"flickr.photos.geo.setPerms"},
191
- {"_content":"flickr.photos.getAllContexts"}, {"_content":"flickr.photos.getContactsPhotos"},
192
- {"_content":"flickr.photos.getContactsPublicPhotos"}, {"_content":"flickr.photos.getContext"},
193
- {"_content":"flickr.photos.getCounts"}, {"_content":"flickr.photos.getExif"},
194
- {"_content":"flickr.photos.getFavorites"}, {"_content":"flickr.photos.getInfo"},
195
- {"_content":"flickr.photos.getNotInSet"}, {"_content":"flickr.photos.getPerms"},
196
- {"_content":"flickr.photos.getRecent"}, {"_content":"flickr.photos.getSizes"},
197
- {"_content":"flickr.photos.getUntagged"}, {"_content":"flickr.photos.getWithGeoData"},
198
- {"_content":"flickr.photos.getWithoutGeoData"}, {"_content":"flickr.photos.licenses.getInfo"},
199
- {"_content":"flickr.photos.licenses.setLicense"}, {"_content":"flickr.photos.notes.add"},
200
- {"_content":"flickr.photos.notes.delete"}, {"_content":"flickr.photos.notes.edit"},
201
- {"_content":"flickr.photos.people.add"}, {"_content":"flickr.photos.people.delete"},
202
- {"_content":"flickr.photos.people.deleteCoords"}, {"_content":"flickr.photos.people.editCoords"},
203
- {"_content":"flickr.photos.people.getList"}, {"_content":"flickr.photos.recentlyUpdated"},
204
- {"_content":"flickr.photos.removeTag"}, {"_content":"flickr.photos.search"},
205
- {"_content":"flickr.photos.setContentType"}, {"_content":"flickr.photos.setDates"},
206
- {"_content":"flickr.photos.setMeta"}, {"_content":"flickr.photos.setPerms"},
207
- {"_content":"flickr.photos.setSafetyLevel"}, {"_content":"flickr.photos.setTags"},
208
- {"_content":"flickr.photos.suggestions.approveSuggestion"}, {"_content":"flickr.photos.suggestions.getList"},
209
- {"_content":"flickr.photos.suggestions.rejectSuggestion"}, {"_content":"flickr.photos.suggestions.removeSuggestion"},
210
- {"_content":"flickr.photos.suggestions.suggestLocation"}, {"_content":"flickr.photos.transform.rotate"},
211
- {"_content":"flickr.photos.upload.checkTickets"}, {"_content":"flickr.photosets.addPhoto"},
212
- {"_content":"flickr.photosets.comments.addComment"}, {"_content":"flickr.photosets.comments.deleteComment"},
213
- {"_content":"flickr.photosets.comments.editComment"}, {"_content":"flickr.photosets.comments.getList"},
214
- {"_content":"flickr.photosets.create"}, {"_content":"flickr.photosets.delete"},
215
- {"_content":"flickr.photosets.editMeta"}, {"_content":"flickr.photosets.editPhotos"},
216
- {"_content":"flickr.photosets.getContext"}, {"_content":"flickr.photosets.getInfo"},
217
- {"_content":"flickr.photosets.getList"}, {"_content":"flickr.photosets.getPhotos"},
218
- {"_content":"flickr.photosets.orderSets"}, {"_content":"flickr.photosets.removePhoto"},
219
- {"_content":"flickr.photosets.removePhotos"}, {"_content":"flickr.photosets.reorderPhotos"},
220
- {"_content":"flickr.photosets.setPrimaryPhoto"}, {"_content":"flickr.places.find"},
221
- {"_content":"flickr.places.findByLatLon"}, {"_content":"flickr.places.getChildrenWithPhotosPublic"},
222
- {"_content":"flickr.places.getInfo"}, {"_content":"flickr.places.getInfoByUrl"},
223
- {"_content":"flickr.places.getPlaceTypes"}, {"_content":"flickr.places.getShapeHistory"},
224
- {"_content":"flickr.places.getTopPlacesList"}, {"_content":"flickr.places.placesForBoundingBox"},
225
- {"_content":"flickr.places.placesForContacts"}, {"_content":"flickr.places.placesForTags"},
226
- {"_content":"flickr.places.placesForUser"}, {"_content":"flickr.places.resolvePlaceId"},
227
- {"_content":"flickr.places.resolvePlaceURL"}, {"_content":"flickr.places.tagsForPlace"},
228
- {"_content":"flickr.prefs.getContentType"}, {"_content":"flickr.prefs.getGeoPerms"},
229
- {"_content":"flickr.prefs.getHidden"}, {"_content":"flickr.prefs.getPrivacy"},
230
- {"_content":"flickr.prefs.getSafetyLevel"}, {"_content":"flickr.push.getSubscriptions"},
231
- {"_content":"flickr.push.getTopics"}, {"_content":"flickr.push.subscribe"},
232
- {"_content":"flickr.push.unsubscribe"}, {"_content":"flickr.reflection.getMethodInfo"},
233
- {"_content":"flickr.reflection.getMethods"}, {"_content":"flickr.stats.getCollectionDomains"},
234
- {"_content":"flickr.stats.getCollectionReferrers"}, {"_content":"flickr.stats.getCollectionStats"},
235
- {"_content":"flickr.stats.getCSVFiles"}, {"_content":"flickr.stats.getPhotoDomains"},
236
- {"_content":"flickr.stats.getPhotoReferrers"}, {"_content":"flickr.stats.getPhotosetDomains"},
237
- {"_content":"flickr.stats.getPhotosetReferrers"}, {"_content":"flickr.stats.getPhotosetStats"},
238
- {"_content":"flickr.stats.getPhotoStats"}, {"_content":"flickr.stats.getPhotostreamDomains"},
239
- {"_content":"flickr.stats.getPhotostreamReferrers"}, {"_content":"flickr.stats.getPhotostreamStats"},
240
- {"_content":"flickr.stats.getPopularPhotos"}, {"_content":"flickr.stats.getTotalViews"},
241
- {"_content":"flickr.tags.getClusterPhotos"}, {"_content":"flickr.tags.getClusters"},
242
- {"_content":"flickr.tags.getHotList"}, {"_content":"flickr.tags.getListPhoto"},
243
- {"_content":"flickr.tags.getListUser"}, {"_content":"flickr.tags.getListUserPopular"},
244
- {"_content":"flickr.tags.getListUserRaw"}, {"_content":"flickr.tags.getMostFrequentlyUsed"},
245
- {"_content":"flickr.tags.getRelated"}, {"_content":"flickr.test.echo"}, {"_content":"flickr.test.login"},
246
- {"_content":"flickr.test.null"}, {"_content":"flickr.urls.getGroup"}, {"_content":"flickr.urls.getUserPhotos"},
247
- {"_content":"flickr.urls.getUserProfile"}, {"_content":"flickr.urls.lookupGallery"},
248
- {"_content":"flickr.urls.lookupGroup"}, {"_content":"flickr.urls.lookupUser"}]},
249
- "stat":"ok"}'
250
- http_version:
251
- recorded_at: Mon, 14 Apr 2014 14:08:15 GMT
252
- - request:
253
- method: post
254
- uri: https://api.flickr.com/services/rest/
255
- body:
256
- encoding: US-ASCII
257
- string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
258
- headers:
259
- Accept-Encoding:
260
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
261
- Accept:
262
- - '*/*'
263
- User-Agent:
264
- - FlickRaw/0.9.8
265
- Authorization:
266
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
267
- oauth_nonce="4CSdq8%2BfdeMkiztujXQuSJzhe2J1VLAXYxCfcs%2FBq%2BU%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
268
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1397484495", oauth_token="<KUVA_ACCESS_TOKEN>",
269
- oauth_version="1.0"
270
- Content-Type:
271
- - application/x-www-form-urlencoded
272
- response:
273
- status:
274
- code: 200
275
- message: OK
276
- headers:
277
- Date:
278
- - Mon, 14 Apr 2014 14:08:15 GMT
279
- P3p:
280
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
281
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
282
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
283
- Cache-Control:
284
- - private
285
- X-Served-By:
286
- - www178.flickr.bf1.yahoo.com
287
- Vary:
288
- - Accept-Encoding
289
- Content-Length:
290
- - '364'
291
- Content-Type:
292
- - application/json
293
- Age:
294
- - '3'
295
- Via:
296
- - http/1.1 fts118.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
297
- http/1.1 r21.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
298
- Server:
299
- - ATS
300
- Connection:
301
- - keep-alive
302
- body:
303
- encoding: UTF-8
304
- string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
305
- "primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
306
- "photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
307
- "count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
308
- shots were taken in Paris, France in December 2012. Most of them are taken
309
- with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
310
- "date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
311
- "coverphoto_farm":0}, "stat":"ok"}'
312
- http_version:
313
- recorded_at: Mon, 14 Apr 2014 14:08:16 GMT
314
- recorded_with: VCR 2.9.0
@@ -1,157 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.flickr.com/services/rest/
6
- body:
7
- encoding: US-ASCII
8
- string: photo_id=8317914535&method=flickr.photos.getInfo&format=json&nojsoncallback=1
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - '*/*'
14
- User-Agent:
15
- - FlickRaw/0.9.8
16
- Authorization:
17
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
18
- oauth_nonce="TumgJJVgVQuPNDH59ysrZyt9fYpp36QE1eRVtIDQEK0%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
19
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1397479207", oauth_token="<KUVA_ACCESS_TOKEN>",
20
- oauth_version="1.0"
21
- Content-Type:
22
- - application/x-www-form-urlencoded
23
- response:
24
- status:
25
- code: 200
26
- message: OK
27
- headers:
28
- Date:
29
- - Mon, 14 Apr 2014 12:40:07 GMT
30
- P3p:
31
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
32
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
33
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
34
- Cache-Control:
35
- - private
36
- X-Served-By:
37
- - www64.flickr.bf1.yahoo.com
38
- Vary:
39
- - Accept-Encoding
40
- Content-Length:
41
- - '1154'
42
- Content-Type:
43
- - application/json
44
- Age:
45
- - '0'
46
- Via:
47
- - http/1.1 fts120.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
48
- http/1.1 r21.ycpi.dee.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
49
- Server:
50
- - ATS
51
- Connection:
52
- - keep-alive
53
- body:
54
- encoding: UTF-8
55
- string: '{"photo":{"id":"8317914535", "secret":"c7393787f3", "server":"8217",
56
- "farm":9, "dateuploaded":"1356715395", "isfavorite":0, "license":"0", "safety_level":"0",
57
- "rotation":0, "originalsecret":"2e841b1a95", "originalformat":"jpg", "owner":{"nsid":"8558751@N06",
58
- "username":"ktnl", "realname":"Kevin Tuhumury", "location":"", "iconserver":"213",
59
- "iconfarm":1, "path_alias":"kevintuhumury"}, "title":{"_content":"Mus\u00e9e
60
- du Louvre"}, "description":{"_content":"These shots were taken in Paris, France
61
- in December 2012. Most of them are taken with my Nikon D80 and Nikkor 50mm
62
- f\/1.8 or Tokina 12-24mm f\/4."}, "visibility":{"ispublic":1, "isfriend":0,
63
- "isfamily":0}, "dates":{"posted":"1356715395", "taken":"2012-12-02 16:03:55",
64
- "takengranularity":"0", "lastupdate":"1356715869"}, "permissions":{"permcomment":3,
65
- "permaddmeta":2}, "views":"291", "editability":{"cancomment":1, "canaddmeta":1},
66
- "publiceditability":{"cancomment":1, "canaddmeta":0}, "usage":{"candownload":1,
67
- "canblog":1, "canprint":1, "canshare":1}, "comments":{"_content":"0"}, "notes":{"note":[]},
68
- "people":{"haspeople":0}, "tags":{"tag":[{"id":"8513429-8317914535-484", "author":"8558751@N06",
69
- "authorname":"ktnl", "raw":"Paris", "_content":"paris", "machine_tag":0},
70
- {"id":"8513429-8317914535-487", "author":"8558751@N06", "authorname":"ktnl",
71
- "raw":"France", "_content":"france", "machine_tag":0}, {"id":"8513429-8317914535-9178",
72
- "author":"8558751@N06", "authorname":"ktnl", "raw":"Eiffel", "_content":"eiffel",
73
- "machine_tag":0}, {"id":"8513429-8317914535-6973", "author":"8558751@N06",
74
- "authorname":"ktnl", "raw":"Eiffel tower", "_content":"eiffeltower", "machine_tag":0},
75
- {"id":"8513429-8317914535-5080", "author":"8558751@N06", "authorname":"ktnl",
76
- "raw":"Louvre", "_content":"louvre", "machine_tag":0}, {"id":"8513429-8317914535-44616",
77
- "author":"8558751@N06", "authorname":"ktnl", "raw":"Arc de Triomphe", "_content":"arcdetriomphe",
78
- "machine_tag":0}, {"id":"8513429-8317914535-11119", "author":"8558751@N06",
79
- "authorname":"ktnl", "raw":"Notre Dame", "_content":"notredame", "machine_tag":0},
80
- {"id":"8513429-8317914535-1128", "author":"8558751@N06", "authorname":"ktnl",
81
- "raw":"Seine", "_content":"seine", "machine_tag":0}, {"id":"8513429-8317914535-315853",
82
- "author":"8558751@N06", "authorname":"ktnl", "raw":"Champs-\u00c9lys\u00e9es",
83
- "_content":"champs\u00e9lys\u00e9es", "machine_tag":0}]}, "location":{"latitude":48.861948,
84
- "longitude":2.335174, "accuracy":"15", "context":"0", "neighbourhood":{"_content":"Saint-Germain-L''auxerrois",
85
- "place_id":"36CFHdZUV7KNOKK4LQ", "woeid":"55843752"}, "locality":{"_content":"Paris",
86
- "place_id":"EsIQUYZXU79_kEA", "woeid":"615702"}, "county":{"_content":"Paris",
87
- "place_id":".tpTHPFQUL.gM81.cQ", "woeid":"12597155"}, "region":{"_content":"Ile-de-France",
88
- "place_id":"QLdv_.RWU7_jEfrE", "woeid":"7153319"}, "country":{"_content":"France",
89
- "place_id":"lbWye9tTUb6GOcp80w", "woeid":"23424819"}, "place_id":"36CFHdZUV7KNOKK4LQ",
90
- "woeid":"55843752"}, "geoperms":{"ispublic":1, "iscontact":0, "isfriend":0,
91
- "isfamily":0}, "urls":{"url":[{"type":"photopage", "_content":"https:\/\/www.flickr.com\/photos\/kevintuhumury\/8317914535\/"}]},
92
- "media":"photo"}, "stat":"ok"}'
93
- http_version:
94
- recorded_at: Mon, 14 Apr 2014 12:40:07 GMT
95
- - request:
96
- method: post
97
- uri: https://api.flickr.com/services/rest/
98
- body:
99
- encoding: US-ASCII
100
- string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
101
- headers:
102
- Accept-Encoding:
103
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
104
- Accept:
105
- - '*/*'
106
- User-Agent:
107
- - FlickRaw/0.9.8
108
- Authorization:
109
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
110
- oauth_nonce="HYhNQn2lvVow%2FYLUe1vv7TN27L51sWpOI98fGR7Ls08%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
111
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1397484496", oauth_token="<KUVA_ACCESS_TOKEN>",
112
- oauth_version="1.0"
113
- Content-Type:
114
- - application/x-www-form-urlencoded
115
- response:
116
- status:
117
- code: 200
118
- message: OK
119
- headers:
120
- Date:
121
- - Mon, 14 Apr 2014 14:08:16 GMT
122
- P3p:
123
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
124
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
125
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
126
- Cache-Control:
127
- - private
128
- X-Served-By:
129
- - www93.flickr.bf1.yahoo.com
130
- Vary:
131
- - Accept-Encoding
132
- Content-Length:
133
- - '364'
134
- Content-Type:
135
- - application/json
136
- Age:
137
- - '0'
138
- Via:
139
- - http/1.1 fts111.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
140
- http/1.1 r08.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
141
- Server:
142
- - ATS
143
- Connection:
144
- - keep-alive
145
- body:
146
- encoding: UTF-8
147
- string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
148
- "primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
149
- "photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
150
- "count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
151
- shots were taken in Paris, France in December 2012. Most of them are taken
152
- with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
153
- "date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
154
- "coverphoto_farm":0}, "stat":"ok"}'
155
- http_version:
156
- recorded_at: Mon, 14 Apr 2014 14:08:16 GMT
157
- recorded_with: VCR 2.9.0