freight_kit 0.1.21 → 0.1.22

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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/Rakefile +1 -3
  4. data/VERSION +1 -1
  5. data/freight_kit-0.1.21.gem +0 -0
  6. data/freight_kit.gemspec +8 -19
  7. data/lib/freight_kit/address_normalizer.rb +1 -3
  8. data/lib/freight_kit/api_clients/soap_client.rb +30 -5
  9. data/lib/freight_kit/carrier.rb +6 -7
  10. data/lib/freight_kit/carriers/abf_freight_system.rb +9 -26
  11. data/lib/freight_kit/carriers/aloha_freight_forwarders.rb +1 -5
  12. data/lib/freight_kit/carriers/amado_trucking.rb +1 -5
  13. data/lib/freight_kit/carriers/clear_lane_freight_systems.rb +6 -15
  14. data/lib/freight_kit/carriers/cpl_express.rb +1 -5
  15. data/lib/freight_kit/carriers/cross_country_freight_solutions.rb +6 -17
  16. data/lib/freight_kit/carriers/dependable_highway_express.rb +6 -18
  17. data/lib/freight_kit/carriers/forward_air.rb +4 -12
  18. data/lib/freight_kit/carriers/on_trac.rb +7 -25
  19. data/lib/freight_kit/carriers/peninsula_truck_lines.rb +4 -20
  20. data/lib/freight_kit/carriers/roadrunner_transportation_services.rb +2 -8
  21. data/lib/freight_kit/carriers/saia.rb +4 -19
  22. data/lib/freight_kit/carriers/southeastern_freight_lines.rb +4 -13
  23. data/lib/freight_kit/carriers/t_force_worldwide.rb +7 -19
  24. data/lib/freight_kit/carriers/total_quality_logistics.rb +2 -1
  25. data/lib/freight_kit/carriers/western_regional_delivery_service.rb +5 -11
  26. data/lib/freight_kit/carriers/xpo_logistics.rb +5 -17
  27. data/lib/freight_kit/errors/rate_limit_error.rb +12 -0
  28. data/lib/freight_kit/errors/unserviceable_accessorials_error.rb +1 -3
  29. data/lib/freight_kit/helpers/pickupable.rb +1 -10
  30. data/lib/freight_kit/http_client/httpi_adapter.rb +37 -0
  31. data/lib/freight_kit/http_client/safe_retries.rb +17 -1
  32. data/lib/freight_kit/http_client.rb +13 -9
  33. data/lib/freight_kit/models/credential.rb +2 -15
  34. data/lib/freight_kit/models/shipment.rb +1 -8
  35. data/lib/freight_kit/package.rb +3 -13
  36. data/lib/freight_kit/packaging.rb +1 -16
  37. data/lib/freight_kit/platforms/carrier_logistics.rb +5 -10
  38. data/lib/freight_kit/platforms/dsdc.rb +82 -0
  39. data/lib/freight_kit/platforms/next_tms/graphql_client/mutation/quote_create.rb +32 -0
  40. data/lib/freight_kit/platforms/next_tms/graphql_client/mutation/shipment_create.rb +29 -0
  41. data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carrier.rb +37 -0
  42. data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carriers.rb +45 -0
  43. data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customer.rb +54 -0
  44. data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customers.rb +62 -0
  45. data/lib/freight_kit/platforms/next_tms/graphql_client/query/carrier.rb +22 -0
  46. data/lib/freight_kit/platforms/next_tms/graphql_client/query/carriers.rb +30 -0
  47. data/lib/freight_kit/platforms/next_tms/graphql_client/query/customer.rb +20 -0
  48. data/lib/freight_kit/platforms/next_tms/graphql_client/query/customers.rb +28 -0
  49. data/lib/freight_kit/platforms/next_tms/graphql_client/query/invoice.rb +31 -0
  50. data/lib/freight_kit/platforms/next_tms/graphql_client/query/invoices.rb +39 -0
  51. data/lib/freight_kit/platforms/next_tms/graphql_client/query/shipment.rb +102 -0
  52. data/lib/freight_kit/platforms/next_tms/graphql_client/query/shipment_documents.rb +29 -0
  53. data/lib/freight_kit/platforms/next_tms/graphql_client/query/shipments.rb +110 -0
  54. data/lib/freight_kit/platforms/next_tms/graphql_client.rb +22 -0
  55. data/lib/freight_kit/platforms/next_tms/orm/address.rb +22 -0
  56. data/lib/freight_kit/platforms/next_tms/orm/base.rb +120 -0
  57. data/lib/freight_kit/platforms/next_tms/orm/broker_carrier.rb +18 -0
  58. data/lib/freight_kit/platforms/next_tms/orm/broker_customer.rb +22 -0
  59. data/lib/freight_kit/platforms/next_tms/orm/carrier.rb +14 -0
  60. data/lib/freight_kit/platforms/next_tms/orm/collection.rb +335 -0
  61. data/lib/freight_kit/platforms/next_tms/orm/customer.rb +12 -0
  62. data/lib/freight_kit/platforms/next_tms/orm/invoice.rb +21 -0
  63. data/lib/freight_kit/platforms/next_tms/orm/record_not_found_error.rb +9 -0
  64. data/lib/freight_kit/platforms/next_tms/orm/shipment.rb +50 -0
  65. data/lib/freight_kit/platforms/next_tms/orm.rb +38 -0
  66. data/lib/freight_kit/platforms/next_tms.rb +414 -55
  67. data/lib/freight_kit/platforms/the_great_information_factory.rb +4 -12
  68. data/lib/freight_kit.rb +19 -0
  69. data/schemas/next_tms.json +110710 -0
  70. metadata +83 -5
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freight_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Third Party Transportation Systems LLC
@@ -218,6 +218,46 @@ dependencies:
218
218
  - - "~>"
219
219
  - !ruby/object:Gem::Version
220
220
  version: '8.1'
221
+ - !ruby/object:Gem::Dependency
222
+ name: graphql
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: '2.0'
228
+ - - "<"
229
+ - !ruby/object:Gem::Version
230
+ version: '3'
231
+ type: :runtime
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '2.0'
238
+ - - "<"
239
+ - !ruby/object:Gem::Version
240
+ version: '3'
241
+ - !ruby/object:Gem::Dependency
242
+ name: graphql-client
243
+ requirement: !ruby/object:Gem::Requirement
244
+ requirements:
245
+ - - ">="
246
+ - !ruby/object:Gem::Version
247
+ version: 0.23.0
248
+ - - "<"
249
+ - !ruby/object:Gem::Version
250
+ version: '1'
251
+ type: :runtime
252
+ prerelease: false
253
+ version_requirements: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: 0.23.0
258
+ - - "<"
259
+ - !ruby/object:Gem::Version
260
+ version: '1'
221
261
  - !ruby/object:Gem::Dependency
222
262
  name: httpx
223
263
  requirement: !ruby/object:Gem::Requirement
@@ -225,6 +265,9 @@ dependencies:
225
265
  - - ">="
226
266
  - !ruby/object:Gem::Version
227
267
  version: 1.9.0
268
+ - - "!="
269
+ - !ruby/object:Gem::Version
270
+ version: 1.9.1
228
271
  - - "<"
229
272
  - !ruby/object:Gem::Version
230
273
  version: '2'
@@ -235,6 +278,9 @@ dependencies:
235
278
  - - ">="
236
279
  - !ruby/object:Gem::Version
237
280
  version: 1.9.0
281
+ - - "!="
282
+ - !ruby/object:Gem::Version
283
+ version: 1.9.1
238
284
  - - "<"
239
285
  - !ruby/object:Gem::Version
240
286
  version: '2'
@@ -261,7 +307,7 @@ dependencies:
261
307
  version: '2.0'
262
308
  - - "<"
263
309
  - !ruby/object:Gem::Version
264
- version: 3.2.2
310
+ version: 3.2.3
265
311
  type: :runtime
266
312
  prerelease: false
267
313
  version_requirements: !ruby/object:Gem::Requirement
@@ -271,7 +317,7 @@ dependencies:
271
317
  version: '2.0'
272
318
  - - "<"
273
319
  - !ruby/object:Gem::Version
274
- version: 3.2.2
320
+ version: 3.2.3
275
321
  - !ruby/object:Gem::Dependency
276
322
  name: mimemagic
277
323
  requirement: !ruby/object:Gem::Requirement
@@ -349,7 +395,7 @@ dependencies:
349
395
  version: '2.17'
350
396
  - - "<"
351
397
  - !ruby/object:Gem::Version
352
- version: '2.18'
398
+ version: '2.19'
353
399
  type: :runtime
354
400
  prerelease: false
355
401
  version_requirements: !ruby/object:Gem::Requirement
@@ -359,7 +405,7 @@ dependencies:
359
405
  version: '2.17'
360
406
  - - "<"
361
407
  - !ruby/object:Gem::Version
362
- version: '2.18'
408
+ version: '2.19'
363
409
  - !ruby/object:Gem::Dependency
364
410
  name: StreetAddress
365
411
  requirement: !ruby/object:Gem::Requirement
@@ -473,6 +519,7 @@ files:
473
519
  - VERSION
474
520
  - accessorial_symbols.txt
475
521
  - configuration/locations/amazon_warehouses.yml
522
+ - freight_kit-0.1.21.gem
476
523
  - freight_kit.gemspec
477
524
  - lib/freight_kit.rb
478
525
  - lib/freight_kit/address_normalizer.rb
@@ -807,6 +854,7 @@ files:
807
854
  - lib/freight_kit/errors/expired_credentials_error.rb
808
855
  - lib/freight_kit/errors/http_error.rb
809
856
  - lib/freight_kit/errors/invalid_credentials_error.rb
857
+ - lib/freight_kit/errors/rate_limit_error.rb
810
858
  - lib/freight_kit/errors/response_error.rb
811
859
  - lib/freight_kit/errors/shipment_not_found_error.rb
812
860
  - lib/freight_kit/errors/unserviceable_accessorials_error.rb
@@ -817,6 +865,7 @@ files:
817
865
  - lib/freight_kit/helpers/trackable.rb
818
866
  - lib/freight_kit/http_client.rb
819
867
  - lib/freight_kit/http_client/cache_store.rb
868
+ - lib/freight_kit/http_client/httpi_adapter.rb
820
869
  - lib/freight_kit/http_client/log_device.rb
821
870
  - lib/freight_kit/http_client/response.rb
822
871
  - lib/freight_kit/http_client/revalidation.rb
@@ -846,12 +895,41 @@ files:
846
895
  - lib/freight_kit/packaging.rb
847
896
  - lib/freight_kit/platform.rb
848
897
  - lib/freight_kit/platforms/carrier_logistics.rb
898
+ - lib/freight_kit/platforms/dsdc.rb
849
899
  - lib/freight_kit/platforms/next_tms.rb
900
+ - lib/freight_kit/platforms/next_tms/graphql_client.rb
901
+ - lib/freight_kit/platforms/next_tms/graphql_client/mutation/quote_create.rb
902
+ - lib/freight_kit/platforms/next_tms/graphql_client/mutation/shipment_create.rb
903
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carrier.rb
904
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carriers.rb
905
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customer.rb
906
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customers.rb
907
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/carrier.rb
908
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/carriers.rb
909
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/customer.rb
910
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/customers.rb
911
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/invoice.rb
912
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/invoices.rb
913
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/shipment.rb
914
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/shipment_documents.rb
915
+ - lib/freight_kit/platforms/next_tms/graphql_client/query/shipments.rb
916
+ - lib/freight_kit/platforms/next_tms/orm.rb
917
+ - lib/freight_kit/platforms/next_tms/orm/address.rb
918
+ - lib/freight_kit/platforms/next_tms/orm/base.rb
919
+ - lib/freight_kit/platforms/next_tms/orm/broker_carrier.rb
920
+ - lib/freight_kit/platforms/next_tms/orm/broker_customer.rb
921
+ - lib/freight_kit/platforms/next_tms/orm/carrier.rb
922
+ - lib/freight_kit/platforms/next_tms/orm/collection.rb
923
+ - lib/freight_kit/platforms/next_tms/orm/customer.rb
924
+ - lib/freight_kit/platforms/next_tms/orm/invoice.rb
925
+ - lib/freight_kit/platforms/next_tms/orm/record_not_found_error.rb
926
+ - lib/freight_kit/platforms/next_tms/orm/shipment.rb
850
927
  - lib/freight_kit/platforms/the_great_information_factory.rb
851
928
  - lib/freight_kit/regions.rb
852
929
  - lib/freight_kit/shipment_packer.rb
853
930
  - lib/freight_kit/tariff.rb
854
931
  - lib/freight_kit/tariff/overlength_rule.rb
932
+ - schemas/next_tms.json
855
933
  - service_type_symbols.txt
856
934
  - shipment_event_symbols.txt
857
935
  homepage: https://github.com/next-tms/freight_kit