patch_ruby 1.0.0.pre → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +0 -2
- data/README.md +90 -14
- data/lib/patch_ruby/version.rb +1 -1
- data/spec/api_client_spec.rb +12 -33
- data/spec/integration/estimates_spec.rb +18 -23
- data/spec/integration/orders_spec.rb +28 -40
- data/spec/integration/preferences_spec.rb +24 -30
- data/spec/integration/projects_spec.rb +17 -24
- data/spec/spec_helper.rb +0 -11
- metadata +4 -14
- data/spec/fixtures/vcr_cassettes/estimate_orders.yml +0 -276
- data/spec/fixtures/vcr_cassettes/estimates.yml +0 -211
- data/spec/fixtures/vcr_cassettes/orders.yml +0 -229
- data/spec/fixtures/vcr_cassettes/preferences.yml +0 -352
- data/spec/fixtures/vcr_cassettes/projects.yml +0 -143
@@ -1,143 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.staging-patch.com/v1/projects?page=1
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- OpenAPI-Generator/1.0.0.pre/ruby
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
Authorization:
|
17
|
-
- "<AUTH>"
|
18
|
-
Expect:
|
19
|
-
- ''
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: ''
|
24
|
-
headers:
|
25
|
-
server:
|
26
|
-
- nginx/1.17.8
|
27
|
-
date:
|
28
|
-
- Thu, 02 Jul 2020 17:44:24 GMT
|
29
|
-
content-type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
vary:
|
32
|
-
- Accept-Encoding
|
33
|
-
- Origin
|
34
|
-
x-frame-options:
|
35
|
-
- SAMEORIGIN
|
36
|
-
x-xss-protection:
|
37
|
-
- 1; mode=block
|
38
|
-
x-content-type-options:
|
39
|
-
- nosniff
|
40
|
-
x-download-options:
|
41
|
-
- noopen
|
42
|
-
x-permitted-cross-domain-policies:
|
43
|
-
- none
|
44
|
-
referrer-policy:
|
45
|
-
- strict-origin-when-cross-origin
|
46
|
-
etag:
|
47
|
-
- W/"4cb5a00231b4a4af0a924c8965c78a3c"
|
48
|
-
cache-control:
|
49
|
-
- max-age=0, private, must-revalidate
|
50
|
-
x-request-id:
|
51
|
-
- e1e6cbb673e72cc20c3378bb78772040
|
52
|
-
x-runtime:
|
53
|
-
- '0.022308'
|
54
|
-
strict-transport-security:
|
55
|
-
- max-age=15724800; includeSubDomains
|
56
|
-
access-control-allow-origin:
|
57
|
-
- "*"
|
58
|
-
access-control-allow-credentials:
|
59
|
-
- 'true'
|
60
|
-
access-control-allow-methods:
|
61
|
-
- GET, PUT, POST, DELETE, PATCH, OPTIONS
|
62
|
-
access-control-allow-headers:
|
63
|
-
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
|
64
|
-
body:
|
65
|
-
encoding: UTF-8
|
66
|
-
string: '{"data":[{"id":"pro_test_cee5bba9672799a693891aff340b3106","country":"US","description":"This
|
67
|
-
project is an example.","developer":"Patch Test Developer","latitude":45.0,"longitude":45.0,"name":"Patch''s
|
68
|
-
Test Offset Project","production":false,"verifier":"Test verifier"}],"error":null,"meta":{"next_page":null,"prev_page":null},"success":true}'
|
69
|
-
http_version: '2'
|
70
|
-
adapter_metadata:
|
71
|
-
effective_url: https://api.staging-patch.com/v1/projects?page=1
|
72
|
-
recorded_at: Thu, 02 Jul 2020 17:44:24 GMT
|
73
|
-
- request:
|
74
|
-
method: get
|
75
|
-
uri: https://api.staging-patch.com/v1/projects/pro_test_cee5bba9672799a693891aff340b3106
|
76
|
-
body:
|
77
|
-
encoding: US-ASCII
|
78
|
-
string: ''
|
79
|
-
headers:
|
80
|
-
User-Agent:
|
81
|
-
- OpenAPI-Generator/1.0.0.pre/ruby
|
82
|
-
Content-Type:
|
83
|
-
- application/json
|
84
|
-
Accept:
|
85
|
-
- application/json
|
86
|
-
Authorization:
|
87
|
-
- "<AUTH>"
|
88
|
-
Expect:
|
89
|
-
- ''
|
90
|
-
response:
|
91
|
-
status:
|
92
|
-
code: 200
|
93
|
-
message: ''
|
94
|
-
headers:
|
95
|
-
server:
|
96
|
-
- nginx/1.17.8
|
97
|
-
date:
|
98
|
-
- Thu, 02 Jul 2020 17:44:25 GMT
|
99
|
-
content-type:
|
100
|
-
- application/json; charset=utf-8
|
101
|
-
vary:
|
102
|
-
- Accept-Encoding
|
103
|
-
- Origin
|
104
|
-
x-frame-options:
|
105
|
-
- SAMEORIGIN
|
106
|
-
x-xss-protection:
|
107
|
-
- 1; mode=block
|
108
|
-
x-content-type-options:
|
109
|
-
- nosniff
|
110
|
-
x-download-options:
|
111
|
-
- noopen
|
112
|
-
x-permitted-cross-domain-policies:
|
113
|
-
- none
|
114
|
-
referrer-policy:
|
115
|
-
- strict-origin-when-cross-origin
|
116
|
-
etag:
|
117
|
-
- W/"1bee28f83050ddecdadeaebcf81c6d6f"
|
118
|
-
cache-control:
|
119
|
-
- max-age=0, private, must-revalidate
|
120
|
-
x-request-id:
|
121
|
-
- c4bc4dc7cf503c5673a9818e4830360d
|
122
|
-
x-runtime:
|
123
|
-
- '0.033308'
|
124
|
-
strict-transport-security:
|
125
|
-
- max-age=15724800; includeSubDomains
|
126
|
-
access-control-allow-origin:
|
127
|
-
- "*"
|
128
|
-
access-control-allow-credentials:
|
129
|
-
- 'true'
|
130
|
-
access-control-allow-methods:
|
131
|
-
- GET, PUT, POST, DELETE, PATCH, OPTIONS
|
132
|
-
access-control-allow-headers:
|
133
|
-
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
|
134
|
-
body:
|
135
|
-
encoding: UTF-8
|
136
|
-
string: '{"data":{"id":"pro_test_cee5bba9672799a693891aff340b3106","country":"US","description":"This
|
137
|
-
project is an example.","developer":"Patch Test Developer","latitude":45.0,"longitude":45.0,"name":"Patch''s
|
138
|
-
Test Offset Project","production":false,"verifier":"Test verifier"},"error":null,"meta":null,"success":true}'
|
139
|
-
http_version: '2'
|
140
|
-
adapter_metadata:
|
141
|
-
effective_url: https://api.staging-patch.com/v1/projects/pro_test_cee5bba9672799a693891aff340b3106
|
142
|
-
recorded_at: Thu, 02 Jul 2020 17:44:25 GMT
|
143
|
-
recorded_with: VCR 6.0.0
|