flickrie 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/.gitignore +1 -0
  2. data/CHANGELOG.md +22 -0
  3. data/Gemfile +0 -6
  4. data/README.md +15 -1
  5. data/Rakefile +8 -13
  6. data/api_methods.md +1 -1
  7. data/flickrie.gemspec +2 -3
  8. data/lib/flickrie/api_methods.rb +17 -0
  9. data/lib/flickrie/client.rb +21 -5
  10. data/lib/flickrie/instance.rb +7 -2
  11. data/lib/flickrie/license.rb +2 -0
  12. data/lib/flickrie/location.rb +10 -8
  13. data/lib/flickrie/media/exif.rb +3 -1
  14. data/lib/flickrie/media/tag.rb +3 -3
  15. data/lib/flickrie/media/visibility.rb +6 -4
  16. data/lib/flickrie/media.rb +69 -84
  17. data/lib/flickrie/media_count.rb +3 -5
  18. data/lib/flickrie/photo.rb +55 -54
  19. data/lib/flickrie/set.rb +31 -25
  20. data/lib/flickrie/ticket.rb +4 -8
  21. data/lib/flickrie/upload_client.rb +7 -2
  22. data/lib/flickrie/user.rb +33 -34
  23. data/lib/flickrie/version.rb +1 -1
  24. data/lib/flickrie/video.rb +13 -12
  25. data/spec/api_methods_spec.rb +43 -0
  26. data/spec/error_spec.rb +32 -0
  27. data/{test → spec/files}/photo.jpg +0 -0
  28. data/{test → spec/files}/video.mov +0 -0
  29. data/spec/instance_spec.rb +22 -0
  30. data/spec/license_spec.rb +15 -0
  31. data/spec/location_spec.rb +11 -0
  32. data/spec/media_count_spec.rb +18 -0
  33. data/spec/media_spec.rb +271 -0
  34. data/spec/oauth_spec.rb +22 -0
  35. data/spec/photo_spec.rb +137 -0
  36. data/spec/set_spec.rb +68 -0
  37. data/spec/spec_helper.rb +68 -0
  38. data/spec/user_spec.rb +56 -0
  39. data/spec/video_spec.rb +54 -0
  40. metadata +47 -132
  41. data/test/error_test.rb +0 -20
  42. data/test/instance_test.rb +0 -20
  43. data/test/license_test.rb +0 -19
  44. data/test/location_test.rb +0 -29
  45. data/test/media_count_test.rb +0 -25
  46. data/test/media_test.rb +0 -432
  47. data/test/oauth_test.rb +0 -25
  48. data/test/photo_test.rb +0 -212
  49. data/test/set_test.rb +0 -92
  50. data/test/test_helper.rb +0 -14
  51. data/test/user_test.rb +0 -70
  52. data/test/vcr_cassettes/error/code.yml +0 -1165
  53. data/test/vcr_cassettes/instance/calling_api_methods.yml +0 -182
  54. data/test/vcr_cassettes/license/get_licenses.yml +0 -73
  55. data/test/vcr_cassettes/location/square_brackets.yml +0 -85
  56. data/test/vcr_cassettes/media/delete.yml +0 -1380
  57. data/test/vcr_cassettes/media/from_contacts.yml +0 -155
  58. data/test/vcr_cassettes/media/from_set.yml +0 -276
  59. data/test/vcr_cassettes/media/from_user.yml +0 -275
  60. data/test/vcr_cassettes/media/get_context.yml +0 -73
  61. data/test/vcr_cassettes/media/get_info.yml +0 -167
  62. data/test/vcr_cassettes/media/remove_tag.yml +0 -264
  63. data/test/vcr_cassettes/media/replace.yml +0 -2252
  64. data/test/vcr_cassettes/media/search.yml +0 -275
  65. data/test/vcr_cassettes/media/tags.yml +0 -346
  66. data/test/vcr_cassettes/media_count/get.yml +0 -135
  67. data/test/vcr_cassettes/media_count/square_brackets.yml +0 -69
  68. data/test/vcr_cassettes/oauth/tokens.yml +0 -400
  69. data/test/vcr_cassettes/photo/asynchronous_upload.yml +0 -1693
  70. data/test/vcr_cassettes/photo/from_set.yml +0 -273
  71. data/test/vcr_cassettes/photo/from_user.yml +0 -275
  72. data/test/vcr_cassettes/photo/get_exif.yml +0 -239
  73. data/test/vcr_cassettes/photo/get_sizes.yml +0 -147
  74. data/test/vcr_cassettes/photo/other_api_calls.yml +0 -506
  75. data/test/vcr_cassettes/photo/search.yml +0 -271
  76. data/test/vcr_cassettes/photo/square_brackets.yml +0 -85
  77. data/test/vcr_cassettes/photo/upload.yml +0 -1229
  78. data/test/vcr_cassettes/set/from_user.yml +0 -477
  79. data/test/vcr_cassettes/set/get_info.yml +0 -951
  80. data/test/vcr_cassettes/set/square_brackets.yml +0 -73
  81. data/test/vcr_cassettes/user/find_by_email_or_username.yml +0 -135
  82. data/test/vcr_cassettes/user/get_info.yml +0 -151
  83. data/test/vcr_cassettes/user/square_brackets.yml +0 -77
  84. data/test/vcr_cassettes/video/get_exif.yml +0 -135
  85. data/test/vcr_cassettes/video/get_info.yml +0 -86
  86. data/test/vcr_cassettes/video/get_sizes.yml +0 -151
  87. data/test/vcr_cassettes/video/other_api_calls.yml +0 -643
  88. data/test/vcr_cassettes/video/square_brackets.yml +0 -86
  89. data/test/vcr_cassettes/video/upload.yml +0 -308
  90. data/test/video_test.rb +0 -118
@@ -1,643 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.addTags&nojsoncallback=1&photo_id=7093038981&tags=janko
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Authorization:
11
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="25ecec5f56bcf8731de1c406bcf63506",
12
- oauth_signature="kUf6anmj%2FIrI7OahExzCgMoZCTQ%3D", oauth_signature_method="HMAC-SHA1",
13
- oauth_timestamp="1336343115", oauth_token="72157629879773565-6da848f99ba7038a",
14
- oauth_version="1.0"
15
- Content-Length:
16
- - '0'
17
- Accept:
18
- - ! '*/*'
19
- User-Agent:
20
- - Ruby
21
- response:
22
- status:
23
- code: 200
24
- message: OK
25
- headers:
26
- Date:
27
- - Sun, 06 May 2012 22:25:16 GMT
28
- P3p:
29
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
30
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
31
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
32
- Access-Control-Allow-Origin:
33
- - ! '*'
34
- Cache-Control:
35
- - private
36
- X-Served-By:
37
- - www92.flickr.mud.yahoo.com
38
- Vary:
39
- - Accept-Encoding
40
- Content-Length:
41
- - '13'
42
- Connection:
43
- - close
44
- Content-Type:
45
- - application/json
46
- body:
47
- encoding: US-ASCII
48
- string: ! '{"stat":"ok"}'
49
- http_version:
50
- recorded_at: Sun, 06 May 2012 22:25:16 GMT
51
- - request:
52
- method: get
53
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getInfo&nojsoncallback=1&photo_id=7093038981
54
- body:
55
- encoding: US-ASCII
56
- string: ''
57
- headers:
58
- Authorization:
59
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="34667b45fa0f9f7329de5588bc5d2b1b",
60
- oauth_signature="i0njBRjMQdTSnezgMw1YFO4Kg44%3D", oauth_signature_method="HMAC-SHA1",
61
- oauth_timestamp="1336343116", oauth_token="72157629879773565-6da848f99ba7038a",
62
- oauth_version="1.0"
63
- Accept-Encoding:
64
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
- Accept:
66
- - ! '*/*'
67
- User-Agent:
68
- - Ruby
69
- response:
70
- status:
71
- code: 200
72
- message: !binary |-
73
- T0s=
74
- headers:
75
- !binary "RGF0ZQ==":
76
- - !binary |-
77
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxNiBHTVQ=
78
- !binary "UDNw":
79
- - !binary |-
80
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
81
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
82
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
83
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
84
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
85
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
86
- - !binary |-
87
- Kg==
88
- !binary "Q2FjaGUtQ29udHJvbA==":
89
- - !binary |-
90
- cHJpdmF0ZQ==
91
- !binary "WC1TZXJ2ZWQtQnk=":
92
- - !binary |-
93
- d3d3MTEyLmZsaWNrci5tdWQueWFob28uY29t
94
- !binary "VmFyeQ==":
95
- - !binary |-
96
- QWNjZXB0LUVuY29kaW5n
97
- !binary "Q29udGVudC1FbmNvZGluZw==":
98
- - !binary |-
99
- Z3ppcA==
100
- !binary "Q29udGVudC1MZW5ndGg=":
101
- - !binary |-
102
- ODc3
103
- !binary "Q29ubmVjdGlvbg==":
104
- - !binary |-
105
- Y2xvc2U=
106
- !binary "Q29udGVudC1UeXBl":
107
- - !binary |-
108
- YXBwbGljYXRpb24vanNvbg==
109
- body:
110
- encoding: ASCII-8BIT
111
- string: !binary |-
112
- H4sIAAAAAAAAA5VVbW/bNhD+KwY/Nzapd+lTsRRb02IDOiQZkLoIaImWGEsk
113
- QVLxjCD/fUdStpU0K9pP0h2Pzz18eHd8QqqTVqLqCfEGVSjHZYzjoiwIerdA
114
- htWaWXCXNCPZptxmLLj1I9PgTpM0d44t1QOqMvhrqGWj6iVtmIMjcZwUcRSV
115
- qQvjZksfpeaWoQqD3fOaCQMGwh6Wbpk93PfskfVHn5aWWi5F2CD3wuV9QsJ4
116
- tllOYhKn0fu/cOKiR2Am6OAQP1Gxk4s/qZad4OsRE+yZakb7H0f0sp4yojva
117
- arZ5t7jUElzUH6GWYnb8LDk6JwmewbTc9syxvAe/ZcIJmC4GZplebGi92/Zc
118
- IRfYMFNrrkK2F+EfZisu8pEbvuE9twd/U0aNGxAPVSSoqjkTTZDIaTzwHuLw
119
- 83Qfxu1R0tg3rsTSHXNHjTCJLnByQcoFjqskqdLzcqupGHuqffZwLT01dlQO
120
- PCBmcRITknmuiumBGwPUQ2IwazkM/mDxtE6bBvSgqIrC6djeHKFZwy09n7Wm
121
- 4rTbnRbs02bi03kpfmGX12U0tGVTZANl5Sr2FLrpZXsylOYzFNNRzSaMKYN5
122
- dXfEqyDkJLz7QdXXb0EaqUJpdNQcDY9laeuj4QvBUzNm0I1lROKLc1depGXh
123
- y5SOtpP6jR7QdA/ea8ABY0bLBs9A644Ldu8TudQ/yBWleZIWP5HtwbXSq3wn
124
- 36uMXohzkz1BLUHDjA0okaTLApdpnPsI0U5uki7LHMdJ4ojU9ahp7QqR+BHl
125
- E/5rT4UJwMcimJEJnewCVE9rdu+PjPFDcnXo725zU//Dd251L5lfKlJCogKF
126
- Wx7Fz+HFOGs+6u7LbS6zh2F5d/NlDklSHEWgqAfVrP2+6f/QtFm8ifzJkA83
127
- S3V9o9Vvl1efu9v9HDnCOMckx2e6+jXf2QSbwf4+ir8vr9Lrm01GMyOvDy9h
128
- 4yRKiiQOTf2rsrVQ3dDo5q155XjR2p4G1v+Pr1H3HgG+vi3sQbmJ498s5Tr4
129
- Zc111qpqvVqv9vv9EsZsvdNL6NL1ym8w69W8fNerc6mvVygU5gCDBGYEjKSG
130
- +eoNP0ABXo7mEE6wpbxnE2EF1Llog9FAbU5vBwxDJwxvbOdKI42c2THedo5o
131
- VIBKLp+B5w1suUPP/wFYk6WdiwcAAA==
132
- http_version:
133
- recorded_at: Sun, 06 May 2012 22:25:16 GMT
134
- - request:
135
- method: post
136
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.removeTag&nojsoncallback=1&tag_id=67099213-7093038981-257458
137
- body:
138
- encoding: US-ASCII
139
- string: ''
140
- headers:
141
- Authorization:
142
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="14a9340ff8d4cd4583e9d21863b6fe47",
143
- oauth_signature="DZ204fxYrHoCyVFr4ZSUONvfz%2BM%3D", oauth_signature_method="HMAC-SHA1",
144
- oauth_timestamp="1336343116", oauth_token="72157629879773565-6da848f99ba7038a",
145
- oauth_version="1.0"
146
- Content-Length:
147
- - '0'
148
- Accept:
149
- - ! '*/*'
150
- User-Agent:
151
- - Ruby
152
- response:
153
- status:
154
- code: 200
155
- message: OK
156
- headers:
157
- Date:
158
- - Sun, 06 May 2012 22:25:17 GMT
159
- P3p:
160
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
161
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
162
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
163
- Access-Control-Allow-Origin:
164
- - ! '*'
165
- Cache-Control:
166
- - private
167
- X-Served-By:
168
- - www140.flickr.mud.yahoo.com
169
- Vary:
170
- - Accept-Encoding
171
- Content-Length:
172
- - '13'
173
- Connection:
174
- - close
175
- Content-Type:
176
- - application/json
177
- body:
178
- encoding: US-ASCII
179
- string: ! '{"stat":"ok"}'
180
- http_version:
181
- recorded_at: Sun, 06 May 2012 22:25:17 GMT
182
- - request:
183
- method: get
184
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&include_self=1&method=flickr.photos.getContactsPhotos&nojsoncallback=1
185
- body:
186
- encoding: US-ASCII
187
- string: ''
188
- headers:
189
- Authorization:
190
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="5e96168d9bca091f74c1710c53cc1ee6",
191
- oauth_signature="qEBBvaLruVmMEtVCJoTTPOlkGWc%3D", oauth_signature_method="HMAC-SHA1",
192
- oauth_timestamp="1336343117", oauth_token="72157629879773565-6da848f99ba7038a",
193
- oauth_version="1.0"
194
- Accept-Encoding:
195
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
196
- Accept:
197
- - ! '*/*'
198
- User-Agent:
199
- - Ruby
200
- response:
201
- status:
202
- code: 200
203
- message: !binary |-
204
- T0s=
205
- headers:
206
- !binary "RGF0ZQ==":
207
- - !binary |-
208
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxNyBHTVQ=
209
- !binary "UDNw":
210
- - !binary |-
211
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
212
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
213
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
214
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
215
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
216
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
217
- - !binary |-
218
- Kg==
219
- !binary "Q2FjaGUtQ29udHJvbA==":
220
- - !binary |-
221
- cHJpdmF0ZQ==
222
- !binary "WC1TZXJ2ZWQtQnk=":
223
- - !binary |-
224
- d3d3NTIuZmxpY2tyLm11ZC55YWhvby5jb20=
225
- !binary "VmFyeQ==":
226
- - !binary |-
227
- QWNjZXB0LUVuY29kaW5n
228
- !binary "Q29udGVudC1FbmNvZGluZw==":
229
- - !binary |-
230
- Z3ppcA==
231
- !binary "Q29udGVudC1MZW5ndGg=":
232
- - !binary |-
233
- MzIy
234
- !binary "Q29ubmVjdGlvbg==":
235
- - !binary |-
236
- Y2xvc2U=
237
- !binary "Q29udGVudC1UeXBl":
238
- - !binary |-
239
- YXBwbGljYXRpb24vanNvbg==
240
- body:
241
- encoding: ASCII-8BIT
242
- string: !binary |-
243
- H4sIAAAAAAAAA73SyW6DMBAA0F+JfM5hxoM3Tr1FrZT+QFtFDjGNFTYZaBVF
244
- +fcaSFWRc8ltdniCC2uOdVe3LL1MEUvfLswfWMoUGEJAAcjWK9a6LLgulg2R
245
- yrnWAFM5fLkwTY+F3IaSpTpG9Xc1dqRCQhL86RWSYaKPO5UtXWy92OpUr7Y2
246
- 1MfKv/eAoIaJznfF0H7ebnZgcKz5tun3hc9YimOWB++q+JowZbb0xXnKSnfw
247
- Nm5PnN/Cru1s10cnC84ezuy6Xs2coAzNnCR0vlf7TGT3TlzIKR/iRJw7nZQo
248
- OBmwM6cgTn9O+Z9OsaxTmkQB10bzmTPXkhQlZO//W6kX+p7JQ5wEeubk6Jx0
249
- uTNi7kS+lJMWcX4MD6o7W7BUxLCxn2663biwu2Vwa8Q1vA7aeCNeqE/s+gNL
250
- Pmzw2QQAAA==
251
- http_version:
252
- recorded_at: Sun, 06 May 2012 22:25:17 GMT
253
- - request:
254
- method: get
255
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&include_self=1&method=flickr.photos.getContactsPublicPhotos&nojsoncallback=1&user_id=67131352@N04
256
- body:
257
- encoding: US-ASCII
258
- string: ''
259
- headers:
260
- Authorization:
261
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="4d12fd83d519d3139fbda298fe784d9a",
262
- oauth_signature="ccM8bMmxUNL3fWSLYPP%2BS99VxjM%3D", oauth_signature_method="HMAC-SHA1",
263
- oauth_timestamp="1336343117", oauth_token="72157629879773565-6da848f99ba7038a",
264
- oauth_version="1.0"
265
- Accept-Encoding:
266
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
267
- Accept:
268
- - ! '*/*'
269
- User-Agent:
270
- - Ruby
271
- response:
272
- status:
273
- code: 200
274
- message: !binary |-
275
- T0s=
276
- headers:
277
- !binary "RGF0ZQ==":
278
- - !binary |-
279
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxOCBHTVQ=
280
- !binary "UDNw":
281
- - !binary |-
282
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
283
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
284
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
285
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
286
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
287
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
288
- - !binary |-
289
- Kg==
290
- !binary "Q2FjaGUtQ29udHJvbA==":
291
- - !binary |-
292
- cHJpdmF0ZQ==
293
- !binary "WC1TZXJ2ZWQtQnk=":
294
- - !binary |-
295
- d3d3MTI1LmZsaWNrci5tdWQueWFob28uY29t
296
- !binary "VmFyeQ==":
297
- - !binary |-
298
- QWNjZXB0LUVuY29kaW5n
299
- !binary "Q29udGVudC1FbmNvZGluZw==":
300
- - !binary |-
301
- Z3ppcA==
302
- !binary "Q29udGVudC1MZW5ndGg=":
303
- - !binary |-
304
- MzIy
305
- !binary "Q29ubmVjdGlvbg==":
306
- - !binary |-
307
- Y2xvc2U=
308
- !binary "Q29udGVudC1UeXBl":
309
- - !binary |-
310
- YXBwbGljYXRpb24vanNvbg==
311
- body:
312
- encoding: ASCII-8BIT
313
- string: !binary |-
314
- H4sIAAAAAAAAA73SyW6DMBAA0F+JfM5hxoM3Tr1FrZT+QFtFDjGNFTYZaBVF
315
- +fcaSFWRc8ltdniCC2uOdVe3LL1MEUvfLswfWMoUGEJAAcjWK9a6LLgulg2R
316
- yrnWAFM5fLkwTY+F3IaSpTpG9Xc1dqRCQhL86RWSYaKPO5UtXWy92OpUr7Y2
317
- 1MfKv/eAoIaJznfF0H7ebnZgcKz5tun3hc9YimOWB++q+JowZbb0xXnKSnfw
318
- Nm5PnN/Cru1s10cnC84ezuy6Xs2coAzNnCR0vlf7TGT3TlzIKR/iRJw7nZQo
319
- OBmwM6cgTn9O+Z9OsaxTmkQB10bzmTPXkhQlZO//W6kX+p7JQ5wEeubk6Jx0
320
- uTNi7kS+lJMWcX4MD6o7W7BUxLCxn2663biwu2Vwa8Q1vA7aeCNeqE/s+gNL
321
- Pmzw2QQAAA==
322
- http_version:
323
- recorded_at: Sun, 06 May 2012 22:25:18 GMT
324
- - request:
325
- method: get
326
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&method=flickr.people.getPublicPhotos&nojsoncallback=1&user_id=67131352@N04
327
- body:
328
- encoding: US-ASCII
329
- string: ''
330
- headers:
331
- Authorization:
332
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="9e57d7f67627a5fb65e124c929fbbc0c",
333
- oauth_signature="0LEBWDH12katNFMYuzlKRwBglO4%3D", oauth_signature_method="HMAC-SHA1",
334
- oauth_timestamp="1336343118", oauth_token="72157629879773565-6da848f99ba7038a",
335
- oauth_version="1.0"
336
- Accept-Encoding:
337
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
338
- Accept:
339
- - ! '*/*'
340
- User-Agent:
341
- - Ruby
342
- response:
343
- status:
344
- code: 200
345
- message: !binary |-
346
- T0s=
347
- headers:
348
- !binary "RGF0ZQ==":
349
- - !binary |-
350
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxOCBHTVQ=
351
- !binary "UDNw":
352
- - !binary |-
353
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
354
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
355
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
356
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
357
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
358
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
359
- - !binary |-
360
- Kg==
361
- !binary "Q2FjaGUtQ29udHJvbA==":
362
- - !binary |-
363
- cHJpdmF0ZQ==
364
- !binary "WC1TZXJ2ZWQtQnk=":
365
- - !binary |-
366
- d3d3MTY3LmZsaWNrci5tdWQueWFob28uY29t
367
- !binary "VmFyeQ==":
368
- - !binary |-
369
- QWNjZXB0LUVuY29kaW5n
370
- !binary "Q29udGVudC1FbmNvZGluZw==":
371
- - !binary |-
372
- Z3ppcA==
373
- !binary "Q29udGVudC1MZW5ndGg=":
374
- - !binary |-
375
- MjIxOQ==
376
- !binary "Q29ubmVjdGlvbg==":
377
- - !binary |-
378
- Y2xvc2U=
379
- !binary "Q29udGVudC1UeXBl":
380
- - !binary |-
381
- YXBwbGljYXRpb24vanNvbg==
382
- body:
383
- encoding: ASCII-8BIT
384
- string: !binary |-
385
- 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
- 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
- zeevPt2+bM+3686Nb18+vKR3l7eXqJfri9ffvbz956+XpzouiosIDsjB9cUP
388
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- +J4vCP/IF19AcTJ3H7FAT2JC4RKnBL75OmWU8DKjTubuIxYQj8n6VRSjmYmM
397
- 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
- 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
- 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
- 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
- dyuLt1V3d4pj13MPqhqt9CiNO7gbxn5h44tAWIMf/XaazF/rtDv2biWrBgIY
402
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
434
- 8MPlt/8BalphVyhMAAA=
435
- http_version:
436
- recorded_at: Sun, 06 May 2012 22:25:18 GMT
437
- - request:
438
- method: get
439
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&media=videos&method=flickr.photosets.getPhotos&nojsoncallback=1&photoset_id=72157629851991663
440
- body:
441
- encoding: US-ASCII
442
- string: ''
443
- headers:
444
- Authorization:
445
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="9a9a872cc7d80c0727902b344c40efc9",
446
- oauth_signature="UTSCxvKqDYxm8t%2BnXEFMFoD2%2BKQ%3D", oauth_signature_method="HMAC-SHA1",
447
- oauth_timestamp="1336343118", oauth_token="72157629879773565-6da848f99ba7038a",
448
- oauth_version="1.0"
449
- Accept-Encoding:
450
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
451
- Accept:
452
- - ! '*/*'
453
- User-Agent:
454
- - Ruby
455
- response:
456
- status:
457
- code: 200
458
- message: !binary |-
459
- T0s=
460
- headers:
461
- !binary "RGF0ZQ==":
462
- - !binary |-
463
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxOSBHTVQ=
464
- !binary "UDNw":
465
- - !binary |-
466
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
467
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
468
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
469
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
470
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
471
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
472
- - !binary |-
473
- Kg==
474
- !binary "Q2FjaGUtQ29udHJvbA==":
475
- - !binary |-
476
- cHJpdmF0ZQ==
477
- !binary "WC1TZXJ2ZWQtQnk=":
478
- - !binary |-
479
- d3d3NDIuZmxpY2tyLm11ZC55YWhvby5jb20=
480
- !binary "VmFyeQ==":
481
- - !binary |-
482
- QWNjZXB0LUVuY29kaW5n
483
- !binary "Q29udGVudC1FbmNvZGluZw==":
484
- - !binary |-
485
- Z3ppcA==
486
- !binary "Q29udGVudC1MZW5ndGg=":
487
- - !binary |-
488
- MjUy
489
- !binary "Q29ubmVjdGlvbg==":
490
- - !binary |-
491
- Y2xvc2U=
492
- !binary "Q29udGVudC1UeXBl":
493
- - !binary |-
494
- YXBwbGljYXRpb24vanNvbg==
495
- body:
496
- encoding: ASCII-8BIT
497
- string: !binary |-
498
- H4sIAAAAAAAAA1WOzU7DMBCEXyXaMwdvEjt2TpyR4AUAVdtmQ638OLLdoqrK
499
- u2MnoojbzjermbnDcnbRBY7Q3sF20EJTomxUabREY1CpCp4KWLydyN+SrUyt
500
- TGNQ68zd98w+0wYrrGT5/CbqB59p4uS90Dy44pW8O8/24yJQNFtkLob2/bdW
501
- mEpU2mjMZuCTz5vAkEJ1NL3iHfvr1idruYX05CdoVbqijWNuk8XEkX1xpNPQ
502
- j3bJXzb87RcZTNxZSuJqO3YPcAiR4iUk7pm6G6yfeSZ9pVjMF/vDrqQQu/4n
503
- 0x32z+gijSkGYc2jU2oSboD1B9MCViVvAQAA
504
- http_version:
505
- recorded_at: Sun, 06 May 2012 22:25:19 GMT
506
- - request:
507
- method: get
508
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getContext&nojsoncallback=1&photo_id=7093038981
509
- body:
510
- encoding: US-ASCII
511
- string: ''
512
- headers:
513
- Authorization:
514
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="dfdbaea5468ac8cda637c3cd47303aef",
515
- oauth_signature="POBRTQVC7T8w64mB9%2F%2Ful4W955g%3D", oauth_signature_method="HMAC-SHA1",
516
- oauth_timestamp="1336343119", oauth_token="72157629879773565-6da848f99ba7038a",
517
- oauth_version="1.0"
518
- Accept-Encoding:
519
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
520
- Accept:
521
- - ! '*/*'
522
- User-Agent:
523
- - Ruby
524
- response:
525
- status:
526
- code: 200
527
- message: !binary |-
528
- T0s=
529
- headers:
530
- !binary "RGF0ZQ==":
531
- - !binary |-
532
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxOSBHTVQ=
533
- !binary "UDNw":
534
- - !binary |-
535
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
536
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
537
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
538
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
539
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
540
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
541
- - !binary |-
542
- Kg==
543
- !binary "Q2FjaGUtQ29udHJvbA==":
544
- - !binary |-
545
- cHJpdmF0ZQ==
546
- !binary "WC1TZXJ2ZWQtQnk=":
547
- - !binary |-
548
- d3d3MTMwLmZsaWNrci5tdWQueWFob28uY29t
549
- !binary "VmFyeQ==":
550
- - !binary |-
551
- QWNjZXB0LUVuY29kaW5n
552
- !binary "Q29udGVudC1FbmNvZGluZw==":
553
- - !binary |-
554
- Z3ppcA==
555
- !binary "Q29udGVudC1MZW5ndGg=":
556
- - !binary |-
557
- MjUw
558
- !binary "Q29ubmVjdGlvbg==":
559
- - !binary |-
560
- Y2xvc2U=
561
- !binary "Q29udGVudC1UeXBl":
562
- - !binary |-
563
- YXBwbGljYXRpb24vanNvbg==
564
- body:
565
- encoding: ASCII-8BIT
566
- string: !binary |-
567
- H4sIAAAAAAAAA2VQy27DIBD8lYpzZezEMdin3qoe2i9AQg5e1yQYLFhblaL8
568
- e5dEfam33ZlhZpYLM2H1yLoL0yZ4hDy38vr4wJYI2zIFDJm0A+tKAm3SY79B
569
- 3rLGwwf+0bCmrZu2kULUjPgEJgI5MtjVYyUOQ3u8w3GDSLCopMzA2MeZdZIm
570
- tOiAmJfXZ10KcWPX6AhR/JaUFG9Eta/2h93TW1nT9p2ouPVfKozQz4rn5zit
571
- 85EMJsSlU1zxnCaLhD1aMzprzrEwgcS5zW8//dNap+K0vGe3GQbbk9v9bALI
572
- AHyizn517v8X5RiShzO7fgJOoJAsbQEAAA==
573
- http_version:
574
- recorded_at: Sun, 06 May 2012 22:25:19 GMT
575
- - request:
576
- method: get
577
- uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&extras=media&format=json&media=videos&method=flickr.photos.search&nojsoncallback=1&user_id=67131352@N04
578
- body:
579
- encoding: US-ASCII
580
- string: ''
581
- headers:
582
- Authorization:
583
- - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="11cf145a5c7dd21375ed9089b0c3db03",
584
- oauth_signature="0EOS3x2xGlZel3Z1IgxV%2FZTlvBI%3D", oauth_signature_method="HMAC-SHA1",
585
- oauth_timestamp="1336343119", oauth_token="72157629879773565-6da848f99ba7038a",
586
- oauth_version="1.0"
587
- Accept-Encoding:
588
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
589
- Accept:
590
- - ! '*/*'
591
- User-Agent:
592
- - Ruby
593
- response:
594
- status:
595
- code: 200
596
- message: !binary |-
597
- T0s=
598
- headers:
599
- !binary "RGF0ZQ==":
600
- - !binary |-
601
- U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToyMCBHTVQ=
602
- !binary "UDNw":
603
- - !binary |-
604
- cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
605
- LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
606
- aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
607
- IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
608
- IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
609
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
610
- - !binary |-
611
- Kg==
612
- !binary "Q2FjaGUtQ29udHJvbA==":
613
- - !binary |-
614
- cHJpdmF0ZQ==
615
- !binary "WC1TZXJ2ZWQtQnk=":
616
- - !binary |-
617
- d3d3MS5mbGlja3IubXVkLnlhaG9vLmNvbQ==
618
- !binary "VmFyeQ==":
619
- - !binary |-
620
- QWNjZXB0LUVuY29kaW5n
621
- !binary "Q29udGVudC1FbmNvZGluZw==":
622
- - !binary |-
623
- Z3ppcA==
624
- !binary "Q29udGVudC1MZW5ndGg=":
625
- - !binary |-
626
- MjEz
627
- !binary "Q29ubmVjdGlvbg==":
628
- - !binary |-
629
- Y2xvc2U=
630
- !binary "Q29udGVudC1UeXBl":
631
- - !binary |-
632
- YXBwbGljYXRpb24vanNvbg==
633
- body:
634
- encoding: ASCII-8BIT
635
- string: !binary |-
636
- H4sIAAAAAAAAAzWPTW6DMBCFr4JmnYVdggle5QS5QFRVAwztKCZGtpMKIe7e
637
- MdDdvO/Nz5sFph+ffAS7wITfBFafiq2KR0nh4EqJTD6hAwsaspdHwd4X4F5Y
638
- rZpSlZfmspn+90lBqKl1qcvq43pT58wjdYGSGA0abdpmMLTj8N76q3NVZzBg
639
- GMGafJOTo+wUIyUKRYvdY3A85S6O06t13O1hOQ6B6Slh1K5wZDfvaqSeUba8
640
- uScP/+ArJkwv+RUCYT/D+rnmMAIF+QesfwThCfghAQAA
641
- http_version:
642
- recorded_at: Sun, 06 May 2012 22:25:20 GMT
643
- recorded_with: VCR 2.1.1