flickrie 0.7.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +4 -0
  3. data/CHANGELOG.md +70 -30
  4. data/Gemfile +5 -4
  5. data/README.md +55 -53
  6. data/Rakefile +6 -9
  7. data/lib/flickrie/api_methods.rb +16 -3
  8. data/lib/flickrie/client.rb +11 -40
  9. data/lib/flickrie/instance.rb +0 -1
  10. data/lib/flickrie/location.rb +21 -18
  11. data/lib/flickrie/media.rb +5 -21
  12. data/lib/flickrie/media_count.rb +4 -0
  13. data/lib/flickrie/middleware.rb +71 -0
  14. data/lib/flickrie/oauth.rb +58 -49
  15. data/lib/flickrie/photo.rb +0 -2
  16. data/lib/flickrie/set.rb +0 -5
  17. data/lib/flickrie/upload_client.rb +45 -56
  18. data/lib/flickrie/user.rb +10 -10
  19. data/lib/flickrie/version.rb +1 -1
  20. data/lib/flickrie/video.rb +0 -2
  21. data/spec/files/photo.bla +0 -0
  22. data/spec/{api_methods_spec.rb → flickrie/api_methods_spec.rb} +14 -14
  23. data/spec/{error_spec.rb → flickrie/error_spec.rb} +1 -1
  24. data/spec/{instance_spec.rb → flickrie/instance_spec.rb} +2 -5
  25. data/spec/{license_spec.rb → flickrie/license_spec.rb} +1 -1
  26. data/spec/{location_spec.rb → flickrie/location_spec.rb} +12 -1
  27. data/spec/{media_count_spec.rb → flickrie/media_count_spec.rb} +7 -3
  28. data/spec/{media_spec.rb → flickrie/media_spec.rb} +25 -26
  29. data/spec/flickrie/oauth_spec.rb +25 -0
  30. data/spec/{photo_spec.rb → flickrie/photo_spec.rb} +1 -1
  31. data/spec/{set_spec.rb → flickrie/set_spec.rb} +2 -2
  32. data/spec/flickrie/upload_client_spec.rb +40 -0
  33. data/spec/flickrie/user_spec.rb +58 -0
  34. data/spec/{video_spec.rb → flickrie/video_spec.rb} +1 -1
  35. data/spec/spec_helper.rb +16 -13
  36. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/asynchronous_upload.yml +60 -95
  37. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/replace.yml +16 -16
  38. data/spec/{fixtures/vcr_cassettes/api_methods/tags.yml → vcr_cassettes/api_methods/tag_manipulation.yml} +24 -24
  39. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/upload_and_delete.yml +21 -21
  40. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/error/a_request_was_made_and_failed.yml +9 -9
  41. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/instance/calling_api_methods.yml +32 -32
  42. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/license/get.yml +4 -4
  43. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_contacts.yml +8 -8
  44. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_set.yml +5 -5
  45. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_user.yml +5 -5
  46. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_context.yml +4 -4
  47. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_exif.yml +8 -8
  48. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_info.yml +18 -18
  49. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/public_from_user.yml +5 -5
  50. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/search.yml +5 -5
  51. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media_count/get.yml +8 -8
  52. data/spec/vcr_cassettes/o_auth/incorrect_credentials.yml +249 -0
  53. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/get_info.yml +6 -6
  54. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/get_sizes.yml +12 -12
  55. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/search.yml +5 -5
  56. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/set/from_user.yml +16 -16
  57. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/set/get_info.yml +32 -32
  58. data/spec/vcr_cassettes/upload_client/content_type.yml +117 -0
  59. data/spec/vcr_cassettes/upload_client/invalid_credentials.yml +208 -0
  60. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/user/find_by_username_or_email.yml +8 -8
  61. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/user/get_info.yml +8 -8
  62. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/video/get_info.yml +4 -4
  63. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/video/get_sizes.yml +8 -8
  64. metadata +105 -99
  65. data/spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml +0 -178
  66. data/spec/fixtures/vcr_cassettes/error/code.yml +0 -84
  67. data/spec/fixtures/vcr_cassettes/error/was_raised.yml +0 -84
  68. data/spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml +0 -167
  69. data/spec/oauth_spec.rb +0 -22
  70. data/spec/user_spec.rb +0 -53
@@ -8,20 +8,20 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="29ef69864bc8c872b8aa2ea0260c34eb", oauth_signature="E9c8VFnPrHoFqbsj2opoTzt1LS4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337013937", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="ccbd68544b1cae1e96405fade400433f", oauth_signature="8KxBQzIbS4xk83f1XW9mcgdKU9A%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292046", oauth_token="", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Mon, 14 May 2012 16:45:37 GMT
18
+ - Thu, 17 May 2012 22:00:46 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www103.flickr.mud.yahoo.com
24
+ - www114.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,7 +34,7 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"sizes\":{\"canblog\":0, \"canprint\":0, \"candownload\":1, \"size\":[{\"label\":\"Square\", \"width\":75, \"height\":75, \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_s.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/sq\\/\", \"media\":\"photo\"}, {\"label\":\"Large Square\", \"width\":\"150\", \"height\":\"150\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_q.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/q\\/\", \"media\":\"photo\"}, {\"label\":\"Thumbnail\", \"width\":\"100\", \"height\":\"82\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_t.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/t\\/\", \"media\":\"photo\"}, {\"label\":\"Small\", \"width\":\"240\", \"height\":\"196\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_m.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/s\\/\", \"media\":\"photo\"}, {\"label\":\"Small 320\", \"width\":\"320\", \"height\":262, \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_n.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/n\\/\", \"media\":\"photo\"}, {\"label\":\"Medium\", \"width\":\"352\", \"height\":\"288\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/m\\/\", \"media\":\"photo\"}, {\"label\":\"Video Player\", \"width\":\"352\", \"height\":\"288\", \"source\":\"http:\\/\\/www.flickr.com\\/apps\\/video\\/stewart.swf?v=109786&photo_id=7093038981&photo_secret=9a616b9f6e\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\", \"media\":\"video\"}, {\"label\":\"Site MP4\", \"width\":\"352\", \"height\":\"288\", \"source\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/play\\/site\\/9a616b9f6e\\/\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\", \"media\":\"video\"}, {\"label\":\"Mobile MP4\", \"width\":\"480\", \"height\":\"360\", \"source\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/play\\/mobile\\/9a616b9f6e\\/\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\", \"media\":\"video\"}]}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Mon, 14 May 2012 16:45:38 GMT
37
+ recorded_at: Thu, 17 May 2012 22:00:46 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getSizes&photo_id=7093038981
@@ -43,20 +43,20 @@ http_interactions:
43
43
  string: ""
44
44
  headers:
45
45
  Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="0d7d7033759dde4965512df56e8b6714", oauth_signature="t8wy%2BoK7Zr76H6Z4UVDiMdkAIno%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337013938", oauth_token="", oauth_version="1.0"
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="2c1c73362c49b56601e3c5a9e0b9dad5", oauth_signature="46Z%2BkuRkBrEqGHPtdg6HPsOTTqc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292046", oauth_token="", oauth_version="1.0"
47
47
  response:
48
48
  status:
49
49
  code: 200
50
50
  message:
51
51
  headers:
52
52
  date:
53
- - Mon, 14 May 2012 16:45:38 GMT
53
+ - Thu, 17 May 2012 22:00:46 GMT
54
54
  p3p:
55
55
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
56
  cache-control:
57
57
  - private
58
58
  x-served-by:
59
- - www60.flickr.mud.yahoo.com
59
+ - www217.flickr.mud.yahoo.com
60
60
  vary:
61
61
  - Accept-Encoding
62
62
  content-length:
@@ -69,5 +69,5 @@ http_interactions:
69
69
  encoding: ASCII-8BIT
70
70
  string: "{\"sizes\":{\"canblog\":0, \"canprint\":0, \"candownload\":1, \"size\":[{\"label\":\"Square\", \"width\":75, \"height\":75, \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_s.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/sq\\/\", \"media\":\"photo\"}, {\"label\":\"Large Square\", \"width\":\"150\", \"height\":\"150\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_q.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/q\\/\", \"media\":\"photo\"}, {\"label\":\"Thumbnail\", \"width\":\"100\", \"height\":\"82\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_t.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/t\\/\", \"media\":\"photo\"}, {\"label\":\"Small\", \"width\":\"240\", \"height\":\"196\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_m.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/s\\/\", \"media\":\"photo\"}, {\"label\":\"Small 320\", \"width\":\"320\", \"height\":262, \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e_n.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/n\\/\", \"media\":\"photo\"}, {\"label\":\"Medium\", \"width\":\"352\", \"height\":\"288\", \"source\":\"http:\\/\\/farm6.staticflickr.com\\/5457\\/7093038981_9a616b9f6e.jpg\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/sizes\\/m\\/\", \"media\":\"photo\"}, {\"label\":\"Video Player\", \"width\":\"352\", \"height\":\"288\", \"source\":\"http:\\/\\/www.flickr.com\\/apps\\/video\\/stewart.swf?v=109786&photo_id=7093038981&photo_secret=9a616b9f6e\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\", \"media\":\"video\"}, {\"label\":\"Site MP4\", \"width\":\"352\", \"height\":\"288\", \"source\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/play\\/site\\/9a616b9f6e\\/\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\", \"media\":\"video\"}, {\"label\":\"Mobile MP4\", \"width\":\"480\", \"height\":\"360\", \"source\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/play\\/mobile\\/9a616b9f6e\\/\", \"url\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\", \"media\":\"video\"}]}, \"stat\":\"ok\"}"
71
71
  http_version:
72
- recorded_at: Mon, 14 May 2012 16:45:38 GMT
72
+ recorded_at: Thu, 17 May 2012 22:00:46 GMT
73
73
  recorded_with: VCR 2.1.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flickrie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-15 00:00:00.000000000 Z
12
+ date: 2012-05-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday_middleware
16
- requirement: &70248360210560 !ruby/object:Gem::Requirement
16
+ requirement: &70222671050620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: '0.9'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70248360210560
27
+ version_requirements: *70222671050620
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: faraday
30
- requirement: &70248360209780 !ruby/object:Gem::Requirement
30
+ requirement: &70222671049860 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - ! '>='
@@ -38,10 +38,10 @@ dependencies:
38
38
  version: '0.9'
39
39
  type: :runtime
40
40
  prerelease: false
41
- version_requirements: *70248360209780
41
+ version_requirements: *70222671049860
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: simple_oauth
44
- requirement: &70248360208760 !ruby/object:Gem::Requirement
44
+ requirement: &70222671049120 !ruby/object:Gem::Requirement
45
45
  none: false
46
46
  requirements:
47
47
  - - ~>
@@ -49,10 +49,10 @@ dependencies:
49
49
  version: '0.1'
50
50
  type: :runtime
51
51
  prerelease: false
52
- version_requirements: *70248360208760
52
+ version_requirements: *70222671049120
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: multi_xml
55
- requirement: &70248360207920 !ruby/object:Gem::Requirement
55
+ requirement: &70222671048580 !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
58
  - - ~>
@@ -60,10 +60,10 @@ dependencies:
60
60
  version: '0.4'
61
61
  type: :runtime
62
62
  prerelease: false
63
- version_requirements: *70248360207920
63
+ version_requirements: *70222671048580
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: rake
66
- requirement: &70248360206940 !ruby/object:Gem::Requirement
66
+ requirement: &70222671048060 !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
69
69
  - - ~>
@@ -71,10 +71,10 @@ dependencies:
71
71
  version: '0.9'
72
72
  type: :development
73
73
  prerelease: false
74
- version_requirements: *70248360206940
74
+ version_requirements: *70222671048060
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec
77
- requirement: &70248360206180 !ruby/object:Gem::Requirement
77
+ requirement: &70222671047560 !ruby/object:Gem::Requirement
78
78
  none: false
79
79
  requirements:
80
80
  - - ! '>='
@@ -82,10 +82,10 @@ dependencies:
82
82
  version: '2'
83
83
  type: :development
84
84
  prerelease: false
85
- version_requirements: *70248360206180
85
+ version_requirements: *70222671047560
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: vcr
88
- requirement: &70248360205640 !ruby/object:Gem::Requirement
88
+ requirement: &70222671047100 !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
91
  - - ~>
@@ -93,7 +93,7 @@ dependencies:
93
93
  version: '2.1'
94
94
  type: :development
95
95
  prerelease: false
96
- version_requirements: *70248360205640
96
+ version_requirements: *70222671047100
97
97
  description: This gem wraps the Flickr API with a nice object-oriented interface.
98
98
  email: janko.marohnic@gmail.com
99
99
  executables: []
@@ -101,6 +101,7 @@ extensions: []
101
101
  extra_rdoc_files: []
102
102
  files:
103
103
  - .gitignore
104
+ - .travis.yml
104
105
  - CHANGELOG.md
105
106
  - Gemfile
106
107
  - LICENSE
@@ -119,6 +120,7 @@ files:
119
120
  - lib/flickrie/media/tag.rb
120
121
  - lib/flickrie/media/visibility.rb
121
122
  - lib/flickrie/media_count.rb
123
+ - lib/flickrie/middleware.rb
122
124
  - lib/flickrie/oauth.rb
123
125
  - lib/flickrie/photo.rb
124
126
  - lib/flickrie/set.rb
@@ -127,50 +129,51 @@ files:
127
129
  - lib/flickrie/user.rb
128
130
  - lib/flickrie/version.rb
129
131
  - lib/flickrie/video.rb
130
- - spec/api_methods_spec.rb
131
- - spec/error_spec.rb
132
+ - spec/files/photo.bla
132
133
  - spec/files/photo.jpg
133
134
  - spec/files/video.mov
134
- - spec/fixtures/vcr_cassettes/api_methods/asynchronous_upload.yml
135
- - spec/fixtures/vcr_cassettes/api_methods/replace.yml
136
- - spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml
137
- - spec/fixtures/vcr_cassettes/api_methods/tags.yml
138
- - spec/fixtures/vcr_cassettes/api_methods/upload_and_delete.yml
139
- - spec/fixtures/vcr_cassettes/error/a_request_was_made_and_failed.yml
140
- - spec/fixtures/vcr_cassettes/error/code.yml
141
- - spec/fixtures/vcr_cassettes/error/was_raised.yml
142
- - spec/fixtures/vcr_cassettes/instance/calling_api_methods.yml
143
- - spec/fixtures/vcr_cassettes/license/get.yml
144
- - spec/fixtures/vcr_cassettes/media/from_contacts.yml
145
- - spec/fixtures/vcr_cassettes/media/from_set.yml
146
- - spec/fixtures/vcr_cassettes/media/from_user.yml
147
- - spec/fixtures/vcr_cassettes/media/get_context.yml
148
- - spec/fixtures/vcr_cassettes/media/get_exif.yml
149
- - spec/fixtures/vcr_cassettes/media/get_info.yml
150
- - spec/fixtures/vcr_cassettes/media/public_from_user.yml
151
- - spec/fixtures/vcr_cassettes/media/search.yml
152
- - spec/fixtures/vcr_cassettes/media_count/get.yml
153
- - spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml
154
- - spec/fixtures/vcr_cassettes/photo/get_info.yml
155
- - spec/fixtures/vcr_cassettes/photo/get_sizes.yml
156
- - spec/fixtures/vcr_cassettes/photo/search.yml
157
- - spec/fixtures/vcr_cassettes/set/from_user.yml
158
- - spec/fixtures/vcr_cassettes/set/get_info.yml
159
- - spec/fixtures/vcr_cassettes/user/find_by_username_or_email.yml
160
- - spec/fixtures/vcr_cassettes/user/get_info.yml
161
- - spec/fixtures/vcr_cassettes/video/get_info.yml
162
- - spec/fixtures/vcr_cassettes/video/get_sizes.yml
163
- - spec/instance_spec.rb
164
- - spec/license_spec.rb
165
- - spec/location_spec.rb
166
- - spec/media_count_spec.rb
167
- - spec/media_spec.rb
168
- - spec/oauth_spec.rb
169
- - spec/photo_spec.rb
170
- - spec/set_spec.rb
135
+ - spec/flickrie/api_methods_spec.rb
136
+ - spec/flickrie/error_spec.rb
137
+ - spec/flickrie/instance_spec.rb
138
+ - spec/flickrie/license_spec.rb
139
+ - spec/flickrie/location_spec.rb
140
+ - spec/flickrie/media_count_spec.rb
141
+ - spec/flickrie/media_spec.rb
142
+ - spec/flickrie/oauth_spec.rb
143
+ - spec/flickrie/photo_spec.rb
144
+ - spec/flickrie/set_spec.rb
145
+ - spec/flickrie/upload_client_spec.rb
146
+ - spec/flickrie/user_spec.rb
147
+ - spec/flickrie/video_spec.rb
171
148
  - spec/spec_helper.rb
172
- - spec/user_spec.rb
173
- - spec/video_spec.rb
149
+ - spec/vcr_cassettes/api_methods/asynchronous_upload.yml
150
+ - spec/vcr_cassettes/api_methods/replace.yml
151
+ - spec/vcr_cassettes/api_methods/tag_manipulation.yml
152
+ - spec/vcr_cassettes/api_methods/upload_and_delete.yml
153
+ - spec/vcr_cassettes/error/a_request_was_made_and_failed.yml
154
+ - spec/vcr_cassettes/instance/calling_api_methods.yml
155
+ - spec/vcr_cassettes/license/get.yml
156
+ - spec/vcr_cassettes/media/from_contacts.yml
157
+ - spec/vcr_cassettes/media/from_set.yml
158
+ - spec/vcr_cassettes/media/from_user.yml
159
+ - spec/vcr_cassettes/media/get_context.yml
160
+ - spec/vcr_cassettes/media/get_exif.yml
161
+ - spec/vcr_cassettes/media/get_info.yml
162
+ - spec/vcr_cassettes/media/public_from_user.yml
163
+ - spec/vcr_cassettes/media/search.yml
164
+ - spec/vcr_cassettes/media_count/get.yml
165
+ - spec/vcr_cassettes/o_auth/incorrect_credentials.yml
166
+ - spec/vcr_cassettes/photo/get_info.yml
167
+ - spec/vcr_cassettes/photo/get_sizes.yml
168
+ - spec/vcr_cassettes/photo/search.yml
169
+ - spec/vcr_cassettes/set/from_user.yml
170
+ - spec/vcr_cassettes/set/get_info.yml
171
+ - spec/vcr_cassettes/upload_client/content_type.yml
172
+ - spec/vcr_cassettes/upload_client/invalid_credentials.yml
173
+ - spec/vcr_cassettes/user/find_by_username_or_email.yml
174
+ - spec/vcr_cassettes/user/get_info.yml
175
+ - spec/vcr_cassettes/video/get_info.yml
176
+ - spec/vcr_cassettes/video/get_sizes.yml
174
177
  homepage: https://github.com/janko-m/flickrie
175
178
  licenses:
176
179
  - MIT
@@ -190,6 +193,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
193
  - - ! '>='
191
194
  - !ruby/object:Gem::Version
192
195
  version: '0'
196
+ segments:
197
+ - 0
198
+ hash: -4564017980712664051
193
199
  requirements: []
194
200
  rubyforge_project:
195
201
  rubygems_version: 1.8.11
@@ -197,48 +203,48 @@ signing_key:
197
203
  specification_version: 3
198
204
  summary: This gem wraps the Flickr API with a nice object-oriented interface.
199
205
  test_files:
200
- - spec/api_methods_spec.rb
201
- - spec/error_spec.rb
206
+ - spec/files/photo.bla
202
207
  - spec/files/photo.jpg
203
208
  - spec/files/video.mov
204
- - spec/fixtures/vcr_cassettes/api_methods/asynchronous_upload.yml
205
- - spec/fixtures/vcr_cassettes/api_methods/replace.yml
206
- - spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml
207
- - spec/fixtures/vcr_cassettes/api_methods/tags.yml
208
- - spec/fixtures/vcr_cassettes/api_methods/upload_and_delete.yml
209
- - spec/fixtures/vcr_cassettes/error/a_request_was_made_and_failed.yml
210
- - spec/fixtures/vcr_cassettes/error/code.yml
211
- - spec/fixtures/vcr_cassettes/error/was_raised.yml
212
- - spec/fixtures/vcr_cassettes/instance/calling_api_methods.yml
213
- - spec/fixtures/vcr_cassettes/license/get.yml
214
- - spec/fixtures/vcr_cassettes/media/from_contacts.yml
215
- - spec/fixtures/vcr_cassettes/media/from_set.yml
216
- - spec/fixtures/vcr_cassettes/media/from_user.yml
217
- - spec/fixtures/vcr_cassettes/media/get_context.yml
218
- - spec/fixtures/vcr_cassettes/media/get_exif.yml
219
- - spec/fixtures/vcr_cassettes/media/get_info.yml
220
- - spec/fixtures/vcr_cassettes/media/public_from_user.yml
221
- - spec/fixtures/vcr_cassettes/media/search.yml
222
- - spec/fixtures/vcr_cassettes/media_count/get.yml
223
- - spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml
224
- - spec/fixtures/vcr_cassettes/photo/get_info.yml
225
- - spec/fixtures/vcr_cassettes/photo/get_sizes.yml
226
- - spec/fixtures/vcr_cassettes/photo/search.yml
227
- - spec/fixtures/vcr_cassettes/set/from_user.yml
228
- - spec/fixtures/vcr_cassettes/set/get_info.yml
229
- - spec/fixtures/vcr_cassettes/user/find_by_username_or_email.yml
230
- - spec/fixtures/vcr_cassettes/user/get_info.yml
231
- - spec/fixtures/vcr_cassettes/video/get_info.yml
232
- - spec/fixtures/vcr_cassettes/video/get_sizes.yml
233
- - spec/instance_spec.rb
234
- - spec/license_spec.rb
235
- - spec/location_spec.rb
236
- - spec/media_count_spec.rb
237
- - spec/media_spec.rb
238
- - spec/oauth_spec.rb
239
- - spec/photo_spec.rb
240
- - spec/set_spec.rb
209
+ - spec/flickrie/api_methods_spec.rb
210
+ - spec/flickrie/error_spec.rb
211
+ - spec/flickrie/instance_spec.rb
212
+ - spec/flickrie/license_spec.rb
213
+ - spec/flickrie/location_spec.rb
214
+ - spec/flickrie/media_count_spec.rb
215
+ - spec/flickrie/media_spec.rb
216
+ - spec/flickrie/oauth_spec.rb
217
+ - spec/flickrie/photo_spec.rb
218
+ - spec/flickrie/set_spec.rb
219
+ - spec/flickrie/upload_client_spec.rb
220
+ - spec/flickrie/user_spec.rb
221
+ - spec/flickrie/video_spec.rb
241
222
  - spec/spec_helper.rb
242
- - spec/user_spec.rb
243
- - spec/video_spec.rb
244
- has_rdoc:
223
+ - spec/vcr_cassettes/api_methods/asynchronous_upload.yml
224
+ - spec/vcr_cassettes/api_methods/replace.yml
225
+ - spec/vcr_cassettes/api_methods/tag_manipulation.yml
226
+ - spec/vcr_cassettes/api_methods/upload_and_delete.yml
227
+ - spec/vcr_cassettes/error/a_request_was_made_and_failed.yml
228
+ - spec/vcr_cassettes/instance/calling_api_methods.yml
229
+ - spec/vcr_cassettes/license/get.yml
230
+ - spec/vcr_cassettes/media/from_contacts.yml
231
+ - spec/vcr_cassettes/media/from_set.yml
232
+ - spec/vcr_cassettes/media/from_user.yml
233
+ - spec/vcr_cassettes/media/get_context.yml
234
+ - spec/vcr_cassettes/media/get_exif.yml
235
+ - spec/vcr_cassettes/media/get_info.yml
236
+ - spec/vcr_cassettes/media/public_from_user.yml
237
+ - spec/vcr_cassettes/media/search.yml
238
+ - spec/vcr_cassettes/media_count/get.yml
239
+ - spec/vcr_cassettes/o_auth/incorrect_credentials.yml
240
+ - spec/vcr_cassettes/photo/get_info.yml
241
+ - spec/vcr_cassettes/photo/get_sizes.yml
242
+ - spec/vcr_cassettes/photo/search.yml
243
+ - spec/vcr_cassettes/set/from_user.yml
244
+ - spec/vcr_cassettes/set/get_info.yml
245
+ - spec/vcr_cassettes/upload_client/content_type.yml
246
+ - spec/vcr_cassettes/upload_client/invalid_credentials.yml
247
+ - spec/vcr_cassettes/user/find_by_username_or_email.yml
248
+ - spec/vcr_cassettes/user/get_info.yml
249
+ - spec/vcr_cassettes/video/get_info.yml
250
+ - spec/vcr_cassettes/video/get_sizes.yml
@@ -1,178 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
6
- body:
7
- encoding: US-ASCII
8
- string: ""
9
- headers:
10
- Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="38acd105d61327bee989414b06bd1772", oauth_signature="5zhRDjd3xFVGL2K5fPeasC1pUCw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337106961", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
- response:
13
- status:
14
- code: 200
15
- message:
16
- headers:
17
- date:
18
- - Tue, 15 May 2012 18:36:02 GMT
19
- p3p:
20
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
- cache-control:
22
- - private
23
- x-served-by:
24
- - www210.flickr.mud.yahoo.com
25
- vary:
26
- - Accept-Encoding
27
- content-length:
28
- - "843"
29
- connection:
30
- - close
31
- content-type:
32
- - application/json
33
- body:
34
- encoding: ASCII-8BIT
35
- string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337013893\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"4\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
36
- http_version:
37
- recorded_at: Tue, 15 May 2012 18:36:02 GMT
38
- - request:
39
- method: post
40
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.addTags&photo_id=6946979188&tags=janko
41
- body:
42
- encoding: US-ASCII
43
- string: ""
44
- headers:
45
- Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="92602315336949ab3fdf50d36dc30bd7", oauth_signature="Wdjdc%2FcJNr2WP%2Bg%2BugWtg6zS2ec%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337106962", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
47
- response:
48
- status:
49
- code: 200
50
- message:
51
- headers:
52
- date:
53
- - Tue, 15 May 2012 18:36:03 GMT
54
- p3p:
55
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
- cache-control:
57
- - private
58
- x-served-by:
59
- - www20.flickr.mud.yahoo.com
60
- vary:
61
- - Accept-Encoding
62
- content-length:
63
- - "13"
64
- connection:
65
- - close
66
- content-type:
67
- - application/json
68
- body:
69
- encoding: US-ASCII
70
- string: "{\"stat\":\"ok\"}"
71
- http_version:
72
- recorded_at: Tue, 15 May 2012 18:36:03 GMT
73
- - request:
74
- method: get
75
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
76
- body:
77
- encoding: US-ASCII
78
- string: ""
79
- headers:
80
- Authorization:
81
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="322c998fefee710f1db0c8423456ffcb", oauth_signature="tJUx3w1ahyNfTBWCEnwQm631v6Q%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337106963", oauth_token="", oauth_version="1.0"
82
- response:
83
- status:
84
- code: 200
85
- message:
86
- headers:
87
- date:
88
- - Tue, 15 May 2012 18:36:03 GMT
89
- p3p:
90
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
91
- cache-control:
92
- - private
93
- x-served-by:
94
- - www28.flickr.mud.yahoo.com
95
- vary:
96
- - Accept-Encoding
97
- content-length:
98
- - "846"
99
- connection:
100
- - close
101
- content-type:
102
- - application/json
103
- body:
104
- encoding: ASCII-8BIT
105
- string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337106963\"}, \"views\":\"4\", \"editability\":{\"cancomment\":0, \"canaddmeta\":0}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":0, \"canprint\":0, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}, {\"id\":\"67099213-6946979188-257458\", \"author\":\"67131352@N04\", \"raw\":\"janko\", \"_content\":\"janko\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
106
- http_version:
107
- recorded_at: Tue, 15 May 2012 18:36:04 GMT
108
- - request:
109
- method: post
110
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.removeTag&tag_id=67099213-6946979188-257458
111
- body:
112
- encoding: US-ASCII
113
- string: ""
114
- headers:
115
- Authorization:
116
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="c999a1ffb6534901e47bdb6522ce0bca", oauth_signature="ClZymILnP%2FU1JrqpX3eICVe3%2B7k%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337106964", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
117
- response:
118
- status:
119
- code: 200
120
- message:
121
- headers:
122
- date:
123
- - Tue, 15 May 2012 18:36:04 GMT
124
- p3p:
125
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
126
- cache-control:
127
- - private
128
- x-served-by:
129
- - www203.flickr.mud.yahoo.com
130
- vary:
131
- - Accept-Encoding
132
- content-length:
133
- - "13"
134
- connection:
135
- - close
136
- content-type:
137
- - application/json
138
- body:
139
- encoding: US-ASCII
140
- string: "{\"stat\":\"ok\"}"
141
- http_version:
142
- recorded_at: Tue, 15 May 2012 18:36:04 GMT
143
- - request:
144
- method: get
145
- uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
146
- body:
147
- encoding: US-ASCII
148
- string: ""
149
- headers:
150
- Authorization:
151
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="a2852d4a3571f94a033f5ef3358d9002", oauth_signature="jYTthTwzAvt%2BOK%2BhXKnN4pCUPOA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337106964", oauth_token="", oauth_version="1.0"
152
- response:
153
- status:
154
- code: 200
155
- message:
156
- headers:
157
- date:
158
- - Tue, 15 May 2012 18:36:05 GMT
159
- p3p:
160
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
161
- cache-control:
162
- - private
163
- x-served-by:
164
- - www42.flickr.mud.yahoo.com
165
- vary:
166
- - Accept-Encoding
167
- content-length:
168
- - "826"
169
- connection:
170
- - close
171
- content-type:
172
- - application/json
173
- body:
174
- encoding: ASCII-8BIT
175
- string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337106964\"}, \"views\":\"4\", \"editability\":{\"cancomment\":0, \"canaddmeta\":0}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":0, \"canprint\":0, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
176
- http_version:
177
- recorded_at: Tue, 15 May 2012 18:36:05 GMT
178
- recorded_with: VCR 2.1.1