picasa 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/.gitignore +2 -0
  2. data/.travis.yml +4 -9
  3. data/Gemfile +4 -4
  4. data/README.md +4 -12
  5. data/extra/Thorfile +0 -3
  6. data/lib/picasa.rb +1 -8
  7. data/lib/picasa/api/album.rb +11 -11
  8. data/lib/picasa/api/base.rb +0 -3
  9. data/lib/picasa/api/comment.rb +6 -8
  10. data/lib/picasa/api/photo.rb +9 -9
  11. data/lib/picasa/api/tag.rb +6 -8
  12. data/lib/picasa/client.rb +2 -2
  13. data/lib/picasa/connection.rb +14 -51
  14. data/lib/picasa/exceptions.rb +1 -0
  15. data/lib/picasa/file.rb +8 -0
  16. data/lib/picasa/http.rb +28 -0
  17. data/lib/picasa/presenter/album.rb +15 -15
  18. data/lib/picasa/presenter/album_list.rb +10 -10
  19. data/lib/picasa/presenter/comment.rb +6 -6
  20. data/lib/picasa/presenter/comment_list.rb +10 -10
  21. data/lib/picasa/presenter/media.rb +5 -5
  22. data/lib/picasa/presenter/photo.rb +15 -15
  23. data/lib/picasa/presenter/tag.rb +3 -3
  24. data/lib/picasa/presenter/tag_list.rb +10 -10
  25. data/lib/picasa/utils.rb +11 -13
  26. data/lib/picasa/version.rb +1 -1
  27. data/picasa.gemspec +2 -1
  28. data/test/api/album_test.rb +163 -20
  29. data/test/api/comment_test.rb +95 -10
  30. data/test/api/photo_test.rb +27 -11
  31. data/test/api/tag_test.rb +84 -13
  32. data/test/cassettes/album-404.yml +52 -0
  33. data/test/cassettes/album-create.yml +107 -0
  34. data/test/cassettes/album-destroy.yml +55 -0
  35. data/test/cassettes/album-list.yml +85 -0
  36. data/test/cassettes/album-show.yml +123 -0
  37. data/test/cassettes/auth-failed.yml +50 -0
  38. data/test/cassettes/auth-success.yml +64 -0
  39. data/test/cassettes/comment-400.yml +56 -0
  40. data/test/cassettes/comment-create.yml +88 -0
  41. data/test/cassettes/comment-destroy.yml +53 -0
  42. data/test/cassettes/comment-list.yml +87 -0
  43. data/test/cassettes/photo-412.yml +58 -0
  44. data/test/cassettes/photo-create.yml +1908 -0
  45. data/test/cassettes/photo-destroy.yml +55 -0
  46. data/test/cassettes/tag-create.yml +85 -0
  47. data/test/cassettes/tag-destroy.yml +53 -0
  48. data/test/cassettes/tag-list.yml +79 -0
  49. data/test/client_test.rb +10 -10
  50. data/test/connection_test.rb +0 -35
  51. data/test/helper.rb +21 -7
  52. data/test/utils_test.rb +0 -6
  53. metadata +37 -40
  54. data/test/fixtures/album/album-create.txt +0 -21
  55. data/test/fixtures/album/album-list-with-tag.txt +0 -105
  56. data/test/fixtures/album/album-list.txt +0 -105
  57. data/test/fixtures/album/album-show-with-max-results.txt +0 -131
  58. data/test/fixtures/album/album-show-with-tag-and-many-photos.txt +0 -156
  59. data/test/fixtures/album/album-show-with-tag-and-one-photo.txt +0 -105
  60. data/test/fixtures/album/album-show.txt +0 -169
  61. data/test/fixtures/auth/success.txt +0 -14
  62. data/test/fixtures/comment/comment-list.txt +0 -65
  63. data/test/fixtures/exceptions/forbidden.txt +0 -12
  64. data/test/fixtures/exceptions/not_found.txt +0 -14
  65. data/test/fixtures/exceptions/precondition_failed.txt +0 -14
  66. data/test/fixtures/json.txt +0 -435
  67. data/test/fixtures/photo/photo-created.txt +0 -21
  68. data/test/fixtures/photo/photo-list-all-with-q.txt +0 -556
  69. data/test/fixtures/photo/photo-list-all.txt +0 -623
  70. data/test/fixtures/photo/photo-list-user.txt +0 -388
  71. data/test/fixtures/presenters/album_list.xml +0 -88
  72. data/test/fixtures/presenters/album_show.xml +0 -152
  73. data/test/fixtures/presenters/album_show_with_one_photo.xml +0 -88
  74. data/test/fixtures/presenters/comment_list.xml +0 -48
  75. data/test/fixtures/presenters/tag_list.xml +0 -51
  76. data/test/fixtures/tag/tag-list.txt +0 -68
  77. data/test/presenter/album_list_test.rb +0 -67
  78. data/test/presenter/album_test.rb +0 -189
  79. data/test/presenter/author_test.rb +0 -17
  80. data/test/presenter/base_test.rb +0 -50
  81. data/test/presenter/comment_list_test.rb +0 -67
  82. data/test/presenter/comment_test.rb +0 -56
  83. data/test/presenter/content_test.rb +0 -18
  84. data/test/presenter/link_test.rb +0 -21
  85. data/test/presenter/media_test.rb +0 -29
  86. data/test/presenter/photo_test.rb +0 -90
  87. data/test/presenter/tag_list_test.rb +0 -67
  88. data/test/presenter/tag_test.rb +0 -48
  89. data/test/presenter/thumbnail_test.rb +0 -24
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.google.com/accounts/ClientLogin?alt=json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: accountType=HOSTED_OR_GOOGLE&Email=w.wnetrzak%40gmail.com&Passwd=invalid&service=lh2&source=ruby-gem-picasa-v0.5.4
9
+ headers:
10
+ User-Agent:
11
+ - ruby-gem-picasa-v0.5.4 (gzip)
12
+ Gdata-Version:
13
+ - "2"
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ Accept-Encoding:
17
+ - gzip, deflate
18
+ response:
19
+ status:
20
+ code: 403
21
+ message: Forbidden
22
+ headers:
23
+ Content-Type:
24
+ - text/plain
25
+ Cache-Control:
26
+ - no-cache, no-store
27
+ Pragma:
28
+ - no-cache
29
+ Expires:
30
+ - Mon, 01-Jan-1990 00:00:00 GMT
31
+ Content-Encoding:
32
+ - gzip
33
+ Date:
34
+ - Thu, 01 Nov 2012 19:20:53 GMT
35
+ X-Content-Type-Options:
36
+ - nosniff
37
+ X-Xss-Protection:
38
+ - 1; mode=block
39
+ Content-Length:
40
+ - "44"
41
+ Server:
42
+ - GSE
43
+ body:
44
+ encoding: ASCII-8BIT
45
+ string: !binary |
46
+ H4sIAAAAAAAAAHMtKsovsnVKTHEsLclIzSvJTE4syczP4wIAm+kHYxgAAAA=
47
+
48
+ http_version:
49
+ recorded_at: Thu, 01 Nov 2012 19:20:52 GMT
50
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.google.com/accounts/ClientLogin?alt=json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: accountType=HOSTED_OR_GOOGLE&Email=w.wnetrzak%40gmail.com&Passwd=<FILTERED>&service=lh2&source=ruby-gem-picasa-v0.5.4
9
+ headers:
10
+ User-Agent:
11
+ - ruby-gem-picasa-v0.5.4 (gzip)
12
+ Gdata-Version:
13
+ - "2"
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ Accept-Encoding:
17
+ - gzip, deflate
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - text/plain
25
+ Cache-Control:
26
+ - no-cache, no-store
27
+ Pragma:
28
+ - no-cache
29
+ Expires:
30
+ - Mon, 01-Jan-1990 00:00:00 GMT
31
+ Content-Encoding:
32
+ - gzip
33
+ Date:
34
+ - Thu, 01 Nov 2012 19:19:34 GMT
35
+ X-Content-Type-Options:
36
+ - nosniff
37
+ X-Xss-Protection:
38
+ - 1; mode=block
39
+ Content-Length:
40
+ - "666"
41
+ Server:
42
+ - GSE
43
+ body:
44
+ encoding: ASCII-8BIT
45
+ string: !binary |
46
+ H4sIAAAAAAAAAK3St66jWgCF4f68iyVyKKYANjmYZNimsUzYZAMm8/Rziqv7
47
+ BNP87ZI+rUAHf4AnCILd/kYic1rbyfyS6A4Gd/AF4fEZRiNWzbmoyxD35se+
48
+ Tr6oXwTvOF4Rc7c2n8OkWeK67U29Mg2puiK9Z+U1Hr4ET3lYRaaL6XO7vJED
49
+ 8jjXlcwwWq+3H+sZGJCCFNwP9Vx7Y1/homjQ7D7vJMoQScXL0r9lwhuwTTOC
50
+ 19dZFygM2a5bO9xaCqJ83QcItHtxDJmphqoIzT0/Ef4AsqXZncAs72adI9We
51
+ nL3uqWTmoMxYyAOf3+3XqQq7eJ5lOA62bC1kyXGNM7oMmMxsCBzLqjbi5Enl
52
+ xwr+V9p/AxwDsgWS3kqbD9B81p1sEhGF8Q5CRPn0Xbyq1rkaqYtfcE1K6XOo
53
+ aSM+DyxOEfup1Ra77kYHJ9nqqvQL86lvqYi8P676powaN08s2xb0ntakorfx
54
+ Xlzrl+E6LHY8tagNkDmgPIFbNN5Ci9WEwW6aki2bVMvsLBybSrcIpaN7ylGC
55
+ 6JcUimuzCZ1nbDd/PskXrKI90xS+oJ32Ghl11wJgUgPT26MrtTBZDCW4LxnQ
56
+ UiQICnWeppndO2s6gvqc7VMjbHrFko/4zC0Ky+1L1/Q8nqkfYV2q/5Tmf6Fk
57
+ 2RXW+tv+TjemIGitDHDlWtErQxS3DXgeEPl47ChAQZPJAZ5e0gWJV+ffOq2G
58
+ BvV6Ugfj8HMbsXNsHK9IdycCY52BThF5jy2YqQ1gxMc26sZu8WncGw/a/72y
59
+ SDKSkLOAIWDPhX5ZQj53hHZiybChK6f4yGQs04Lw9ofG4A33e4v7R2qmIXng
60
+ 65ZWDzphm0pXmX6/gsgPnkKjyH4mQVt6cj9/Ad+8nchxAwAA
61
+
62
+ http_version:
63
+ recorded_at: Thu, 01 Nov 2012 19:19:33 GMT
64
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://picasaweb.google.com/data/entry/api/user/w.wnetrzak@gmail.com/albumid/5793892606777564353/photoid/5806295577614146146/commentid/13fufdr3znxifia004cgjbgjkmwyr5ot4g-1351125171797000?alt=json
6
+ body:
7
+ encoding: US-ASCII
8
+ base64_string: ""
9
+ headers:
10
+ User-Agent:
11
+ - ruby-gem-picasa-v0.5.4 (gzip)
12
+ Gdata-Version:
13
+ - "2"
14
+ Content-Type:
15
+ - application/atom+xml
16
+ Accept-Encoding:
17
+ - gzip, deflate
18
+ Authorization:
19
+ - <FILTERED>
20
+ response:
21
+ status:
22
+ code: 400
23
+ message: Bad Request
24
+ headers:
25
+ Expires:
26
+ - Fri, 02 Nov 2012 22:54:00 GMT
27
+ Date:
28
+ - Fri, 02 Nov 2012 22:54:00 GMT
29
+ Cache-Control:
30
+ - private, max-age=0, must-revalidate
31
+ Set-Cookie:
32
+ - S=photos_html=9RhTZpWVgAJoelRTJKFw0Q; Domain=.google.com; Path=/; Secure; HttpOnly
33
+ - _rtok=NluaiDX-4BgG; Path=/; Secure; HttpOnly
34
+ Content-Type:
35
+ - text/html; charset=UTF-8
36
+ Content-Encoding:
37
+ - gzip
38
+ Transfer-Encoding:
39
+ - chunked
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ X-Frame-Options:
43
+ - SAMEORIGIN
44
+ X-Xss-Protection:
45
+ - 1; mode=block
46
+ Server:
47
+ - GSE
48
+ body:
49
+ encoding: ASCII-8BIT
50
+ base64_string: |
51
+ H4sIAAAAAAAAAPPMK0vMyUxRSM7PzU3NK/FMUTA0TitNSykyrsqryEzLTDQw
52
+ MElOz0pKz8rOLa8sMs0vMUnXNTQ2NTQ0MjU0NzS3NDcwMAAA/wXWVUUAAAA=
53
+
54
+ http_version:
55
+ recorded_at: Fri, 02 Nov 2012 22:54:00 GMT
56
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,88 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://picasaweb.google.com/data/feed/api/user/w.wnetrzak@gmail.com/albumid/5793892606777564353/photoid/5806295577614146146?alt=json
6
+ body:
7
+ encoding: UTF-8
8
+ base64_string: |
9
+ PGVudHJ5IHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDA1L0F0b20iPgog
10
+ IDxjb250ZW50PsW8w7PFgsSHPC9jb250ZW50PgogIDxjYXRlZ29yeSBzY2hl
11
+ bWU9Imh0dHA6Ly9zY2hlbWFzLmdvb2dsZS5jb20vZy8yMDA1I2tpbmQiIHRl
12
+ cm09Imh0dHA6Ly9zY2hlbWFzLmdvb2dsZS5jb20vcGhvdG9zLzIwMDcjY29t
13
+ bWVudCIvPgo8L2VudHJ5Pgo=
14
+
15
+ headers:
16
+ User-Agent:
17
+ - ruby-gem-picasa-v0.5.4 (gzip)
18
+ Gdata-Version:
19
+ - "2"
20
+ Content-Type:
21
+ - application/atom+xml
22
+ Accept-Encoding:
23
+ - gzip, deflate
24
+ Authorization:
25
+ - <FILTERED>
26
+ response:
27
+ status:
28
+ code: 201
29
+ message: Created
30
+ headers:
31
+ Expires:
32
+ - Fri, 02 Nov 2012 22:41:19 GMT
33
+ Date:
34
+ - Fri, 02 Nov 2012 22:41:19 GMT
35
+ Cache-Control:
36
+ - private, max-age=0, must-revalidate, no-transform
37
+ Set-Cookie:
38
+ - S=photos_html=FYLg5heZciYhgsnEwKwbIQ; Domain=.google.com; Path=/; Secure; HttpOnly
39
+ - _rtok=UnQ-T6NqsPY6; Path=/; Secure; HttpOnly
40
+ Content-Type:
41
+ - application/json; charset=UTF-8
42
+ Access-Control-Allow-Origin:
43
+ - "*"
44
+ Vary:
45
+ - Accept, X-GData-Authorization, GData-Version
46
+ Gdata-Version:
47
+ - "2.0"
48
+ Etag:
49
+ - W/"DEcDRng7cSp7ImA9WhNSGEQ."
50
+ Location:
51
+ - https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5793892606777564353/photoid/5806295577614146146/commentid/0?alt=json&authkey=Gv1sRgCNmigd3KrbOHLA
52
+ Content-Location:
53
+ - https://picasaweb.google.com/data/entry/api/user/106136347770555028022/albumid/5793892606777564353/photoid/5806295577614146146/commentid/0?alt=json&authkey=Gv1sRgCNmigd3KrbOHLA
54
+ Content-Encoding:
55
+ - gzip
56
+ Transfer-Encoding:
57
+ - chunked
58
+ X-Content-Type-Options:
59
+ - nosniff
60
+ X-Frame-Options:
61
+ - SAMEORIGIN
62
+ X-Xss-Protection:
63
+ - 1; mode=block
64
+ Server:
65
+ - GSE
66
+ body:
67
+ encoding: ASCII-8BIT
68
+ base64_string: |
69
+ H4sIAAAAAAAAAN1Uy27bMBD8lUI1emksUm/bQFA4jhsHbZLmVQNteqAlRmRM
70
+ kYJE2Y6DXHrpN/Q7eu2tyX+VlBVbQJNGl16qAyFwhzszu0veGDOc5VRwo2dY
71
+ JjS2DMxDEVEeq43zs7ftTrkls2ujd2MsEsbzFkpTFSRSpj0A5vO5OXdMkcXA
72
+ hjAAOri1Aj4F8kBfiuQB1YpTIqTYgPOQ4ATlZixEzLAZigSUiLwk2ByL/npk
73
+ xaTQcdTCEmk7Y3Bh7A7D3RMeB+FpGuwn/e6YHJ7uDY/NC0NBaaRNtmSVOFeZ
74
+ UxqiHM3xpJ47QhKBsiigyHEGLOhbju+4QRBAz/Og3YG2DRCbFAmNgBd0nU7X
75
+ 9qGv4p7vOp6zMqRjHejbXc8LAt9yLVctPlAMiUquotC43TLSYsJoTvBGmw0t
76
+ u21ZbWif2XbPtXpWYPqw+0mji1SJa4hVrWrhiDaFhypxLPQgfL4xyorjBh14
77
+ OaU8UrWVOEua9vhlVQLj9os6SCXDa4FjcRVSHJIXY373XWZLNC2lCS41/gF1
78
+ //PXj/uvd990jFE+LSVnmKkQYkoJV1a0putUW5B4IQGRCVNbJMOXz7WfkZVY
79
+ UCwPZqOdwf7EmY4+Ekz3juzjweA8mh0cM3bgoIF7KpYynlARKyUPCnLMLjfk
80
+ qglMkUh1BQFS1+L1orGO2hiilP7jUXyjCrd9lQv+ChWSTPH19t7Myk/iwWFC
81
+ 48h5l02ORu/7NZt6sv5fm2owNUBk5WhxlDw3okVGmz0uj1rTGVbvZIvTcNqA
82
+ r0JLUiQTjij7g5wRp6LVFa1uUKmg7ePlKPTc884Cgv7626/998GHnWKRBEPC
83
+ /SHI3U47fFy4eZXGNTmaaq3kCae6thW89iDDWpaql+vYIz1VaW5/A0ngZYjc
84
+ BgAA
85
+
86
+ http_version:
87
+ recorded_at: Fri, 02 Nov 2012 22:41:19 GMT
88
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://picasaweb.google.com/data/entry/api/user/w.wnetrzak@gmail.com/albumid/5793892606777564353/photoid/5806295577614146146/commentid/z13aebo5hvi5gjtj004cgjbgjkmwyr5ot4g-1351896079590000?alt=json
6
+ body:
7
+ encoding: US-ASCII
8
+ base64_string: ""
9
+ headers:
10
+ User-Agent:
11
+ - ruby-gem-picasa-v0.5.4 (gzip)
12
+ Gdata-Version:
13
+ - "2"
14
+ Content-Type:
15
+ - application/atom+xml
16
+ Accept-Encoding:
17
+ - gzip, deflate
18
+ Authorization:
19
+ - <FILTERED>
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Expires:
26
+ - Fri, 02 Nov 2012 23:03:35 GMT
27
+ Date:
28
+ - Fri, 02 Nov 2012 23:03:35 GMT
29
+ Cache-Control:
30
+ - private, max-age=0, must-revalidate
31
+ Set-Cookie:
32
+ - S=photos_html=B43CFjG20ry04VYX3_YooQ; Domain=.google.com; Path=/; Secure; HttpOnly
33
+ - _rtok=scEHPIo1kzuh; Path=/; Secure; HttpOnly
34
+ Gdata-Version:
35
+ - "2.0"
36
+ X-Content-Type-Options:
37
+ - nosniff
38
+ X-Frame-Options:
39
+ - SAMEORIGIN
40
+ X-Xss-Protection:
41
+ - 1; mode=block
42
+ Content-Length:
43
+ - "0"
44
+ Server:
45
+ - GSE
46
+ Content-Type:
47
+ - text/html; charset=UTF-8
48
+ body:
49
+ encoding: US-ASCII
50
+ base64_string: ""
51
+ http_version:
52
+ recorded_at: Fri, 02 Nov 2012 23:03:35 GMT
53
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,87 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://picasaweb.google.com/data/feed/api/user/w.wnetrzak/albumid/5239555770355467953?alt=json&kind=comment
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ""
9
+ headers:
10
+ User-Agent:
11
+ - ruby-gem-picasa-v0.5.4 (gzip)
12
+ Gdata-Version:
13
+ - "2"
14
+ Accept-Encoding:
15
+ - gzip, deflate
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Expires:
22
+ - Thu, 01 Nov 2012 17:17:21 GMT
23
+ Date:
24
+ - Thu, 01 Nov 2012 17:17:21 GMT
25
+ Cache-Control:
26
+ - private, max-age=0, must-revalidate, no-transform
27
+ Set-Cookie:
28
+ - S=photos_html=cdtp5FjJUNDTUb9O0LwCMw; Domain=.google.com; Path=/; Secure; HttpOnly
29
+ - _rtok=AN_-K9lYdB4F; Path=/; Secure; HttpOnly
30
+ Content-Type:
31
+ - application/json; charset=UTF-8
32
+ Access-Control-Allow-Origin:
33
+ - "*"
34
+ Vary:
35
+ - Accept, X-GData-Authorization, GData-Version, Cookie
36
+ Gdata-Version:
37
+ - "2.0"
38
+ Etag:
39
+ - W/"D0YDQHkyfyp7ImA9WhNSEU8."
40
+ Last-Modified:
41
+ - Thu, 25 Oct 2012 00:32:51 GMT
42
+ Content-Encoding:
43
+ - gzip
44
+ Transfer-Encoding:
45
+ - chunked
46
+ X-Content-Type-Options:
47
+ - nosniff
48
+ X-Frame-Options:
49
+ - SAMEORIGIN
50
+ X-Xss-Protection:
51
+ - 1; mode=block
52
+ Server:
53
+ - GSE
54
+ body:
55
+ encoding: ASCII-8BIT
56
+ string: !binary |
57
+ H4sIAAAAAAAAAM1W6W7jNhB+lUCb5E9jU6cvwAjcxNn1ok2zibfuplsUtERL
58
+ tKmjJBXZCfwgRV+nfa8O6TNrbeoEDbCGYRmaj3N8M5yZB+OOcEHTxGgZVtU0
59
+ TgyS+GlAkxBefOxfVBrwakRIYLQejGnMEgHvIymzFkJFUVQLp5ryENmm6aGO
60
+ TGNAa9RhmEWpTDdg4UckxqIapmnISNVPY6QRQp2tr4+lGUluCOZ+tDmKmxpe
61
+ QSIjPlIIoRHIqlpoYzB40tjCR0CHwSGRWIU3QJ+Nc/PT+Yd3k9loltV7cac5
62
+ iC5vuh8b1c8GQKmO+lAuFQvQnFEfC1yQ4bbuAEuMFEkoF4Qjy6xZTs1x6/W6
63
+ 6XmeaTdM20aYDfOYBsiznSa8BZnjeW6t3vQcY35i5BloIRuDtmnZFcus2F7f
64
+ NFuO3fKsar1Zv1VYH5BhymdG69cHQ8dK9oj9zYQmAUQlCY/3zcsb7bUx/w2O
65
+ UcnI2j1JhFSuiHz4WPBTRsWBPpUrOadhJMVamuVDRn0loL6quS/YZVFt6Ygi
66
+ EhCSJHKR/Ns/frkeOe+of9dDNz/gyWUyplPeRZ3VZ+Ijp9u5NcmFUzn7gIRV
67
+ Mys+6oOf1XEWKpOMJhNNGSdsH7502UPgs0zRi7MMXMcS7grCUOnfQdmBNOJk
68
+ tH994Iy+sEZOMZPtsQDS5ierCOAV4QkUw8ZLSaYSRXJv18r96C+y+99MbZeK
69
+ YDQgIkqLcs6mFZD5kwLfkcqIYRHt6aFAPhrSBK3VV0UxOo1SIdtl+OPrt9+3
70
+ zampP8eK9LZWf+R0juwL+JYdgtcqR/BQB+ABeYJflSl4lHKkQItswb+SfB05
71
+ IJdHzjkX4tlUcpKlXL48qyxCCxWdIcRwmic4Ju3SMI4xDdrlLWnlsiBs9O1d
72
+ g2MhMZcVaGlk2raOYzytcCJyJkXbg8SrXtcGozE0EN2+cC6jlOvrr9hYt55B
73
+ OvYp8aODQfL3n5Lf44nuxpzu1/pLAzDmymJIEsKBIr7WdLXSAIQ9Grtq7mqT
74
+ q/ootaUc28zHQ5lKzK4XMa9MWI8hmqOeougrACpJLK4Iv8LhmhKgD0CL+X24
75
+ NQK/MriWwEekLvvHSsbSRcGs5WFwT8k/f21BsO8TUTYnlnJJY9CJ42wNsWyr
76
+ 2TRrDX3Rtx3J48VVWiFrG5mquY2C8tRtFFF/skeprAJgLC2uOE22pp3kOfkS
77
+ cp4WCUtxsIuCSl2O9NdaUbSFF168RX/SMtepNV2z5jYbruPVXddGy4sG0nvL
78
+ GeWjgDv3yZSOKDZN1w/Hw3A8iYsZ91LphhXL8SzL9qy6BQvNMnk64SLacwH6
79
+ Rpel7X7zeCv6mUI10Vwc9AkjQru1WG7WiCGBDkVHOTvIGPa3Jrpu+7vby/8w
80
+ +2FKaO9R1+11efM8vb6x7LP3b4cD9vs0lj/2x5e33f6neHb1fmYySrOL2Hy1
81
+ ubCozZcPhlesz63V64lBspviZwwRt1azXc+yG45bg0e94TzZiXZtrdpklMfD
82
+ BFP2nNU6uo6Ls4ndfdsvNut0p7f1v4OiWWdgX4reZZAi4TZgsy51erVql/fb
83
+ 0ij1qNwZNi/tI0tNy2LYml07RaEsz+f/AmQQAtIADwAA
84
+
85
+ http_version:
86
+ recorded_at: Thu, 01 Nov 2012 17:17:20 GMT
87
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,58 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://picasaweb.google.com/data/entry/api/user/w.wnetrzak@gmail.com/albumid/5793892606777564353/photoid/5806295577614146146?alt=json
6
+ body:
7
+ encoding: US-ASCII
8
+ base64_string: ""
9
+ headers:
10
+ User-Agent:
11
+ - ruby-gem-picasa-v0.5.4 (gzip)
12
+ Gdata-Version:
13
+ - "2"
14
+ Content-Type:
15
+ - application/atom+xml
16
+ Accept-Encoding:
17
+ - gzip, deflate
18
+ Authorization:
19
+ - <FILTERED>
20
+ If-Match:
21
+ - Not-Fresh
22
+ response:
23
+ status:
24
+ code: 412
25
+ message: Precondition Failed
26
+ headers:
27
+ Expires:
28
+ - Fri, 02 Nov 2012 23:09:54 GMT
29
+ Date:
30
+ - Fri, 02 Nov 2012 23:09:54 GMT
31
+ Cache-Control:
32
+ - private, max-age=0, must-revalidate
33
+ Set-Cookie:
34
+ - S=photos_html=_iZyNb7j7zQcGDVnv8XOqw; Domain=.google.com; Path=/; Secure; HttpOnly
35
+ - _rtok=7YbwaVa9QV3n; Path=/; Secure; HttpOnly
36
+ Content-Type:
37
+ - text/html; charset=UTF-8
38
+ Content-Encoding:
39
+ - gzip
40
+ Transfer-Encoding:
41
+ - chunked
42
+ X-Content-Type-Options:
43
+ - nosniff
44
+ X-Frame-Options:
45
+ - SAMEORIGIN
46
+ X-Xss-Protection:
47
+ - 1; mode=block
48
+ Server:
49
+ - GSE
50
+ body:
51
+ encoding: ASCII-8BIT
52
+ base64_string: |
53
+ H4sIAAAAAAAAAPPNLM5NLEnOsFJILUlML1awVYj2yy/RdStKLc6I1VEoSy0q
54
+ zszPAwlbxAIADLKlkCwAAAA=
55
+
56
+ http_version:
57
+ recorded_at: Fri, 02 Nov 2012 23:09:54 GMT
58
+ recorded_with: VCR 2.3.0