reviewed 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/faraday/api_key.rb +3 -1
- data/lib/faraday/errors.rb +14 -0
- data/lib/reviewed/client.rb +2 -0
- data/lib/reviewed/product.rb +1 -0
- data/lib/reviewed/version.rb +1 -1
- data/lib/reviewed.rb +3 -1
- data/spec/article_spec.rb +2 -2
- data/spec/client_spec.rb +1 -1
- data/spec/faraday/api_key_spec.rb +26 -21
- data/spec/faraday/errors_spec.rb +40 -0
- data/spec/fixtures/vcr/article/find_page.yml +149 -127
- data/spec/fixtures/vcr/article/grill.yml +558 -448
- data/spec/fixtures/vcr/article/products.yml +2205 -434
- data/spec/fixtures/vcr/client/perform/no_params.yml +282 -238
- data/spec/fixtures/vcr/client/perform/params.yml +73 -60
- data/spec/fixtures/vcr/collection/products.yml +393 -375
- data/spec/fixtures/vcr/product/attachments.yml +68 -46
- data/spec/fixtures/vcr/product/manufacturer_specs.yml +65 -46
- data/spec/fixtures/vcr/request/collection.yml +282 -238
- data/spec/fixtures/vcr/request/object.yml +518 -7083
- data/spec/fixtures/vcr/request/where/collection.yml +624 -579
- data/spec/request_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -3
- metadata +5 -6
- data/spec/fixtures/vcr/request/perform/no_params.yml +0 -290
- data/spec/fixtures/vcr/request/perform/params.yml +0 -112
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://the-guide-staging.herokuapp.com/api/v1/articles?per_page=1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,15 +21,6 @@ http_interactions:
|
|
21
21
|
message: !binary |-
|
22
22
|
T0s=
|
23
23
|
headers:
|
24
|
-
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
25
|
-
- !binary |-
|
26
|
-
Kg==
|
27
|
-
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
|
28
|
-
- !binary |-
|
29
|
-
T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
|
30
|
-
!binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
|
31
|
-
- !binary |-
|
32
|
-
MTAwMA==
|
33
24
|
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
|
34
25
|
- !binary |-
|
35
26
|
dHJ1ZQ==
|
@@ -37,76 +28,98 @@ http_interactions:
|
|
37
28
|
- !binary |-
|
38
29
|
eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
|
39
30
|
eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCBDb250ZW50LVR5cGU=
|
31
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
|
32
|
+
- !binary |-
|
33
|
+
T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
|
34
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
35
|
+
- !binary |-
|
36
|
+
Kg==
|
37
|
+
!binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
|
38
|
+
- !binary |-
|
39
|
+
MTAwMA==
|
40
40
|
!binary "Q2FjaGUtQ29udHJvbA==":
|
41
41
|
- !binary |-
|
42
42
|
bm8tY2FjaGUsIG5vLXN0b3Jl
|
43
|
-
!binary "
|
43
|
+
!binary "Q29udGVudC1FbmNvZGluZw==":
|
44
44
|
- !binary |-
|
45
|
-
|
45
|
+
Z3ppcA==
|
46
46
|
!binary "Q29udGVudC1UeXBl":
|
47
47
|
- !binary |-
|
48
48
|
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
49
|
+
!binary "RGF0ZQ==":
|
50
|
+
- !binary |-
|
51
|
+
VHVlLCAwNCBEZWMgMjAxMiAyMDoxOToxOCBHTVQ=
|
52
|
+
!binary "RXRhZw==":
|
53
|
+
- !binary |-
|
54
|
+
ImUwYWEwMjFlMjFkZGRiZDZkOGNlY2VjNzFlOWNmNTY0Ig==
|
55
|
+
!binary "U2VydmVy":
|
56
|
+
- !binary |-
|
57
|
+
dGhpbiAxLjUuMCBjb2RlbmFtZSBLbmlmZQ==
|
58
|
+
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
59
|
+
- !binary |-
|
60
|
+
bWF4LWFnZT0zMTUzNjAwMA==
|
49
61
|
!binary "VmFyeQ==":
|
50
62
|
- !binary |-
|
51
63
|
QWNjZXB0LUVuY29kaW5n
|
52
|
-
!binary "
|
53
|
-
- !binary |-
|
54
|
-
Z3ppcA==
|
55
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
64
|
+
!binary "WC1SYWNrLUNhY2hl":
|
56
65
|
- !binary |-
|
57
|
-
|
58
|
-
!binary "
|
66
|
+
bWlzcw==
|
67
|
+
!binary "WC1SYXRlLUxpbWl0":
|
59
68
|
- !binary |-
|
60
|
-
|
69
|
+
OTk5MDA=
|
61
70
|
!binary "WC1SZXF1ZXN0LUlk":
|
62
71
|
- !binary |-
|
63
|
-
|
72
|
+
NGVkOTBhMTE5NDZkMTJkMzViNDFjZjUzZmVhZjJlZTE=
|
64
73
|
!binary "WC1SdW50aW1l":
|
65
74
|
- !binary |-
|
66
|
-
|
67
|
-
!binary "
|
75
|
+
MC4wMDI4Njk=
|
76
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
68
77
|
- !binary |-
|
69
|
-
|
70
|
-
!binary "
|
78
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
79
|
+
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
71
80
|
- !binary |-
|
72
|
-
|
81
|
+
Y2h1bmtlZA==
|
82
|
+
!binary "Q29ubmVjdGlvbg==":
|
83
|
+
- !binary |-
|
84
|
+
a2VlcC1hbGl2ZQ==
|
73
85
|
body:
|
74
86
|
encoding: ASCII-8BIT
|
75
87
|
string: !binary |-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
/
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
88
|
+
H4sIAMZavlAAA8RYW2+cOBT+KyOeutoJsQ3GwMuqjVZ9abVVE6nVVhHyGDOh
|
89
|
+
ywCyIZk0yn/fYy4DkyHMdFXN5iEKPsfnfOf22c6TVfJ1mvMqLXIrfLKqouKZ
|
90
|
+
FTLm+cv2IwIFqfulJFW6apassFK1XFoZ3y0kPNOwUip5nxa17lbzOsuWVi63
|
91
|
+
vRpZWkVdRUUSrYo6j/VuY5EkWlZWiJaWqJWSeb8Dg1Gphg+QqFTqqMj7teel
|
92
|
+
FfOKW+G3JyuNrdCiaMWRK10PxZLFqxhjxCSn1ALbSvJKxhEHVxZBmFxgfIHp
|
93
|
+
DWYhoSH1/gaduoxf6pALhG+wExInpMTo5HwDrq0vd6nKyqLIFu/fv3cC9OHr
|
94
|
+
9eIzZEA+gM5K8VzcRZ3qBnIlFSzrerPh6hGW4ONeKt2kny2tB7nSaSWj1KTl
|
95
|
+
m4mC0iRJ2ii4cAiCH+Fat1Advm50RJH3FmBVQD10mqSiKWmjoHow+5plvcpS
|
96
|
+
fRcZz22IyLkg/g32TBoQ+h0h+A3beFVxcbcx5Whhmc0qNQFEpSriWhhBm3PK
|
97
|
+
POkFIlg5xGOxJwLMqDABZ/UaNB76XF2s12vIVbbVFzt4qY4quSkzSPyolxr7
|
98
|
+
eq+wrzk5LCxEhPwbgkLshpS9Xlhionb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|
+
SorUVGLxJiseDv0DYuJi13XGwbPG/Z8JvPNSmQP2Q69u4DFzcR0FT+aCn3Tu
|
115
|
+
2zhg5pVF2GDGPzQzCmIyiZ7tEw/7ARtVPphDs+HbQyvEdjwPv2yBawmtHp8a
|
116
|
+
UTvBuzpOWThWkSkTVzBtqsj0RAZH5XfnAU+m7ucA/1cTRzL/cyBONnFl/iEh
|
117
|
+
DNUOACbmx0MscLFDX47xaPvgfYJ1MIInMkbeIQ3IO9k8uWcnOLADH5rXY4H/
|
118
|
+
snubyK94yQW8FCapgxKX+WPoeHZ6JlMXGDtj+jHwwYgWPIO3zxH+hQSwaYJF
|
119
|
+
tsOmKJTafnASSQIOd5YFG/I7he6ojb0pQgMeYydRlg9lPo2UgItOoh1gm+BE
|
120
|
+
dml7+zQaaXVf8oVvO86JzHDM2VHd6XCPmT3UnZleM7Tz89l1xtwAwtx5r4wY
|
121
|
+
nEvktCHqTmoFk8FXmbkJ7f4cVv/oLzi/7F60/7+O219m+flfAQAAAP//AwDw
|
122
|
+
pBhGsRcAAA==
|
110
123
|
http_version:
|
111
|
-
recorded_at:
|
124
|
+
recorded_at: Tue, 04 Dec 2012 20:19:27 GMT
|
112
125
|
recorded_with: VCR 2.3.0
|