flickrie 0.5.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/.gitignore +0 -1
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile +3 -2
  4. data/Rakefile +7 -2
  5. data/flickrie.gemspec +3 -0
  6. data/lib/flickrie/api_methods.rb +5 -0
  7. data/lib/flickrie/client.rb +17 -4
  8. data/lib/flickrie/location.rb +23 -50
  9. data/lib/flickrie/media/exif.rb +4 -0
  10. data/lib/flickrie/media/tag.rb +4 -0
  11. data/lib/flickrie/media/ticket.rb +4 -0
  12. data/lib/flickrie/media/visibility.rb +10 -6
  13. data/lib/flickrie/media.rb +7 -70
  14. data/lib/flickrie/media_count.rb +4 -0
  15. data/lib/flickrie/oauth.rb +5 -3
  16. data/lib/flickrie/set.rb +5 -21
  17. data/lib/flickrie/upload_client.rb +4 -2
  18. data/lib/flickrie/user.rb +4 -1
  19. data/lib/flickrie/version.rb +1 -1
  20. data/lib/flickrie/video.rb +0 -13
  21. data/test/error_test.rb +20 -0
  22. data/test/instance_test.rb +13 -14
  23. data/test/license_test.rb +7 -13
  24. data/test/location_test.rb +11 -2
  25. data/test/media_count_test.rb +20 -12
  26. data/test/media_test.rb +319 -311
  27. data/test/oauth_test.rb +17 -18
  28. data/test/photo_test.rb +78 -60
  29. data/test/set_test.rb +72 -63
  30. data/test/{test.rb → test_helper.rb} +7 -0
  31. data/test/user_test.rb +43 -34
  32. data/test/vcr_cassettes/error/code.yml +1165 -0
  33. data/test/vcr_cassettes/instance/calling_api_methods.yml +182 -0
  34. data/test/vcr_cassettes/license/get_licenses.yml +73 -0
  35. data/test/vcr_cassettes/location/square_brackets.yml +85 -0
  36. data/test/vcr_cassettes/media/delete.yml +1380 -0
  37. data/test/vcr_cassettes/media/from_contacts.yml +155 -0
  38. data/test/vcr_cassettes/media/from_set.yml +276 -0
  39. data/test/vcr_cassettes/media/from_user.yml +275 -0
  40. data/test/vcr_cassettes/media/get_context.yml +73 -0
  41. data/test/vcr_cassettes/media/get_info.yml +167 -0
  42. data/test/vcr_cassettes/media/remove_tag.yml +264 -0
  43. data/test/vcr_cassettes/media/replace.yml +2252 -0
  44. data/test/vcr_cassettes/media/search.yml +275 -0
  45. data/test/vcr_cassettes/media/tags.yml +346 -0
  46. data/test/vcr_cassettes/media_count/get.yml +135 -0
  47. data/test/vcr_cassettes/media_count/square_brackets.yml +69 -0
  48. data/test/vcr_cassettes/oauth/tokens.yml +400 -0
  49. data/test/vcr_cassettes/photo/asynchronous_upload.yml +1693 -0
  50. data/test/vcr_cassettes/photo/from_set.yml +273 -0
  51. data/test/vcr_cassettes/photo/from_user.yml +275 -0
  52. data/test/vcr_cassettes/photo/get_exif.yml +239 -0
  53. data/test/vcr_cassettes/photo/get_sizes.yml +147 -0
  54. data/test/vcr_cassettes/photo/other_api_calls.yml +506 -0
  55. data/test/vcr_cassettes/photo/search.yml +271 -0
  56. data/test/vcr_cassettes/photo/square_brackets.yml +85 -0
  57. data/test/vcr_cassettes/photo/upload.yml +1229 -0
  58. data/test/vcr_cassettes/set/from_user.yml +477 -0
  59. data/test/vcr_cassettes/set/get_info.yml +951 -0
  60. data/test/vcr_cassettes/set/square_brackets.yml +73 -0
  61. data/test/vcr_cassettes/user/find_by_email_or_username.yml +135 -0
  62. data/test/vcr_cassettes/user/get_info.yml +151 -0
  63. data/test/vcr_cassettes/user/square_brackets.yml +77 -0
  64. data/test/vcr_cassettes/video/get_exif.yml +135 -0
  65. data/test/vcr_cassettes/video/get_info.yml +86 -0
  66. data/test/vcr_cassettes/video/get_sizes.yml +151 -0
  67. data/test/vcr_cassettes/video/other_api_calls.yml +643 -0
  68. data/test/vcr_cassettes/video/square_brackets.yml +86 -0
  69. data/test/vcr_cassettes/video/upload.yml +308 -0
  70. data/test/video_test.rb +66 -53
  71. metadata +123 -12
@@ -0,0 +1,73 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photosets.getInfo&nojsoncallback=1&photoset_id=72157629851991663
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="33a99b918db45fb2b6b1f21c54db742d",
12
+ oauth_signature="KJMQaX39zoEo3haY3459DVN3gvA%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336383799", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ TW9uLCAwNyBNYXkgMjAxMiAwOTo0MzoxOSBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3MTk4LmZsaWNrci5tdWQueWFob28uY29t
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ Mjcz
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA12Qy07DMBBFfyWaNULx286KL2CDxAqpcpIBTB6OHKcVqvrv
65
+ eIJaUFe2z505HvsMy2fMccUMzRlCDw0YzpTR3FnFnGNaC3ioIJ5mTCXUhgkm
66
+ FH96riXxJYXJp29KnNTOOGYt8RW7RE7gqm2ltIq3vzgdd4+ppSPw7tMEjSXT
67
+ Pgc0jg5d3OZ8OAY8FQI13FAXpwnnfEdvveZfb4+EgFFZDnlEemERzLkISvCy
68
+ 4IhxjB/hy8OlFPW4diksOcT5vnQMA1arr962mmk2xLGc/tqxei37NuTH3dP5
69
+ +TonNIzEPuOh/EdZaCAhpBXccg3XbFv6W6a4Kl9sd9OaPV0fB7j8AEAL4qWp
70
+ AQAA
71
+ http_version:
72
+ recorded_at: Mon, 07 May 2012 09:43:20 GMT
73
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,135 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.people.findByUsername&nojsoncallback=1&username=Janko%20Marohni%C4%87
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="5944e5c1bbd138587a2716665269b7cf",
12
+ oauth_signature="eXz8mVHpddGOmgn0RaElx86vXrY%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336343109", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxMCBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3MTQ2LmZsaWNrci5tdWQueWFob28uY29t
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MTA2
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA6tWKi1OLVKyqlbKTFGyUjIzNzQ2NDY1cvAzMFHSUVDKK8Yq
65
+ DNKTl5ibCtIXn5yfV5KaVwJU5pWYl52v4JtYlJ+RlxlTamBoYK5UWwtUX1yS
66
+ CJLPz1aqBQB14RSzcQAAAA==
67
+ http_version:
68
+ recorded_at: Sun, 06 May 2012 22:25:11 GMT
69
+ - request:
70
+ method: get
71
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&find_email=janko.marohnic@gmail.com&format=json&method=flickr.people.findByEmail&nojsoncallback=1
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ Authorization:
77
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="04453caea7c3b2d0bafa1b5e1ee1803c",
78
+ oauth_signature="VO%2FskRGuFUQgGOVrs0iqLGhI84M%3D", oauth_signature_method="HMAC-SHA1",
79
+ oauth_timestamp="1336343111", oauth_token="72157629879773565-6da848f99ba7038a",
80
+ oauth_version="1.0"
81
+ Accept-Encoding:
82
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
83
+ Accept:
84
+ - ! '*/*'
85
+ User-Agent:
86
+ - Ruby
87
+ response:
88
+ status:
89
+ code: 200
90
+ message: !binary |-
91
+ T0s=
92
+ headers:
93
+ !binary "RGF0ZQ==":
94
+ - !binary |-
95
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxMSBHTVQ=
96
+ !binary "UDNw":
97
+ - !binary |-
98
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
99
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
100
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
101
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
102
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
103
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
104
+ - !binary |-
105
+ Kg==
106
+ !binary "Q2FjaGUtQ29udHJvbA==":
107
+ - !binary |-
108
+ cHJpdmF0ZQ==
109
+ !binary "WC1TZXJ2ZWQtQnk=":
110
+ - !binary |-
111
+ d3d3MTQyLmZsaWNrci5tdWQueWFob28uY29t
112
+ !binary "VmFyeQ==":
113
+ - !binary |-
114
+ QWNjZXB0LUVuY29kaW5n
115
+ !binary "Q29udGVudC1FbmNvZGluZw==":
116
+ - !binary |-
117
+ Z3ppcA==
118
+ !binary "Q29udGVudC1MZW5ndGg=":
119
+ - !binary |-
120
+ MTA2
121
+ !binary "Q29ubmVjdGlvbg==":
122
+ - !binary |-
123
+ Y2xvc2U=
124
+ !binary "Q29udGVudC1UeXBl":
125
+ - !binary |-
126
+ YXBwbGljYXRpb24vanNvbg==
127
+ body:
128
+ encoding: ASCII-8BIT
129
+ string: !binary |-
130
+ H4sIAAAAAAAAA6tWKi1OLVKyqlbKTFGyUjIzNzQ2NDY1cvAzMFHSUVDKK8Yq
131
+ DNKTl5ibCtIXn5yfV5KaVwJU5pWYl52v4JtYlJ+RlxlTamBoYK5UWwtUX1yS
132
+ CJLPz1aqBQB14RSzcQAAAA==
133
+ http_version:
134
+ recorded_at: Sun, 06 May 2012 22:25:11 GMT
135
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,151 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.people.getInfo&nojsoncallback=1&user_id=67131352@N04
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="3776d48551ad3c58cd480dcd6691df8e",
12
+ oauth_signature="I9mpP6mifKa1GmsJFb%2Bnx4xre5k%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336343187", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNjoyOCBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3MjE1LmZsaWNrci5tdWQueWFob28uY29t
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ NDY2
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA5WSQYvbMBCF/4rQpYd6E8l2nNhQWigUWmgP3UOhGMLYkhJt
65
+ JI2R5KTbJf+9cgxLCKGwN2nmve9Jw7zQQfqAjjYvVAva0GrNC16s8k8/WEkz
66
+ Ql24W9Zh8EgbNh17dEH6o/RJtyqruZ+KCrylTZVuA8T9FoyGQBs3GpNKY7I4
67
+ sHIK3iZxlC4m/zdwByTfwePe6XZknK3pOcm9BPMGue3wzzbsgYfR3lgqIfJ6
68
+ I1QPvVKKF6LsqvWKiRXIshSqKqseKlauLhyDPUQ9j+eK8Rt2XnYZ+ewxteEi
69
+ jdrKv+guLzTQSZN0j+DhSR4xI48HHJ5kRn6BD3DKyEyYJoVKBTlB3zPeMHZh
70
+ CRl6r4c7yV/fWQIkzX7nwVrpMwJOkKm6Q+deO0nTgYAQyM+xeyZGdx78M1Ho
71
+ yRej+4NfXHKGPUYMozc3KfsYh6ZdtsvT6bRQs6FH2y5nQ7u8Xod2ObM8Km3k
72
+ W2ASByPvwix2/2fZO8+KaUnsYufkRy0+VGtW1zkvrv45sZT2IQqIMsJB3g43
73
+ Z5w/sOIhZ4TnTV435Wx/Nd3oeVGUmyLP63lZehyn8rWk3kyNo5ancJuV0Oep
74
+ GSJMdzzQ8z9fTjF/jQMAAA==
75
+ http_version:
76
+ recorded_at: Sun, 06 May 2012 22:26:28 GMT
77
+ - request:
78
+ method: get
79
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.people.getInfo&nojsoncallback=1&user_id=67131352@N04
80
+ body:
81
+ encoding: US-ASCII
82
+ string: ''
83
+ headers:
84
+ Authorization:
85
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="11794ed3b17a478340d91c6cbdc34cc3",
86
+ oauth_signature="S8ZXoJ0TWvpa2M7wKQpvtu1pwSk%3D", oauth_signature_method="HMAC-SHA1",
87
+ oauth_timestamp="1336343188", oauth_token="72157629879773565-6da848f99ba7038a",
88
+ oauth_version="1.0"
89
+ Accept-Encoding:
90
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
91
+ Accept:
92
+ - ! '*/*'
93
+ User-Agent:
94
+ - Ruby
95
+ response:
96
+ status:
97
+ code: 200
98
+ message: !binary |-
99
+ T0s=
100
+ headers:
101
+ !binary "RGF0ZQ==":
102
+ - !binary |-
103
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNjoyOCBHTVQ=
104
+ !binary "UDNw":
105
+ - !binary |-
106
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
107
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
108
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
109
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
110
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
111
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
112
+ - !binary |-
113
+ Kg==
114
+ !binary "Q2FjaGUtQ29udHJvbA==":
115
+ - !binary |-
116
+ cHJpdmF0ZQ==
117
+ !binary "WC1TZXJ2ZWQtQnk=":
118
+ - !binary |-
119
+ d3d3My5mbGlja3IubXVkLnlhaG9vLmNvbQ==
120
+ !binary "VmFyeQ==":
121
+ - !binary |-
122
+ QWNjZXB0LUVuY29kaW5n
123
+ !binary "Q29udGVudC1FbmNvZGluZw==":
124
+ - !binary |-
125
+ Z3ppcA==
126
+ !binary "Q29udGVudC1MZW5ndGg=":
127
+ - !binary |-
128
+ NDY2
129
+ !binary "Q29ubmVjdGlvbg==":
130
+ - !binary |-
131
+ Y2xvc2U=
132
+ !binary "Q29udGVudC1UeXBl":
133
+ - !binary |-
134
+ YXBwbGljYXRpb24vanNvbg==
135
+ body:
136
+ encoding: ASCII-8BIT
137
+ string: !binary |-
138
+ H4sIAAAAAAAAA5WSQYvbMBCF/4rQpYd6E8l2nNhQWigUWmgP3UOhGMLYkhJt
139
+ JI2R5KTbJf+9cgxLCKGwN2nmve9Jw7zQQfqAjjYvVAva0GrNC16s8k8/WEkz
140
+ Ql24W9Zh8EgbNh17dEH6o/RJtyqruZ+KCrylTZVuA8T9FoyGQBs3GpNKY7I4
141
+ sHIK3iZxlC4m/zdwByTfwePe6XZknK3pOcm9BPMGue3wzzbsgYfR3lgqIfJ6
142
+ I1QPvVKKF6LsqvWKiRXIshSqKqseKlauLhyDPUQ9j+eK8Rt2XnYZ+ewxteEi
143
+ jdrKv+guLzTQSZN0j+DhSR4xI48HHJ5kRn6BD3DKyEyYJoVKBTlB3zPeMHZh
144
+ CRl6r4c7yV/fWQIkzX7nwVrpMwJOkKm6Q+deO0nTgYAQyM+xeyZGdx78M1Ho
145
+ yRej+4NfXHKGPUYMozc3KfsYh6ZdtsvT6bRQs6FH2y5nQ7u8Xod2ObM8Km3k
146
+ W2ASByPvwix2/2fZO8+KaUnsYufkRy0+VGtW1zkvrv45sZT2IQqIMsJB3g43
147
+ Z5w/sOIhZ4TnTV435Wx/Nd3oeVGUmyLP63lZehyn8rWk3kyNo5ancJuV0Oep
148
+ GSJMdzzQ8z9fTjF/jQMAAA==
149
+ http_version:
150
+ recorded_at: Sun, 06 May 2012 22:26:29 GMT
151
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,77 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.people.getInfo&nojsoncallback=1&user_id=67131352@N04
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="203367e2856206a8ab0d6422eca69240",
12
+ oauth_signature="rYIQf%2FbbSOsFv2beyit7oe1CL2w%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336383801", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ TW9uLCAwNyBNYXkgMjAxMiAwOTo0MzoyMSBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3MTgyLmZsaWNrci5tdWQueWFob28uY29t
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ NDY2
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA5WSQYvbMBCF/4rQpYd6E8l2nNhQWigUWmgP3UOhGMLYkhJt
65
+ JI2R5KTbJf+9cgxLCKGwN2nmve9Jw7zQQfqAjjYvVAva0GrNC16s8k8/WEkz
66
+ Ql24W9Zh8EgbNh17dEH6o/RJtyqruZ+KCrylTZVuA8T9FoyGQBs3GpNKY7I4
67
+ sHIK3iZxlC4m/zdwByTfwePe6XZknK3pOcm9BPMGue3wzzbsgYfR3lgqIfJ6
68
+ I1QPvVKKF6LsqvWKiRXIshSqKqseKlauLhyDPUQ9j+eK8Rt2XnYZ+ewxteEi
69
+ jdrKv+guLzTQSZN0j+DhSR4xI48HHJ5kRn6BD3DKyEyYJoVKBTlB3zPeMHZh
70
+ CRl6r4c7yV/fWQIkzX7nwVrpMwJOkKm6Q+deO0nTgYAQyM+xeyZGdx78M1Ho
71
+ yRej+4NfXHKGPUYMozc3KfsYh6ZdtsvT6bRQs6FH2y5nQ7u8Xod2ObM8Km3k
72
+ W2ASByPvwix2/2fZO8+KaUnsYufkRy0+VGtW1zkvrv45sZT2IQqIMsJB3g43
73
+ Z5w/sOIhZ4TnTV435Wx/Nd3oeVGUmyLP63lZehyn8rWk3kyNo5ancJuV0Oep
74
+ GSJMdzzQ8z9fTjF/jQMAAA==
75
+ http_version:
76
+ recorded_at: Mon, 07 May 2012 09:43:21 GMT
77
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,135 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getExif&nojsoncallback=1&photo_id=7093038981
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="0814ac76cb402210d4d600caa0b35b00",
12
+ oauth_signature="SxQKJBao31CuesjMUnJ6Izenbcs%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336343113", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxMyBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3ODEuZmxpY2tyLm11ZC55YWhvby5jb20=
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MTE1
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAAyXMQQqAIBQE0KvErFsYlaVXiRa/+lJEGD+JILx7SrvhDTMv
65
+ ztUHD/tiW2DRKVOrujd9hbLAxbNwSGxIV3oyTvPPcrMkbpu2y+BIDlid0kwH
66
+ C6UqMz+bgx3GmDeB8pHfET+m2aC7dAAAAA==
67
+ http_version:
68
+ recorded_at: Sun, 06 May 2012 22:25:14 GMT
69
+ - request:
70
+ method: get
71
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getExif&nojsoncallback=1&photo_id=7093038981
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ Authorization:
77
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="7bd4bf2e1044d02583ee63399faa4a95",
78
+ oauth_signature="%2Btr0aEBi2RywE8pKC0VonTw3Ksg%3D", oauth_signature_method="HMAC-SHA1",
79
+ oauth_timestamp="1336343114", oauth_token="72157629879773565-6da848f99ba7038a",
80
+ oauth_version="1.0"
81
+ Accept-Encoding:
82
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
83
+ Accept:
84
+ - ! '*/*'
85
+ User-Agent:
86
+ - Ruby
87
+ response:
88
+ status:
89
+ code: 200
90
+ message: !binary |-
91
+ T0s=
92
+ headers:
93
+ !binary "RGF0ZQ==":
94
+ - !binary |-
95
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxNCBHTVQ=
96
+ !binary "UDNw":
97
+ - !binary |-
98
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
99
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
100
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
101
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
102
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
103
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
104
+ - !binary |-
105
+ Kg==
106
+ !binary "Q2FjaGUtQ29udHJvbA==":
107
+ - !binary |-
108
+ cHJpdmF0ZQ==
109
+ !binary "WC1TZXJ2ZWQtQnk=":
110
+ - !binary |-
111
+ d3d3MTQ4LmZsaWNrci5tdWQueWFob28uY29t
112
+ !binary "VmFyeQ==":
113
+ - !binary |-
114
+ QWNjZXB0LUVuY29kaW5n
115
+ !binary "Q29udGVudC1FbmNvZGluZw==":
116
+ - !binary |-
117
+ Z3ppcA==
118
+ !binary "Q29udGVudC1MZW5ndGg=":
119
+ - !binary |-
120
+ MTE1
121
+ !binary "Q29ubmVjdGlvbg==":
122
+ - !binary |-
123
+ Y2xvc2U=
124
+ !binary "Q29udGVudC1UeXBl":
125
+ - !binary |-
126
+ YXBwbGljYXRpb24vanNvbg==
127
+ body:
128
+ encoding: ASCII-8BIT
129
+ string: !binary |-
130
+ H4sIAAAAAAAAAyXMQQqAIBQE0KvErFsYlaVXiRa/+lJEGD+JILx7SrvhDTMv
131
+ ztUHD/tiW2DRKVOrujd9hbLAxbNwSGxIV3oyTvPPcrMkbpu2y+BIDlid0kwH
132
+ C6UqMz+bgx3GmDeB8pHfET+m2aC7dAAAAA==
133
+ http_version:
134
+ recorded_at: Sun, 06 May 2012 22:25:14 GMT
135
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,86 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getInfo&nojsoncallback=1&photo_id=7093038981
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="0fb29424e558e7d84714e6b0f1a7a3aa",
12
+ oauth_signature="2TluM%2BcYCgsW4e8H9r8BFEt96ZM%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336343114", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNToxNCBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3MTI1LmZsaWNrci5tdWQueWFob28uY29t
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ ODU2
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA5VVbW/jNgz+K4E+XxPJr7E/DethW2/YgBvaDugyFIyt2LrY
65
+ kiHJzYIi/32U5CTurRt2n2JS1MOH1EPmlQytsoqUr0TUpCQ5LWIar4s1Ix8W
66
+ xPBKc4vuAjKWbYtdxoNbv3CN7jRJc+fYge5JmeFXDZaPQ6eg5g6OxXGyjqOo
67
+ SF2YMDt4UVpYTkqKdicqLg0ahHpY2HF7fO74C+/OPq0sWKFkuKAO0uV9JdJ4
68
+ tlnOYhan0Xe/0sRFj8hMQu8QP4Hcq8UvoFUrxWakjHqmmkP33xGdqqaM5Aka
69
+ zbcfFrdaoQt8CZWSs/Kz5OycWnBC0wrbccfyGf2WS9fAdNFzy/ViC9V+14mB
70
+ uMCam0qLIWR7E/5xduIiX4QRW9EJe/QvZYZxi80jJQtd1YLLOrTI9bgXHcbR
71
+ 0/Qext0ZlLHvPImFPXelRpRFNzS5YcWCxmWSlOn1uNEgxw60zx6epQNjx8GB
72
+ B8QsTqIENeNSDlz3whikHhKjWam+94XF0znUNfYDSBmF6vjBnKF5LSxca61A
73
+ Xm67atG+XGY+nW/FN9zyfRkNNHyKrFFWTrGX0G2nmosxaDFDMS1oPmFMGcxX
74
+ bxe6INXUePdByj/+DK1RQ5BGC+ZseCwLjY/GXwyehjHDaSwiFt9cp/ImLdZe
75
+ pjDaVul3ZkDDAb33iIPGjJYNnh6qVkj+7BPRk6d1lfwrvizKd6yRV5Iu17RI
76
+ 49xHyGZys3RZ5DROEkeiqkYNlZMF8wvDp/vLXmSCwOcnmVEJc+UChg4q/uyL
77
+ pfRLcnfsnh5zU/0u9u70oLg/WqeMRWsSej7K/4cX06z+SbefH3OVfemXTw+f
78
+ 55AspVEU4fY6+aXQ/HMEf9RQL95F/mTYx4flcP+gh+9v735uHw9z5IjSnLKc
79
+ Xunqr/nO9skM9odR/nZ7l94/bDPIjLo/voX1E5bEYcS+tW0Nag3Hzry3PRwv
80
+ qOxlffz7Mhl15xHw14vUHgc3//4fZHDz9FZxrbVDuVltVofDYYlLr9rrJc7M
81
+ ZuUvmM1qLt3N6iryzYoEYfY41jixuCBqrojfFO4DKeAer4+hgh2Ijk+EB6Qu
82
+ ZBOMGrU5bXKW+caI2rZOGmnkzJaLpnVEozV2yeUz+GeDttqT098NRMMwGQcA
83
+ AA==
84
+ http_version:
85
+ recorded_at: Sun, 06 May 2012 22:25:15 GMT
86
+ recorded_with: VCR 2.1.1