my_john_deere_api 2.3.3 → 2.4.1

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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +236 -3
  3. data/lib/my_john_deere_api.rb +1 -0
  4. data/lib/my_john_deere_api/client.rb +13 -3
  5. data/lib/my_john_deere_api/net_http_retry.rb +2 -0
  6. data/lib/my_john_deere_api/net_http_retry/decorator.rb +53 -0
  7. data/lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error.rb +20 -0
  8. data/lib/my_john_deere_api/version.rb +1 -1
  9. data/test/lib/my_john_deere_api/client_test.rb +20 -3
  10. data/test/lib/my_john_deere_api/errors/max_retries_exceeded_error_test.rb +13 -0
  11. data/test/lib/my_john_deere_api/net_http_retry/decorator_test.rb +163 -0
  12. data/test/support/helper.rb +1 -0
  13. data/test/support/vcr/accessor/delete_failed.yml +327 -0
  14. data/test/support/vcr/accessor/delete_max_failed.yml +615 -0
  15. data/test/support/vcr/accessor/delete_retry.yml +191 -0
  16. data/test/support/vcr/accessor/delete_retry_too_soon.yml +191 -0
  17. data/test/support/vcr/accessor/get_failed.yml +390 -0
  18. data/test/support/vcr/accessor/get_max_failed.yml +734 -0
  19. data/test/support/vcr/accessor/get_retry.yml +226 -0
  20. data/test/support/vcr/accessor/get_retry_too_soon.yml +226 -0
  21. data/test/support/vcr/accessor/post_failed.yml +417 -0
  22. data/test/support/vcr/accessor/post_max_failed.yml +785 -0
  23. data/test/support/vcr/accessor/post_retry.yml +241 -0
  24. data/test/support/vcr/accessor/post_retry_too_soon.yml +241 -0
  25. data/test/support/vcr/accessor/put_failed.yml +372 -0
  26. data/test/support/vcr/accessor/put_max_failed.yml +700 -0
  27. data/test/support/vcr/accessor/put_retry.yml +216 -0
  28. data/test/support/vcr/accessor/put_retry_too_soon.yml +216 -0
  29. metadata +24 -3
@@ -0,0 +1,216 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
9
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
10
+ headers:
11
+ Accept:
12
+ - application/vnd.deere.axiom.v3+json
13
+ Content-Type:
14
+ - application/vnd.deere.axiom.v3+json
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ User-Agent:
18
+ - OAuth gem v0.5.4
19
+ Content-Length:
20
+ - '267'
21
+ Authorization:
22
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
23
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
24
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
25
+ oauth_version="1.0"
26
+ response:
27
+ status:
28
+ code: 429
29
+ message: Too Many Requests
30
+ headers:
31
+ Date:
32
+ - Mon, 10 Feb 2020 17:29:30 GMT
33
+ X-Deere-Handling-Server:
34
+ - ip-10-214-44-33
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ X-Deere-Elapsed-Ms:
38
+ - '185'
39
+ Retry-After:
40
+ - '13'
41
+ body:
42
+ encoding: UTF-8
43
+ string: ''
44
+ http_version:
45
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
46
+ - request:
47
+ method: put
48
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
52
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
53
+ headers:
54
+ Accept:
55
+ - application/vnd.deere.axiom.v3+json
56
+ Content-Type:
57
+ - application/vnd.deere.axiom.v3+json
58
+ Accept-Encoding:
59
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
60
+ User-Agent:
61
+ - OAuth gem v0.5.4
62
+ Content-Length:
63
+ - '267'
64
+ Authorization:
65
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
66
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
67
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
68
+ oauth_version="1.0"
69
+ response:
70
+ status:
71
+ code: 429
72
+ message: Too Many Requests
73
+ headers:
74
+ Date:
75
+ - Mon, 10 Feb 2020 17:29:30 GMT
76
+ X-Deere-Handling-Server:
77
+ - ip-10-214-44-33
78
+ X-Frame-Options:
79
+ - SAMEORIGIN
80
+ X-Deere-Elapsed-Ms:
81
+ - '185'
82
+ Retry-After:
83
+ - '17'
84
+ body:
85
+ encoding: UTF-8
86
+ string: ''
87
+ http_version:
88
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
89
+ - request:
90
+ method: put
91
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
92
+ body:
93
+ encoding: UTF-8
94
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
95
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
96
+ headers:
97
+ Accept:
98
+ - application/vnd.deere.axiom.v3+json
99
+ Content-Type:
100
+ - application/vnd.deere.axiom.v3+json
101
+ Accept-Encoding:
102
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
103
+ User-Agent:
104
+ - OAuth gem v0.5.4
105
+ Content-Length:
106
+ - '267'
107
+ Authorization:
108
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
109
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
110
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
111
+ oauth_version="1.0"
112
+ response:
113
+ status:
114
+ code: 503
115
+ message: Service Unavailable
116
+ headers:
117
+ Date:
118
+ - Mon, 10 Feb 2020 17:29:30 GMT
119
+ X-Deere-Handling-Server:
120
+ - ip-10-214-44-33
121
+ X-Frame-Options:
122
+ - SAMEORIGIN
123
+ X-Deere-Elapsed-Ms:
124
+ - '185'
125
+ Retry-After:
126
+ - '19'
127
+ body:
128
+ encoding: UTF-8
129
+ string: ''
130
+ http_version:
131
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
132
+ - request:
133
+ method: put
134
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
135
+ body:
136
+ encoding: UTF-8
137
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
138
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
139
+ headers:
140
+ Accept:
141
+ - application/vnd.deere.axiom.v3+json
142
+ Content-Type:
143
+ - application/vnd.deere.axiom.v3+json
144
+ Accept-Encoding:
145
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
146
+ User-Agent:
147
+ - OAuth gem v0.5.4
148
+ Content-Length:
149
+ - '267'
150
+ Authorization:
151
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
152
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
153
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
154
+ oauth_version="1.0"
155
+ response:
156
+ status:
157
+ code: 503
158
+ message: Service Unavailable
159
+ headers:
160
+ Date:
161
+ - Mon, 10 Feb 2020 17:29:30 GMT
162
+ X-Deere-Handling-Server:
163
+ - ip-10-214-44-33
164
+ X-Frame-Options:
165
+ - SAMEORIGIN
166
+ X-Deere-Elapsed-Ms:
167
+ - '185'
168
+ Retry-After:
169
+ - '23'
170
+ body:
171
+ encoding: UTF-8
172
+ string: ''
173
+ http_version:
174
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
175
+ - request:
176
+ method: put
177
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
178
+ body:
179
+ encoding: UTF-8
180
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
181
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
182
+ headers:
183
+ Accept:
184
+ - application/vnd.deere.axiom.v3+json
185
+ Content-Type:
186
+ - application/vnd.deere.axiom.v3+json
187
+ Accept-Encoding:
188
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
189
+ User-Agent:
190
+ - OAuth gem v0.5.4
191
+ Content-Length:
192
+ - '267'
193
+ Authorization:
194
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
195
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
196
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
197
+ oauth_version="1.0"
198
+ response:
199
+ status:
200
+ code: 204
201
+ message: No Content
202
+ headers:
203
+ Date:
204
+ - Mon, 10 Feb 2020 17:29:30 GMT
205
+ X-Deere-Handling-Server:
206
+ - ip-10-214-44-33
207
+ X-Frame-Options:
208
+ - SAMEORIGIN
209
+ X-Deere-Elapsed-Ms:
210
+ - '185'
211
+ body:
212
+ encoding: UTF-8
213
+ string: ''
214
+ http_version:
215
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
216
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,216 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
9
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
10
+ headers:
11
+ Accept:
12
+ - application/vnd.deere.axiom.v3+json
13
+ Content-Type:
14
+ - application/vnd.deere.axiom.v3+json
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ User-Agent:
18
+ - OAuth gem v0.5.4
19
+ Content-Length:
20
+ - '267'
21
+ Authorization:
22
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
23
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
24
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
25
+ oauth_version="1.0"
26
+ response:
27
+ status:
28
+ code: 429
29
+ message: Too Many Requests
30
+ headers:
31
+ Date:
32
+ - Mon, 10 Feb 2020 17:29:30 GMT
33
+ X-Deere-Handling-Server:
34
+ - ip-10-214-44-33
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ X-Deere-Elapsed-Ms:
38
+ - '185'
39
+ Retry-After:
40
+ - '0'
41
+ body:
42
+ encoding: UTF-8
43
+ string: ''
44
+ http_version:
45
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
46
+ - request:
47
+ method: put
48
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
52
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
53
+ headers:
54
+ Accept:
55
+ - application/vnd.deere.axiom.v3+json
56
+ Content-Type:
57
+ - application/vnd.deere.axiom.v3+json
58
+ Accept-Encoding:
59
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
60
+ User-Agent:
61
+ - OAuth gem v0.5.4
62
+ Content-Length:
63
+ - '267'
64
+ Authorization:
65
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
66
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
67
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
68
+ oauth_version="1.0"
69
+ response:
70
+ status:
71
+ code: 429
72
+ message: Too Many Requests
73
+ headers:
74
+ Date:
75
+ - Mon, 10 Feb 2020 17:29:30 GMT
76
+ X-Deere-Handling-Server:
77
+ - ip-10-214-44-33
78
+ X-Frame-Options:
79
+ - SAMEORIGIN
80
+ X-Deere-Elapsed-Ms:
81
+ - '185'
82
+ Retry-After:
83
+ - '1'
84
+ body:
85
+ encoding: UTF-8
86
+ string: ''
87
+ http_version:
88
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
89
+ - request:
90
+ method: put
91
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
92
+ body:
93
+ encoding: UTF-8
94
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
95
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
96
+ headers:
97
+ Accept:
98
+ - application/vnd.deere.axiom.v3+json
99
+ Content-Type:
100
+ - application/vnd.deere.axiom.v3+json
101
+ Accept-Encoding:
102
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
103
+ User-Agent:
104
+ - OAuth gem v0.5.4
105
+ Content-Length:
106
+ - '267'
107
+ Authorization:
108
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
109
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
110
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
111
+ oauth_version="1.0"
112
+ response:
113
+ status:
114
+ code: 503
115
+ message: Service Unavailable
116
+ headers:
117
+ Date:
118
+ - Mon, 10 Feb 2020 17:29:30 GMT
119
+ X-Deere-Handling-Server:
120
+ - ip-10-214-44-33
121
+ X-Frame-Options:
122
+ - SAMEORIGIN
123
+ X-Deere-Elapsed-Ms:
124
+ - '185'
125
+ Retry-After:
126
+ - '2'
127
+ body:
128
+ encoding: UTF-8
129
+ string: ''
130
+ http_version:
131
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
132
+ - request:
133
+ method: put
134
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
135
+ body:
136
+ encoding: UTF-8
137
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
138
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
139
+ headers:
140
+ Accept:
141
+ - application/vnd.deere.axiom.v3+json
142
+ Content-Type:
143
+ - application/vnd.deere.axiom.v3+json
144
+ Accept-Encoding:
145
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
146
+ User-Agent:
147
+ - OAuth gem v0.5.4
148
+ Content-Length:
149
+ - '267'
150
+ Authorization:
151
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
152
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
153
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
154
+ oauth_version="1.0"
155
+ response:
156
+ status:
157
+ code: 503
158
+ message: Service Unavailable
159
+ headers:
160
+ Date:
161
+ - Mon, 10 Feb 2020 17:29:30 GMT
162
+ X-Deere-Handling-Server:
163
+ - ip-10-214-44-33
164
+ X-Frame-Options:
165
+ - SAMEORIGIN
166
+ X-Deere-Elapsed-Ms:
167
+ - '185'
168
+ Retry-After:
169
+ - '3'
170
+ body:
171
+ encoding: UTF-8
172
+ string: ''
173
+ http_version:
174
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
175
+ - request:
176
+ method: put
177
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
178
+ body:
179
+ encoding: UTF-8
180
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
181
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
182
+ headers:
183
+ Accept:
184
+ - application/vnd.deere.axiom.v3+json
185
+ Content-Type:
186
+ - application/vnd.deere.axiom.v3+json
187
+ Accept-Encoding:
188
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
189
+ User-Agent:
190
+ - OAuth gem v0.5.4
191
+ Content-Length:
192
+ - '267'
193
+ Authorization:
194
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
195
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
196
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
197
+ oauth_version="1.0"
198
+ response:
199
+ status:
200
+ code: 204
201
+ message: No Content
202
+ headers:
203
+ Date:
204
+ - Mon, 10 Feb 2020 17:29:30 GMT
205
+ X-Deere-Handling-Server:
206
+ - ip-10-214-44-33
207
+ X-Frame-Options:
208
+ - SAMEORIGIN
209
+ X-Deere-Elapsed-Ms:
210
+ - '185'
211
+ body:
212
+ encoding: UTF-8
213
+ string: ''
214
+ http_version:
215
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
216
+ recorded_with: VCR 5.0.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_john_deere_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Bellmyer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-17 00:00:00.000000000 Z
12
+ date: 2020-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vcr
@@ -126,6 +126,9 @@ files:
126
126
  - lib/my_john_deere_api/model/field.rb
127
127
  - lib/my_john_deere_api/model/flag.rb
128
128
  - lib/my_john_deere_api/model/organization.rb
129
+ - lib/my_john_deere_api/net_http_retry.rb
130
+ - lib/my_john_deere_api/net_http_retry/decorator.rb
131
+ - lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error.rb
129
132
  - lib/my_john_deere_api/request.rb
130
133
  - lib/my_john_deere_api/request/collection.rb
131
134
  - lib/my_john_deere_api/request/collection/asset_locations.rb
@@ -159,6 +162,7 @@ files:
159
162
  - test/lib/my_john_deere_api/client_test.rb
160
163
  - test/lib/my_john_deere_api/consumer_test.rb
161
164
  - test/lib/my_john_deere_api/errors/invalid_record_error_test.rb
165
+ - test/lib/my_john_deere_api/errors/max_retries_exceeded_error_test.rb
162
166
  - test/lib/my_john_deere_api/errors/missing_contribution_definition_id_error_test.rb
163
167
  - test/lib/my_john_deere_api/errors/not_yet_implemented_error_test.rb
164
168
  - test/lib/my_john_deere_api/errors/type_mismatch_error_test.rb
@@ -178,6 +182,7 @@ files:
178
182
  - test/lib/my_john_deere_api/model/flag_test.rb
179
183
  - test/lib/my_john_deere_api/model/organization_test.rb
180
184
  - test/lib/my_john_deere_api/model_test.rb
185
+ - test/lib/my_john_deere_api/net_http_retry/decorator_test.rb
181
186
  - test/lib/my_john_deere_api/request/collection/asset_locations_test.rb
182
187
  - test/lib/my_john_deere_api/request/collection/assets_test.rb
183
188
  - test/lib/my_john_deere_api/request/collection/base_test.rb
@@ -209,6 +214,22 @@ files:
209
214
  - test/lib/my_john_deere_api/version_test.rb
210
215
  - test/my_john_deere_api_test.rb
211
216
  - test/support/helper.rb
217
+ - test/support/vcr/accessor/delete_failed.yml
218
+ - test/support/vcr/accessor/delete_max_failed.yml
219
+ - test/support/vcr/accessor/delete_retry.yml
220
+ - test/support/vcr/accessor/delete_retry_too_soon.yml
221
+ - test/support/vcr/accessor/get_failed.yml
222
+ - test/support/vcr/accessor/get_max_failed.yml
223
+ - test/support/vcr/accessor/get_retry.yml
224
+ - test/support/vcr/accessor/get_retry_too_soon.yml
225
+ - test/support/vcr/accessor/post_failed.yml
226
+ - test/support/vcr/accessor/post_max_failed.yml
227
+ - test/support/vcr/accessor/post_retry.yml
228
+ - test/support/vcr/accessor/post_retry_too_soon.yml
229
+ - test/support/vcr/accessor/put_failed.yml
230
+ - test/support/vcr/accessor/put_max_failed.yml
231
+ - test/support/vcr/accessor/put_retry.yml
232
+ - test/support/vcr/accessor/put_retry_too_soon.yml
212
233
  - test/support/vcr/catalog.yml
213
234
  - test/support/vcr/delete_asset.yml
214
235
  - test/support/vcr/get_access_token.yml
@@ -230,7 +251,7 @@ files:
230
251
  - test/support/vcr/put_asset.yml
231
252
  - test/support/vcr/warning.txt
232
253
  - test/support/vcr_setup.rb
233
- homepage: https://github.com/Intellifarm/my_john_deere_api
254
+ homepage: https://github.com/RealmFive/my_john_deere_api
234
255
  licenses:
235
256
  - MIT
236
257
  metadata: {}