flickrie 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile +3 -2
- data/Rakefile +7 -2
- data/flickrie.gemspec +3 -0
- data/lib/flickrie/api_methods.rb +5 -0
- data/lib/flickrie/client.rb +17 -4
- data/lib/flickrie/location.rb +23 -50
- data/lib/flickrie/media/exif.rb +4 -0
- data/lib/flickrie/media/tag.rb +4 -0
- data/lib/flickrie/media/ticket.rb +4 -0
- data/lib/flickrie/media/visibility.rb +10 -6
- data/lib/flickrie/media.rb +7 -70
- data/lib/flickrie/media_count.rb +4 -0
- data/lib/flickrie/oauth.rb +5 -3
- data/lib/flickrie/set.rb +5 -21
- data/lib/flickrie/upload_client.rb +4 -2
- data/lib/flickrie/user.rb +4 -1
- data/lib/flickrie/version.rb +1 -1
- data/lib/flickrie/video.rb +0 -13
- data/test/error_test.rb +20 -0
- data/test/instance_test.rb +13 -14
- data/test/license_test.rb +7 -13
- data/test/location_test.rb +11 -2
- data/test/media_count_test.rb +20 -12
- data/test/media_test.rb +319 -311
- data/test/oauth_test.rb +17 -18
- data/test/photo_test.rb +78 -60
- data/test/set_test.rb +72 -63
- data/test/{test.rb → test_helper.rb} +7 -0
- data/test/user_test.rb +43 -34
- data/test/vcr_cassettes/error/code.yml +1165 -0
- data/test/vcr_cassettes/instance/calling_api_methods.yml +182 -0
- data/test/vcr_cassettes/license/get_licenses.yml +73 -0
- data/test/vcr_cassettes/location/square_brackets.yml +85 -0
- data/test/vcr_cassettes/media/delete.yml +1380 -0
- data/test/vcr_cassettes/media/from_contacts.yml +155 -0
- data/test/vcr_cassettes/media/from_set.yml +276 -0
- data/test/vcr_cassettes/media/from_user.yml +275 -0
- data/test/vcr_cassettes/media/get_context.yml +73 -0
- data/test/vcr_cassettes/media/get_info.yml +167 -0
- data/test/vcr_cassettes/media/remove_tag.yml +264 -0
- data/test/vcr_cassettes/media/replace.yml +2252 -0
- data/test/vcr_cassettes/media/search.yml +275 -0
- data/test/vcr_cassettes/media/tags.yml +346 -0
- data/test/vcr_cassettes/media_count/get.yml +135 -0
- data/test/vcr_cassettes/media_count/square_brackets.yml +69 -0
- data/test/vcr_cassettes/oauth/tokens.yml +400 -0
- data/test/vcr_cassettes/photo/asynchronous_upload.yml +1693 -0
- data/test/vcr_cassettes/photo/from_set.yml +273 -0
- data/test/vcr_cassettes/photo/from_user.yml +275 -0
- data/test/vcr_cassettes/photo/get_exif.yml +239 -0
- data/test/vcr_cassettes/photo/get_sizes.yml +147 -0
- data/test/vcr_cassettes/photo/other_api_calls.yml +506 -0
- data/test/vcr_cassettes/photo/search.yml +271 -0
- data/test/vcr_cassettes/photo/square_brackets.yml +85 -0
- data/test/vcr_cassettes/photo/upload.yml +1229 -0
- data/test/vcr_cassettes/set/from_user.yml +477 -0
- data/test/vcr_cassettes/set/get_info.yml +951 -0
- data/test/vcr_cassettes/set/square_brackets.yml +73 -0
- data/test/vcr_cassettes/user/find_by_email_or_username.yml +135 -0
- data/test/vcr_cassettes/user/get_info.yml +151 -0
- data/test/vcr_cassettes/user/square_brackets.yml +77 -0
- data/test/vcr_cassettes/video/get_exif.yml +135 -0
- data/test/vcr_cassettes/video/get_info.yml +86 -0
- data/test/vcr_cassettes/video/get_sizes.yml +151 -0
- data/test/vcr_cassettes/video/other_api_calls.yml +643 -0
- data/test/vcr_cassettes/video/square_brackets.yml +86 -0
- data/test/vcr_cassettes/video/upload.yml +308 -0
- data/test/video_test.rb +66 -53
- metadata +123 -12
@@ -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.getCounts&nojsoncallback=1&taken_dates=2012-03-01%2000:00:00%20UTC,2012-05-05%2000:00:00%20UTC
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="a3a9d1007e31bf8fd1806bb7c4031c7b",
|
12
|
+
oauth_signature="v3PnwZ9Hrx1SCF4lUBG%2FW%2Baz3Qw%3D", oauth_signature_method="HMAC-SHA1",
|
13
|
+
oauth_timestamp="1336343034", 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
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyMzo1NCBHTVQ=
|
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
|
+
d3d3MTQ3LmZsaWNrci5tdWQueWFob28uY29t
|
46
|
+
!binary "VmFyeQ==":
|
47
|
+
- !binary |-
|
48
|
+
QWNjZXB0LUVuY29kaW5n
|
49
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
50
|
+
- !binary |-
|
51
|
+
Z3ppcA==
|
52
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
53
|
+
- !binary |-
|
54
|
+
MTAw
|
55
|
+
!binary "Q29ubmVjdGlvbg==":
|
56
|
+
- !binary |-
|
57
|
+
Y2xvc2U=
|
58
|
+
!binary "Q29udGVudC1UeXBl":
|
59
|
+
- !binary |-
|
60
|
+
YXBwbGljYXRpb24vanNvbg==
|
61
|
+
body:
|
62
|
+
encoding: ASCII-8BIT
|
63
|
+
string: !binary |-
|
64
|
+
H4sIAAAAAAAAA6tWKsjIL8lPzi/NKylWsqpG4ipZRVcrQVlKhko6CkppRfm5
|
65
|
+
KYklqUC+kYGhka6Bsa6BoYKBgRUYgVSU5KPImwIRQr42thaopLgkEWRgfrZS
|
66
|
+
LQBsrblFfQAAAA==
|
67
|
+
http_version:
|
68
|
+
recorded_at: Sun, 06 May 2012 22:23:54 GMT
|
69
|
+
- request:
|
70
|
+
method: get
|
71
|
+
uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&dates=1330560000,1336176000&format=json&method=flickr.photos.getCounts&nojsoncallback=1
|
72
|
+
body:
|
73
|
+
encoding: US-ASCII
|
74
|
+
string: ''
|
75
|
+
headers:
|
76
|
+
Authorization:
|
77
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="a650b6f5a90ce4f1bddee298208bb1b6",
|
78
|
+
oauth_signature="HGbPFpH8r7A8zxQXRnFm5YMitkQ%3D", oauth_signature_method="HMAC-SHA1",
|
79
|
+
oauth_timestamp="1336343034", 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
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyMzo1NCBHTVQ=
|
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
|
+
d3d3MTguZmxpY2tyLm11ZC55YWhvby5jb20=
|
112
|
+
!binary "VmFyeQ==":
|
113
|
+
- !binary |-
|
114
|
+
QWNjZXB0LUVuY29kaW5n
|
115
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
116
|
+
- !binary |-
|
117
|
+
Z3ppcA==
|
118
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
119
|
+
- !binary |-
|
120
|
+
OTU=
|
121
|
+
!binary "Q29ubmVjdGlvbg==":
|
122
|
+
- !binary |-
|
123
|
+
Y2xvc2U=
|
124
|
+
!binary "Q29udGVudC1UeXBl":
|
125
|
+
- !binary |-
|
126
|
+
YXBwbGljYXRpb24vanNvbg==
|
127
|
+
body:
|
128
|
+
encoding: ASCII-8BIT
|
129
|
+
string: !binary |-
|
130
|
+
H4sIAAAAAAAAA6tWKsjIL8lPzi/NKylWsqpG4ipZRVcrQVlKlhZKOgpKaUX5
|
131
|
+
uSmJJalAAUNjYwNTMwMgAEmU5COEzQzNQeJKtbG1QJnikkSQ/vxspVoA4wCn
|
132
|
+
YWwAAAA=
|
133
|
+
http_version:
|
134
|
+
recorded_at: Sun, 06 May 2012 22:23:55 GMT
|
135
|
+
recorded_with: VCR 2.1.1
|
@@ -0,0 +1,69 @@
|
|
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.getCounts&nojsoncallback=1&taken_dates=2012-03-01%2000:00:00%20UTC,2012-05-05%2000:00:00%20UTC
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="58b58b5e555447011efa459f3903c8a7",
|
12
|
+
oauth_signature="k6jIg5lJvzQC%2Fu%2FFVDQPZ3ar%2F%2FU%3D", oauth_signature_method="HMAC-SHA1",
|
13
|
+
oauth_timestamp="1336382736", 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
|
+
TW9uLCAwNyBNYXkgMjAxMiAwOToyNTozNyBHTVQ=
|
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
|
+
d3d3MTQyLmZsaWNrci5tdWQueWFob28uY29t
|
46
|
+
!binary "VmFyeQ==":
|
47
|
+
- !binary |-
|
48
|
+
QWNjZXB0LUVuY29kaW5n
|
49
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
50
|
+
- !binary |-
|
51
|
+
Z3ppcA==
|
52
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
53
|
+
- !binary |-
|
54
|
+
MTAw
|
55
|
+
!binary "Q29ubmVjdGlvbg==":
|
56
|
+
- !binary |-
|
57
|
+
Y2xvc2U=
|
58
|
+
!binary "Q29udGVudC1UeXBl":
|
59
|
+
- !binary |-
|
60
|
+
YXBwbGljYXRpb24vanNvbg==
|
61
|
+
body:
|
62
|
+
encoding: ASCII-8BIT
|
63
|
+
string: !binary |-
|
64
|
+
H4sIAAAAAAAAA6tWKsjIL8lPzi/NKylWsqpG4ipZRVcrQVlKhko6CkppRfm5
|
65
|
+
KYklqUC+kYGhka6Bsa6BoYKBgRUYgVSU5KPImwIRQr42thaopLgkEWRgfrZS
|
66
|
+
LQBsrblFfQAAAA==
|
67
|
+
http_version:
|
68
|
+
recorded_at: Mon, 07 May 2012 09:25:37 GMT
|
69
|
+
recorded_with: VCR 2.1.1
|
@@ -0,0 +1,400 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- OAuth oauth_consumer_key="foo", oauth_nonce="edaabcee2f77684daa73dda527396e99",
|
12
|
+
oauth_signature="UZ%2BTWyCZcvHDKjeDUG%2Bm8%2BWDgb0%3D", oauth_signature_method="HMAC-SHA1",
|
13
|
+
oauth_timestamp="1336343068", oauth_version="1.0"
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- ! '*/*'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 401
|
23
|
+
message: !binary |-
|
24
|
+
VW5hdXRob3JpemVk
|
25
|
+
headers:
|
26
|
+
!binary "RGF0ZQ==":
|
27
|
+
- !binary |-
|
28
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDoyOSBHTVQ=
|
29
|
+
!binary "UDNw":
|
30
|
+
- !binary |-
|
31
|
+
cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
|
32
|
+
LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
|
33
|
+
aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
|
34
|
+
IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
|
35
|
+
IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
|
36
|
+
!binary "U2V0LUNvb2tpZQ==":
|
37
|
+
- !binary |-
|
38
|
+
bG9jYWxpemF0aW9uPWVuLXVzJTNCdXMlM0J1czsgZXhwaXJlcz1TdW4sIDA0
|
39
|
+
LU1heS0yMDE0IDIyOjI0OjI5IEdNVDsgcGF0aD0vOyBkb21haW49LmZsaWNr
|
40
|
+
ci5jb20=
|
41
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
42
|
+
- !binary |-
|
43
|
+
cHJpdmF0ZQ==
|
44
|
+
!binary "WC1TZXJ2ZWQtQnk=":
|
45
|
+
- !binary |-
|
46
|
+
d3d3NjQuZmxpY2tyLm11ZC55YWhvby5jb20=
|
47
|
+
!binary "VmFyeQ==":
|
48
|
+
- !binary |-
|
49
|
+
QWNjZXB0LUVuY29kaW5n
|
50
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
51
|
+
- !binary |-
|
52
|
+
Z3ppcA==
|
53
|
+
!binary "Q29udGVudC1UeXBl":
|
54
|
+
- !binary |-
|
55
|
+
dGV4dC9wbGFpbjtjaGFyc2V0PVVURi04
|
56
|
+
!binary "QWdl":
|
57
|
+
- !binary |-
|
58
|
+
MA==
|
59
|
+
!binary "Vmlh":
|
60
|
+
- !binary |-
|
61
|
+
SFRUUC8xLjEgcjE4LnljcGkubXVkLnlhaG9vLm5ldCAoWWFob29UcmFmZmlj
|
62
|
+
U2VydmVyLzEuMjAuMTQgW2NNc1NmIF0pLCBIVFRQLzEuMSByMDQueWNwaS51
|
63
|
+
a2wueWFob28ubmV0IChZYWhvb1RyYWZmaWNTZXJ2ZXIvMS4yMC4xNCBbY01z
|
64
|
+
U2YgXSk=
|
65
|
+
!binary "U2VydmVy":
|
66
|
+
- !binary |-
|
67
|
+
WVRTLzEuMjAuMTQ=
|
68
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
69
|
+
- !binary |-
|
70
|
+
Y2h1bmtlZA==
|
71
|
+
!binary "Q29ubmVjdGlvbg==":
|
72
|
+
- !binary |-
|
73
|
+
a2VlcC1hbGl2ZQ==
|
74
|
+
body:
|
75
|
+
encoding: ASCII-8BIT
|
76
|
+
string: !binary |-
|
77
|
+
H4sIAAAAAAAAA8tPLC3JiC8oyk/KSc21Tc7PKy7NTS2Kz06tjC/Ny87LL88D
|
78
|
+
ACQeHIgiAAAA
|
79
|
+
http_version:
|
80
|
+
recorded_at: Sun, 06 May 2012 22:24:29 GMT
|
81
|
+
- request:
|
82
|
+
method: get
|
83
|
+
uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
|
84
|
+
body:
|
85
|
+
encoding: US-ASCII
|
86
|
+
string: ''
|
87
|
+
headers:
|
88
|
+
Authorization:
|
89
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="bd7e4b459f3a622e4f944832b3f9a713",
|
90
|
+
oauth_signature="M%2B3f57ppWOqNjFZP18x9A60kvOY%3D", oauth_signature_method="HMAC-SHA1",
|
91
|
+
oauth_timestamp="1336343069", oauth_version="1.0"
|
92
|
+
Accept-Encoding:
|
93
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
94
|
+
Accept:
|
95
|
+
- ! '*/*'
|
96
|
+
User-Agent:
|
97
|
+
- Ruby
|
98
|
+
response:
|
99
|
+
status:
|
100
|
+
code: 401
|
101
|
+
message: !binary |-
|
102
|
+
VW5hdXRob3JpemVk
|
103
|
+
headers:
|
104
|
+
!binary "RGF0ZQ==":
|
105
|
+
- !binary |-
|
106
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDoyOSBHTVQ=
|
107
|
+
!binary "UDNw":
|
108
|
+
- !binary |-
|
109
|
+
cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
|
110
|
+
LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
|
111
|
+
aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
|
112
|
+
IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
|
113
|
+
IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
|
114
|
+
!binary "U2V0LUNvb2tpZQ==":
|
115
|
+
- !binary |-
|
116
|
+
bG9jYWxpemF0aW9uPWVuLXVzJTNCdXMlM0J1czsgZXhwaXJlcz1TdW4sIDA0
|
117
|
+
LU1heS0yMDE0IDIyOjI0OjI5IEdNVDsgcGF0aD0vOyBkb21haW49LmZsaWNr
|
118
|
+
ci5jb20=
|
119
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
120
|
+
- !binary |-
|
121
|
+
cHJpdmF0ZQ==
|
122
|
+
!binary "WC1TZXJ2ZWQtQnk=":
|
123
|
+
- !binary |-
|
124
|
+
d3d3MTI1LmZsaWNrci5tdWQueWFob28uY29t
|
125
|
+
!binary "VmFyeQ==":
|
126
|
+
- !binary |-
|
127
|
+
QWNjZXB0LUVuY29kaW5n
|
128
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
129
|
+
- !binary |-
|
130
|
+
Z3ppcA==
|
131
|
+
!binary "Q29udGVudC1UeXBl":
|
132
|
+
- !binary |-
|
133
|
+
dGV4dC9wbGFpbjtjaGFyc2V0PVVURi04
|
134
|
+
!binary "QWdl":
|
135
|
+
- !binary |-
|
136
|
+
MA==
|
137
|
+
!binary "Vmlh":
|
138
|
+
- !binary |-
|
139
|
+
SFRUUC8xLjEgcjM1LnljcGkubXVkLnlhaG9vLm5ldCAoWWFob29UcmFmZmlj
|
140
|
+
U2VydmVyLzEuMjAuMTQgW2NNc1NmIF0pLCBIVFRQLzEuMSByMTMueWNwaS51
|
141
|
+
a2wueWFob28ubmV0IChZYWhvb1RyYWZmaWNTZXJ2ZXIvMS4yMC4xNCBbY01z
|
142
|
+
U2YgXSk=
|
143
|
+
!binary "U2VydmVy":
|
144
|
+
- !binary |-
|
145
|
+
WVRTLzEuMjAuMTQ=
|
146
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
147
|
+
- !binary |-
|
148
|
+
Y2h1bmtlZA==
|
149
|
+
!binary "Q29ubmVjdGlvbg==":
|
150
|
+
- !binary |-
|
151
|
+
a2VlcC1hbGl2ZQ==
|
152
|
+
body:
|
153
|
+
encoding: ASCII-8BIT
|
154
|
+
string: !binary |-
|
155
|
+
H4sIAAAAAAAAA0WPzW6EMAyEnwZuRZAE2Bz2gLY/e+mpvUeJMUsESWgSQH37
|
156
|
+
hqqikiVbM/6ssZNrHMXinZrRXIN+WBlXj0LbTc66z3tU60MEFa5vL5/5GOOS
|
157
|
+
0S4jr6n2fS+GWcPkC3AmCQH9pgFDGt1xNnWPXyuGKKKb0Oa/qgA5z0rClNFn
|
158
|
+
51RGmj/Z2bAa9GLC72RV2DJeXtpaAkCtOFQgeSXJQFpVNyU7OessYAJU3yJT
|
159
|
+
rOYDlQ0hyAbO2IUSRQcu24qewP+TBuPo+sTe37vb08e9q86lqE3KLc1yRKG0
|
160
|
+
oYyWDT/tDX3Qzh5mUf4AQ1mAi0QBAAA=
|
161
|
+
http_version:
|
162
|
+
recorded_at: Sun, 06 May 2012 22:24:29 GMT
|
163
|
+
- request:
|
164
|
+
method: get
|
165
|
+
uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
|
166
|
+
body:
|
167
|
+
encoding: US-ASCII
|
168
|
+
string: ''
|
169
|
+
headers:
|
170
|
+
Authorization:
|
171
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="2ca4aff315809f3f75a4b3e9f6f6aa5b",
|
172
|
+
oauth_signature="dOydAJPfTyplanWGttFjl8qJCfE%3D", oauth_signature_method="HMAC-SHA1",
|
173
|
+
oauth_timestamp="1336343069", oauth_version="1.0"
|
174
|
+
Accept-Encoding:
|
175
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
176
|
+
Accept:
|
177
|
+
- ! '*/*'
|
178
|
+
User-Agent:
|
179
|
+
- Ruby
|
180
|
+
response:
|
181
|
+
status:
|
182
|
+
code: 200
|
183
|
+
message: !binary |-
|
184
|
+
T0s=
|
185
|
+
headers:
|
186
|
+
!binary "RGF0ZQ==":
|
187
|
+
- !binary |-
|
188
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDoyOSBHTVQ=
|
189
|
+
!binary "UDNw":
|
190
|
+
- !binary |-
|
191
|
+
cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
|
192
|
+
LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
|
193
|
+
aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
|
194
|
+
IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
|
195
|
+
IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
|
196
|
+
!binary "U2V0LUNvb2tpZQ==":
|
197
|
+
- !binary |-
|
198
|
+
bG9jYWxpemF0aW9uPWVuLXVzJTNCdXMlM0J1czsgZXhwaXJlcz1TdW4sIDA0
|
199
|
+
LU1heS0yMDE0IDIyOjI0OjI5IEdNVDsgcGF0aD0vOyBkb21haW49LmZsaWNr
|
200
|
+
ci5jb20=
|
201
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
202
|
+
- !binary |-
|
203
|
+
cHJpdmF0ZQ==
|
204
|
+
!binary "WC1TZXJ2ZWQtQnk=":
|
205
|
+
- !binary |-
|
206
|
+
d3d3MTEzLmZsaWNrci5tdWQueWFob28uY29t
|
207
|
+
!binary "VmFyeQ==":
|
208
|
+
- !binary |-
|
209
|
+
QWNjZXB0LUVuY29kaW5n
|
210
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
211
|
+
- !binary |-
|
212
|
+
Z3ppcA==
|
213
|
+
!binary "Q29udGVudC1UeXBl":
|
214
|
+
- !binary |-
|
215
|
+
dGV4dC9wbGFpbjtjaGFyc2V0PVVURi04
|
216
|
+
!binary "QWdl":
|
217
|
+
- !binary |-
|
218
|
+
Mw==
|
219
|
+
!binary "Vmlh":
|
220
|
+
- !binary |-
|
221
|
+
SFRUUC8xLjEgcjEyLnljcGkubXVkLnlhaG9vLm5ldCAoWWFob29UcmFmZmlj
|
222
|
+
U2VydmVyLzEuMjAuMTQgW2NNc1NmIF0pLCBIVFRQLzEuMSByMTMueWNwaS51
|
223
|
+
a2wueWFob28ubmV0IChZYWhvb1RyYWZmaWNTZXJ2ZXIvMS4yMC4xNCBbY01z
|
224
|
+
U2YgXSk=
|
225
|
+
!binary "U2VydmVy":
|
226
|
+
- !binary |-
|
227
|
+
WVRTLzEuMjAuMTQ=
|
228
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
229
|
+
- !binary |-
|
230
|
+
Y2h1bmtlZA==
|
231
|
+
!binary "Q29ubmVjdGlvbg==":
|
232
|
+
- !binary |-
|
233
|
+
a2VlcC1hbGl2ZQ==
|
234
|
+
body:
|
235
|
+
encoding: ASCII-8BIT
|
236
|
+
string: !binary |-
|
237
|
+
H4sIAAAAAAAAA03KOw6DMAwA0Nt0Q7Kd2oYhZ4mMMWrFJ1II90fq1Pm9anf/
|
238
|
+
FLd9n8234vVcv+2IJfd2x6v+tNctzqyErEKToApDwvcANhKopGWiGQP1v5cr
|
239
|
+
vEXPYgDEnFZ0TcD2AB9AkjJwAAAA
|
240
|
+
http_version:
|
241
|
+
recorded_at: Sun, 06 May 2012 22:24:30 GMT
|
242
|
+
- request:
|
243
|
+
method: get
|
244
|
+
uri: http://www.flickr.com/services/oauth/request_token?oauth_callback=oob
|
245
|
+
body:
|
246
|
+
encoding: US-ASCII
|
247
|
+
string: ''
|
248
|
+
headers:
|
249
|
+
Authorization:
|
250
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="b4d524c3fb426f673047b3019d244158",
|
251
|
+
oauth_signature="Y0MkAlr63GVbfDNXctFNl9fa70U%3D", oauth_signature_method="HMAC-SHA1",
|
252
|
+
oauth_timestamp="1336343070", oauth_version="1.0"
|
253
|
+
Accept-Encoding:
|
254
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
255
|
+
Accept:
|
256
|
+
- ! '*/*'
|
257
|
+
User-Agent:
|
258
|
+
- Ruby
|
259
|
+
response:
|
260
|
+
status:
|
261
|
+
code: 200
|
262
|
+
message: !binary |-
|
263
|
+
T0s=
|
264
|
+
headers:
|
265
|
+
!binary "RGF0ZQ==":
|
266
|
+
- !binary |-
|
267
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDozMCBHTVQ=
|
268
|
+
!binary "UDNw":
|
269
|
+
- !binary |-
|
270
|
+
cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
|
271
|
+
LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
|
272
|
+
aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
|
273
|
+
IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
|
274
|
+
IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
|
275
|
+
!binary "U2V0LUNvb2tpZQ==":
|
276
|
+
- !binary |-
|
277
|
+
bG9jYWxpemF0aW9uPWVuLXVzJTNCdXMlM0J1czsgZXhwaXJlcz1TdW4sIDA0
|
278
|
+
LU1heS0yMDE0IDIyOjI0OjMwIEdNVDsgcGF0aD0vOyBkb21haW49LmZsaWNr
|
279
|
+
ci5jb20=
|
280
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
281
|
+
- !binary |-
|
282
|
+
cHJpdmF0ZQ==
|
283
|
+
!binary "WC1TZXJ2ZWQtQnk=":
|
284
|
+
- !binary |-
|
285
|
+
d3d3NTAuZmxpY2tyLm11ZC55YWhvby5jb20=
|
286
|
+
!binary "VmFyeQ==":
|
287
|
+
- !binary |-
|
288
|
+
QWNjZXB0LUVuY29kaW5n
|
289
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
290
|
+
- !binary |-
|
291
|
+
Z3ppcA==
|
292
|
+
!binary "Q29udGVudC1UeXBl":
|
293
|
+
- !binary |-
|
294
|
+
dGV4dC9wbGFpbjtjaGFyc2V0PVVURi04
|
295
|
+
!binary "QWdl":
|
296
|
+
- !binary |-
|
297
|
+
MA==
|
298
|
+
!binary "Vmlh":
|
299
|
+
- !binary |-
|
300
|
+
SFRUUC8xLjEgcjM5LnljcGkubXVkLnlhaG9vLm5ldCAoWWFob29UcmFmZmlj
|
301
|
+
U2VydmVyLzEuMjAuMTQgW2NNc1NmIF0pLCBIVFRQLzEuMSByMTYueWNwaS51
|
302
|
+
a2wueWFob28ubmV0IChZYWhvb1RyYWZmaWNTZXJ2ZXIvMS4yMC4xNCBbY01z
|
303
|
+
U2YgXSk=
|
304
|
+
!binary "U2VydmVy":
|
305
|
+
- !binary |-
|
306
|
+
WVRTLzEuMjAuMTQ=
|
307
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
308
|
+
- !binary |-
|
309
|
+
Y2h1bmtlZA==
|
310
|
+
!binary "Q29ubmVjdGlvbg==":
|
311
|
+
- !binary |-
|
312
|
+
a2VlcC1hbGl2ZQ==
|
313
|
+
body:
|
314
|
+
encoding: ASCII-8BIT
|
315
|
+
string: !binary |-
|
316
|
+
H4sIAAAAAAAAA03KOw6AIAwA0Nu4mQiVYgfOQkop0fghQby/iZPze5Wfvkbh
|
317
|
+
40gse5R6la2dmkNvjw710153vYK3xnm0hMajm2Zjx5IUEnERJZhQ4N/jrdK0
|
318
|
+
B7GLLh4gFyKHbF6Jln3ScAAAAA==
|
319
|
+
http_version:
|
320
|
+
recorded_at: Sun, 06 May 2012 22:24:30 GMT
|
321
|
+
- request:
|
322
|
+
method: get
|
323
|
+
uri: http://www.flickr.com/services/oauth/access_token?oauth_verifier=foo
|
324
|
+
body:
|
325
|
+
encoding: US-ASCII
|
326
|
+
string: ''
|
327
|
+
headers:
|
328
|
+
Authorization:
|
329
|
+
- OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="f8c06cd238b27de342905bcc649609b3",
|
330
|
+
oauth_signature="vmvLStm4V%2BB4bh5rWrVU1m2si4o%3D", oauth_signature_method="HMAC-SHA1",
|
331
|
+
oauth_timestamp="1336343070", oauth_token="72157629617650412-fbe3b9afce9306c3",
|
332
|
+
oauth_version="1.0"
|
333
|
+
Accept-Encoding:
|
334
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
335
|
+
Accept:
|
336
|
+
- ! '*/*'
|
337
|
+
User-Agent:
|
338
|
+
- Ruby
|
339
|
+
response:
|
340
|
+
status:
|
341
|
+
code: 401
|
342
|
+
message: !binary |-
|
343
|
+
VW5hdXRob3JpemVk
|
344
|
+
headers:
|
345
|
+
!binary "RGF0ZQ==":
|
346
|
+
- !binary |-
|
347
|
+
U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDozMCBHTVQ=
|
348
|
+
!binary "UDNw":
|
349
|
+
- !binary |-
|
350
|
+
cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
|
351
|
+
LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
|
352
|
+
aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
|
353
|
+
IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
|
354
|
+
IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
|
355
|
+
!binary "U2V0LUNvb2tpZQ==":
|
356
|
+
- !binary |-
|
357
|
+
bG9jYWxpemF0aW9uPWVuLXVzJTNCdXMlM0J1czsgZXhwaXJlcz1TdW4sIDA0
|
358
|
+
LU1heS0yMDE0IDIyOjI0OjMwIEdNVDsgcGF0aD0vOyBkb21haW49LmZsaWNr
|
359
|
+
ci5jb20=
|
360
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
361
|
+
- !binary |-
|
362
|
+
cHJpdmF0ZQ==
|
363
|
+
!binary "WC1TZXJ2ZWQtQnk=":
|
364
|
+
- !binary |-
|
365
|
+
d3d3MTc5LmZsaWNrci5tdWQueWFob28uY29t
|
366
|
+
!binary "VmFyeQ==":
|
367
|
+
- !binary |-
|
368
|
+
QWNjZXB0LUVuY29kaW5n
|
369
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
370
|
+
- !binary |-
|
371
|
+
Z3ppcA==
|
372
|
+
!binary "Q29udGVudC1UeXBl":
|
373
|
+
- !binary |-
|
374
|
+
dGV4dC9wbGFpbjtjaGFyc2V0PVVURi04
|
375
|
+
!binary "QWdl":
|
376
|
+
- !binary |-
|
377
|
+
MA==
|
378
|
+
!binary "Vmlh":
|
379
|
+
- !binary |-
|
380
|
+
SFRUUC8xLjEgcjQ1LnljcGkubXVkLnlhaG9vLm5ldCAoWWFob29UcmFmZmlj
|
381
|
+
U2VydmVyLzEuMjAuMTQgW2NNc1NmIF0pLCBIVFRQLzEuMSByMTkueWNwaS5k
|
382
|
+
ZWUueWFob28ubmV0IChZYWhvb1RyYWZmaWNTZXJ2ZXIvMS4yMC4xNCBbY01z
|
383
|
+
U2YgXSk=
|
384
|
+
!binary "U2VydmVy":
|
385
|
+
- !binary |-
|
386
|
+
WVRTLzEuMjAuMTQ=
|
387
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
388
|
+
- !binary |-
|
389
|
+
Y2h1bmtlZA==
|
390
|
+
!binary "Q29ubmVjdGlvbg==":
|
391
|
+
- !binary |-
|
392
|
+
a2VlcC1hbGl2ZQ==
|
393
|
+
body:
|
394
|
+
encoding: ASCII-8BIT
|
395
|
+
string: !binary |-
|
396
|
+
H4sIAAAAAAAAA8tPLC3JiC8oyk/KSc21LcnPTs2LL0rNSk0uSU0BAExk+24c
|
397
|
+
AAAA
|
398
|
+
http_version:
|
399
|
+
recorded_at: Sun, 06 May 2012 22:24:30 GMT
|
400
|
+
recorded_with: VCR 2.1.1
|