reviewed 0.1.31 → 0.1.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/reviewed/article.rb +3 -1
- data/lib/reviewed/version.rb +1 -1
- data/spec/article_spec.rb +6 -1
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +528 -290
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +578 -319
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/has_many_attachments.yml +528 -290
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/returns_all_attachments.yml +528 -290
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/returns_attachments_of_the_correct_class.yml +578 -319
- data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +528 -290
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +559 -340
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +528 -290
- data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +641 -410
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +1056 -580
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +1199 -0
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +1056 -580
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +181 -297
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +27 -54
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +112 -58
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +167 -120
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +112 -58
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +279 -178
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +110 -56
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +43 -54
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/finds_attachments_by_tag.yml +45 -56
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/has_many_attachments.yml +44 -52
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_all_attachments.yml +43 -54
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +45 -53
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +43 -54
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +43 -54
- data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +39 -46
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +181 -297
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +12 -20
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +215 -325
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +181 -297
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +181 -297
- data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +528 -290
- data/spec/spec_helper.rb +1 -1
- metadata +7 -29
data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml
CHANGED
@@ -7,14 +7,14 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.6
|
10
12
|
X-Reviewed-Authorization:
|
11
|
-
-
|
13
|
+
- 38e397252ec670ec441733a95204f141
|
12
14
|
Accept-Encoding:
|
13
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
16
|
Accept:
|
15
17
|
- ! '*/*'
|
16
|
-
User-Agent:
|
17
|
-
- Ruby
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -27,7 +27,8 @@ http_interactions:
|
|
27
27
|
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
|
28
28
|
- !binary |-
|
29
29
|
eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
|
30
|
-
|
30
|
+
eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
|
31
|
+
bnRlbnQtVHlwZQ==
|
31
32
|
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
|
32
33
|
- !binary |-
|
33
34
|
T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
|
@@ -48,13 +49,7 @@ http_interactions:
|
|
48
49
|
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
49
50
|
!binary "RGF0ZQ==":
|
50
51
|
- !binary |-
|
51
|
-
|
52
|
-
!binary "RXRhZw==":
|
53
|
-
- !binary |-
|
54
|
-
ImUwYWEwMjFlMjFkZGRiZDZkOGNlY2VjNzFlOWNmNTY0Ig==
|
55
|
-
!binary "U2VydmVy":
|
56
|
-
- !binary |-
|
57
|
-
dGhpbiAxLjUuMCBjb2RlbmFtZSBLbmlmZQ==
|
52
|
+
RnJpLCAyMiBNYXIgMjAxMyAxOTo0MToyOCBHTVQ=
|
58
53
|
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
59
54
|
- !binary |-
|
60
55
|
bWF4LWFnZT0zMTUzNjAwMA==
|
@@ -64,54 +59,52 @@ http_interactions:
|
|
64
59
|
!binary "WC1SYWNrLUNhY2hl":
|
65
60
|
- !binary |-
|
66
61
|
bWlzcw==
|
67
|
-
!binary "WC1SYXRlLUxpbWl0":
|
68
|
-
- !binary |-
|
69
|
-
OTk5MDk=
|
70
62
|
!binary "WC1SZXF1ZXN0LUlk":
|
71
63
|
- !binary |-
|
72
|
-
|
64
|
+
MzIwODhhN2U3ODcyOGU0OGZhM2QwMjk4ZDVjMzU5NjQ=
|
73
65
|
!binary "WC1SdW50aW1l":
|
74
66
|
- !binary |-
|
75
|
-
|
67
|
+
MC4xNTU4NjQ=
|
76
68
|
!binary "WC1VYS1Db21wYXRpYmxl":
|
77
69
|
- !binary |-
|
78
70
|
SUU9RWRnZSxjaHJvbWU9MQ==
|
79
|
-
!binary "
|
71
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
80
72
|
- !binary |-
|
81
|
-
|
73
|
+
MTIyNw==
|
82
74
|
!binary "Q29ubmVjdGlvbg==":
|
83
75
|
- !binary |-
|
84
76
|
a2VlcC1hbGl2ZQ==
|
85
77
|
body:
|
86
78
|
encoding: ASCII-8BIT
|
87
79
|
string: !binary |-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
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