reviewed 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/lib/faraday/cache.rb +13 -11
  3. data/lib/reviewed/cache.rb +18 -0
  4. data/lib/reviewed/version.rb +1 -1
  5. data/reviewed.gemspec +1 -1
  6. data/spec/article_spec.rb +1 -1
  7. data/spec/client_spec.rb +1 -1
  8. data/spec/collection_spec.rb +1 -1
  9. data/spec/faraday/cache_spec.rb +9 -9
  10. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +236 -289
  11. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +196 -226
  12. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +236 -289
  13. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +228 -361
  14. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +236 -313
  15. data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +228 -278
  16. data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +196 -226
  17. data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +196 -226
  18. data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +196 -226
  19. data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +196 -226
  20. data/spec/fixtures/vcr/Reviewed_Article/fetches_when_a_tag_is_not_in_pre-loaded_set.yml +365 -438
  21. data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +294 -351
  22. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +424 -504
  23. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +392 -452
  24. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +392 -452
  25. data/spec/fixtures/vcr/Reviewed_Article/returns_local_attachments_when_available.yml +363 -438
  26. data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +93 -102
  27. data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +11 -12
  28. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +80 -197
  29. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +80 -197
  30. data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +99 -302
  31. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +80 -197
  32. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +48 -145
  33. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +48 -145
  34. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +80 -197
  35. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +80 -197
  36. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +48 -145
  37. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +80 -197
  38. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +211 -551
  39. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +48 -145
  40. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +90 -162
  41. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +50 -99
  42. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +50 -99
  43. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +50 -99
  44. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +58 -110
  45. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +50 -99
  46. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +52 -99
  47. data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_keywords.yml +72 -0
  48. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +93 -102
  49. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +11 -9
  50. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +91 -69
  51. data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +93 -102
  52. data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +93 -102
  53. data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +90 -93
  54. data/spec/product_spec.rb +1 -1
  55. data/spec/request_spec.rb +4 -4
  56. metadata +35 -62
  57. data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +0 -66
@@ -14,7 +14,7 @@ http_interactions:
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
17
- - ! '*/*'
17
+ - '*/*'
18
18
  response:
19
19
  status:
20
20
  code: 200
@@ -28,17 +28,15 @@ http_interactions:
28
28
  Access-Control-Allow-Methods:
29
29
  - OPTIONS, GET, POST, PUT, DELETE
30
30
  Access-Control-Allow-Origin:
31
- - ! '*'
31
+ - '*'
32
32
  Access-Control-Max-Age:
33
33
  - '1000'
34
34
  Cache-Control:
35
35
  - no-cache, no-store
36
- Content-Encoding:
37
- - gzip
38
36
  Content-Type:
39
37
  - application/json; charset=utf-8
40
38
  Date:
41
- - Wed, 24 Jul 2013 21:03:23 GMT
39
+ - Mon, 29 Jul 2013 21:25:02 GMT
42
40
  Status:
43
41
  - 200 OK
44
42
  Strict-Transport-Security:
@@ -48,9 +46,9 @@ http_interactions:
48
46
  X-Rack-Cache:
49
47
  - miss
50
48
  X-Request-Id:
51
- - 6000f2acfa1261dcf6b3e4e6a518699a
49
+ - 797c7d9dcbe597f1dc22bc28ebf32c58
52
50
  X-Runtime:
53
- - '0.187963'
51
+ - '0.163323'
54
52
  X-Ua-Compatible:
55
53
  - IE=Edge,chrome=1
56
54
  Transfer-Encoding:
@@ -58,47 +56,20 @@ http_interactions:
58
56
  Connection:
59
57
  - keep-alive
60
58
  body:
61
- encoding: ASCII-8BIT
62
- string: !binary |-
63
- H4sIABtB8FEAA8RZbW/bNhD+K4Y+bVgck3q1BAwD1q5dgKYLWn/ZgkCgJMpm
64
- I4sCSSVNi/z3HSlZlp1IBpLaDYIEFI93D++Nx+N3i2VWZHkoJw4K/NAniTf3
65
- EfZRGpCAWmdWKihRNIuJAjobYXuKvCn2FjaOsB1h7z+gqatsh8bRNLazwF5k
66
- h5Fra5qSrCnMXrIyo+XkkkhFxeTiAmZkUS9hZm1mpmszM2UMZmL1UOlFf/M1
67
- jaL3ghWFhP9EwpyeklZ0bV0JXpGSWjdn1lqKyorcIDxHZxYRiqUFjVlmyGCL
68
- iU2DJMmQPfczz/MAp+85et09TSRTPVLq+2EWNKTunCL9YxvSqk4KJlcxL/vq
69
- mC9wGDluhNBvCMFfo5PUisq6KGCNYCmNl4IkCRWxUTgQiDqB7/FG/yHNQqeR
70
- 6DtGpJO4QJYIUmZ9qiDdobIDG6jWPKOFVm9Pr4JKXguQXAsGU7NK8KxOlZw9
71
- o2ki0hW7o7FUYEggTh5ibVKYYTKWKResXMYJkbRgoOooJ4Wk3aqs+9CKiAVR
72
- sMCK5ueuA0BIeWuG3y3FFQGc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AxguEIy+IHDR4Ddyj2elRTB0fXb6d3hHYycP5l2rZNh2AIGfG06EqMVps
90
- SEyCoaIr3qSHvnqorWegnNncLbpqRjrnZE2+8ZLcy6ag6bY9cxI7y7CbUT/F
91
- SUiSnOQEZVAzgo4Tzw1oHqS6lzFrpMTDkCUGCnwCIK2cMSg2Ql8D7+hIGjGj
92
- QACrfQKdtHLGoED9fxLztHIOQsH2aaBgewyKh7RbnyJ6jJwxKD6QuCeA0so5
93
- BMU/ERT/ABQHPNs5fiy3csaghO5pDNTKOQTFOUEwt3IOQcH4NFBAzggU3tYL
94
- x4YyhOBR9+6qpvvRdugK1dzU2jFUBkQf2U0vcB9k29SG9cfFeWbqiliyb1Bj
95
- 2KHnzHUHslTAfFM9Qem0pLMvFTW7qrhkzbaQab2nVErTZ2+fHU7fTOoXbi9u
96
- mvV4jHfwtoSzkeLw1SiGmTeNJdMa2nutePaRZuwpDUd28FyZ+hzNTpm6/4C2
97
- aWk3PjD0BvSHAf17t2T3BexmpzcPo4Ivedxj+xNcywB+uVe1y0cdqqGZjVjw
98
- NbKH+ZrWL7knYqP8pC5u47oqONl8+UEKN11QSCHdU168cYgXWKRb+lK9dAxG
99
- rdI9W3o4Ry7GSTp3PUzsDPSoFRi+Wv4wZ7DM/wIAAAD//wMAypNl7yIfAAA=
59
+ encoding: UTF-8
60
+ string: '{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-05-23T15:29:42Z","name":"Minden
61
+ Master II","slug":"minden-master-ii","_type":"Home::Grills::Gas","types":["Propane"],"msrp":479.0,"article_ids":["50fb2e7bbd0286d555013653"],"website_ids":["50e669d7bd028648e0000023"],"publish_on":"2012-05-18T19:34:00+00:00","upc":null,"price_grabber_id":"","rubric_id":"50f9ed93bd0286638e0003b4","brand_id":"50f9ed7cbd0286638e000272","model":"Master
62
+ II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":8.43,"ranking":{"total":15,"rank":8,"percentile":47},"rubric":{"id":"50f9ed93bd0286638e0003b4","created_at":"2013-01-19T00:49:23Z","updated_at":"2013-01-19T00:49:23Z","name":"2011
63
+ Gas Grill Rubric","permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"},"resource":{"rel":"/api/v1/rubrics/50f9ed93bd0286638e0003b4","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics/50f9ed93bd0286638e0003b4"}}},"websites":[{"id":"50e669d7bd028648e0000023","created_at":"2013-01-04T05:34:15Z","updated_at":"2013-07-03T20:16:36Z","name":"Grills","url":"grills.reviewed.com","code":"GRI","category":null,"featured_video_id":null,"ad_campaign_group":{"id":"51377ab09f5e85f5a3000484","created_at":"2013-03-06T17:19:44Z","updated_at":"2013-05-13T16:38:12Z","website_id":"50e669d7bd028648e0000023","ad_campaigns":[],"permissions":{"read":false,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/ad_campaign_groups","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups"},"resource":{"rel":"/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484"}}},"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/websites","href":"https://the-guide-staging.herokuapp.com/api/v1/websites"},"resource":{"rel":"/api/v1/websites/50e669d7bd028648e0000023","href":"https://the-guide-staging.herokuapp.com/api/v1/websites/50e669d7bd028648e0000023"}}}],"manufacturer_specs":[{"id":"519a4afffdc61b67e1000490","name":"brand_name","value":"(Minden)","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000491","name":"manufacturer_name","value":"Minden","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000492","name":"manual_url","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000493","name":"manual_text","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000494","name":"manufacturer_text","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000495","name":"manufacturer_url","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000496","name":"series_name","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000497","name":"Fuel","value":["LP
64
+ Gas"],"value_units":"","value_type":"MultiListItem","order":0,"options":["LP
65
+ Gas","Natural Gas","Charcoal","Electricity","Natural Gas (adaptor sold separately)","Propane
66
+ (adaptor sold separately)"]},{"id":"519a4afffdc61b67e1000498","name":"Install
67
+ Type","value":"Freestanding","value_units":"","value_type":"String","order":0,"options":["Freestanding","Portable","Install"]},{"id":"519a4afffdc61b67e1000499","name":"Finish
68
+ or Color","value":"Green","value_units":"","value_type":"String","order":0,"options":["Electricity"]},{"id":"519a4afffdc61b67e100049a","name":"Side
69
+ Burner","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"519a4afffdc61b67e100049b","name":"Rotisserie","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"519a4afffdc61b67e100049c","name":"Original
70
+ Price","value":"479","value_units":"","value_type":"Decimal","order":0,"options":null}],"attachments":[{"id":"50fca08abd02862d77009628","created_at":"2013-01-21T01:57:30Z","updated_at":"2013-01-21T01:57:30Z","name":"Minden-360MD-vanity.jpg","type":"file","tags":["vanity"],"versions":{"s50x50":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s50x50_Minden-360MD-vanity.jpg","s150x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s150x150_Minden-360MD-vanity.jpg","s200x75":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s200x75_Minden-360MD-vanity.jpg","s250x250":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s250x250_Minden-360MD-vanity.jpg","s300x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x150_Minden-360MD-vanity.jpg","s300x112":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x112_Minden-360MD-vanity.jpg","s500x500":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s500x500_Minden-360MD-vanity.jpg","s600x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x400_Minden-360MD-vanity.jpg","s600x600":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x600_Minden-360MD-vanity.jpg","s630x235":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s630x235_Minden-360MD-vanity.jpg","s940x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x400_Minden-360MD-vanity.jpg","s940x350":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x350_Minden-360MD-vanity.jpg","s940x110":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x110_Minden-360MD-vanity.jpg","original":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg"},"caption":null,"alt_text":null,"data":{"url":"http://reviewed-production.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg","file_size":29538,"content_type":"image/jpeg"},"position":0,"processing":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/attachments","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments"},"resource":{"rel":"/api/v1/attachments/50fca08abd02862d77009628","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments/50fca08abd02862d77009628"}}}],"brand":{"id":"50f9ed7cbd0286638e000272","created_at":"2012-05-15T21:11:27Z","updated_at":"2012-05-15T21:11:27Z","name":"Minden","slug":"minden","url":null,"resource_uri":"/products?brand=minden","website_ids":[],"websites":[],"logo_url":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/brands","href":"https://the-guide-staging.herokuapp.com/api/v1/brands"},"resource":{"rel":"/api/v1/brands/50f9ed7cbd0286638e000272","href":"https://the-guide-staging.herokuapp.com/api/v1/brands/50f9ed7cbd0286638e000272"}}},"awards":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false,"manage_baseline_products":false},"api_links":{"collection":{"rel":"/api/v1/products","href":"https://the-guide-staging.herokuapp.com/api/v1/products"},"resource":{"rel":"/api/v1/products/51f6ddae40a0ce6cab00002e","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51f6ddae40a0ce6cab00002e"}}}'
100
71
  http_version:
101
- recorded_at: Wed, 24 Jul 2013 21:03:23 GMT
72
+ recorded_at: Mon, 29 Jul 2013 21:25:02 GMT
102
73
  - request:
103
74
  method: get
104
75
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=gallery
@@ -113,73 +84,50 @@ http_interactions:
113
84
  Accept-Encoding:
114
85
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
115
86
  Accept:
116
- - ! '*/*'
87
+ - '*/*'
117
88
  response:
118
89
  status:
119
90
  code: 200
120
- message: !binary |-
121
- T0s=
91
+ message: OK
122
92
  headers:
123
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
124
- - !binary |-
125
- dHJ1ZQ==
126
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
127
- - !binary |-
128
- eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
129
- eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
130
- bnRlbnQtVHlwZQ==
131
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
132
- - !binary |-
133
- T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
134
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
135
- - !binary |-
136
- Kg==
137
- !binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
138
- - !binary |-
139
- MTAwMA==
140
- !binary "Q2FjaGUtQ29udHJvbA==":
141
- - !binary |-
142
- bm8tY2FjaGUsIG5vLXN0b3Jl
143
- !binary "Q29udGVudC1FbmNvZGluZw==":
144
- - !binary |-
145
- Z3ppcA==
146
- !binary "Q29udGVudC1UeXBl":
147
- - !binary |-
148
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
149
- !binary "RGF0ZQ==":
150
- - !binary |-
151
- V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyMyBHTVQ=
152
- !binary "U3RhdHVz":
153
- - !binary |-
154
- MjAwIE9L
155
- !binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
156
- - !binary |-
157
- bWF4LWFnZT0zMTUzNjAwMA==
158
- !binary "VmFyeQ==":
159
- - !binary |-
160
- QWNjZXB0LUVuY29kaW5n
161
- !binary "WC1SYWNrLUNhY2hl":
162
- - !binary |-
163
- bWlzcw==
164
- !binary "WC1SZXF1ZXN0LUlk":
165
- - !binary |-
166
- MDE3MDM0ZGYwNmE4ZWMzZjNkMzE4MGI5YzIxNDBmMmM=
167
- !binary "WC1SdW50aW1l":
168
- - !binary |-
169
- MC4wNTgxMDI=
170
- !binary "WC1VYS1Db21wYXRpYmxl":
171
- - !binary |-
172
- SUU9RWRnZSxjaHJvbWU9MQ==
173
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
174
- - !binary |-
175
- Y2h1bmtlZA==
176
- !binary "Q29ubmVjdGlvbg==":
177
- - !binary |-
178
- a2VlcC1hbGl2ZQ==
93
+ Access-Control-Allow-Credentials:
94
+ - 'true'
95
+ Access-Control-Allow-Headers:
96
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
97
+ x-skip-cache, Content-Type
98
+ Access-Control-Allow-Methods:
99
+ - OPTIONS, GET, POST, PUT, DELETE
100
+ Access-Control-Allow-Origin:
101
+ - '*'
102
+ Access-Control-Max-Age:
103
+ - '1000'
104
+ Cache-Control:
105
+ - no-cache, no-store
106
+ Content-Type:
107
+ - application/json; charset=utf-8
108
+ Date:
109
+ - Mon, 29 Jul 2013 21:25:03 GMT
110
+ Status:
111
+ - 200 OK
112
+ Strict-Transport-Security:
113
+ - max-age=31536000
114
+ Vary:
115
+ - Accept-Encoding
116
+ X-Rack-Cache:
117
+ - miss
118
+ X-Request-Id:
119
+ - 943751ef57cc6cde545dff577b110bd0
120
+ X-Runtime:
121
+ - '0.030872'
122
+ X-Ua-Compatible:
123
+ - IE=Edge,chrome=1
124
+ Transfer-Encoding:
125
+ - chunked
126
+ Connection:
127
+ - keep-alive
179
128
  body:
180
- encoding: ASCII-8BIT
181
- string: !binary |-
182
- H4sIABtB8FEAA6pWSkksSVSyio6tBQAAAP//AwCUZLJeCwAAAA==
129
+ encoding: UTF-8
130
+ string: '{"data":[]}'
183
131
  http_version:
184
- recorded_at: Wed, 24 Jul 2013 21:03:24 GMT
132
+ recorded_at: Mon, 29 Jul 2013 21:25:03 GMT
185
133
  recorded_with: VCR 2.4.0
@@ -14,109 +14,60 @@ http_interactions:
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
17
- - ! '*/*'
17
+ - '*/*'
18
18
  response:
19
19
  status:
20
20
  code: 200
21
- message: !binary |-
22
- T0s=
21
+ message: OK
23
22
  headers:
24
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
25
- - !binary |-
26
- dHJ1ZQ==
27
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
28
- - !binary |-
29
- eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
30
- eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
31
- bnRlbnQtVHlwZQ==
32
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
33
- - !binary |-
34
- T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
35
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
36
- - !binary |-
37
- Kg==
38
- !binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
39
- - !binary |-
40
- MTAwMA==
41
- !binary "Q2FjaGUtQ29udHJvbA==":
42
- - !binary |-
43
- bm8tY2FjaGUsIG5vLXN0b3Jl
44
- !binary "Q29udGVudC1FbmNvZGluZw==":
45
- - !binary |-
46
- Z3ppcA==
47
- !binary "Q29udGVudC1UeXBl":
48
- - !binary |-
49
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
50
- !binary "RGF0ZQ==":
51
- - !binary |-
52
- V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyNiBHTVQ=
53
- !binary "U3RhdHVz":
54
- - !binary |-
55
- MjAwIE9L
56
- !binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
57
- - !binary |-
58
- bWF4LWFnZT0zMTUzNjAwMA==
59
- !binary "VmFyeQ==":
60
- - !binary |-
61
- QWNjZXB0LUVuY29kaW5n
62
- !binary "WC1SYWNrLUNhY2hl":
63
- - !binary |-
64
- bWlzcw==
65
- !binary "WC1SZXF1ZXN0LUlk":
66
- - !binary |-
67
- NTFkOWUxNzhmYTViNTk1M2JhMjE1ODc0MGY1MDMyMDU=
68
- !binary "WC1SdW50aW1l":
69
- - !binary |-
70
- MC4yODUzNDQ=
71
- !binary "WC1VYS1Db21wYXRpYmxl":
72
- - !binary |-
73
- SUU9RWRnZSxjaHJvbWU9MQ==
74
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
75
- - !binary |-
76
- Y2h1bmtlZA==
77
- !binary "Q29ubmVjdGlvbg==":
78
- - !binary |-
79
- a2VlcC1hbGl2ZQ==
23
+ Access-Control-Allow-Credentials:
24
+ - 'true'
25
+ Access-Control-Allow-Headers:
26
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
27
+ x-skip-cache, Content-Type
28
+ Access-Control-Allow-Methods:
29
+ - OPTIONS, GET, POST, PUT, DELETE
30
+ Access-Control-Allow-Origin:
31
+ - '*'
32
+ Access-Control-Max-Age:
33
+ - '1000'
34
+ Cache-Control:
35
+ - no-cache, no-store
36
+ Content-Type:
37
+ - application/json; charset=utf-8
38
+ Date:
39
+ - Mon, 29 Jul 2013 21:25:05 GMT
40
+ Status:
41
+ - 200 OK
42
+ Strict-Transport-Security:
43
+ - max-age=31536000
44
+ Vary:
45
+ - Accept-Encoding
46
+ X-Rack-Cache:
47
+ - miss
48
+ X-Request-Id:
49
+ - c53bca16e5701bd0b1018c068a3d83fe
50
+ X-Runtime:
51
+ - '0.177362'
52
+ X-Ua-Compatible:
53
+ - IE=Edge,chrome=1
54
+ Transfer-Encoding:
55
+ - chunked
56
+ Connection:
57
+ - keep-alive
80
58
  body:
81
- encoding: ASCII-8BIT
82
- string: !binary |-
83
- H4sIAB5B8FE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GmTeNJdMa2nutePaRZuwpDUd28FyZ+hzNTpm6/4C2
117
- aWk3PjD0BvSHAf17t2T3BexmpzcPo4Ivedxj+xNcywB+uVe1y0cdqqGZjVjw
118
- NbKH+ZrWL7knYqP8pC5u47oqONl8+UEKN11QSCHdU168cYgXWKRb+lK9dAxG
119
- rdI9W3o4Ry7GNJ27HiZJ4uubKfLCV8sf5gyW+V8AAAAA//8DAE+cMOQiHwAA
59
+ encoding: UTF-8
60
+ string: '{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-05-23T15:29:42Z","name":"Minden
61
+ Master II","slug":"minden-master-ii","_type":"Home::Grills::Gas","types":["Propane"],"msrp":479.0,"article_ids":["50fb2e7bbd0286d555013653"],"website_ids":["50e669d7bd028648e0000023"],"publish_on":"2012-05-18T19:34:00+00:00","upc":null,"price_grabber_id":"","rubric_id":"50f9ed93bd0286638e0003b4","brand_id":"50f9ed7cbd0286638e000272","model":"Master
62
+ II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":8.43,"ranking":{"total":15,"rank":8,"percentile":47},"rubric":{"id":"50f9ed93bd0286638e0003b4","created_at":"2013-01-19T00:49:23Z","updated_at":"2013-01-19T00:49:23Z","name":"2011
63
+ Gas Grill Rubric","permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"},"resource":{"rel":"/api/v1/rubrics/50f9ed93bd0286638e0003b4","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics/50f9ed93bd0286638e0003b4"}}},"websites":[{"id":"50e669d7bd028648e0000023","created_at":"2013-01-04T05:34:15Z","updated_at":"2013-07-03T20:16:36Z","name":"Grills","url":"grills.reviewed.com","code":"GRI","category":null,"featured_video_id":null,"ad_campaign_group":{"id":"51377ab09f5e85f5a3000484","created_at":"2013-03-06T17:19:44Z","updated_at":"2013-05-13T16:38:12Z","website_id":"50e669d7bd028648e0000023","ad_campaigns":[],"permissions":{"read":false,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/ad_campaign_groups","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups"},"resource":{"rel":"/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484"}}},"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/websites","href":"https://the-guide-staging.herokuapp.com/api/v1/websites"},"resource":{"rel":"/api/v1/websites/50e669d7bd028648e0000023","href":"https://the-guide-staging.herokuapp.com/api/v1/websites/50e669d7bd028648e0000023"}}}],"manufacturer_specs":[{"id":"519a4afffdc61b67e1000490","name":"brand_name","value":"(Minden)","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000491","name":"manufacturer_name","value":"Minden","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000492","name":"manual_url","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000493","name":"manual_text","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000494","name":"manufacturer_text","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000495","name":"manufacturer_url","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000496","name":"series_name","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000497","name":"Fuel","value":["LP
64
+ Gas"],"value_units":"","value_type":"MultiListItem","order":0,"options":["LP
65
+ Gas","Natural Gas","Charcoal","Electricity","Natural Gas (adaptor sold separately)","Propane
66
+ (adaptor sold separately)"]},{"id":"519a4afffdc61b67e1000498","name":"Install
67
+ Type","value":"Freestanding","value_units":"","value_type":"String","order":0,"options":["Freestanding","Portable","Install"]},{"id":"519a4afffdc61b67e1000499","name":"Finish
68
+ or Color","value":"Green","value_units":"","value_type":"String","order":0,"options":["Electricity"]},{"id":"519a4afffdc61b67e100049a","name":"Side
69
+ Burner","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"519a4afffdc61b67e100049b","name":"Rotisserie","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"519a4afffdc61b67e100049c","name":"Original
70
+ Price","value":"479","value_units":"","value_type":"Decimal","order":0,"options":null}],"attachments":[{"id":"50fca08abd02862d77009628","created_at":"2013-01-21T01:57:30Z","updated_at":"2013-01-21T01:57:30Z","name":"Minden-360MD-vanity.jpg","type":"file","tags":["vanity"],"versions":{"s50x50":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s50x50_Minden-360MD-vanity.jpg","s150x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s150x150_Minden-360MD-vanity.jpg","s200x75":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s200x75_Minden-360MD-vanity.jpg","s250x250":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s250x250_Minden-360MD-vanity.jpg","s300x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x150_Minden-360MD-vanity.jpg","s300x112":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x112_Minden-360MD-vanity.jpg","s500x500":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s500x500_Minden-360MD-vanity.jpg","s600x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x400_Minden-360MD-vanity.jpg","s600x600":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x600_Minden-360MD-vanity.jpg","s630x235":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s630x235_Minden-360MD-vanity.jpg","s940x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x400_Minden-360MD-vanity.jpg","s940x350":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x350_Minden-360MD-vanity.jpg","s940x110":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x110_Minden-360MD-vanity.jpg","original":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg"},"caption":null,"alt_text":null,"data":{"url":"http://reviewed-production.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg","file_size":29538,"content_type":"image/jpeg"},"position":0,"processing":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/attachments","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments"},"resource":{"rel":"/api/v1/attachments/50fca08abd02862d77009628","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments/50fca08abd02862d77009628"}}}],"brand":{"id":"50f9ed7cbd0286638e000272","created_at":"2012-05-15T21:11:27Z","updated_at":"2012-05-15T21:11:27Z","name":"Minden","slug":"minden","url":null,"resource_uri":"/products?brand=minden","website_ids":[],"websites":[],"logo_url":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/brands","href":"https://the-guide-staging.herokuapp.com/api/v1/brands"},"resource":{"rel":"/api/v1/brands/50f9ed7cbd0286638e000272","href":"https://the-guide-staging.herokuapp.com/api/v1/brands/50f9ed7cbd0286638e000272"}}},"awards":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false,"manage_baseline_products":false},"api_links":{"collection":{"rel":"/api/v1/products","href":"https://the-guide-staging.herokuapp.com/api/v1/products"},"resource":{"rel":"/api/v1/products/51f6ddb140a0cedcec00001e","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51f6ddb140a0cedcec00001e"}}}'
120
71
  http_version:
121
- recorded_at: Wed, 24 Jul 2013 21:03:26 GMT
72
+ recorded_at: Mon, 29 Jul 2013 21:25:05 GMT
122
73
  recorded_with: VCR 2.4.0
@@ -14,109 +14,62 @@ http_interactions:
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
17
- - ! '*/*'
17
+ - '*/*'
18
18
  response:
19
19
  status:
20
20
  code: 200
21
- message: !binary |-
22
- T0s=
21
+ message: OK
23
22
  headers:
24
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
25
- - !binary |-
26
- dHJ1ZQ==
27
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
28
- - !binary |-
29
- eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
30
- eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
31
- bnRlbnQtVHlwZQ==
32
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
33
- - !binary |-
34
- T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
35
- !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
36
- - !binary |-
37
- Kg==
38
- !binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
39
- - !binary |-
40
- MTAwMA==
41
- !binary "Q2FjaGUtQ29udHJvbA==":
42
- - !binary |-
43
- bm8tY2FjaGUsIG5vLXN0b3Jl
44
- !binary "Q29udGVudC1FbmNvZGluZw==":
45
- - !binary |-
46
- Z3ppcA==
47
- !binary "Q29udGVudC1UeXBl":
48
- - !binary |-
49
- YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
50
- !binary "RGF0ZQ==":
51
- - !binary |-
52
- V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyNiBHTVQ=
53
- !binary "U3RhdHVz":
54
- - !binary |-
55
- MjAwIE9L
56
- !binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
57
- - !binary |-
58
- bWF4LWFnZT0zMTUzNjAwMA==
59
- !binary "VmFyeQ==":
60
- - !binary |-
61
- QWNjZXB0LUVuY29kaW5n
62
- !binary "WC1SYWNrLUNhY2hl":
63
- - !binary |-
64
- bWlzcw==
65
- !binary "WC1SZXF1ZXN0LUlk":
66
- - !binary |-
67
- NWM0MjllYmRkYTUyNWZlZGEwZmE5NmNlNjA4NmYxNWM=
68
- !binary "WC1SdW50aW1l":
69
- - !binary |-
70
- MC4xNTg2MDY=
71
- !binary "WC1VYS1Db21wYXRpYmxl":
72
- - !binary |-
73
- SUU9RWRnZSxjaHJvbWU9MQ==
74
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
75
- - !binary |-
76
- Y2h1bmtlZA==
77
- !binary "Q29ubmVjdGlvbg==":
78
- - !binary |-
79
- a2VlcC1hbGl2ZQ==
23
+ Access-Control-Allow-Credentials:
24
+ - 'true'
25
+ Access-Control-Allow-Headers:
26
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
27
+ x-skip-cache, Content-Type
28
+ Access-Control-Allow-Methods:
29
+ - OPTIONS, GET, POST, PUT, DELETE
30
+ Access-Control-Allow-Origin:
31
+ - '*'
32
+ Access-Control-Max-Age:
33
+ - '1000'
34
+ Cache-Control:
35
+ - no-cache, no-store
36
+ Content-Type:
37
+ - application/json; charset=utf-8
38
+ Date:
39
+ - Wed, 31 Jul 2013 14:01:22 GMT
40
+ Etag:
41
+ - '"e0aa021e21dddbd6d8cecec71e9cf564"'
42
+ Status:
43
+ - 200 OK
44
+ Strict-Transport-Security:
45
+ - max-age=31536000
46
+ Vary:
47
+ - Accept-Encoding
48
+ X-Rack-Cache:
49
+ - miss
50
+ X-Request-Id:
51
+ - 486a251dccd30cae828190a5a3f6a351
52
+ X-Runtime:
53
+ - '0.009244'
54
+ X-Ua-Compatible:
55
+ - IE=Edge,chrome=1
56
+ Transfer-Encoding:
57
+ - chunked
58
+ Connection:
59
+ - keep-alive
80
60
  body:
81
- encoding: ASCII-8BIT
82
- string: !binary |-
83
- H4sIAB5B8FEAA8RZbW/bNhD+K4Y+bVgck3q1BAwD1q5dgKYLWn/ZgkCgJMpm
84
- I4sCSSVNi/z3HSlZlp1IBpLaDYIEFI93D++Nx+N3i2VWZHkoJw4K/NAniTf3
85
- EfZRGpCAWmdWKihRNIuJAjobYXuKvCn2FjaOsB1h7z+gqatsh8bRNLazwF5k
86
- h5Fra5qSrCnMXrIyo+XkkkhFxeTiAmZkUS9hZm1mpmszM2UMZmL1UOlFf/M1
87
- jaL3ghWFhP9EwpyeklZ0bV0JXpGSWjdn1lqKyorcIDxHZxYRiqUFjVlmyGCL
88
- iU2DJMmQPfczz/MAp+85et09TSRTPVLq+2EWNKTunCL9YxvSqk4KJlcxL/vq
89
- mC9wGDluhNBvCMFfo5PUisq6KGCNYCmNl4IkCRWxUTgQiDqB7/FG/yHNQqeR
90
- 6DtGpJO4QJYIUmZ9qiDdobIDG6jWPKOFVm9Pr4JKXguQXAsGU7NK8KxOlZw9
91
- o2ki0hW7o7FUYEggTh5ibVKYYTKWKResXMYJkbRgoOooJ4Wk3aqs+9CKiAVR
92
- sMCK5ueuA0BIeWuG3y3FFQGc2Gu+AgUsogCyVKyg2naPG81o8kPK2XdOcDw8
93
- xeECjOCGke0MOOcTmtY5YRZP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CoaIr3qSHvnqorWegnNncLbpqRjrnZE2+8ZLcy6ag6bY9cxI7y7CbUT/F
111
- SUiSnOQEZVAzgo4Tzw1oHqS6lzFrpMTDkCUGCnwCIK2cMSg2Ql8D7+hIGjGj
112
- QACrfQKdtHLGoED9fxLztHIOQsH2aaBgewyKh7RbnyJ6jJwxKD6QuCeA0so5
113
- BMU/ERT/ABQHPNs5fiy3csaghO5pDNTKOQTFOUEwt3IOQcH4NFBAzggU3tYL
114
- x4YyhOBR9+6qpvvRdugK1dzU2jFUBkQf2U0vcB9k29SG9cfFeWbqiliyb1Bj
115
- 2KHnzHUHslTAfFM9Qem0pLMvFTW7qrhkzbaQab2nVErTZ2+fHU7fTOoXbi9u
116
- mvV4jHfwtoSzkeLw1SiGmTeNJdMa2nutePaRZuwpDUd28FyZ+hzNTpm6/4C2
117
- aWk3PjD0BvSHAf17t2T3BexmpzcPo4Ivedxj+xNcywB+uVe1y0cdqqGZjVjw
118
- NbKH+ZrWL7knYqP8pC5u47oqONl8+UEKN11QSCHdU168cYgXWKRb+lK9dAxG
119
- rdI9W3o4Ry7GFLJqGM7TxE11f9ehr5Y/zBks878AAAAA//8DALb7qcgiHwAA
61
+ encoding: UTF-8
62
+ string: '{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-05-23T15:29:42Z","name":"Minden
63
+ Master II","slug":"minden-master-ii","_type":"Home::Grills::Gas","types":["Propane"],"msrp":479.0,"article_ids":["50fb2e7bbd0286d555013653"],"website_ids":["50e669d7bd028648e0000023"],"publish_on":"2012-05-18T19:34:00+00:00","upc":null,"price_grabber_id":"","rubric_id":"50f9ed93bd0286638e0003b4","brand_id":"50f9ed7cbd0286638e000272","model":"Master
64
+ II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":8.43,"ranking":{"total":15,"rank":8,"percentile":47},"rubric":{"id":"50f9ed93bd0286638e0003b4","created_at":"2013-01-19T00:49:23Z","updated_at":"2013-01-19T00:49:23Z","name":"2011
65
+ Gas Grill Rubric","permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"},"resource":{"rel":"/api/v1/rubrics/50f9ed93bd0286638e0003b4","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics/50f9ed93bd0286638e0003b4"}}},"websites":[{"id":"50e669d7bd028648e0000023","created_at":"2013-01-04T05:34:15Z","updated_at":"2013-07-03T20:16:36Z","name":"Grills","url":"grills.reviewed.com","code":"GRI","category":null,"featured_video_id":null,"ad_campaign_group":{"id":"51377ab09f5e85f5a3000484","created_at":"2013-03-06T17:19:44Z","updated_at":"2013-05-13T16:38:12Z","website_id":"50e669d7bd028648e0000023","ad_campaigns":[],"permissions":{"read":false,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/ad_campaign_groups","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups"},"resource":{"rel":"/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484"}}},"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/websites","href":"https://the-guide-staging.herokuapp.com/api/v1/websites"},"resource":{"rel":"/api/v1/websites/50e669d7bd028648e0000023","href":"https://the-guide-staging.herokuapp.com/api/v1/websites/50e669d7bd028648e0000023"}}}],"manufacturer_specs":[{"id":"519a4afffdc61b67e1000490","name":"brand_name","value":"(Minden)","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000491","name":"manufacturer_name","value":"Minden","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000492","name":"manual_url","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000493","name":"manual_text","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000494","name":"manufacturer_text","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000495","name":"manufacturer_url","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000496","name":"series_name","value":"","value_units":"","value_type":"String","order":0,"options":null},{"id":"519a4afffdc61b67e1000497","name":"Fuel","value":["LP
66
+ Gas"],"value_units":"","value_type":"MultiListItem","order":0,"options":["LP
67
+ Gas","Natural Gas","Charcoal","Electricity","Natural Gas (adaptor sold separately)","Propane
68
+ (adaptor sold separately)"]},{"id":"519a4afffdc61b67e1000498","name":"Install
69
+ Type","value":"Freestanding","value_units":"","value_type":"String","order":0,"options":["Freestanding","Portable","Install"]},{"id":"519a4afffdc61b67e1000499","name":"Finish
70
+ or Color","value":"Green","value_units":"","value_type":"String","order":0,"options":["Electricity"]},{"id":"519a4afffdc61b67e100049a","name":"Side
71
+ Burner","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"519a4afffdc61b67e100049b","name":"Rotisserie","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"519a4afffdc61b67e100049c","name":"Original
72
+ Price","value":"479","value_units":"","value_type":"Decimal","order":0,"options":null}],"attachments":[{"id":"50fca08abd02862d77009628","created_at":"2013-01-21T01:57:30Z","updated_at":"2013-01-21T01:57:30Z","name":"Minden-360MD-vanity.jpg","type":"file","tags":["vanity"],"versions":{"s50x50":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s50x50_Minden-360MD-vanity.jpg","s150x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s150x150_Minden-360MD-vanity.jpg","s200x75":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s200x75_Minden-360MD-vanity.jpg","s250x250":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s250x250_Minden-360MD-vanity.jpg","s300x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x150_Minden-360MD-vanity.jpg","s300x112":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x112_Minden-360MD-vanity.jpg","s500x500":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s500x500_Minden-360MD-vanity.jpg","s600x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x400_Minden-360MD-vanity.jpg","s600x600":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x600_Minden-360MD-vanity.jpg","s630x235":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s630x235_Minden-360MD-vanity.jpg","s940x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x400_Minden-360MD-vanity.jpg","s940x350":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x350_Minden-360MD-vanity.jpg","s940x110":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x110_Minden-360MD-vanity.jpg","original":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg"},"caption":null,"alt_text":null,"data":{"url":"http://reviewed-production.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg","file_size":29538,"content_type":"image/jpeg"},"position":0,"processing":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/attachments","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments"},"resource":{"rel":"/api/v1/attachments/50fca08abd02862d77009628","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments/50fca08abd02862d77009628"}}}],"brand":{"id":"50f9ed7cbd0286638e000272","created_at":"2012-05-15T21:11:27Z","updated_at":"2012-05-15T21:11:27Z","name":"Minden","slug":"minden","url":null,"resource_uri":"/products?brand=minden","website_ids":[],"websites":[],"logo_url":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/brands","href":"https://the-guide-staging.herokuapp.com/api/v1/brands"},"resource":{"rel":"/api/v1/brands/50f9ed7cbd0286638e000272","href":"https://the-guide-staging.herokuapp.com/api/v1/brands/50f9ed7cbd0286638e000272"}}},"awards":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false,"manage_baseline_products":false},"api_links":{"collection":{"rel":"/api/v1/products","href":"https://the-guide-staging.herokuapp.com/api/v1/products"},"resource":{"rel":"/api/v1/products/51f918b2175f604893000019","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51f918b2175f604893000019"}}}'
120
73
  http_version:
121
- recorded_at: Wed, 24 Jul 2013 21:03:26 GMT
74
+ recorded_at: Wed, 31 Jul 2013 14:01:24 GMT
122
75
  recorded_with: VCR 2.4.0