kuva 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +11 -10
- data/app/assets/stylesheets/kuva/{base.css.sass → base.sass} +0 -0
- data/lib/kuva/version.rb +1 -1
- metadata +37 -280
- data/.coveralls.yml +0 -1
- data/.env.example +0 -4
- data/.gitignore +0 -14
- data/.rspec +0 -1
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/.travis.yml +0 -12
- data/Gemfile.lock +0 -191
- data/MIT-LICENSE +0 -20
- data/kuva.gemspec +0 -26
- data/spec/controllers/kuva/application_controller_spec.rb +0 -42
- data/spec/controllers/kuva/photos_controller_spec.rb +0 -22
- data/spec/controllers/kuva/sets_controller_spec.rb +0 -51
- data/spec/dummy/README.md +0 -1
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -30
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -29
- data/spec/dummy/config/environments/production.rb +0 -80
- data/spec/dummy/config/environments/test.rb +0 -39
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/kuva.rb +0 -29
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/routes.rb +0 -4
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +0 -58
- data/spec/dummy/public/422.html +0 -58
- data/spec/dummy/public/500.html +0 -57
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/features/photo_spec.rb +0 -40
- data/spec/features/photoset_collection_spec.rb +0 -25
- data/spec/features/photoset_spec.rb +0 -42
- data/spec/generators/kuva/assets_generator_spec.rb +0 -30
- data/spec/generators/kuva/install_generator_spec.rb +0 -63
- data/spec/generators/kuva/views_generator_spec.rb +0 -37
- data/spec/helpers/kuva/application_helper_spec.rb +0 -26
- data/spec/kuva/authorizer_spec.rb +0 -83
- data/spec/kuva/elements/photo_spec.rb +0 -76
- data/spec/kuva/elements/photoset_collection_spec.rb +0 -42
- data/spec/kuva/elements/photoset_spec.rb +0 -106
- data/spec/kuva/elements/url_info_spec.rb +0 -25
- data/spec/kuva_spec.rb +0 -81
- data/spec/spec_helper.rb +0 -68
- data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_API_key.yml +0 -160
- data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_secret.yml +0 -160
- data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_token.yml +0 -160
- data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_NOT_the_set_page/creates_a_breadcrumb_with_the_set_URL.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_the_set_page/creates_a_breadcrumb_without_the_set_URL.yml +0 -222
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/fetches_the_photo_from_Flickr_specified_by_id.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/instantiates_a_new_Kuva_Elements_Photo_object.yml +0 -252
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/does_NOT_set_the_is_primary_boolean.yml +0 -252
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/returns_itself.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_description.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_farm.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_id.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_secret.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_server.yml +0 -252
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_title.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_default_sized_medium_image.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_n-sized_small_320_image.yml +0 -252
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/instantiates_a_new_URL_info_object_to_create_image_URLs.yml +0 -95
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/fetches_the_photoset_from_Flickr_specified_by_id.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/instantiates_a_new_Kuva_Elements_Photoset_object.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/generates_an_image_URL_for_a_large_square_image.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/instantiates_a_new_URL_info_object_to_create_an_image_URL.yml +0 -222
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/returns_itself.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_created_at_date.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_description.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_photos.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_views.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_primary_id.yml +0 -222
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_secret.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_server.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_title.yml +0 -222
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_updated_at_date.yml +0 -65
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array.yml +0 -162
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array_with_the_size_specified_by_number_of_photos.yml +0 -162
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/wraps_the_photos_into_a_Kuva_Elements_Photo_element.yml +0 -319
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/retrieves_all_photosets.yml +0 -2761
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/returns_an_array.yml +0 -2918
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/wraps_the_photosets_into_a_Kuva_Elements_Photoset_element.yml +0 -2761
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/fetches_all_photosets_from_Flickr.yml +0 -2918
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/instantiates_a_new_Kuva_Elements_PhotosetCollection_object.yml +0 -2761
- data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/assigns_the_photo.yml +0 -314
- data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/finds_the_photo.yml +0 -157
- data/spec/support/vcr/cassettes/Kuva_SetsController/_index/assigns_the_photoset_collection_with_photosets.yml +0 -2761
- data/spec/support/vcr/cassettes/Kuva_SetsController/_index/knows_its_type.yml +0 -2918
- data/spec/support/vcr/cassettes/Kuva_SetsController/_index/retrieves_the_entire_photoset_collection.yml +0 -160
- data/spec/support/vcr/cassettes/Kuva_SetsController/_show/assigns_the_photos_of_the_specified_photoset.yml +0 -2858
- data/spec/support/vcr/cassettes/Kuva_SetsController/_show/finds_the_specified_photoset_within_the_entire_photoset_collection.yml +0 -2858
- data/spec/support/vcr/cassettes/Kuva_SetsController/_show/knows_its_type.yml +0 -2858
- data/spec/support/vcr/cassettes/photo/navigating_back_to_the_photoset_page.yml +0 -3169
- data/spec/support/vcr/cassettes/photo/viewing_the_first_photo_of_the_photoset.yml +0 -157
- data/spec/support/vcr/cassettes/photoset/navigating_back_to_the_photoset_collection_page.yml +0 -5616
- data/spec/support/vcr/cassettes/photoset/navigating_to_the_page_with_details_of_the_first_photo.yml +0 -3012
- data/spec/support/vcr/cassettes/photoset/viewing_the_first_photo_of_the_photoset.yml +0 -314
- data/spec/support/vcr/cassettes/photoset/viewing_the_first_photoset_of_the_photoset_collection.yml +0 -3015
- data/spec/support/vcr/cassettes/photoset_collection/navigating_to_the_page_with_photos_of_the_first_photoset.yml +0 -5616
- data/spec/support/vcr/cassettes/photoset_collection/viewing_the_photoset_collection.yml +0 -2761
- data/spec/support/vcr/vcr.rb +0 -17
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="11gI5aQUHUjMXcVcU4CJalRZAB4DwhPikGLiIKzGZIY%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347624", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:04 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www144.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '3'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts122.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:05 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="IdoaFjbDzp4F2Y%2FvIW9uP%2FTIeLdYKZ75hphnBBfO3Ic%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347628", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:08 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www285.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '0'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:08 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="8qcDCJCNmVIyF5J66bYtnQ%2FNAyAyugzFzg11GPfh4OE%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347626", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:06 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www192.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '3'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts105.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:07 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|
data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="lh5J3PqlrEj%2FZ0HV2K2WmGF4gwi7Aw%2BJOW9QpjxAIXg%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347626", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:06 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www317.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '0'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts109.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:06 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|
data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="N6hm9E%2F9hWdVhBUqMoDQuNdxeIzdYXtpL1Pt7%2BuXcr4%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347625", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:05 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www235.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '0'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts121.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:06 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="OvRpLKZcz0WcRWl9RgpAEDltWhwQ2BQaugHy4Ivr7VU%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347628", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:07 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www315.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '3'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts123.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:08 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.flickr.com/services/rest/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- '*/*'
|
14
|
-
User-Agent:
|
15
|
-
- FlickRaw/0.9.8
|
16
|
-
Authorization:
|
17
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
-
oauth_nonce="qPC5VOwV1%2FfV69GkSxzh7XK0T2Tvmh9Fs6mZ48TyY%2BM%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347627", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
-
oauth_version="1.0"
|
21
|
-
Content-Type:
|
22
|
-
- application/x-www-form-urlencoded
|
23
|
-
response:
|
24
|
-
status:
|
25
|
-
code: 200
|
26
|
-
message: OK
|
27
|
-
headers:
|
28
|
-
Date:
|
29
|
-
- Sun, 13 Apr 2014 00:07:07 GMT
|
30
|
-
P3p:
|
31
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
-
Cache-Control:
|
35
|
-
- private
|
36
|
-
X-Served-By:
|
37
|
-
- www143.flickr.bf1.yahoo.com
|
38
|
-
Vary:
|
39
|
-
- Accept-Encoding
|
40
|
-
Content-Length:
|
41
|
-
- '364'
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
|
-
Age:
|
45
|
-
- '0'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts120.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
-
Server:
|
50
|
-
- ATS
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
-
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
-
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
-
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
-
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
-
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
-
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
-
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Sun, 13 Apr 2014 00:07:08 GMT
|
65
|
-
recorded_with: VCR 2.9.0
|