freight_kit 0.1.21 → 0.1.23
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/README.md +5 -3
- data/Rakefile +1 -3
- data/VERSION +1 -1
- data/freight_kit-0.1.21.gem +0 -0
- data/freight_kit-0.1.22.gem +0 -0
- data/freight_kit.gemspec +8 -19
- data/lib/freight_kit/address_normalizer.rb +1 -3
- data/lib/freight_kit/api_clients/soap_client.rb +30 -5
- data/lib/freight_kit/carrier.rb +36 -7
- data/lib/freight_kit/carriers/a1_express.rb +11 -0
- data/lib/freight_kit/carriers/abf_freight_system.rb +9 -26
- data/lib/freight_kit/carriers/aloha_freight_forwarders.rb +1 -5
- data/lib/freight_kit/carriers/amado_trucking.rb +1 -5
- data/lib/freight_kit/carriers/clear_lane_freight_systems.rb +6 -15
- data/lib/freight_kit/carriers/cpl_express.rb +1 -5
- data/lib/freight_kit/carriers/cross_country_freight_solutions.rb +6 -17
- data/lib/freight_kit/carriers/dependable_highway_express.rb +6 -18
- data/lib/freight_kit/carriers/forward_air.rb +4 -12
- data/lib/freight_kit/carriers/gsp_express.rb +13 -0
- data/lib/freight_kit/carriers/on_trac.rb +7 -25
- data/lib/freight_kit/carriers/peninsula_truck_lines.rb +4 -20
- data/lib/freight_kit/carriers/roadrunner_transportation_services.rb +2 -8
- data/lib/freight_kit/carriers/saia.rb +4 -19
- data/lib/freight_kit/carriers/southeastern_freight_lines.rb +4 -13
- data/lib/freight_kit/carriers/t_force_worldwide.rb +7 -19
- data/lib/freight_kit/carriers/top_ten_express.rb +13 -0
- data/lib/freight_kit/carriers/total_quality_logistics.rb +2 -1
- data/lib/freight_kit/carriers/western_regional_delivery_service.rb +26 -11
- data/lib/freight_kit/carriers/xpo_logistics.rb +5 -17
- data/lib/freight_kit/errors/rate_limit_error.rb +12 -0
- data/lib/freight_kit/errors/unserviceable_accessorials_error.rb +1 -3
- data/lib/freight_kit/helpers/pickupable.rb +1 -10
- data/lib/freight_kit/http_client/httpi_adapter.rb +37 -0
- data/lib/freight_kit/http_client/safe_retries.rb +17 -1
- data/lib/freight_kit/http_client.rb +13 -9
- data/lib/freight_kit/models/credential.rb +2 -15
- data/lib/freight_kit/models/lane.rb +20 -0
- data/lib/freight_kit/models/shipment.rb +1 -8
- data/lib/freight_kit/models/territory.rb +37 -0
- data/lib/freight_kit/package.rb +3 -13
- data/lib/freight_kit/packaging.rb +1 -16
- data/lib/freight_kit/platforms/carrier_logistics.rb +5 -10
- data/lib/freight_kit/platforms/dsdc.rb +82 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/mutation/quote_create.rb +32 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/mutation/shipment_create.rb +29 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carrier.rb +37 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carriers.rb +45 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customer.rb +54 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customers.rb +62 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/carrier.rb +22 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/carriers.rb +30 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/customer.rb +20 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/customers.rb +28 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/invoice.rb +31 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/invoices.rb +39 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/shipment.rb +102 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/shipment_documents.rb +29 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client/query/shipments.rb +110 -0
- data/lib/freight_kit/platforms/next_tms/graphql_client.rb +22 -0
- data/lib/freight_kit/platforms/next_tms/orm/address.rb +22 -0
- data/lib/freight_kit/platforms/next_tms/orm/base.rb +120 -0
- data/lib/freight_kit/platforms/next_tms/orm/broker_carrier.rb +18 -0
- data/lib/freight_kit/platforms/next_tms/orm/broker_customer.rb +22 -0
- data/lib/freight_kit/platforms/next_tms/orm/carrier.rb +14 -0
- data/lib/freight_kit/platforms/next_tms/orm/collection.rb +335 -0
- data/lib/freight_kit/platforms/next_tms/orm/customer.rb +12 -0
- data/lib/freight_kit/platforms/next_tms/orm/invoice.rb +21 -0
- data/lib/freight_kit/platforms/next_tms/orm/record_not_found_error.rb +9 -0
- data/lib/freight_kit/platforms/next_tms/orm/shipment.rb +50 -0
- data/lib/freight_kit/platforms/next_tms/orm.rb +38 -0
- data/lib/freight_kit/platforms/next_tms.rb +414 -55
- data/lib/freight_kit/platforms/the_great_information_factory.rb +4 -12
- data/lib/freight_kit.rb +19 -0
- data/schemas/next_tms.json +110710 -0
- metadata +86 -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.
|
|
4
|
+
version: 0.1.23
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
408
|
+
version: '2.19'
|
|
363
409
|
- !ruby/object:Gem::Dependency
|
|
364
410
|
name: StreetAddress
|
|
365
411
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -473,6 +519,8 @@ files:
|
|
|
473
519
|
- VERSION
|
|
474
520
|
- accessorial_symbols.txt
|
|
475
521
|
- configuration/locations/amazon_warehouses.yml
|
|
522
|
+
- freight_kit-0.1.21.gem
|
|
523
|
+
- freight_kit-0.1.22.gem
|
|
476
524
|
- freight_kit.gemspec
|
|
477
525
|
- lib/freight_kit.rb
|
|
478
526
|
- lib/freight_kit/address_normalizer.rb
|
|
@@ -807,6 +855,7 @@ files:
|
|
|
807
855
|
- lib/freight_kit/errors/expired_credentials_error.rb
|
|
808
856
|
- lib/freight_kit/errors/http_error.rb
|
|
809
857
|
- lib/freight_kit/errors/invalid_credentials_error.rb
|
|
858
|
+
- lib/freight_kit/errors/rate_limit_error.rb
|
|
810
859
|
- lib/freight_kit/errors/response_error.rb
|
|
811
860
|
- lib/freight_kit/errors/shipment_not_found_error.rb
|
|
812
861
|
- lib/freight_kit/errors/unserviceable_accessorials_error.rb
|
|
@@ -817,6 +866,7 @@ files:
|
|
|
817
866
|
- lib/freight_kit/helpers/trackable.rb
|
|
818
867
|
- lib/freight_kit/http_client.rb
|
|
819
868
|
- lib/freight_kit/http_client/cache_store.rb
|
|
869
|
+
- lib/freight_kit/http_client/httpi_adapter.rb
|
|
820
870
|
- lib/freight_kit/http_client/log_device.rb
|
|
821
871
|
- lib/freight_kit/http_client/response.rb
|
|
822
872
|
- lib/freight_kit/http_client/revalidation.rb
|
|
@@ -830,6 +880,7 @@ files:
|
|
|
830
880
|
- lib/freight_kit/models/date_time.rb
|
|
831
881
|
- lib/freight_kit/models/document_response.rb
|
|
832
882
|
- lib/freight_kit/models/label.rb
|
|
883
|
+
- lib/freight_kit/models/lane.rb
|
|
833
884
|
- lib/freight_kit/models/location.rb
|
|
834
885
|
- lib/freight_kit/models/pickup_response.rb
|
|
835
886
|
- lib/freight_kit/models/price.rb
|
|
@@ -840,18 +891,48 @@ files:
|
|
|
840
891
|
- lib/freight_kit/models/shipment.rb
|
|
841
892
|
- lib/freight_kit/models/shipment_event.rb
|
|
842
893
|
- lib/freight_kit/models/terminal.rb
|
|
894
|
+
- lib/freight_kit/models/territory.rb
|
|
843
895
|
- lib/freight_kit/models/tracking_response.rb
|
|
844
896
|
- lib/freight_kit/package.rb
|
|
845
897
|
- lib/freight_kit/package_item.rb
|
|
846
898
|
- lib/freight_kit/packaging.rb
|
|
847
899
|
- lib/freight_kit/platform.rb
|
|
848
900
|
- lib/freight_kit/platforms/carrier_logistics.rb
|
|
901
|
+
- lib/freight_kit/platforms/dsdc.rb
|
|
849
902
|
- lib/freight_kit/platforms/next_tms.rb
|
|
903
|
+
- lib/freight_kit/platforms/next_tms/graphql_client.rb
|
|
904
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/mutation/quote_create.rb
|
|
905
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/mutation/shipment_create.rb
|
|
906
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carrier.rb
|
|
907
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/broker_carriers.rb
|
|
908
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customer.rb
|
|
909
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/broker_customers.rb
|
|
910
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/carrier.rb
|
|
911
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/carriers.rb
|
|
912
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/customer.rb
|
|
913
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/customers.rb
|
|
914
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/invoice.rb
|
|
915
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/invoices.rb
|
|
916
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/shipment.rb
|
|
917
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/shipment_documents.rb
|
|
918
|
+
- lib/freight_kit/platforms/next_tms/graphql_client/query/shipments.rb
|
|
919
|
+
- lib/freight_kit/platforms/next_tms/orm.rb
|
|
920
|
+
- lib/freight_kit/platforms/next_tms/orm/address.rb
|
|
921
|
+
- lib/freight_kit/platforms/next_tms/orm/base.rb
|
|
922
|
+
- lib/freight_kit/platforms/next_tms/orm/broker_carrier.rb
|
|
923
|
+
- lib/freight_kit/platforms/next_tms/orm/broker_customer.rb
|
|
924
|
+
- lib/freight_kit/platforms/next_tms/orm/carrier.rb
|
|
925
|
+
- lib/freight_kit/platforms/next_tms/orm/collection.rb
|
|
926
|
+
- lib/freight_kit/platforms/next_tms/orm/customer.rb
|
|
927
|
+
- lib/freight_kit/platforms/next_tms/orm/invoice.rb
|
|
928
|
+
- lib/freight_kit/platforms/next_tms/orm/record_not_found_error.rb
|
|
929
|
+
- lib/freight_kit/platforms/next_tms/orm/shipment.rb
|
|
850
930
|
- lib/freight_kit/platforms/the_great_information_factory.rb
|
|
851
931
|
- lib/freight_kit/regions.rb
|
|
852
932
|
- lib/freight_kit/shipment_packer.rb
|
|
853
933
|
- lib/freight_kit/tariff.rb
|
|
854
934
|
- lib/freight_kit/tariff/overlength_rule.rb
|
|
935
|
+
- schemas/next_tms.json
|
|
855
936
|
- service_type_symbols.txt
|
|
856
937
|
- shipment_event_symbols.txt
|
|
857
938
|
homepage: https://github.com/next-tms/freight_kit
|