reviewed 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/faraday/cache.rb +13 -11
- data/lib/reviewed/cache.rb +18 -0
- data/lib/reviewed/version.rb +1 -1
- data/reviewed.gemspec +1 -1
- data/spec/article_spec.rb +1 -1
- data/spec/client_spec.rb +1 -1
- data/spec/collection_spec.rb +1 -1
- data/spec/faraday/cache_spec.rb +9 -9
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +236 -289
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +196 -226
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +236 -289
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +228 -361
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +236 -313
- data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +228 -278
- data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +196 -226
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +196 -226
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +196 -226
- data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +196 -226
- data/spec/fixtures/vcr/Reviewed_Article/fetches_when_a_tag_is_not_in_pre-loaded_set.yml +365 -438
- data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +294 -351
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +424 -504
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +392 -452
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +392 -452
- data/spec/fixtures/vcr/Reviewed_Article/returns_local_attachments_when_available.yml +363 -438
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +93 -102
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +11 -12
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +80 -197
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +80 -197
- data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +99 -302
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +80 -197
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +48 -145
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +48 -145
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +80 -197
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +80 -197
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +48 -145
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +80 -197
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +211 -551
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +48 -145
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +90 -162
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +50 -99
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +50 -99
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +50 -99
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +58 -110
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +50 -99
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +52 -99
- data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_keywords.yml +72 -0
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +93 -102
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +11 -9
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +91 -69
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +93 -102
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +93 -102
- data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +90 -93
- data/spec/product_spec.rb +1 -1
- data/spec/request_spec.rb +4 -4
- metadata +35 -62
- data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +0 -66
data/spec/product_spec.rb
CHANGED
data/spec/request_spec.rb
CHANGED
@@ -2,7 +2,7 @@ require 'spec_helper.rb'
|
|
2
2
|
|
3
3
|
describe Reviewed::Request do
|
4
4
|
before do
|
5
|
-
|
5
|
+
Reviewed::Cache.store.clear
|
6
6
|
end
|
7
7
|
|
8
8
|
let(:request) do
|
@@ -99,14 +99,14 @@ describe Reviewed::Request do
|
|
99
99
|
collection.current_page.should == 2
|
100
100
|
end
|
101
101
|
|
102
|
-
it 'filters collections using
|
103
|
-
collection = request.where(:keywords => '
|
102
|
+
it 'filters collections using keywords' do
|
103
|
+
collection = request.where(:keywords => 'Zenbook,UX31E')
|
104
104
|
collection.total.should == 1
|
105
105
|
collection.last_page.should be_true
|
106
106
|
end
|
107
107
|
|
108
108
|
it 'returns an empty set if no matching data was found' do
|
109
|
-
collection = request.where(:keywords => '
|
109
|
+
collection = request.where(:keywords => 'TQ')
|
110
110
|
collection.should be_empty
|
111
111
|
collection.total.should == 0
|
112
112
|
collection.out_of_bounds.should be_true
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reviewed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
5
|
-
prerelease:
|
4
|
+
version: 0.6.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Nick Plante
|
@@ -10,76 +9,67 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-31 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: activesupport
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '3.0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '3.0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: activemodel
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '3.0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '3.0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: faraday
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 0.8.4
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: 0.8.4
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: faraday_middleware
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: 0.9.0
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: 0.9.0
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: hashie
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
74
|
- - ~>
|
85
75
|
- !ruby/object:Gem::Version
|
@@ -87,7 +77,6 @@ dependencies:
|
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
81
|
- - ~>
|
93
82
|
- !ruby/object:Gem::Version
|
@@ -95,129 +84,113 @@ dependencies:
|
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: rack
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - '>='
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '0'
|
103
91
|
type: :runtime
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
|
-
- -
|
95
|
+
- - '>='
|
109
96
|
- !ruby/object:Gem::Version
|
110
97
|
version: '0'
|
111
98
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: redis-
|
99
|
+
name: redis-activesupport
|
113
100
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
101
|
requirements:
|
116
|
-
- -
|
102
|
+
- - '>='
|
117
103
|
- !ruby/object:Gem::Version
|
118
104
|
version: '0'
|
119
105
|
type: :runtime
|
120
106
|
prerelease: false
|
121
107
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
108
|
requirements:
|
124
|
-
- -
|
109
|
+
- - '>='
|
125
110
|
- !ruby/object:Gem::Version
|
126
111
|
version: '0'
|
127
112
|
- !ruby/object:Gem::Dependency
|
128
113
|
name: rake
|
129
114
|
requirement: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
115
|
requirements:
|
132
|
-
- -
|
116
|
+
- - '>='
|
133
117
|
- !ruby/object:Gem::Version
|
134
118
|
version: '0'
|
135
119
|
type: :development
|
136
120
|
prerelease: false
|
137
121
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
122
|
requirements:
|
140
|
-
- -
|
123
|
+
- - '>='
|
141
124
|
- !ruby/object:Gem::Version
|
142
125
|
version: '0'
|
143
126
|
- !ruby/object:Gem::Dependency
|
144
127
|
name: rspec
|
145
128
|
requirement: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
129
|
requirements:
|
148
|
-
- -
|
130
|
+
- - '>='
|
149
131
|
- !ruby/object:Gem::Version
|
150
132
|
version: '2.10'
|
151
133
|
type: :development
|
152
134
|
prerelease: false
|
153
135
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
136
|
requirements:
|
156
|
-
- -
|
137
|
+
- - '>='
|
157
138
|
- !ruby/object:Gem::Version
|
158
139
|
version: '2.10'
|
159
140
|
- !ruby/object:Gem::Dependency
|
160
141
|
name: webmock
|
161
142
|
requirement: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
143
|
requirements:
|
164
|
-
- -
|
144
|
+
- - '>='
|
165
145
|
- !ruby/object:Gem::Version
|
166
146
|
version: '1.8'
|
167
147
|
type: :development
|
168
148
|
prerelease: false
|
169
149
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
150
|
requirements:
|
172
|
-
- -
|
151
|
+
- - '>='
|
173
152
|
- !ruby/object:Gem::Version
|
174
153
|
version: '1.8'
|
175
154
|
- !ruby/object:Gem::Dependency
|
176
155
|
name: vcr
|
177
156
|
requirement: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
157
|
requirements:
|
180
|
-
- -
|
158
|
+
- - '>='
|
181
159
|
- !ruby/object:Gem::Version
|
182
160
|
version: '2.1'
|
183
161
|
type: :development
|
184
162
|
prerelease: false
|
185
163
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
none: false
|
187
164
|
requirements:
|
188
|
-
- -
|
165
|
+
- - '>='
|
189
166
|
- !ruby/object:Gem::Version
|
190
167
|
version: '2.1'
|
191
168
|
- !ruby/object:Gem::Dependency
|
192
169
|
name: guard-rspec
|
193
170
|
requirement: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
171
|
requirements:
|
196
|
-
- -
|
172
|
+
- - '>='
|
197
173
|
- !ruby/object:Gem::Version
|
198
174
|
version: '1.0'
|
199
175
|
type: :development
|
200
176
|
prerelease: false
|
201
177
|
version_requirements: !ruby/object:Gem::Requirement
|
202
|
-
none: false
|
203
178
|
requirements:
|
204
|
-
- -
|
179
|
+
- - '>='
|
205
180
|
- !ruby/object:Gem::Version
|
206
181
|
version: '1.0'
|
207
182
|
- !ruby/object:Gem::Dependency
|
208
183
|
name: pry
|
209
184
|
requirement: !ruby/object:Gem::Requirement
|
210
|
-
none: false
|
211
185
|
requirements:
|
212
|
-
- -
|
186
|
+
- - '>='
|
213
187
|
- !ruby/object:Gem::Version
|
214
188
|
version: '0'
|
215
189
|
type: :development
|
216
190
|
prerelease: false
|
217
191
|
version_requirements: !ruby/object:Gem::Requirement
|
218
|
-
none: false
|
219
192
|
requirements:
|
220
|
-
- -
|
193
|
+
- - '>='
|
221
194
|
- !ruby/object:Gem::Version
|
222
195
|
version: '0'
|
223
196
|
description: Client library for the Reviewed.com API
|
@@ -245,6 +218,7 @@ files:
|
|
245
218
|
- lib/reviewed/award.rb
|
246
219
|
- lib/reviewed/base.rb
|
247
220
|
- lib/reviewed/brand.rb
|
221
|
+
- lib/reviewed/cache.rb
|
248
222
|
- lib/reviewed/client.rb
|
249
223
|
- lib/reviewed/collection.rb
|
250
224
|
- lib/reviewed/deal.rb
|
@@ -306,7 +280,7 @@ files:
|
|
306
280
|
- spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml
|
307
281
|
- spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml
|
308
282
|
- spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml
|
309
|
-
- spec/fixtures/vcr/Reviewed_Request/_where/
|
283
|
+
- spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_keywords.yml
|
310
284
|
- spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml
|
311
285
|
- spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml
|
312
286
|
- spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml
|
@@ -321,27 +295,26 @@ files:
|
|
321
295
|
- spec/website_spec.rb
|
322
296
|
homepage: ''
|
323
297
|
licenses: []
|
298
|
+
metadata: {}
|
324
299
|
post_install_message:
|
325
300
|
rdoc_options: []
|
326
301
|
require_paths:
|
327
302
|
- lib
|
328
303
|
required_ruby_version: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
304
|
requirements:
|
331
|
-
- -
|
305
|
+
- - '>='
|
332
306
|
- !ruby/object:Gem::Version
|
333
307
|
version: '0'
|
334
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
|
-
none: false
|
336
309
|
requirements:
|
337
|
-
- -
|
310
|
+
- - '>='
|
338
311
|
- !ruby/object:Gem::Version
|
339
312
|
version: '0'
|
340
313
|
requirements: []
|
341
314
|
rubyforge_project:
|
342
|
-
rubygems_version:
|
315
|
+
rubygems_version: 2.0.3
|
343
316
|
signing_key:
|
344
|
-
specification_version:
|
317
|
+
specification_version: 4
|
345
318
|
summary: A Ruby Gem for Accessing the Reviewed.com API
|
346
319
|
test_files:
|
347
320
|
- spec/article_spec.rb
|
@@ -393,7 +366,7 @@ test_files:
|
|
393
366
|
- spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml
|
394
367
|
- spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml
|
395
368
|
- spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml
|
396
|
-
- spec/fixtures/vcr/Reviewed_Request/_where/
|
369
|
+
- spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_keywords.yml
|
397
370
|
- spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml
|
398
371
|
- spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml
|
399
372
|
- spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml
|
data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://the-guide-staging.herokuapp.com/api/v1/articles?keywords=minden
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Faraday v0.8.7
|
12
|
-
X-Reviewed-Authorization:
|
13
|
-
- 38e397252ec670ec441733a95204f141
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
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
|
-
- Thu, 27 Jun 2013 15:43:03 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-Request-Id:
|
49
|
-
- 897985607356ec6196f2306684a8f1a8
|
50
|
-
X-Runtime:
|
51
|
-
- '0.000803'
|
52
|
-
X-Ua-Compatible:
|
53
|
-
- IE=Edge,chrome=1
|
54
|
-
Transfer-Encoding:
|
55
|
-
- chunked
|
56
|
-
Connection:
|
57
|
-
- keep-alive
|
58
|
-
body:
|
59
|
-
encoding: UTF-8
|
60
|
-
string: '{"pagination":{"total":1,"total_pages":1,"first_page":true,"last_page":true,"previous_page":null,"next_page":null,"out_of_bounds":false,"offset":0,"current_page":1,"per_page":20,"entries_on_page":1},"data":[{"id":"50fb2e7bbd0286d555013653","created_at":"2012-05-15T21:15:16Z","updated_at":"2013-01-31T21:11:23Z","name":"Minden
|
61
|
-
Master II Grill Review","branch_name":"master","summary":"","meta_description":null,"website_ids":["50e669d7bd028648e0000023"],"author_ids":["50fc4eaebd0286d5550b4c93"],"tags":[],"classifications":["review"],"publish_on":"2012-05-18T19:34:00+00:00","attachment_ids":["50fb2e7cbd0286d555013664","50fb2e7cbd0286d555013682"],"primary_product_id":"50fa307696ab5860160c7a7e","resource_uri":"/content/minden-master-ii-grill-review.htm","disqus_uri":"Minden-Master-II-Grill-Review","product_ids":["50fa307696ab5860160c7a7e"],"related_article_ids":[],"price_grabber_id":null,"publishable":true,"publishable_on":"2012-05-18T19:34:00+00:00","slug":"minden-master-ii-grill-review.htm","is_template":false,"is_branch":false,"products":[{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-03-11T21:05:24Z","name":"Minden
|
62
|
-
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":null,"brand_id":"50f9ed7cbd0286638e000272","model":"Master
|
63
|
-
II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":null,"ranking":{"total":null,"rank":null,"percentile":null},"rubric":{"name":"","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","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"}}},"is_primary_product":true,"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","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","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"}}}],"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/51cc5d879156bd99c3000065","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51cc5d879156bd99c3000065"}}}],"attachments":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/articles","href":"https://the-guide-staging.herokuapp.com/api/v1/articles"},"resource":{"rel":"/api/v1/articles/50fb2e7bbd0286d555013653","href":"https://the-guide-staging.herokuapp.com/api/v1/articles/50fb2e7bbd0286d555013653"}}}]}'
|
64
|
-
http_version:
|
65
|
-
recorded_at: Thu, 27 Jun 2013 15:43:04 GMT
|
66
|
-
recorded_with: VCR 2.5.0
|