logistics_core 20.8.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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +38 -0
- data/app/controllers/concerns/controller_common.rb +56 -0
- data/app/controllers/concerns/lookup_common.rb +64 -0
- data/app/controllers/concerns/lookup_list.rb +24 -0
- data/app/controllers/logistics/core/acquisition_modes_controller.rb +7 -0
- data/app/controllers/logistics/core/addendums_controller.rb +47 -0
- data/app/controllers/logistics/core/additional_documents_controller.rb +50 -0
- data/app/controllers/logistics/core/agencies_controller.rb +76 -0
- data/app/controllers/logistics/core/agency_categories_controller.rb +50 -0
- data/app/controllers/logistics/core/agency_permit_documents_controller.rb +58 -0
- data/app/controllers/logistics/core/agents_controller.rb +56 -0
- data/app/controllers/logistics/core/air_weigh_bills_controller.rb +61 -0
- data/app/controllers/logistics/core/application_controller.rb +10 -0
- data/app/controllers/logistics/core/bill_of_loading_rates_controller.rb +62 -0
- data/app/controllers/logistics/core/break_bulk_rates_controller.rb +62 -0
- data/app/controllers/logistics/core/break_bulk_storage_rates_controller.rb +46 -0
- data/app/controllers/logistics/core/break_bulk_truck_assignments_controller.rb +54 -0
- data/app/controllers/logistics/core/break_bulk_unit_rates_controller.rb +61 -0
- data/app/controllers/logistics/core/break_bulk_units_controller.rb +56 -0
- data/app/controllers/logistics/core/broad_gauge_bbs_controller.rb +56 -0
- data/app/controllers/logistics/core/broad_gauge_cnts_controller.rb +56 -0
- data/app/controllers/logistics/core/car_carrier_rates_controller.rb +305 -0
- data/app/controllers/logistics/core/cargo_types_controller.rb +9 -0
- data/app/controllers/logistics/core/carrier_agents_controller.rb +35 -0
- data/app/controllers/logistics/core/carrier_types_controller.rb +53 -0
- data/app/controllers/logistics/core/carriers_controller.rb +70 -0
- data/app/controllers/logistics/core/chargeable_service_increments_controller.rb +45 -0
- data/app/controllers/logistics/core/chargeable_service_types_controller.rb +7 -0
- data/app/controllers/logistics/core/chargeable_service_unit_of_charges_controller.rb +103 -0
- data/app/controllers/logistics/core/chargeable_services_controller.rb +75 -0
- data/app/controllers/logistics/core/client_categories_controller.rb +7 -0
- data/app/controllers/logistics/core/client_contracts_controller.rb +7 -0
- data/app/controllers/logistics/core/clients_controller.rb +27 -0
- data/app/controllers/logistics/core/common_documents_controller.rb +53 -0
- data/app/controllers/logistics/core/communication_channels_controller.rb +9 -0
- data/app/controllers/logistics/core/container_arrangements_controller.rb +7 -0
- data/app/controllers/logistics/core/container_demurage_rates_controller.rb +44 -0
- data/app/controllers/logistics/core/container_sizes_controller.rb +54 -0
- data/app/controllers/logistics/core/container_storage_rates_controller.rb +46 -0
- data/app/controllers/logistics/core/container_types_controller.rb +54 -0
- data/app/controllers/logistics/core/content_types_controller.rb +62 -0
- data/app/controllers/logistics/core/contract_airway_bill_rates_controller.rb +55 -0
- data/app/controllers/logistics/core/contract_bill_of_loading_rates_controller.rb +55 -0
- data/app/controllers/logistics/core/contract_break_bulk_unit_rates_controller.rb +57 -0
- data/app/controllers/logistics/core/contract_container_rates_controller.rb +59 -0
- data/app/controllers/logistics/core/contract_convoy_rates_controller.rb +55 -0
- data/app/controllers/logistics/core/contract_freight_ton_rates_controller.rb +55 -0
- data/app/controllers/logistics/core/contract_item_rates_controller.rb +57 -0
- data/app/controllers/logistics/core/contract_kilogram_minimum_rates_controller.rb +52 -0
- data/app/controllers/logistics/core/contract_kilogram_rates_controller.rb +63 -0
- data/app/controllers/logistics/core/contract_services_controller.rb +33 -0
- data/app/controllers/logistics/core/contract_truck_rates_controller.rb +48 -0
- data/app/controllers/logistics/core/contract_twenty_feet_equivalence_unit_rates_controller.rb +48 -0
- data/app/controllers/logistics/core/contracts_controller.rb +54 -0
- data/app/controllers/logistics/core/convoy_rates_controller.rb +51 -0
- data/app/controllers/logistics/core/countries_controller.rb +9 -0
- data/app/controllers/logistics/core/currencies_controller.rb +9 -0
- data/app/controllers/logistics/core/currency_rates_controller.rb +51 -0
- data/app/controllers/logistics/core/customs_office_units_controller.rb +9 -0
- data/app/controllers/logistics/core/customs_offices_controller.rb +22 -0
- data/app/controllers/logistics/core/customs_transport_tariffs_controller.rb +47 -0
- data/app/controllers/logistics/core/declarants_controller.rb +44 -0
- data/app/controllers/logistics/core/declaration_types_controller.rb +53 -0
- data/app/controllers/logistics/core/delivery_terms_controller.rb +7 -0
- data/app/controllers/logistics/core/demurage_rate_periods_controller.rb +57 -0
- data/app/controllers/logistics/core/document_type_categories_controller.rb +11 -0
- data/app/controllers/logistics/core/document_type_origins_controller.rb +11 -0
- data/app/controllers/logistics/core/document_types_controller.rb +60 -0
- data/app/controllers/logistics/core/entry_points_controller.rb +7 -0
- data/app/controllers/logistics/core/esl_transport_tariff_rates_controller.rb +52 -0
- data/app/controllers/logistics/core/esl_transport_tariffs_controller.rb +45 -0
- data/app/controllers/logistics/core/freight_ton_storage_rates_controller.rb +45 -0
- data/app/controllers/logistics/core/increment_rates_controller.rb +66 -0
- data/app/controllers/logistics/core/item_rates_controller.rb +47 -0
- data/app/controllers/logistics/core/kilogram_minimum_rates_controller.rb +53 -0
- data/app/controllers/logistics/core/kilogram_rates_controller.rb +71 -0
- data/app/controllers/logistics/core/offer_requests_controller.rb +133 -0
- data/app/controllers/logistics/core/operation_documents_controller.rb +67 -0
- data/app/controllers/logistics/core/operation_types_controller.rb +7 -0
- data/app/controllers/logistics/core/operations_controller.rb +102 -0
- data/app/controllers/logistics/core/out_of_gauge_bb_rates_controller.rb +74 -0
- data/app/controllers/logistics/core/out_of_gauge_cnt_rates_controller.rb +75 -0
- data/app/controllers/logistics/core/payment_terms_controller.rb +7 -0
- data/app/controllers/logistics/core/required_documents_controller.rb +45 -0
- data/app/controllers/logistics/core/route_lookups_controller.rb +74 -0
- data/app/controllers/logistics/core/route_rates_controller.rb +106 -0
- data/app/controllers/logistics/core/routes_controller.rb +92 -0
- data/app/controllers/logistics/core/self_driving_rates_controller.rb +305 -0
- data/app/controllers/logistics/core/service_delivery_unit_services_controller.rb +44 -0
- data/app/controllers/logistics/core/service_delivery_unit_types_controller.rb +9 -0
- data/app/controllers/logistics/core/service_delivery_units_controller.rb +92 -0
- data/app/controllers/logistics/core/service_increments_controller.rb +82 -0
- data/app/controllers/logistics/core/service_rates_controller.rb +66 -0
- data/app/controllers/logistics/core/special_increment_container_rates_controller.rb +53 -0
- data/app/controllers/logistics/core/special_increment_content_rates_controller.rb +53 -0
- data/app/controllers/logistics/core/standard_remarks_controller.rb +43 -0
- data/app/controllers/logistics/core/transaction_types_controller.rb +9 -0
- data/app/controllers/logistics/core/transport_modalities_controller.rb +9 -0
- data/app/controllers/logistics/core/transport_modes_controller.rb +7 -0
- data/app/controllers/logistics/core/transport_rate_periods_controller.rb +80 -0
- data/app/controllers/logistics/core/transport_service_types_controller.rb +7 -0
- data/app/controllers/logistics/core/transporters_controller.rb +82 -0
- data/app/controllers/logistics/core/truck_rates_controller.rb +64 -0
- data/app/controllers/logistics/core/truck_type_assignments_controller.rb +81 -0
- data/app/controllers/logistics/core/truck_type_bb_weight_ranges_controller.rb +55 -0
- data/app/controllers/logistics/core/truck_type_cnt_weight_ranges_controller.rb +63 -0
- data/app/controllers/logistics/core/twenty_feet_equivalence_ratios_controller.rb +63 -0
- data/app/controllers/logistics/core/twenty_feet_equivalent_unit_rates_controller.rb +46 -0
- data/app/controllers/logistics/core/unit_of_charges_controller.rb +9 -0
- data/app/controllers/logistics/core/unit_types_controller.rb +44 -0
- data/app/controllers/logistics/core/units_controller.rb +45 -0
- data/app/controllers/logistics/core/warehouse_rate_periods_controller.rb +57 -0
- data/app/controllers/logistics/core/warehouses_controller.rb +68 -0
- data/app/controllers/logistics/core/weight_ranges_controller.rb +67 -0
- data/app/models/concerns/lookupable.rb +15 -0
- data/app/models/logistics/application_record.rb +5 -0
- data/app/models/logistics/core.rb +7 -0
- data/app/models/logistics/core/acquisition_mode.rb +7 -0
- data/app/models/logistics/core/addendum.rb +8 -0
- data/app/models/logistics/core/additional_document.rb +12 -0
- data/app/models/logistics/core/agency.rb +14 -0
- data/app/models/logistics/core/agency_category.rb +8 -0
- data/app/models/logistics/core/agency_permit_document.rb +18 -0
- data/app/models/logistics/core/agent.rb +10 -0
- data/app/models/logistics/core/air_cargo_limit.rb +32 -0
- data/app/models/logistics/core/air_volume_factor.rb +6 -0
- data/app/models/logistics/core/airway_bill_rate.rb +33 -0
- data/app/models/logistics/core/application_record.rb +11 -0
- data/app/models/logistics/core/bill_of_lading_rate.rb +33 -0
- data/app/models/logistics/core/break_bulk_cargo_detail.rb +55 -0
- data/app/models/logistics/core/break_bulk_demurrage_rate.rb +24 -0
- data/app/models/logistics/core/break_bulk_rate.rb +32 -0
- data/app/models/logistics/core/break_bulk_storage_rate.rb +29 -0
- data/app/models/logistics/core/break_bulk_truck_assignment.rb +19 -0
- data/app/models/logistics/core/break_bulk_unit.rb +6 -0
- data/app/models/logistics/core/break_bulk_unit_rate.rb +43 -0
- data/app/models/logistics/core/broad_gauge_bb.rb +25 -0
- data/app/models/logistics/core/broad_gauge_cnt.rb +28 -0
- data/app/models/logistics/core/car_carrier_rate.rb +107 -0
- data/app/models/logistics/core/cargo_detail.rb +57 -0
- data/app/models/logistics/core/cargo_type.rb +6 -0
- data/app/models/logistics/core/carrier.rb +12 -0
- data/app/models/logistics/core/carrier_agent.rb +11 -0
- data/app/models/logistics/core/carrier_type.rb +6 -0
- data/app/models/logistics/core/chargeable_service.rb +19 -0
- data/app/models/logistics/core/chargeable_service_increment.rb +8 -0
- data/app/models/logistics/core/chargeable_service_type.rb +6 -0
- data/app/models/logistics/core/chargeable_service_unit_of_charge.rb +53 -0
- data/app/models/logistics/core/client.rb +21 -0
- data/app/models/logistics/core/client_category.rb +7 -0
- data/app/models/logistics/core/client_contract.rb +83 -0
- data/app/models/logistics/core/common_document.rb +10 -0
- data/app/models/logistics/core/communication_channel.rb +6 -0
- data/app/models/logistics/core/container_arrangement.rb +7 -0
- data/app/models/logistics/core/container_demurrage_rate.rb +29 -0
- data/app/models/logistics/core/container_size.rb +6 -0
- data/app/models/logistics/core/container_storage_rate.rb +34 -0
- data/app/models/logistics/core/container_type.rb +8 -0
- data/app/models/logistics/core/content_type.rb +6 -0
- data/app/models/logistics/core/contract.rb +10 -0
- data/app/models/logistics/core/contract_airway_bill_rate.rb +39 -0
- data/app/models/logistics/core/contract_article_cpy.rb +7 -0
- data/app/models/logistics/core/contract_bill_of_lading_rate.rb +38 -0
- data/app/models/logistics/core/contract_break_bulk_unit_rate.rb +43 -0
- data/app/models/logistics/core/contract_container_rate.rb +43 -0
- data/app/models/logistics/core/contract_convoy_rate.rb +39 -0
- data/app/models/logistics/core/contract_freight_ton_rate.rb +39 -0
- data/app/models/logistics/core/contract_item_rate.rb +39 -0
- data/app/models/logistics/core/contract_kilogram_minimum_rate.rb +10 -0
- data/app/models/logistics/core/contract_kilogram_rate.rb +9 -0
- data/app/models/logistics/core/contract_rate.rb +9 -0
- data/app/models/logistics/core/contract_service.rb +23 -0
- data/app/models/logistics/core/contract_truck_rate.rb +39 -0
- data/app/models/logistics/core/contract_twenty_feet_equivalence_unit_rate.rb +39 -0
- data/app/models/logistics/core/convoy_rate.rb +33 -0
- data/app/models/logistics/core/country.rb +7 -0
- data/app/models/logistics/core/currency.rb +35 -0
- data/app/models/logistics/core/currency_rate.rb +12 -0
- data/app/models/logistics/core/customs_office.rb +11 -0
- data/app/models/logistics/core/customs_office_unit.rb +6 -0
- data/app/models/logistics/core/customs_transport_tariff.rb +13 -0
- data/app/models/logistics/core/declarant.rb +12 -0
- data/app/models/logistics/core/declaration_type.rb +11 -0
- data/app/models/logistics/core/delivery_term.rb +7 -0
- data/app/models/logistics/core/demurrage_rate.rb +19 -0
- data/app/models/logistics/core/demurrage_rate_period.rb +18 -0
- data/app/models/logistics/core/document_type.rb +16 -0
- data/app/models/logistics/core/document_type_category.rb +8 -0
- data/app/models/logistics/core/document_type_origin.rb +8 -0
- data/app/models/logistics/core/entry_point.rb +6 -0
- data/app/models/logistics/core/equipment_service_rate.rb +8 -0
- data/app/models/logistics/core/esl_transport_tariff.rb +14 -0
- data/app/models/logistics/core/esl_transport_tariff_rate.rb +23 -0
- data/app/models/logistics/core/extended_lookup.rb +8 -0
- data/app/models/logistics/core/freight_ton_demurrage_rate.rb +19 -0
- data/app/models/logistics/core/freight_ton_storage_rate.rb +25 -0
- data/app/models/logistics/core/increment_rate.rb +8 -0
- data/app/models/logistics/core/inter_city_route.rb +13 -0
- data/app/models/logistics/core/item_rate.rb +33 -0
- data/app/models/logistics/core/kilogram_minimum_rate.rb +8 -0
- data/app/models/logistics/core/kilogram_rate.rb +33 -0
- data/app/models/logistics/core/lookup.rb +8 -0
- data/app/models/logistics/core/offer_request.rb +114 -0
- data/app/models/logistics/core/operation.rb +45 -0
- data/app/models/logistics/core/operation_document.rb +19 -0
- data/app/models/logistics/core/operation_summary.rb +8 -0
- data/app/models/logistics/core/operation_type.rb +6 -0
- data/app/models/logistics/core/out_of_gauge_bb_rate.rb +139 -0
- data/app/models/logistics/core/out_of_gauge_cnt_rate.rb +138 -0
- data/app/models/logistics/core/payment_term.rb +7 -0
- data/app/models/logistics/core/reference_number.rb +28 -0
- data/app/models/logistics/core/required_document.rb +11 -0
- data/app/models/logistics/core/review_note.rb +24 -0
- data/app/models/logistics/core/route.rb +45 -0
- data/app/models/logistics/core/route_lookup.rb +7 -0
- data/app/models/logistics/core/route_rate.rb +332 -0
- data/app/models/logistics/core/self_driving_rate.rb +113 -0
- data/app/models/logistics/core/service_delivery_unit.rb +50 -0
- data/app/models/logistics/core/service_delivery_unit_chargeable_service.rb +7 -0
- data/app/models/logistics/core/service_delivery_unit_service.rb +8 -0
- data/app/models/logistics/core/service_delivery_unit_type.rb +10 -0
- data/app/models/logistics/core/service_increment.rb +12 -0
- data/app/models/logistics/core/service_rate.rb +42 -0
- data/app/models/logistics/core/special_increment_container_rate.rb +10 -0
- data/app/models/logistics/core/special_increment_content_rate.rb +10 -0
- data/app/models/logistics/core/standard_remark.rb +8 -0
- data/app/models/logistics/core/transaction_type.rb +6 -0
- data/app/models/logistics/core/transport_modality.rb +6 -0
- data/app/models/logistics/core/transport_mode.rb +7 -0
- data/app/models/logistics/core/transport_rate_period.rb +116 -0
- data/app/models/logistics/core/transport_service_type.rb +6 -0
- data/app/models/logistics/core/transporter.rb +11 -0
- data/app/models/logistics/core/truck_rate.rb +34 -0
- data/app/models/logistics/core/truck_type_assignment.rb +22 -0
- data/app/models/logistics/core/truck_type_bb_weight_range.rb +50 -0
- data/app/models/logistics/core/truck_type_cnt_weight_range.rb +61 -0
- data/app/models/logistics/core/twenty_feet_equivalence_ratio.rb +9 -0
- data/app/models/logistics/core/twenty_foot_equivalence_unit_rate.rb +33 -0
- data/app/models/logistics/core/unit.rb +11 -0
- data/app/models/logistics/core/unit_of_charge.rb +6 -0
- data/app/models/logistics/core/unit_type.rb +6 -0
- data/app/models/logistics/core/warehouse.rb +9 -0
- data/app/models/logistics/core/warehouse_rate_period.rb +18 -0
- data/app/models/logistics/core/weight_range.rb +59 -0
- data/app/models/logistics/core/within_city_route.rb +8 -0
- data/app/serializers/logistics/core/additional_document_serializer.rb +8 -0
- data/app/serializers/logistics/core/agency_permit_document_serializer.rb +8 -0
- data/app/serializers/logistics/core/agency_serializer.rb +8 -0
- data/app/serializers/logistics/core/chargeable_service_unit_of_charge_serializer.rb +9 -0
- data/app/serializers/logistics/core/client_serializer.rb +9 -0
- data/app/serializers/logistics/core/common_document_serializer.rb +7 -0
- data/app/serializers/logistics/core/contract_kilogram_minimum_rate_serializer.rb +25 -0
- data/app/serializers/logistics/core/contract_serializer.rb +8 -0
- data/app/serializers/logistics/core/contract_service_serializer.rb +9 -0
- data/app/serializers/logistics/core/customs_transport_tariff_serializer.rb +8 -0
- data/app/serializers/logistics/core/declaration_type_serializer.rb +7 -0
- data/app/serializers/logistics/core/document_type_serializer.rb +8 -0
- data/app/serializers/logistics/core/esl_transport_tariff_rate_serializer.rb +7 -0
- data/app/serializers/logistics/core/esl_transport_tariff_serializer.rb +7 -0
- data/app/serializers/logistics/core/kilogram_minimum_rate_serializer.rb +25 -0
- data/app/serializers/logistics/core/offer_request_serializer.rb +11 -0
- data/app/serializers/logistics/core/operation_document_serializer.rb +8 -0
- data/app/serializers/logistics/core/operation_serializer.rb +15 -0
- data/app/serializers/logistics/core/required_document_serializer.rb +8 -0
- data/app/serializers/logistics/core/route_serializer.rb +8 -0
- data/app/serializers/logistics/core/unit_serializer.rb +7 -0
- data/app/services/logistics/core/additional_document_service.rb +54 -0
- data/app/services/logistics/core/base_service.rb +13 -0
- data/app/services/logistics/core/operation_service.rb +77 -0
- data/app/services/logistics/core/service_delivery_unit_service_service.rb +35 -0
- data/app/services/logistics/core/unit_service.rb +14 -0
- data/app/uploaders/logistics/core/document_uploader.rb +15 -0
- data/app/views/logistics/core/currency/create.html.erb +2 -0
- data/app/views/logistics/core/currency/index.html.erb +2 -0
- data/app/views/logistics/core/currency/update.html.erb +2 -0
- data/config/routes.rb +310 -0
- data/db/migrate/20161002133309_create_logistics_core_lookups.rb +12 -0
- data/db/migrate/20161020024330_create_logistics_core_extended_lookups.rb +13 -0
- data/db/migrate/20161030080258_create_logistics_core_container_types.rb +9 -0
- data/db/migrate/20161030174719_create_logistics_currency_rates.rb +14 -0
- data/db/migrate/20161030174722_create_logistics_core_units.rb +14 -0
- data/db/migrate/20161031025945_create_logistics_core_service_delivery_units.rb +17 -0
- data/db/migrate/20161031043800_create_logistics_core_chargeable_services.rb +16 -0
- data/db/migrate/20161031135612_create_service_delivery_unit_chargeable_services.rb +18 -0
- data/db/migrate/20161102022717_create_logistics_core_clients.rb +21 -0
- data/db/migrate/20161102031216_create_logistics_core_customs_offices.rb +11 -0
- data/db/migrate/20161103000353_create_logistics_core_operations.rb +22 -0
- data/db/migrate/20170105124619_create_logistics_core_chargeable_service_unit_of_charges.rb +21 -0
- data/db/migrate/20170105130002_create_logistics_core_service_increments.rb +15 -0
- data/db/migrate/20170105130643_create_logistics_core_increment_rates.rb +13 -0
- data/db/migrate/20170105131735_create_logistics_core_addendums.rb +15 -0
- data/db/migrate/20170106065640_create_logistics_core_agents.rb +11 -0
- data/db/migrate/20170106070418_create_logistics_core_carriers.rb +14 -0
- data/db/migrate/20170106071022_create_logistics_core_carrier_agents.rb +10 -0
- data/db/migrate/20170106071918_create_logistics_core_air_cargo_limits.rb +18 -0
- data/db/migrate/20170106081736_create_logistics_core_air_volume_factors.rb +9 -0
- data/db/migrate/20170106082456_create_logistics_core_airway_bill_rates.rb +19 -0
- data/db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb +14 -0
- data/db/migrate/20170106085210_create_logistics_core_demurrage_rates.rb +15 -0
- data/db/migrate/20170106091415_create_logistics_core_break_bulk_demurrage_rates.rb +18 -0
- data/db/migrate/20170106103912_create_logistics_core_warehouses.rb +14 -0
- data/db/migrate/20170106104810_create_logistics_core_warehouse_rate_periods.rb +12 -0
- data/db/migrate/20170106105218_create_logistics_core_break_bulk_storage_rates.rb +21 -0
- data/db/migrate/20170106111420_create_logistics_core_container_storage_rates.rb +22 -0
- data/db/migrate/20170106121022_create_logistics_core_break_bulk_rates.rb +19 -0
- data/db/migrate/20170106122219_create_logistics_core_break_bulk_truck_assignments.rb +9 -0
- data/db/migrate/20170106122629_create_logistics_core_weight_ranges.rb +10 -0
- data/db/migrate/20170106122944_create_logistics_core_truck_type_bb_weight_ranges.rb +14 -0
- data/db/migrate/20170106123918_create_logistics_core_break_bulk_unit_rates.rb +20 -0
- data/db/migrate/20170107052127_create_logistics_core_broad_gauge_bbs.rb +15 -0
- data/db/migrate/20170107052954_create_logistics_core_broad_gauge_cnts.rb +17 -0
- data/db/migrate/20170107055337_create_logistics_core_service_delivery_unit_services.rb +16 -0
- data/db/migrate/20170107060238_create_logistics_core_special_increment_content_rates.rb +26 -0
- data/db/migrate/20170107061008_create_logistics_core_special_increment_container_rates.rb +27 -0
- data/db/migrate/20170107084652_create_logistics_core_truck_rates.rb +20 -0
- data/db/migrate/20170107090011_create_logistics_core_chargeable_service_increments.rb +15 -0
- data/db/migrate/20170107102732_create_logistics_core_service_rates.rb +22 -0
- data/db/migrate/20170107104554_create_logistics_core_container_demurrage_rates.rb +21 -0
- data/db/migrate/20170109144534_create_logistics_core_routes.rb +20 -0
- data/db/migrate/20170109150011_create_logistics_core_transport_rate_periods.rb +11 -0
- data/db/migrate/20170109150613_create_logistics_core_transporters.rb +19 -0
- data/db/migrate/20170109151927_create_logistics_core_route_rates.rb +23 -0
- data/db/migrate/20170110145337_create_logistics_core_car_carrier_rates.rb +24 -0
- data/db/migrate/20170110184849_create_logistics_core_offer_requests.rb +42 -0
- data/db/migrate/20170111061530_create_logistics_core_client_contracts.rb +15 -0
- data/db/migrate/20170111113802_create_logistics_core_contract_rates.rb +19 -0
- data/db/migrate/20170111122934_create_logistics_core_contract_break_bulk_unit_rates.rb +22 -0
- data/db/migrate/20170111133122_create_logistics_core_contract_container_rates.rb +23 -0
- data/db/migrate/20170111134003_create_logistics_core_contract_item_rates.rb +21 -0
- data/db/migrate/20170112014645_create_logistics_core_contract_kilogram_rates.rb +16 -0
- data/db/migrate/20170112015140_create_logistics_core_convoy_rates.rb +19 -0
- data/db/migrate/20170112015822_create_logistics_core_bill_of_lading_rates.rb +20 -0
- data/db/migrate/20170112020522_create_logistics_core_freight_ton_demurrage_rates.rb +16 -0
- data/db/migrate/20170112061446_create_logistics_core_out_of_gauge_bb_rates.rb +25 -0
- data/db/migrate/20170112061530_create_logistics_core_out_of_gauge_cnt_rates.rb +25 -0
- data/db/migrate/20170112113158_create_logistics_core_self_driving_rates.rb +24 -0
- data/db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb +20 -0
- data/db/migrate/20170112120350_create_logistics_core_kilogram_rates.rb +21 -0
- data/db/migrate/20170112121123_create_logistics_core_item_rates.rb +18 -0
- data/db/migrate/20170113134408_create_logistics_core_freight_ton_storage_rates.rb +19 -0
- data/db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb +12 -0
- data/db/migrate/20170113135902_create_logistics_core_truck_type_cnt_weight_ranges.rb +14 -0
- data/db/migrate/20170113140429_create_logistics_core_twenty_feet_equivalence_ratios.rb +12 -0
- data/db/migrate/20170113141905_create_logistics_core_equipment_service_rates.rb +15 -0
- data/db/migrate/20170125073344_create_logistics_core_reference_numbers.rb +11 -0
- data/db/migrate/20170126151323_create_logistics_core_cargo_details.rb +25 -0
- data/db/migrate/20170127110151_create_logistics_core_review_notes.rb +11 -0
- data/db/migrate/20170127145635_create_logistics_core_break_bulk_cargo_details.rb +25 -0
- data/db/migrate/20170210095423_create_logistics_core_contract_article_cpies.rb +16 -0
- data/db/migrate/20170212094941_add_column_expiry_date_to_client_contract.rb +6 -0
- data/db/migrate/20170225094958_move_fields_from_operation_to_offer_request.rb +17 -0
- data/db/migrate/20170308115210_create_logistics_core_contracts.rb +15 -0
- data/db/migrate/20170309082108_add_contract_to_rate_table.rb +16 -0
- data/db/migrate/20170310060510_create_logistics_core_declaration_types.rb +13 -0
- data/db/migrate/20170310064056_create_logistics_core_customs_transport_tariffs.rb +16 -0
- data/db/migrate/20170310074326_create_logistics_core_esl_transport_tariffs.rb +12 -0
- data/db/migrate/20170310080233_create_logistics_core_esl_transport_tariff_rates.rb +15 -0
- data/db/migrate/20170310083816_create_logistics_core_declarants.rb +11 -0
- data/db/migrate/20170310091809_move_operation_detail_fields_to_operation.rb +28 -0
- data/db/migrate/20170310100409_add_references_to_moved_objects.rb +31 -0
- data/db/migrate/20170311181823_add_foreign_key_to_offer_request.rb +8 -0
- data/db/migrate/20170313052748_create_logistics_core_operation_documents.rb +17 -0
- data/db/migrate/20170321114843_create_logistics_core_operation_summaries.rb +14 -0
- data/db/migrate/20170323145048_create_logistics_core_document_types.rb +17 -0
- data/db/migrate/20170324064145_create_logistics_core_common_documents.rb +16 -0
- data/db/migrate/20170324081651_create_logistics_core_additional_documents.rb +19 -0
- data/db/migrate/20170324215913_add_number_of_truck_to_cargo_detail.rb +6 -0
- data/db/migrate/20170326123612_create_logistics_core_agencies.rb +23 -0
- data/db/migrate/20170327232737_create_logistics_core_agency_permit_documents.rb +18 -0
- data/db/migrate/20170420091814_add_tasks_generated_field.rb +5 -0
- data/db/migrate/20170425133404_add_owner_id_to_operation.rb +7 -0
- data/db/migrate/20170819134501_create_logistics_core_required_documents.rb +18 -0
- data/db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb +9 -0
- data/db/migrate/20171014021659_create_logistics_core_kilogram_minimum_rates.rb +14 -0
- data/db/migrate/20171014021800_create_logistics_core_contract_kilogram_minimum_rates.rb +16 -0
- data/db/migrate/20181006131541_add_file_field_to_operation_document.rb +5 -0
- data/db/migrate/20181227061223_add_code_to_client.rb +5 -0
- data/db/migrate/20182316064849_add_applicable_to_chargeable_service.rb +5 -0
- data/db/migrate/20182316101834_create_logistics_core_contract_services.rb +18 -0
- data/db/migrate/20190814145804_add_client_reference_to_operation.rb +5 -0
- data/db/migrate/20191226132714_add_user_to_operation_document.rb +6 -0
- data/db/migrate/20191228081951_create_logistics_core_standard_remarks.rb +10 -0
- data/db/migrate/20200320085930_add_date_accepted_to_operation_documents.rb +5 -0
- data/lib/logistics/core.rb +4 -0
- data/lib/logistics/core/engine.rb +31 -0
- data/lib/logistics/core/version.rb +5 -0
- data/lib/logistics_core.rb +4 -0
- data/lib/tasks/logistics_core_tasks.rake +4 -0
- data/spec/common/lookup_spec.rb +92 -0
- data/spec/controllers/logistics/core/acquisition_modes_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/additional_documents_controller_spec.rb +87 -0
- data/spec/controllers/logistics/core/agencies_controller_spec.rb +168 -0
- data/spec/controllers/logistics/core/agency_categories_controller_spec.rb +93 -0
- data/spec/controllers/logistics/core/agency_permit_documents_controller_spec.rb +101 -0
- data/spec/controllers/logistics/core/break_bulk_truck_assignments_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/break_bulk_units_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/broad_gauge_bbs_controller_spec.rb +133 -0
- data/spec/controllers/logistics/core/broad_gauge_cnts_controller_spec.rb +133 -0
- data/spec/controllers/logistics/core/car_carrier_rates_controller_spec.rb +135 -0
- data/spec/controllers/logistics/core/chargeable_services_controller_spec.rb +94 -0
- data/spec/controllers/logistics/core/client_categories_controller_spec.rb +90 -0
- data/spec/controllers/logistics/core/clients_controller_spec.rb +113 -0
- data/spec/controllers/logistics/core/common_documents_controller_spec.rb +103 -0
- data/spec/controllers/logistics/core/container_arrangements_controller_spec.rb +90 -0
- data/spec/controllers/logistics/core/container_sizes_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/container_types_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/contract_services_controller_spec.rb +7 -0
- data/spec/controllers/logistics/core/countries_controller_spec.rb +78 -0
- data/spec/controllers/logistics/core/currencies_controller_spec.rb +77 -0
- data/spec/controllers/logistics/core/currency_rates_controller_spec.rb +95 -0
- data/spec/controllers/logistics/core/customs_office_units_controller_spec.rb +77 -0
- data/spec/controllers/logistics/core/customs_offices_controller_spec.rb +92 -0
- data/spec/controllers/logistics/core/customs_transport_tariffs_controller_spec.rb +96 -0
- data/spec/controllers/logistics/core/declarants_controller_spec.rb +92 -0
- data/spec/controllers/logistics/core/declaration_types_controller_spec.rb +108 -0
- data/spec/controllers/logistics/core/delivery_terms_controller_spec.rb +89 -0
- data/spec/controllers/logistics/core/document_type_categories_controller_spec.rb +25 -0
- data/spec/controllers/logistics/core/document_type_origins_controller_spec.rb +25 -0
- data/spec/controllers/logistics/core/document_types_controller_spec.rb +120 -0
- data/spec/controllers/logistics/core/entry_points_controller_spec.rb +90 -0
- data/spec/controllers/logistics/core/esl_transport_tariff_rates_controller_spec.rb +108 -0
- data/spec/controllers/logistics/core/esl_transport_tariffs_controller_spec.rb +100 -0
- data/spec/controllers/logistics/core/operation_documents_controller_spec.rb +125 -0
- data/spec/controllers/logistics/core/operation_types_controller_spec.rb +76 -0
- data/spec/controllers/logistics/core/operations_controller_spec.rb +204 -0
- data/spec/controllers/logistics/core/out_of_gauge_bb_rates_controller_spec.rb +133 -0
- data/spec/controllers/logistics/core/out_of_gauge_cnt_rates_controller_spec.rb +133 -0
- data/spec/controllers/logistics/core/payment_terms_controller_spec.rb +90 -0
- data/spec/controllers/logistics/core/required_documents_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/route_lookups_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/route_rates_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/routes_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/self_driving_rates_controller_spec.rb +135 -0
- data/spec/controllers/logistics/core/service_delivery_unit_types_controller_spec.rb +76 -0
- data/spec/controllers/logistics/core/service_delivery_units_controller_spec.rb +96 -0
- data/spec/controllers/logistics/core/transaction_types_controller_spec.rb +76 -0
- data/spec/controllers/logistics/core/transport_modes_controller_spec.rb +90 -0
- data/spec/controllers/logistics/core/transport_rate_periods_controller_spec.rb +133 -0
- data/spec/controllers/logistics/core/transporters_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/truck_type_assignments_controller_spec.rb +9 -0
- data/spec/controllers/logistics/core/truck_type_bb_weight_ranges_controller_spec.rb +133 -0
- data/spec/controllers/logistics/core/truck_type_cnt_weight_ranges_controller_spec.rb +8 -0
- data/spec/controllers/logistics/core/unit_of_charges_controller_spec.rb +76 -0
- data/spec/controllers/logistics/core/unit_types_controller_spec.rb +92 -0
- data/spec/controllers/logistics/core/units_controller_spec.rb +97 -0
- data/spec/controllers/logistics/core/weight_ranges_controller_spec.rb +133 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +5 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +34 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +24 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +9 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +86 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/puma.rb +47 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/schema.rb +1383 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/acquisition_modes.rb +5 -0
- data/spec/factories/addendums.rb +6 -0
- data/spec/factories/additional_documents.rb +12 -0
- data/spec/factories/agencies.rb +17 -0
- data/spec/factories/agency_categories.rb +5 -0
- data/spec/factories/agency_permit_documents.rb +11 -0
- data/spec/factories/agents.rb +7 -0
- data/spec/factories/air_cargo_limits.rb +10 -0
- data/spec/factories/air_volume_factors.rb +5 -0
- data/spec/factories/airway_bill_rates.rb +10 -0
- data/spec/factories/bill_of_lading_rates.rb +11 -0
- data/spec/factories/break_bulk_cargo_details.rb +17 -0
- data/spec/factories/break_bulk_demurrage_rates.rb +9 -0
- data/spec/factories/break_bulk_rates.rb +10 -0
- data/spec/factories/break_bulk_storage_rates.rb +10 -0
- data/spec/factories/break_bulk_truck_assignments.rb +5 -0
- data/spec/factories/break_bulk_unit_rates.rb +11 -0
- data/spec/factories/break_bulk_units.rb +5 -0
- data/spec/factories/broad_gauge_bbs.rb +9 -0
- data/spec/factories/broad_gauge_cnts.rb +10 -0
- data/spec/factories/car_carrier_rates.rb +12 -0
- data/spec/factories/cargo_details.rb +18 -0
- data/spec/factories/cargo_types.rb +5 -0
- data/spec/factories/carrier_agents.rb +6 -0
- data/spec/factories/carrier_types.rb +5 -0
- data/spec/factories/carriers.rb +8 -0
- data/spec/factories/chargeable_service_increments.rb +6 -0
- data/spec/factories/chargeable_service_types.rb +5 -0
- data/spec/factories/chargeable_service_unit_of_charges.rb +8 -0
- data/spec/factories/chargeable_services.rb +8 -0
- data/spec/factories/client_categories.rb +5 -0
- data/spec/factories/client_contracts.rb +9 -0
- data/spec/factories/clients.rb +13 -0
- data/spec/factories/common_documents.rb +10 -0
- data/spec/factories/communication_channels.rb +5 -0
- data/spec/factories/container_arrangements.rb +5 -0
- data/spec/factories/container_demurrage_rates.rb +10 -0
- data/spec/factories/container_sizes.rb +5 -0
- data/spec/factories/container_storage_rates.rb +11 -0
- data/spec/factories/container_types.rb +7 -0
- data/spec/factories/content_types.rb +5 -0
- data/spec/factories/contract.rb +10 -0
- data/spec/factories/contract_airway_bill_rates.rb +5 -0
- data/spec/factories/contract_bill_of_lading_rates.rb +5 -0
- data/spec/factories/contract_break_bulk_unit_rates.rb +10 -0
- data/spec/factories/contract_container_rates.rb +11 -0
- data/spec/factories/contract_convoy_rates.rb +5 -0
- data/spec/factories/contract_freight_ton_rates.rb +5 -0
- data/spec/factories/contract_item_rates.rb +11 -0
- data/spec/factories/contract_kilogram_rates.rb +10 -0
- data/spec/factories/contract_rates.rb +9 -0
- data/spec/factories/convoy_rates.rb +11 -0
- data/spec/factories/countries.rb +5 -0
- data/spec/factories/currencies.rb +10 -0
- data/spec/factories/currency_rates.rb +8 -0
- data/spec/factories/customs_office_units.rb +5 -0
- data/spec/factories/customs_offices.rb +7 -0
- data/spec/factories/customs_transport_tariffs.rb +9 -0
- data/spec/factories/declarants.rb +7 -0
- data/spec/factories/declaration_types.rb +7 -0
- data/spec/factories/delivery_terms.rb +5 -0
- data/spec/factories/demurrage_rate_periods.rb +8 -0
- data/spec/factories/demurrage_rates.rb +7 -0
- data/spec/factories/document_type_categories.rb +5 -0
- data/spec/factories/document_type_origins.rb +5 -0
- data/spec/factories/document_types.rb +9 -0
- data/spec/factories/entry_points.rb +5 -0
- data/spec/factories/equipment_service_rates.rb +11 -0
- data/spec/factories/esl_transport_tariff_rates.rb +8 -0
- data/spec/factories/esl_transport_tariffs.rb +6 -0
- data/spec/factories/extended_lookups.rb +8 -0
- data/spec/factories/freight_ton_demurrage_rates.rb +8 -0
- data/spec/factories/freight_ton_storage_rates.rb +9 -0
- data/spec/factories/increment_rates.rb +7 -0
- data/spec/factories/inter_city_routes.rb +5 -0
- data/spec/factories/item_rates.rb +10 -0
- data/spec/factories/kilogram_rates.rb +13 -0
- data/spec/factories/logistics_core_contract_services.rb +7 -0
- data/spec/factories/lookups.rb +7 -0
- data/spec/factories/offer_requests.rb +32 -0
- data/spec/factories/operation_documents.rb +12 -0
- data/spec/factories/operation_summaries.rb +8 -0
- data/spec/factories/operation_types.rb +5 -0
- data/spec/factories/operations.rb +33 -0
- data/spec/factories/out_of_gauge_bb_rates.rb +18 -0
- data/spec/factories/out_of_gauge_cnt_rates.rb +18 -0
- data/spec/factories/payment_terms.rb +5 -0
- data/spec/factories/required_documents.rb +11 -0
- data/spec/factories/route_lookups.rb +5 -0
- data/spec/factories/route_rates.rb +12 -0
- data/spec/factories/routes.rb +12 -0
- data/spec/factories/self_driving_rates.rb +12 -0
- data/spec/factories/service_delivery_unit_services.rb +7 -0
- data/spec/factories/service_delivery_unit_types.rb +5 -0
- data/spec/factories/service_delivery_units.rb +9 -0
- data/spec/factories/service_increments.rb +8 -0
- data/spec/factories/service_rates.rb +11 -0
- data/spec/factories/special_increment_container_rates.rb +7 -0
- data/spec/factories/special_increment_content_rates.rb +7 -0
- data/spec/factories/transaction_types.rb +5 -0
- data/spec/factories/transport_modes.rb +5 -0
- data/spec/factories/transport_rate_periods.rb +7 -0
- data/spec/factories/transport_service_types.rb +6 -0
- data/spec/factories/transporters.rb +13 -0
- data/spec/factories/truck_rates.rb +11 -0
- data/spec/factories/truck_type_assignments.rb +6 -0
- data/spec/factories/truck_type_bb_weight_ranges.rb +6 -0
- data/spec/factories/truck_type_cnt_weight_ranges.rb +6 -0
- data/spec/factories/twenty_feet_equivalence_ratios.rb +6 -0
- data/spec/factories/twenty_foot_equivalence_unit_rates.rb +11 -0
- data/spec/factories/unit_of_charges.rb +5 -0
- data/spec/factories/unit_types.rb +5 -0
- data/spec/factories/units.rb +8 -0
- data/spec/factories/warehouse_rate_periods.rb +8 -0
- data/spec/factories/warehouses.rb +10 -0
- data/spec/factories/weight_ranges.rb +6 -0
- data/spec/factories/within_city_routes.rb +5 -0
- data/spec/models/logistics/core/acquisition_mode_spec.rb +11 -0
- data/spec/models/logistics/core/addendum_spec.rb +9 -0
- data/spec/models/logistics/core/additional_document_spec.rb +29 -0
- data/spec/models/logistics/core/agency_category_spec.rb +29 -0
- data/spec/models/logistics/core/agency_permit_document_spec.rb +24 -0
- data/spec/models/logistics/core/agency_spec.rb +28 -0
- data/spec/models/logistics/core/agent_spec.rb +9 -0
- data/spec/models/logistics/core/air_cargo_limit_spec.rb +9 -0
- data/spec/models/logistics/core/air_volume_factor_spec.rb +9 -0
- data/spec/models/logistics/core/airway_bill_rate_spec.rb +9 -0
- data/spec/models/logistics/core/bill_of_lading_rate_spec.rb +9 -0
- data/spec/models/logistics/core/break_bulk_demurrage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/break_bulk_rate_spec.rb +9 -0
- data/spec/models/logistics/core/break_bulk_storage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/break_bulk_truck_assignment_spec.rb +9 -0
- data/spec/models/logistics/core/break_bulk_unit_rate_spec.rb +9 -0
- data/spec/models/logistics/core/break_bulk_unit_spec.rb +9 -0
- data/spec/models/logistics/core/broad_gauge_bb_spec.rb +9 -0
- data/spec/models/logistics/core/broad_gauge_cnt_spec.rb +9 -0
- data/spec/models/logistics/core/car_carrier_rate_spec.rb +9 -0
- data/spec/models/logistics/core/cargo_detail_spec.rb +11 -0
- data/spec/models/logistics/core/cargo_type_spec.rb +9 -0
- data/spec/models/logistics/core/carrier_agent_spec.rb +9 -0
- data/spec/models/logistics/core/carrier_spec.rb +9 -0
- data/spec/models/logistics/core/carrier_type_spec.rb +9 -0
- data/spec/models/logistics/core/chargeable_service_increment_spec.rb +9 -0
- data/spec/models/logistics/core/chargeable_service_spec.rb +30 -0
- data/spec/models/logistics/core/chargeable_service_type_spec.rb +11 -0
- data/spec/models/logistics/core/chargeable_service_unit_of_charge_spec.rb +9 -0
- data/spec/models/logistics/core/client_category_spec.rb +29 -0
- data/spec/models/logistics/core/client_contract_spec.rb +9 -0
- data/spec/models/logistics/core/client_spec.rb +19 -0
- data/spec/models/logistics/core/common_document_spec.rb +20 -0
- data/spec/models/logistics/core/communication_channel_spec.rb +9 -0
- data/spec/models/logistics/core/container_arrangement_spec.rb +11 -0
- data/spec/models/logistics/core/container_demurrage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/container_size_spec.rb +9 -0
- data/spec/models/logistics/core/container_storage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/container_type_spec.rb +9 -0
- data/spec/models/logistics/core/content_type_spec.rb +9 -0
- data/spec/models/logistics/core/contract_airway_bill_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_bill_of_lading_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_break_bulk_unit_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_container_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_convoy_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_freight_ton_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_item_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_kilogram_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_rate_spec.rb +9 -0
- data/spec/models/logistics/core/contract_service_spec.rb +7 -0
- data/spec/models/logistics/core/convoy_rate_spec.rb +9 -0
- data/spec/models/logistics/core/country_spec.rb +11 -0
- data/spec/models/logistics/core/currency_rate_spec.rb +23 -0
- data/spec/models/logistics/core/currency_spec.rb +16 -0
- data/spec/models/logistics/core/customs_office_spec.rb +29 -0
- data/spec/models/logistics/core/customs_office_unit_spec.rb +29 -0
- data/spec/models/logistics/core/customs_transport_tariff_spec.rb +36 -0
- data/spec/models/logistics/core/declarant_spec.rb +28 -0
- data/spec/models/logistics/core/declaration_type_spec.rb +9 -0
- data/spec/models/logistics/core/delivery_term_spec.rb +24 -0
- data/spec/models/logistics/core/demurrage_rate_period_spec.rb +9 -0
- data/spec/models/logistics/core/demurrage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/document_type_category_spec.rb +29 -0
- data/spec/models/logistics/core/document_type_origin_spec.rb +29 -0
- data/spec/models/logistics/core/document_type_spec.rb +29 -0
- data/spec/models/logistics/core/entry_point_spec.rb +9 -0
- data/spec/models/logistics/core/equipment_service_rate_spec.rb +9 -0
- data/spec/models/logistics/core/esl_transport_tariff_rate_spec.rb +33 -0
- data/spec/models/logistics/core/esl_transport_tariff_spec.rb +24 -0
- data/spec/models/logistics/core/extended_lookup_spec.rb +28 -0
- data/spec/models/logistics/core/freight_ton_demurrage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/freight_ton_storage_rate_spec.rb +9 -0
- data/spec/models/logistics/core/increment_rate_spec.rb +9 -0
- data/spec/models/logistics/core/inter_city_route_spec.rb +9 -0
- data/spec/models/logistics/core/item_rate_spec.rb +9 -0
- data/spec/models/logistics/core/kilogram_rate_spec.rb +9 -0
- data/spec/models/logistics/core/lookup_spec.rb +28 -0
- data/spec/models/logistics/core/offer_request_spec.rb +11 -0
- data/spec/models/logistics/core/operation_document_spec.rb +31 -0
- data/spec/models/logistics/core/operation_spec.rb +23 -0
- data/spec/models/logistics/core/operation_summary_spec.rb +9 -0
- data/spec/models/logistics/core/operation_type_spec.rb +11 -0
- data/spec/models/logistics/core/out_of_gauge_bb_rate_spec.rb +9 -0
- data/spec/models/logistics/core/out_of_gauge_cnt_rate_spec.rb +9 -0
- data/spec/models/logistics/core/payment_term_spec.rb +24 -0
- data/spec/models/logistics/core/required_document_spec.rb +9 -0
- data/spec/models/logistics/core/route_lookup_spec.rb +9 -0
- data/spec/models/logistics/core/route_rate_spec.rb +9 -0
- data/spec/models/logistics/core/route_spec.rb +9 -0
- data/spec/models/logistics/core/self_driving_rate_spec.rb +9 -0
- data/spec/models/logistics/core/service_delivery_unit_service_spec.rb +9 -0
- data/spec/models/logistics/core/service_delivery_unit_spec.rb +45 -0
- data/spec/models/logistics/core/service_delivery_unit_type_spec.rb +11 -0
- data/spec/models/logistics/core/service_increment_spec.rb +9 -0
- data/spec/models/logistics/core/service_rate_spec.rb +9 -0
- data/spec/models/logistics/core/special_increment_container_rate_spec.rb +9 -0
- data/spec/models/logistics/core/special_increment_content_rate_spec.rb +9 -0
- data/spec/models/logistics/core/transaction_type_spec.rb +11 -0
- data/spec/models/logistics/core/transport_mode_spec.rb +25 -0
- data/spec/models/logistics/core/transport_rate_period_spec.rb +9 -0
- data/spec/models/logistics/core/transporter_spec.rb +9 -0
- data/spec/models/logistics/core/truck_rate_spec.rb +9 -0
- data/spec/models/logistics/core/truck_type_assignment_spec.rb +9 -0
- data/spec/models/logistics/core/truck_type_bb_weight_range_spec.rb +9 -0
- data/spec/models/logistics/core/truck_type_cnt_weight_range_spec.rb +9 -0
- data/spec/models/logistics/core/twenty_feet_equivalence_ratio_spec.rb +9 -0
- data/spec/models/logistics/core/twenty_foot_equivalence_unit_rate_spec.rb +9 -0
- data/spec/models/logistics/core/unit_of_charge_spec.rb +11 -0
- data/spec/models/logistics/core/unit_spec.rb +33 -0
- data/spec/models/logistics/core/unit_type_spec.rb +29 -0
- data/spec/models/logistics/core/warehouse_rate_period_spec.rb +9 -0
- data/spec/models/logistics/core/warehouse_spec.rb +9 -0
- data/spec/models/logistics/core/weight_range_spec.rb +9 -0
- data/spec/models/logistics/core/within_city_route_spec.rb +9 -0
- data/spec/rails_helper.rb +13 -0
- data/spec/route_helper.rb +5 -0
- data/spec/routing/logistics/core/client_categories_routing_spec.rb +15 -0
- data/spec/services/logistics/core/additional_document_service_spec.rb +103 -0
- data/spec/services/logistics/core/operation_service_spec.rb +121 -0
- data/spec/services/logistics/core/unit_service_spec.rb +25 -0
- data/spec/spec_helper.rb +114 -0
- data/spec/support/factory_girl.rb +5 -0
- metadata +1281 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
require File.expand_path('../dummy/config/environment', __FILE__)
|
3
|
+
abort('The Rails environment is running in production mode!') if Rails.env.production?
|
4
|
+
require 'spec_helper'
|
5
|
+
require 'rspec/rails'
|
6
|
+
ActiveRecord::Migration.maintain_test_schema!
|
7
|
+
|
8
|
+
RSpec.configure do |config|
|
9
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
10
|
+
config.use_transactional_fixtures = true
|
11
|
+
config.infer_spec_type_from_file_location!
|
12
|
+
config.filter_rails_from_backtrace!
|
13
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
module Logistics
|
4
|
+
module Core
|
5
|
+
RSpec.describe ClientCategoriesController, type: :routing do
|
6
|
+
routes { Logistics::Core::Engine.routes }
|
7
|
+
|
8
|
+
describe 'routing' do
|
9
|
+
it 'routes to #index' do
|
10
|
+
expect(:get => 'client_categories').to route_to('logistics/core/client_categories#index')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
module Logistics
|
4
|
+
module Core
|
5
|
+
RSpec.describe AdditionalDocumentService do
|
6
|
+
describe '#get_lookup_values' do
|
7
|
+
it 'gets values of a lookup entity' do
|
8
|
+
2.times { create(:acquisition_mode) }
|
9
|
+
service = AdditionalDocumentService.new
|
10
|
+
|
11
|
+
items = service.get_lookup_values('Logistics::Core::AcquisitionMode')
|
12
|
+
expect(items.count).to eq 2
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
describe '#get_additional_documents' do
|
17
|
+
it 'gets documents of a lookup entity' do
|
18
|
+
dt1 = create(:document_type)
|
19
|
+
dt2 = create(:document_type)
|
20
|
+
create(:document_type)
|
21
|
+
am = create(:acquisition_mode)
|
22
|
+
|
23
|
+
create(:additional_document, document_type: dt1, documentable: am)
|
24
|
+
create(:additional_document, document_type: dt2, documentable: am)
|
25
|
+
|
26
|
+
service = AdditionalDocumentService.new
|
27
|
+
|
28
|
+
documents = service.get_additional_documents('Logistics::Core::AcquisitionMode', am.id)
|
29
|
+
expect(documents.count).to eq 2
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe '#bulk_save' do
|
34
|
+
it 'saves additional documents in bulk' do
|
35
|
+
dt1 = create(:document_type)
|
36
|
+
dt2 = create(:document_type)
|
37
|
+
tt = create(:transaction_type)
|
38
|
+
|
39
|
+
am = create(:acquisition_mode)
|
40
|
+
|
41
|
+
data = [
|
42
|
+
{ :document_type_id => dt1.id, :documentable_type => 'Logistics::Core::ExtendedLookup', :documentable_id => am.id,
|
43
|
+
:original => 2, :copy => 2, :certified => 1, :is_endorsed => true, :is_mandatory => true,
|
44
|
+
:transaction_type_id => tt.id },
|
45
|
+
{ :document_type_id => dt2.id, :documentable_type => 'Logistics::Core::ExtendedLookup', :documentable_id => am.id,
|
46
|
+
:original => 1, :copy => 2, :certified => 1, :is_endorsed => true, :is_mandatory => true,
|
47
|
+
:transaction_type_id => tt.id}
|
48
|
+
]
|
49
|
+
service = AdditionalDocumentService.new
|
50
|
+
success, error = service.bulk_save(data)
|
51
|
+
|
52
|
+
expect(success).to be_truthy
|
53
|
+
am.reload
|
54
|
+
expect(am.additional_documents.count).to eq 2
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe '#bulk_update' do
|
59
|
+
it 'saves additional documents in bulk' do
|
60
|
+
am = create(:acquisition_mode)
|
61
|
+
ad1 = create(:additional_document, documentable: am)
|
62
|
+
ad2 = create(:additional_document, documentable: am)
|
63
|
+
|
64
|
+
data = [
|
65
|
+
{ :id => ad1.id, :document_type_id => ad1.document_type_id, :documentable_type => 'Logistics::Core::ExtendedLookup',
|
66
|
+
:documentable_id => am.id, :original => 5, :copy => 5, :certified => 1, :is_endorsed => true, :is_mandatory => true },
|
67
|
+
{ :id => ad2.id, :document_type_id => ad2.document_type.id, :documentable_type => 'Logistics::Core::ExtendedLookup',
|
68
|
+
:documentable_id => am.id, :original => 5, :copy => 5, :certified => 1, :is_endorsed => true, :is_mandatory => true }
|
69
|
+
]
|
70
|
+
service = AdditionalDocumentService.new
|
71
|
+
success, errors = service.bulk_update(data)
|
72
|
+
|
73
|
+
expect(success).to be_truthy
|
74
|
+
am.reload
|
75
|
+
expect(am.additional_documents.count).to eq 2
|
76
|
+
expect(am.additional_documents[0].original).to eq 5
|
77
|
+
expect(am.additional_documents[0].copy).to eq 5
|
78
|
+
expect(am.additional_documents[1].original).to eq 5
|
79
|
+
expect(am.additional_documents[1].copy).to eq 5
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe '#bulk_update' do
|
84
|
+
it 'deletes additional documents in bulk' do
|
85
|
+
am = create(:acquisition_mode)
|
86
|
+
ad1 = create(:additional_document, documentable: am)
|
87
|
+
ad2 = create(:additional_document, documentable: am)
|
88
|
+
ad3 = create(:additional_document, documentable: am)
|
89
|
+
|
90
|
+
service = AdditionalDocumentService.new
|
91
|
+
success, errors = service.bulk_delete([ad1.id, ad2.id])
|
92
|
+
|
93
|
+
expect(success).to be_truthy
|
94
|
+
expect(errors).to eq ''
|
95
|
+
am.reload
|
96
|
+
expect(am.additional_documents.count).to eq 1
|
97
|
+
expect(am.additional_documents[0].id).to eq ad3.id
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
module Logistics
|
4
|
+
module Core
|
5
|
+
RSpec.describe OperationService do
|
6
|
+
before(:all) do
|
7
|
+
@service = OperationService.new
|
8
|
+
end
|
9
|
+
|
10
|
+
describe '#save' do
|
11
|
+
it 'creates operation' do
|
12
|
+
dt = create(:declaration_type)
|
13
|
+
tm = create(:transport_mode)
|
14
|
+
ofr = create(:offer_request)
|
15
|
+
|
16
|
+
service = OperationService.new
|
17
|
+
|
18
|
+
params = { operation_number: 'OP123', contract_number: 'CN001', declaration_type_id: dt.id,
|
19
|
+
is_new_customer: true, transport_mode_id: tm.id, offer_request_id: ofr.id }
|
20
|
+
result, op = service.save(params)
|
21
|
+
expect(result).to be_truthy
|
22
|
+
expect(op.operation_number).to eq 'OP123'
|
23
|
+
expect(op.contract_number).to eq 'CN001'
|
24
|
+
expect(op.is_new_customer).to be_truthy
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'saves operation with additional documents' do
|
29
|
+
dt = create(:declaration_type)
|
30
|
+
tm = create(:transport_mode)
|
31
|
+
ofr = create(:offer_request)
|
32
|
+
|
33
|
+
2.times { create(:additional_document, documentable: dt) }
|
34
|
+
create(:additional_document, documentable: tm)
|
35
|
+
|
36
|
+
service = OperationService.new
|
37
|
+
params = { operation_number: 'OP123', contract_number: 'CN001', declaration_type_id: dt.id,
|
38
|
+
is_new_customer: true, transport_mode_id: tm.id, offer_request_id: ofr.id }
|
39
|
+
result, op = service.save(params)
|
40
|
+
expect(result).to be_truthy
|
41
|
+
expect(op.operation_documents.count).to eq 3
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'saves operation with common documents' do
|
45
|
+
dt = create(:declaration_type)
|
46
|
+
tm = create(:transport_mode)
|
47
|
+
ofr = create(:offer_request)
|
48
|
+
|
49
|
+
2.times { create(:common_document) }
|
50
|
+
service = OperationService.new
|
51
|
+
params = { operation_number: 'OP123', contract_number: 'CN001', declaration_type_id: dt.id,
|
52
|
+
is_new_customer: true, transport_mode_id: tm.id, offer_request_id: ofr.id }
|
53
|
+
result, op = service.save(params)
|
54
|
+
expect(result).to be_truthy
|
55
|
+
expect(op.operation_documents.count).to eq 2
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'adds entry to operation summary' do
|
59
|
+
dt = create(:declaration_type)
|
60
|
+
tm = create(:transport_mode)
|
61
|
+
ofr = create(:offer_request)
|
62
|
+
|
63
|
+
service = OperationService.new
|
64
|
+
params = { operation_number: 'OP123', contract_number: 'CN001', declaration_type_id: dt.id,
|
65
|
+
is_new_customer: true, transport_mode_id: tm.id, offer_request_id: ofr.id }
|
66
|
+
result, op = service.save(params)
|
67
|
+
summary = OperationSummary.find_by(operation: op)
|
68
|
+
expect(result).to be_truthy
|
69
|
+
expect(summary).not_to be_nil
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe '#update_owner_data' do
|
74
|
+
it 'sets owners of operations' do
|
75
|
+
u1 = create(:user)
|
76
|
+
op1 = create(:operation)
|
77
|
+
op2 = create(:operation)
|
78
|
+
|
79
|
+
params = [
|
80
|
+
{ owner_id: u1.id, op_ids: [op1.id, op2.id] }
|
81
|
+
]
|
82
|
+
|
83
|
+
resp = @service.instance_eval { update_owner_data([op1, op2], params) }
|
84
|
+
|
85
|
+
expect(resp[0].owner_id).to eq u1.id
|
86
|
+
expect(resp[1].owner_id).to eq u1.id
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
describe '#assign_owner' do
|
91
|
+
it 'assigns owners to operations' do
|
92
|
+
u1 = create(:user)
|
93
|
+
u2 = create(:user)
|
94
|
+
op1 = create(:operation)
|
95
|
+
op2 = create(:operation)
|
96
|
+
op3 = create(:operation)
|
97
|
+
op4 = create(:operation, owner: nil)
|
98
|
+
|
99
|
+
params = [
|
100
|
+
{ owner_id: u1.id, op_ids: [op1.id, op2.id] },
|
101
|
+
{ owner_id: u2.id, op_ids: [op3.id] }
|
102
|
+
]
|
103
|
+
|
104
|
+
resp = @service.assign_owner(params)
|
105
|
+
|
106
|
+
op1.reload
|
107
|
+
op2.reload
|
108
|
+
op3.reload
|
109
|
+
op4.reload
|
110
|
+
|
111
|
+
expect(resp.success).to be_truthy
|
112
|
+
expect(op1.owner_id).to eq u1.id
|
113
|
+
expect(op2.owner_id).to eq u1.id
|
114
|
+
expect(op3.owner_id).to eq u2.id
|
115
|
+
expect(op4.owner_id).to be_nil
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
module Logistics
|
4
|
+
module Core
|
5
|
+
RSpec.describe UnitService do
|
6
|
+
describe '#convert_unit' do
|
7
|
+
it 'converts to quintal' do
|
8
|
+
create(:unit, abbreviation: 'qt', name: 'Quintal', rate_to_base: 1)
|
9
|
+
create(:unit, abbreviation: 'kg', name: 'Kilogram', rate_to_base: 5)
|
10
|
+
unit_service = UnitService.new
|
11
|
+
converted = unit_service.convert_unit(20, 'kg')
|
12
|
+
expect(converted).to eq 4
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'converts from quintal' do
|
16
|
+
create(:unit, abbreviation: 'qt', name: 'Quintal', rate_to_base: 1)
|
17
|
+
create(:unit, abbreviation: 'kg', name: 'Kilogram', rate_to_base: 5)
|
18
|
+
unit_service = UnitService.new
|
19
|
+
converted = unit_service.convert_unit(6, 'kg', false)
|
20
|
+
expect(converted).to eq 30
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
require 'route_helper'
|
20
|
+
require 'factory_girl_rails'
|
21
|
+
|
22
|
+
require 'ffaker'
|
23
|
+
|
24
|
+
Rails.backtrace_cleaner.remove_silencers!
|
25
|
+
|
26
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
27
|
+
|
28
|
+
# FactoryGirl.definition_file_paths = [File.expand_path('../factories', __FILE__)]
|
29
|
+
# FactoryGirl.find_definitions
|
30
|
+
|
31
|
+
RSpec.configure do |config|
|
32
|
+
# config.include RouteHelper, type: :routing
|
33
|
+
# config.include RouteHelper, type: :controller
|
34
|
+
# rspec-expectations config goes here. You can use an alternate
|
35
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
36
|
+
# assertions if you prefer.
|
37
|
+
config.expect_with :rspec do |expectations|
|
38
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
39
|
+
# and `failure_message` of custom matchers include text for helper methods
|
40
|
+
# defined using `chain`, e.g.:
|
41
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
42
|
+
# # => "be bigger than 2 and smaller than 4"
|
43
|
+
# ...rather than:
|
44
|
+
# # => "be bigger than 2"
|
45
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
46
|
+
end
|
47
|
+
|
48
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
49
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
50
|
+
config.mock_with :rspec do |mocks|
|
51
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
52
|
+
# a real object. This is generally recommended, and will default to
|
53
|
+
# `true` in RSpec 4.
|
54
|
+
mocks.verify_partial_doubles = true
|
55
|
+
end
|
56
|
+
|
57
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
58
|
+
# have no way to turn it off -- the option exists only for backwards
|
59
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
60
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
61
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
62
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
63
|
+
|
64
|
+
# The settings below are suggested to provide a good initial experience
|
65
|
+
# with RSpec, but feel free to customize to your heart's content.
|
66
|
+
=begin
|
67
|
+
# This allows you to limit a spec run to individual examples or groups
|
68
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
69
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
70
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
71
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
72
|
+
config.filter_run_when_matching :focus
|
73
|
+
|
74
|
+
# Allows RSpec to persist some state between runs in order to support
|
75
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
76
|
+
# you configure your source control system to ignore this file.
|
77
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
78
|
+
|
79
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
80
|
+
# recommended. For more details, see:
|
81
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
82
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
83
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
84
|
+
config.disable_monkey_patching!
|
85
|
+
|
86
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
87
|
+
# file, and it's useful to allow more verbose output when running an
|
88
|
+
# individual spec file.
|
89
|
+
if config.files_to_run.one?
|
90
|
+
# Use the documentation formatter for detailed output,
|
91
|
+
# unless a formatter has already been configured
|
92
|
+
# (e.g. via a command-line flag).
|
93
|
+
config.default_formatter = 'doc'
|
94
|
+
end
|
95
|
+
|
96
|
+
# Print the 10 slowest examples and example groups at the
|
97
|
+
# end of the spec run, to help surface which specs are running
|
98
|
+
# particularly slow.
|
99
|
+
config.profile_examples = 10
|
100
|
+
|
101
|
+
# Run specs in random order to surface order dependencies. If you find an
|
102
|
+
# order dependency and want to debug it, you can fix the order by providing
|
103
|
+
# the seed, which is printed after each run.
|
104
|
+
# --seed 1234
|
105
|
+
config.order = :random
|
106
|
+
|
107
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
108
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
109
|
+
# test failures related to randomization by passing the same `--seed` value
|
110
|
+
# as the one that triggered the failure.
|
111
|
+
Kernel.srand config.seed
|
112
|
+
=end
|
113
|
+
config.order = 'random'
|
114
|
+
end
|
metadata
ADDED
@@ -0,0 +1,1281 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logistics_core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 20.8.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Henock L.
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.1.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.1.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.6.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.6.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: factory_girl_rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.8.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.8.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ffaker
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.5.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.5.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pg
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.20.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.20.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bcrypt
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.1.11
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.1.11
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: mks_common
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.0.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.0.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: mks_auth
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.0.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.0.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: active_model_serializers
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.10.6
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.10.6
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: carrierwave
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: carrierwave-base64
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description: Core classes for MKS logistics applications
|
168
|
+
email:
|
169
|
+
- henockl@live.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- MIT-LICENSE
|
175
|
+
- README.md
|
176
|
+
- Rakefile
|
177
|
+
- app/controllers/concerns/controller_common.rb
|
178
|
+
- app/controllers/concerns/lookup_common.rb
|
179
|
+
- app/controllers/concerns/lookup_list.rb
|
180
|
+
- app/controllers/logistics/core/acquisition_modes_controller.rb
|
181
|
+
- app/controllers/logistics/core/addendums_controller.rb
|
182
|
+
- app/controllers/logistics/core/additional_documents_controller.rb
|
183
|
+
- app/controllers/logistics/core/agencies_controller.rb
|
184
|
+
- app/controllers/logistics/core/agency_categories_controller.rb
|
185
|
+
- app/controllers/logistics/core/agency_permit_documents_controller.rb
|
186
|
+
- app/controllers/logistics/core/agents_controller.rb
|
187
|
+
- app/controllers/logistics/core/air_weigh_bills_controller.rb
|
188
|
+
- app/controllers/logistics/core/application_controller.rb
|
189
|
+
- app/controllers/logistics/core/bill_of_loading_rates_controller.rb
|
190
|
+
- app/controllers/logistics/core/break_bulk_rates_controller.rb
|
191
|
+
- app/controllers/logistics/core/break_bulk_storage_rates_controller.rb
|
192
|
+
- app/controllers/logistics/core/break_bulk_truck_assignments_controller.rb
|
193
|
+
- app/controllers/logistics/core/break_bulk_unit_rates_controller.rb
|
194
|
+
- app/controllers/logistics/core/break_bulk_units_controller.rb
|
195
|
+
- app/controllers/logistics/core/broad_gauge_bbs_controller.rb
|
196
|
+
- app/controllers/logistics/core/broad_gauge_cnts_controller.rb
|
197
|
+
- app/controllers/logistics/core/car_carrier_rates_controller.rb
|
198
|
+
- app/controllers/logistics/core/cargo_types_controller.rb
|
199
|
+
- app/controllers/logistics/core/carrier_agents_controller.rb
|
200
|
+
- app/controllers/logistics/core/carrier_types_controller.rb
|
201
|
+
- app/controllers/logistics/core/carriers_controller.rb
|
202
|
+
- app/controllers/logistics/core/chargeable_service_increments_controller.rb
|
203
|
+
- app/controllers/logistics/core/chargeable_service_types_controller.rb
|
204
|
+
- app/controllers/logistics/core/chargeable_service_unit_of_charges_controller.rb
|
205
|
+
- app/controllers/logistics/core/chargeable_services_controller.rb
|
206
|
+
- app/controllers/logistics/core/client_categories_controller.rb
|
207
|
+
- app/controllers/logistics/core/client_contracts_controller.rb
|
208
|
+
- app/controllers/logistics/core/clients_controller.rb
|
209
|
+
- app/controllers/logistics/core/common_documents_controller.rb
|
210
|
+
- app/controllers/logistics/core/communication_channels_controller.rb
|
211
|
+
- app/controllers/logistics/core/container_arrangements_controller.rb
|
212
|
+
- app/controllers/logistics/core/container_demurage_rates_controller.rb
|
213
|
+
- app/controllers/logistics/core/container_sizes_controller.rb
|
214
|
+
- app/controllers/logistics/core/container_storage_rates_controller.rb
|
215
|
+
- app/controllers/logistics/core/container_types_controller.rb
|
216
|
+
- app/controllers/logistics/core/content_types_controller.rb
|
217
|
+
- app/controllers/logistics/core/contract_airway_bill_rates_controller.rb
|
218
|
+
- app/controllers/logistics/core/contract_bill_of_loading_rates_controller.rb
|
219
|
+
- app/controllers/logistics/core/contract_break_bulk_unit_rates_controller.rb
|
220
|
+
- app/controllers/logistics/core/contract_container_rates_controller.rb
|
221
|
+
- app/controllers/logistics/core/contract_convoy_rates_controller.rb
|
222
|
+
- app/controllers/logistics/core/contract_freight_ton_rates_controller.rb
|
223
|
+
- app/controllers/logistics/core/contract_item_rates_controller.rb
|
224
|
+
- app/controllers/logistics/core/contract_kilogram_minimum_rates_controller.rb
|
225
|
+
- app/controllers/logistics/core/contract_kilogram_rates_controller.rb
|
226
|
+
- app/controllers/logistics/core/contract_services_controller.rb
|
227
|
+
- app/controllers/logistics/core/contract_truck_rates_controller.rb
|
228
|
+
- app/controllers/logistics/core/contract_twenty_feet_equivalence_unit_rates_controller.rb
|
229
|
+
- app/controllers/logistics/core/contracts_controller.rb
|
230
|
+
- app/controllers/logistics/core/convoy_rates_controller.rb
|
231
|
+
- app/controllers/logistics/core/countries_controller.rb
|
232
|
+
- app/controllers/logistics/core/currencies_controller.rb
|
233
|
+
- app/controllers/logistics/core/currency_rates_controller.rb
|
234
|
+
- app/controllers/logistics/core/customs_office_units_controller.rb
|
235
|
+
- app/controllers/logistics/core/customs_offices_controller.rb
|
236
|
+
- app/controllers/logistics/core/customs_transport_tariffs_controller.rb
|
237
|
+
- app/controllers/logistics/core/declarants_controller.rb
|
238
|
+
- app/controllers/logistics/core/declaration_types_controller.rb
|
239
|
+
- app/controllers/logistics/core/delivery_terms_controller.rb
|
240
|
+
- app/controllers/logistics/core/demurage_rate_periods_controller.rb
|
241
|
+
- app/controllers/logistics/core/document_type_categories_controller.rb
|
242
|
+
- app/controllers/logistics/core/document_type_origins_controller.rb
|
243
|
+
- app/controllers/logistics/core/document_types_controller.rb
|
244
|
+
- app/controllers/logistics/core/entry_points_controller.rb
|
245
|
+
- app/controllers/logistics/core/esl_transport_tariff_rates_controller.rb
|
246
|
+
- app/controllers/logistics/core/esl_transport_tariffs_controller.rb
|
247
|
+
- app/controllers/logistics/core/freight_ton_storage_rates_controller.rb
|
248
|
+
- app/controllers/logistics/core/increment_rates_controller.rb
|
249
|
+
- app/controllers/logistics/core/item_rates_controller.rb
|
250
|
+
- app/controllers/logistics/core/kilogram_minimum_rates_controller.rb
|
251
|
+
- app/controllers/logistics/core/kilogram_rates_controller.rb
|
252
|
+
- app/controllers/logistics/core/offer_requests_controller.rb
|
253
|
+
- app/controllers/logistics/core/operation_documents_controller.rb
|
254
|
+
- app/controllers/logistics/core/operation_types_controller.rb
|
255
|
+
- app/controllers/logistics/core/operations_controller.rb
|
256
|
+
- app/controllers/logistics/core/out_of_gauge_bb_rates_controller.rb
|
257
|
+
- app/controllers/logistics/core/out_of_gauge_cnt_rates_controller.rb
|
258
|
+
- app/controllers/logistics/core/payment_terms_controller.rb
|
259
|
+
- app/controllers/logistics/core/required_documents_controller.rb
|
260
|
+
- app/controllers/logistics/core/route_lookups_controller.rb
|
261
|
+
- app/controllers/logistics/core/route_rates_controller.rb
|
262
|
+
- app/controllers/logistics/core/routes_controller.rb
|
263
|
+
- app/controllers/logistics/core/self_driving_rates_controller.rb
|
264
|
+
- app/controllers/logistics/core/service_delivery_unit_services_controller.rb
|
265
|
+
- app/controllers/logistics/core/service_delivery_unit_types_controller.rb
|
266
|
+
- app/controllers/logistics/core/service_delivery_units_controller.rb
|
267
|
+
- app/controllers/logistics/core/service_increments_controller.rb
|
268
|
+
- app/controllers/logistics/core/service_rates_controller.rb
|
269
|
+
- app/controllers/logistics/core/special_increment_container_rates_controller.rb
|
270
|
+
- app/controllers/logistics/core/special_increment_content_rates_controller.rb
|
271
|
+
- app/controllers/logistics/core/standard_remarks_controller.rb
|
272
|
+
- app/controllers/logistics/core/transaction_types_controller.rb
|
273
|
+
- app/controllers/logistics/core/transport_modalities_controller.rb
|
274
|
+
- app/controllers/logistics/core/transport_modes_controller.rb
|
275
|
+
- app/controllers/logistics/core/transport_rate_periods_controller.rb
|
276
|
+
- app/controllers/logistics/core/transport_service_types_controller.rb
|
277
|
+
- app/controllers/logistics/core/transporters_controller.rb
|
278
|
+
- app/controllers/logistics/core/truck_rates_controller.rb
|
279
|
+
- app/controllers/logistics/core/truck_type_assignments_controller.rb
|
280
|
+
- app/controllers/logistics/core/truck_type_bb_weight_ranges_controller.rb
|
281
|
+
- app/controllers/logistics/core/truck_type_cnt_weight_ranges_controller.rb
|
282
|
+
- app/controllers/logistics/core/twenty_feet_equivalence_ratios_controller.rb
|
283
|
+
- app/controllers/logistics/core/twenty_feet_equivalent_unit_rates_controller.rb
|
284
|
+
- app/controllers/logistics/core/unit_of_charges_controller.rb
|
285
|
+
- app/controllers/logistics/core/unit_types_controller.rb
|
286
|
+
- app/controllers/logistics/core/units_controller.rb
|
287
|
+
- app/controllers/logistics/core/warehouse_rate_periods_controller.rb
|
288
|
+
- app/controllers/logistics/core/warehouses_controller.rb
|
289
|
+
- app/controllers/logistics/core/weight_ranges_controller.rb
|
290
|
+
- app/models/concerns/lookupable.rb
|
291
|
+
- app/models/logistics/application_record.rb
|
292
|
+
- app/models/logistics/core.rb
|
293
|
+
- app/models/logistics/core/acquisition_mode.rb
|
294
|
+
- app/models/logistics/core/addendum.rb
|
295
|
+
- app/models/logistics/core/additional_document.rb
|
296
|
+
- app/models/logistics/core/agency.rb
|
297
|
+
- app/models/logistics/core/agency_category.rb
|
298
|
+
- app/models/logistics/core/agency_permit_document.rb
|
299
|
+
- app/models/logistics/core/agent.rb
|
300
|
+
- app/models/logistics/core/air_cargo_limit.rb
|
301
|
+
- app/models/logistics/core/air_volume_factor.rb
|
302
|
+
- app/models/logistics/core/airway_bill_rate.rb
|
303
|
+
- app/models/logistics/core/application_record.rb
|
304
|
+
- app/models/logistics/core/bill_of_lading_rate.rb
|
305
|
+
- app/models/logistics/core/break_bulk_cargo_detail.rb
|
306
|
+
- app/models/logistics/core/break_bulk_demurrage_rate.rb
|
307
|
+
- app/models/logistics/core/break_bulk_rate.rb
|
308
|
+
- app/models/logistics/core/break_bulk_storage_rate.rb
|
309
|
+
- app/models/logistics/core/break_bulk_truck_assignment.rb
|
310
|
+
- app/models/logistics/core/break_bulk_unit.rb
|
311
|
+
- app/models/logistics/core/break_bulk_unit_rate.rb
|
312
|
+
- app/models/logistics/core/broad_gauge_bb.rb
|
313
|
+
- app/models/logistics/core/broad_gauge_cnt.rb
|
314
|
+
- app/models/logistics/core/car_carrier_rate.rb
|
315
|
+
- app/models/logistics/core/cargo_detail.rb
|
316
|
+
- app/models/logistics/core/cargo_type.rb
|
317
|
+
- app/models/logistics/core/carrier.rb
|
318
|
+
- app/models/logistics/core/carrier_agent.rb
|
319
|
+
- app/models/logistics/core/carrier_type.rb
|
320
|
+
- app/models/logistics/core/chargeable_service.rb
|
321
|
+
- app/models/logistics/core/chargeable_service_increment.rb
|
322
|
+
- app/models/logistics/core/chargeable_service_type.rb
|
323
|
+
- app/models/logistics/core/chargeable_service_unit_of_charge.rb
|
324
|
+
- app/models/logistics/core/client.rb
|
325
|
+
- app/models/logistics/core/client_category.rb
|
326
|
+
- app/models/logistics/core/client_contract.rb
|
327
|
+
- app/models/logistics/core/common_document.rb
|
328
|
+
- app/models/logistics/core/communication_channel.rb
|
329
|
+
- app/models/logistics/core/container_arrangement.rb
|
330
|
+
- app/models/logistics/core/container_demurrage_rate.rb
|
331
|
+
- app/models/logistics/core/container_size.rb
|
332
|
+
- app/models/logistics/core/container_storage_rate.rb
|
333
|
+
- app/models/logistics/core/container_type.rb
|
334
|
+
- app/models/logistics/core/content_type.rb
|
335
|
+
- app/models/logistics/core/contract.rb
|
336
|
+
- app/models/logistics/core/contract_airway_bill_rate.rb
|
337
|
+
- app/models/logistics/core/contract_article_cpy.rb
|
338
|
+
- app/models/logistics/core/contract_bill_of_lading_rate.rb
|
339
|
+
- app/models/logistics/core/contract_break_bulk_unit_rate.rb
|
340
|
+
- app/models/logistics/core/contract_container_rate.rb
|
341
|
+
- app/models/logistics/core/contract_convoy_rate.rb
|
342
|
+
- app/models/logistics/core/contract_freight_ton_rate.rb
|
343
|
+
- app/models/logistics/core/contract_item_rate.rb
|
344
|
+
- app/models/logistics/core/contract_kilogram_minimum_rate.rb
|
345
|
+
- app/models/logistics/core/contract_kilogram_rate.rb
|
346
|
+
- app/models/logistics/core/contract_rate.rb
|
347
|
+
- app/models/logistics/core/contract_service.rb
|
348
|
+
- app/models/logistics/core/contract_truck_rate.rb
|
349
|
+
- app/models/logistics/core/contract_twenty_feet_equivalence_unit_rate.rb
|
350
|
+
- app/models/logistics/core/convoy_rate.rb
|
351
|
+
- app/models/logistics/core/country.rb
|
352
|
+
- app/models/logistics/core/currency.rb
|
353
|
+
- app/models/logistics/core/currency_rate.rb
|
354
|
+
- app/models/logistics/core/customs_office.rb
|
355
|
+
- app/models/logistics/core/customs_office_unit.rb
|
356
|
+
- app/models/logistics/core/customs_transport_tariff.rb
|
357
|
+
- app/models/logistics/core/declarant.rb
|
358
|
+
- app/models/logistics/core/declaration_type.rb
|
359
|
+
- app/models/logistics/core/delivery_term.rb
|
360
|
+
- app/models/logistics/core/demurrage_rate.rb
|
361
|
+
- app/models/logistics/core/demurrage_rate_period.rb
|
362
|
+
- app/models/logistics/core/document_type.rb
|
363
|
+
- app/models/logistics/core/document_type_category.rb
|
364
|
+
- app/models/logistics/core/document_type_origin.rb
|
365
|
+
- app/models/logistics/core/entry_point.rb
|
366
|
+
- app/models/logistics/core/equipment_service_rate.rb
|
367
|
+
- app/models/logistics/core/esl_transport_tariff.rb
|
368
|
+
- app/models/logistics/core/esl_transport_tariff_rate.rb
|
369
|
+
- app/models/logistics/core/extended_lookup.rb
|
370
|
+
- app/models/logistics/core/freight_ton_demurrage_rate.rb
|
371
|
+
- app/models/logistics/core/freight_ton_storage_rate.rb
|
372
|
+
- app/models/logistics/core/increment_rate.rb
|
373
|
+
- app/models/logistics/core/inter_city_route.rb
|
374
|
+
- app/models/logistics/core/item_rate.rb
|
375
|
+
- app/models/logistics/core/kilogram_minimum_rate.rb
|
376
|
+
- app/models/logistics/core/kilogram_rate.rb
|
377
|
+
- app/models/logistics/core/lookup.rb
|
378
|
+
- app/models/logistics/core/offer_request.rb
|
379
|
+
- app/models/logistics/core/operation.rb
|
380
|
+
- app/models/logistics/core/operation_document.rb
|
381
|
+
- app/models/logistics/core/operation_summary.rb
|
382
|
+
- app/models/logistics/core/operation_type.rb
|
383
|
+
- app/models/logistics/core/out_of_gauge_bb_rate.rb
|
384
|
+
- app/models/logistics/core/out_of_gauge_cnt_rate.rb
|
385
|
+
- app/models/logistics/core/payment_term.rb
|
386
|
+
- app/models/logistics/core/reference_number.rb
|
387
|
+
- app/models/logistics/core/required_document.rb
|
388
|
+
- app/models/logistics/core/review_note.rb
|
389
|
+
- app/models/logistics/core/route.rb
|
390
|
+
- app/models/logistics/core/route_lookup.rb
|
391
|
+
- app/models/logistics/core/route_rate.rb
|
392
|
+
- app/models/logistics/core/self_driving_rate.rb
|
393
|
+
- app/models/logistics/core/service_delivery_unit.rb
|
394
|
+
- app/models/logistics/core/service_delivery_unit_chargeable_service.rb
|
395
|
+
- app/models/logistics/core/service_delivery_unit_service.rb
|
396
|
+
- app/models/logistics/core/service_delivery_unit_type.rb
|
397
|
+
- app/models/logistics/core/service_increment.rb
|
398
|
+
- app/models/logistics/core/service_rate.rb
|
399
|
+
- app/models/logistics/core/special_increment_container_rate.rb
|
400
|
+
- app/models/logistics/core/special_increment_content_rate.rb
|
401
|
+
- app/models/logistics/core/standard_remark.rb
|
402
|
+
- app/models/logistics/core/transaction_type.rb
|
403
|
+
- app/models/logistics/core/transport_modality.rb
|
404
|
+
- app/models/logistics/core/transport_mode.rb
|
405
|
+
- app/models/logistics/core/transport_rate_period.rb
|
406
|
+
- app/models/logistics/core/transport_service_type.rb
|
407
|
+
- app/models/logistics/core/transporter.rb
|
408
|
+
- app/models/logistics/core/truck_rate.rb
|
409
|
+
- app/models/logistics/core/truck_type_assignment.rb
|
410
|
+
- app/models/logistics/core/truck_type_bb_weight_range.rb
|
411
|
+
- app/models/logistics/core/truck_type_cnt_weight_range.rb
|
412
|
+
- app/models/logistics/core/twenty_feet_equivalence_ratio.rb
|
413
|
+
- app/models/logistics/core/twenty_foot_equivalence_unit_rate.rb
|
414
|
+
- app/models/logistics/core/unit.rb
|
415
|
+
- app/models/logistics/core/unit_of_charge.rb
|
416
|
+
- app/models/logistics/core/unit_type.rb
|
417
|
+
- app/models/logistics/core/warehouse.rb
|
418
|
+
- app/models/logistics/core/warehouse_rate_period.rb
|
419
|
+
- app/models/logistics/core/weight_range.rb
|
420
|
+
- app/models/logistics/core/within_city_route.rb
|
421
|
+
- app/serializers/logistics/core/additional_document_serializer.rb
|
422
|
+
- app/serializers/logistics/core/agency_permit_document_serializer.rb
|
423
|
+
- app/serializers/logistics/core/agency_serializer.rb
|
424
|
+
- app/serializers/logistics/core/chargeable_service_unit_of_charge_serializer.rb
|
425
|
+
- app/serializers/logistics/core/client_serializer.rb
|
426
|
+
- app/serializers/logistics/core/common_document_serializer.rb
|
427
|
+
- app/serializers/logistics/core/contract_kilogram_minimum_rate_serializer.rb
|
428
|
+
- app/serializers/logistics/core/contract_serializer.rb
|
429
|
+
- app/serializers/logistics/core/contract_service_serializer.rb
|
430
|
+
- app/serializers/logistics/core/customs_transport_tariff_serializer.rb
|
431
|
+
- app/serializers/logistics/core/declaration_type_serializer.rb
|
432
|
+
- app/serializers/logistics/core/document_type_serializer.rb
|
433
|
+
- app/serializers/logistics/core/esl_transport_tariff_rate_serializer.rb
|
434
|
+
- app/serializers/logistics/core/esl_transport_tariff_serializer.rb
|
435
|
+
- app/serializers/logistics/core/kilogram_minimum_rate_serializer.rb
|
436
|
+
- app/serializers/logistics/core/offer_request_serializer.rb
|
437
|
+
- app/serializers/logistics/core/operation_document_serializer.rb
|
438
|
+
- app/serializers/logistics/core/operation_serializer.rb
|
439
|
+
- app/serializers/logistics/core/required_document_serializer.rb
|
440
|
+
- app/serializers/logistics/core/route_serializer.rb
|
441
|
+
- app/serializers/logistics/core/unit_serializer.rb
|
442
|
+
- app/services/logistics/core/additional_document_service.rb
|
443
|
+
- app/services/logistics/core/base_service.rb
|
444
|
+
- app/services/logistics/core/operation_service.rb
|
445
|
+
- app/services/logistics/core/service_delivery_unit_service_service.rb
|
446
|
+
- app/services/logistics/core/unit_service.rb
|
447
|
+
- app/uploaders/logistics/core/document_uploader.rb
|
448
|
+
- app/views/logistics/core/currency/create.html.erb
|
449
|
+
- app/views/logistics/core/currency/index.html.erb
|
450
|
+
- app/views/logistics/core/currency/update.html.erb
|
451
|
+
- config/routes.rb
|
452
|
+
- db/migrate/20161002133309_create_logistics_core_lookups.rb
|
453
|
+
- db/migrate/20161020024330_create_logistics_core_extended_lookups.rb
|
454
|
+
- db/migrate/20161030080258_create_logistics_core_container_types.rb
|
455
|
+
- db/migrate/20161030174719_create_logistics_currency_rates.rb
|
456
|
+
- db/migrate/20161030174722_create_logistics_core_units.rb
|
457
|
+
- db/migrate/20161031025945_create_logistics_core_service_delivery_units.rb
|
458
|
+
- db/migrate/20161031043800_create_logistics_core_chargeable_services.rb
|
459
|
+
- db/migrate/20161031135612_create_service_delivery_unit_chargeable_services.rb
|
460
|
+
- db/migrate/20161102022717_create_logistics_core_clients.rb
|
461
|
+
- db/migrate/20161102031216_create_logistics_core_customs_offices.rb
|
462
|
+
- db/migrate/20161103000353_create_logistics_core_operations.rb
|
463
|
+
- db/migrate/20170105124619_create_logistics_core_chargeable_service_unit_of_charges.rb
|
464
|
+
- db/migrate/20170105130002_create_logistics_core_service_increments.rb
|
465
|
+
- db/migrate/20170105130643_create_logistics_core_increment_rates.rb
|
466
|
+
- db/migrate/20170105131735_create_logistics_core_addendums.rb
|
467
|
+
- db/migrate/20170106065640_create_logistics_core_agents.rb
|
468
|
+
- db/migrate/20170106070418_create_logistics_core_carriers.rb
|
469
|
+
- db/migrate/20170106071022_create_logistics_core_carrier_agents.rb
|
470
|
+
- db/migrate/20170106071918_create_logistics_core_air_cargo_limits.rb
|
471
|
+
- db/migrate/20170106081736_create_logistics_core_air_volume_factors.rb
|
472
|
+
- db/migrate/20170106082456_create_logistics_core_airway_bill_rates.rb
|
473
|
+
- db/migrate/20170106084427_create_logistics_core_demurrage_rate_periods.rb
|
474
|
+
- db/migrate/20170106085210_create_logistics_core_demurrage_rates.rb
|
475
|
+
- db/migrate/20170106091415_create_logistics_core_break_bulk_demurrage_rates.rb
|
476
|
+
- db/migrate/20170106103912_create_logistics_core_warehouses.rb
|
477
|
+
- db/migrate/20170106104810_create_logistics_core_warehouse_rate_periods.rb
|
478
|
+
- db/migrate/20170106105218_create_logistics_core_break_bulk_storage_rates.rb
|
479
|
+
- db/migrate/20170106111420_create_logistics_core_container_storage_rates.rb
|
480
|
+
- db/migrate/20170106121022_create_logistics_core_break_bulk_rates.rb
|
481
|
+
- db/migrate/20170106122219_create_logistics_core_break_bulk_truck_assignments.rb
|
482
|
+
- db/migrate/20170106122629_create_logistics_core_weight_ranges.rb
|
483
|
+
- db/migrate/20170106122944_create_logistics_core_truck_type_bb_weight_ranges.rb
|
484
|
+
- db/migrate/20170106123918_create_logistics_core_break_bulk_unit_rates.rb
|
485
|
+
- db/migrate/20170107052127_create_logistics_core_broad_gauge_bbs.rb
|
486
|
+
- db/migrate/20170107052954_create_logistics_core_broad_gauge_cnts.rb
|
487
|
+
- db/migrate/20170107055337_create_logistics_core_service_delivery_unit_services.rb
|
488
|
+
- db/migrate/20170107060238_create_logistics_core_special_increment_content_rates.rb
|
489
|
+
- db/migrate/20170107061008_create_logistics_core_special_increment_container_rates.rb
|
490
|
+
- db/migrate/20170107084652_create_logistics_core_truck_rates.rb
|
491
|
+
- db/migrate/20170107090011_create_logistics_core_chargeable_service_increments.rb
|
492
|
+
- db/migrate/20170107102732_create_logistics_core_service_rates.rb
|
493
|
+
- db/migrate/20170107104554_create_logistics_core_container_demurrage_rates.rb
|
494
|
+
- db/migrate/20170109144534_create_logistics_core_routes.rb
|
495
|
+
- db/migrate/20170109150011_create_logistics_core_transport_rate_periods.rb
|
496
|
+
- db/migrate/20170109150613_create_logistics_core_transporters.rb
|
497
|
+
- db/migrate/20170109151927_create_logistics_core_route_rates.rb
|
498
|
+
- db/migrate/20170110145337_create_logistics_core_car_carrier_rates.rb
|
499
|
+
- db/migrate/20170110184849_create_logistics_core_offer_requests.rb
|
500
|
+
- db/migrate/20170111061530_create_logistics_core_client_contracts.rb
|
501
|
+
- db/migrate/20170111113802_create_logistics_core_contract_rates.rb
|
502
|
+
- db/migrate/20170111122934_create_logistics_core_contract_break_bulk_unit_rates.rb
|
503
|
+
- db/migrate/20170111133122_create_logistics_core_contract_container_rates.rb
|
504
|
+
- db/migrate/20170111134003_create_logistics_core_contract_item_rates.rb
|
505
|
+
- db/migrate/20170112014645_create_logistics_core_contract_kilogram_rates.rb
|
506
|
+
- db/migrate/20170112015140_create_logistics_core_convoy_rates.rb
|
507
|
+
- db/migrate/20170112015822_create_logistics_core_bill_of_lading_rates.rb
|
508
|
+
- db/migrate/20170112020522_create_logistics_core_freight_ton_demurrage_rates.rb
|
509
|
+
- db/migrate/20170112061446_create_logistics_core_out_of_gauge_bb_rates.rb
|
510
|
+
- db/migrate/20170112061530_create_logistics_core_out_of_gauge_cnt_rates.rb
|
511
|
+
- db/migrate/20170112113158_create_logistics_core_self_driving_rates.rb
|
512
|
+
- db/migrate/20170112115616_create_logistics_core_twenty_foot_equivalence_unit_rates.rb
|
513
|
+
- db/migrate/20170112120350_create_logistics_core_kilogram_rates.rb
|
514
|
+
- db/migrate/20170112121123_create_logistics_core_item_rates.rb
|
515
|
+
- db/migrate/20170113134408_create_logistics_core_freight_ton_storage_rates.rb
|
516
|
+
- db/migrate/20170113135406_create_logistics_core_truck_type_assignments.rb
|
517
|
+
- db/migrate/20170113135902_create_logistics_core_truck_type_cnt_weight_ranges.rb
|
518
|
+
- db/migrate/20170113140429_create_logistics_core_twenty_feet_equivalence_ratios.rb
|
519
|
+
- db/migrate/20170113141905_create_logistics_core_equipment_service_rates.rb
|
520
|
+
- db/migrate/20170125073344_create_logistics_core_reference_numbers.rb
|
521
|
+
- db/migrate/20170126151323_create_logistics_core_cargo_details.rb
|
522
|
+
- db/migrate/20170127110151_create_logistics_core_review_notes.rb
|
523
|
+
- db/migrate/20170127145635_create_logistics_core_break_bulk_cargo_details.rb
|
524
|
+
- db/migrate/20170210095423_create_logistics_core_contract_article_cpies.rb
|
525
|
+
- db/migrate/20170212094941_add_column_expiry_date_to_client_contract.rb
|
526
|
+
- db/migrate/20170225094958_move_fields_from_operation_to_offer_request.rb
|
527
|
+
- db/migrate/20170308115210_create_logistics_core_contracts.rb
|
528
|
+
- db/migrate/20170309082108_add_contract_to_rate_table.rb
|
529
|
+
- db/migrate/20170310060510_create_logistics_core_declaration_types.rb
|
530
|
+
- db/migrate/20170310064056_create_logistics_core_customs_transport_tariffs.rb
|
531
|
+
- db/migrate/20170310074326_create_logistics_core_esl_transport_tariffs.rb
|
532
|
+
- db/migrate/20170310080233_create_logistics_core_esl_transport_tariff_rates.rb
|
533
|
+
- db/migrate/20170310083816_create_logistics_core_declarants.rb
|
534
|
+
- db/migrate/20170310091809_move_operation_detail_fields_to_operation.rb
|
535
|
+
- db/migrate/20170310100409_add_references_to_moved_objects.rb
|
536
|
+
- db/migrate/20170311181823_add_foreign_key_to_offer_request.rb
|
537
|
+
- db/migrate/20170313052748_create_logistics_core_operation_documents.rb
|
538
|
+
- db/migrate/20170321114843_create_logistics_core_operation_summaries.rb
|
539
|
+
- db/migrate/20170323145048_create_logistics_core_document_types.rb
|
540
|
+
- db/migrate/20170324064145_create_logistics_core_common_documents.rb
|
541
|
+
- db/migrate/20170324081651_create_logistics_core_additional_documents.rb
|
542
|
+
- db/migrate/20170324215913_add_number_of_truck_to_cargo_detail.rb
|
543
|
+
- db/migrate/20170326123612_create_logistics_core_agencies.rb
|
544
|
+
- db/migrate/20170327232737_create_logistics_core_agency_permit_documents.rb
|
545
|
+
- db/migrate/20170420091814_add_tasks_generated_field.rb
|
546
|
+
- db/migrate/20170425133404_add_owner_id_to_operation.rb
|
547
|
+
- db/migrate/20170819134501_create_logistics_core_required_documents.rb
|
548
|
+
- db/migrate/20171013052226_add_chargeable_service_to_kg_rate.rb
|
549
|
+
- db/migrate/20171014021659_create_logistics_core_kilogram_minimum_rates.rb
|
550
|
+
- db/migrate/20171014021800_create_logistics_core_contract_kilogram_minimum_rates.rb
|
551
|
+
- db/migrate/20181006131541_add_file_field_to_operation_document.rb
|
552
|
+
- db/migrate/20181227061223_add_code_to_client.rb
|
553
|
+
- db/migrate/20182316064849_add_applicable_to_chargeable_service.rb
|
554
|
+
- db/migrate/20182316101834_create_logistics_core_contract_services.rb
|
555
|
+
- db/migrate/20190814145804_add_client_reference_to_operation.rb
|
556
|
+
- db/migrate/20191226132714_add_user_to_operation_document.rb
|
557
|
+
- db/migrate/20191228081951_create_logistics_core_standard_remarks.rb
|
558
|
+
- db/migrate/20200320085930_add_date_accepted_to_operation_documents.rb
|
559
|
+
- lib/logistics/core.rb
|
560
|
+
- lib/logistics/core/engine.rb
|
561
|
+
- lib/logistics/core/version.rb
|
562
|
+
- lib/logistics_core.rb
|
563
|
+
- lib/tasks/logistics_core_tasks.rake
|
564
|
+
- spec/common/lookup_spec.rb
|
565
|
+
- spec/controllers/logistics/core/acquisition_modes_controller_spec.rb
|
566
|
+
- spec/controllers/logistics/core/additional_documents_controller_spec.rb
|
567
|
+
- spec/controllers/logistics/core/agencies_controller_spec.rb
|
568
|
+
- spec/controllers/logistics/core/agency_categories_controller_spec.rb
|
569
|
+
- spec/controllers/logistics/core/agency_permit_documents_controller_spec.rb
|
570
|
+
- spec/controllers/logistics/core/break_bulk_truck_assignments_controller_spec.rb
|
571
|
+
- spec/controllers/logistics/core/break_bulk_units_controller_spec.rb
|
572
|
+
- spec/controllers/logistics/core/broad_gauge_bbs_controller_spec.rb
|
573
|
+
- spec/controllers/logistics/core/broad_gauge_cnts_controller_spec.rb
|
574
|
+
- spec/controllers/logistics/core/car_carrier_rates_controller_spec.rb
|
575
|
+
- spec/controllers/logistics/core/chargeable_services_controller_spec.rb
|
576
|
+
- spec/controllers/logistics/core/client_categories_controller_spec.rb
|
577
|
+
- spec/controllers/logistics/core/clients_controller_spec.rb
|
578
|
+
- spec/controllers/logistics/core/common_documents_controller_spec.rb
|
579
|
+
- spec/controllers/logistics/core/container_arrangements_controller_spec.rb
|
580
|
+
- spec/controllers/logistics/core/container_sizes_controller_spec.rb
|
581
|
+
- spec/controllers/logistics/core/container_types_controller_spec.rb
|
582
|
+
- spec/controllers/logistics/core/contract_services_controller_spec.rb
|
583
|
+
- spec/controllers/logistics/core/countries_controller_spec.rb
|
584
|
+
- spec/controllers/logistics/core/currencies_controller_spec.rb
|
585
|
+
- spec/controllers/logistics/core/currency_rates_controller_spec.rb
|
586
|
+
- spec/controllers/logistics/core/customs_office_units_controller_spec.rb
|
587
|
+
- spec/controllers/logistics/core/customs_offices_controller_spec.rb
|
588
|
+
- spec/controllers/logistics/core/customs_transport_tariffs_controller_spec.rb
|
589
|
+
- spec/controllers/logistics/core/declarants_controller_spec.rb
|
590
|
+
- spec/controllers/logistics/core/declaration_types_controller_spec.rb
|
591
|
+
- spec/controllers/logistics/core/delivery_terms_controller_spec.rb
|
592
|
+
- spec/controllers/logistics/core/document_type_categories_controller_spec.rb
|
593
|
+
- spec/controllers/logistics/core/document_type_origins_controller_spec.rb
|
594
|
+
- spec/controllers/logistics/core/document_types_controller_spec.rb
|
595
|
+
- spec/controllers/logistics/core/entry_points_controller_spec.rb
|
596
|
+
- spec/controllers/logistics/core/esl_transport_tariff_rates_controller_spec.rb
|
597
|
+
- spec/controllers/logistics/core/esl_transport_tariffs_controller_spec.rb
|
598
|
+
- spec/controllers/logistics/core/operation_documents_controller_spec.rb
|
599
|
+
- spec/controllers/logistics/core/operation_types_controller_spec.rb
|
600
|
+
- spec/controllers/logistics/core/operations_controller_spec.rb
|
601
|
+
- spec/controllers/logistics/core/out_of_gauge_bb_rates_controller_spec.rb
|
602
|
+
- spec/controllers/logistics/core/out_of_gauge_cnt_rates_controller_spec.rb
|
603
|
+
- spec/controllers/logistics/core/payment_terms_controller_spec.rb
|
604
|
+
- spec/controllers/logistics/core/required_documents_controller_spec.rb
|
605
|
+
- spec/controllers/logistics/core/route_lookups_controller_spec.rb
|
606
|
+
- spec/controllers/logistics/core/route_rates_controller_spec.rb
|
607
|
+
- spec/controllers/logistics/core/routes_controller_spec.rb
|
608
|
+
- spec/controllers/logistics/core/self_driving_rates_controller_spec.rb
|
609
|
+
- spec/controllers/logistics/core/service_delivery_unit_types_controller_spec.rb
|
610
|
+
- spec/controllers/logistics/core/service_delivery_units_controller_spec.rb
|
611
|
+
- spec/controllers/logistics/core/transaction_types_controller_spec.rb
|
612
|
+
- spec/controllers/logistics/core/transport_modes_controller_spec.rb
|
613
|
+
- spec/controllers/logistics/core/transport_rate_periods_controller_spec.rb
|
614
|
+
- spec/controllers/logistics/core/transporters_controller_spec.rb
|
615
|
+
- spec/controllers/logistics/core/truck_type_assignments_controller_spec.rb
|
616
|
+
- spec/controllers/logistics/core/truck_type_bb_weight_ranges_controller_spec.rb
|
617
|
+
- spec/controllers/logistics/core/truck_type_cnt_weight_ranges_controller_spec.rb
|
618
|
+
- spec/controllers/logistics/core/unit_of_charges_controller_spec.rb
|
619
|
+
- spec/controllers/logistics/core/unit_types_controller_spec.rb
|
620
|
+
- spec/controllers/logistics/core/units_controller_spec.rb
|
621
|
+
- spec/controllers/logistics/core/weight_ranges_controller_spec.rb
|
622
|
+
- spec/dummy/Rakefile
|
623
|
+
- spec/dummy/app/assets/config/manifest.js
|
624
|
+
- spec/dummy/app/assets/javascripts/application.js
|
625
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
626
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
627
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
628
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
629
|
+
- spec/dummy/app/controllers/application_controller.rb
|
630
|
+
- spec/dummy/app/helpers/application_helper.rb
|
631
|
+
- spec/dummy/app/jobs/application_job.rb
|
632
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
633
|
+
- spec/dummy/app/models/application_record.rb
|
634
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
635
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
636
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
637
|
+
- spec/dummy/bin/bundle
|
638
|
+
- spec/dummy/bin/rails
|
639
|
+
- spec/dummy/bin/rake
|
640
|
+
- spec/dummy/bin/setup
|
641
|
+
- spec/dummy/bin/update
|
642
|
+
- spec/dummy/config.ru
|
643
|
+
- spec/dummy/config/application.rb
|
644
|
+
- spec/dummy/config/boot.rb
|
645
|
+
- spec/dummy/config/cable.yml
|
646
|
+
- spec/dummy/config/environment.rb
|
647
|
+
- spec/dummy/config/environments/development.rb
|
648
|
+
- spec/dummy/config/environments/production.rb
|
649
|
+
- spec/dummy/config/environments/test.rb
|
650
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
651
|
+
- spec/dummy/config/initializers/assets.rb
|
652
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
653
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
654
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
655
|
+
- spec/dummy/config/initializers/inflections.rb
|
656
|
+
- spec/dummy/config/initializers/mime_types.rb
|
657
|
+
- spec/dummy/config/initializers/new_framework_defaults.rb
|
658
|
+
- spec/dummy/config/initializers/session_store.rb
|
659
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
660
|
+
- spec/dummy/config/locales/en.yml
|
661
|
+
- spec/dummy/config/puma.rb
|
662
|
+
- spec/dummy/config/routes.rb
|
663
|
+
- spec/dummy/config/secrets.yml
|
664
|
+
- spec/dummy/config/spring.rb
|
665
|
+
- spec/dummy/db/schema.rb
|
666
|
+
- spec/dummy/public/404.html
|
667
|
+
- spec/dummy/public/422.html
|
668
|
+
- spec/dummy/public/500.html
|
669
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
670
|
+
- spec/dummy/public/apple-touch-icon.png
|
671
|
+
- spec/dummy/public/favicon.ico
|
672
|
+
- spec/factories/acquisition_modes.rb
|
673
|
+
- spec/factories/addendums.rb
|
674
|
+
- spec/factories/additional_documents.rb
|
675
|
+
- spec/factories/agencies.rb
|
676
|
+
- spec/factories/agency_categories.rb
|
677
|
+
- spec/factories/agency_permit_documents.rb
|
678
|
+
- spec/factories/agents.rb
|
679
|
+
- spec/factories/air_cargo_limits.rb
|
680
|
+
- spec/factories/air_volume_factors.rb
|
681
|
+
- spec/factories/airway_bill_rates.rb
|
682
|
+
- spec/factories/bill_of_lading_rates.rb
|
683
|
+
- spec/factories/break_bulk_cargo_details.rb
|
684
|
+
- spec/factories/break_bulk_demurrage_rates.rb
|
685
|
+
- spec/factories/break_bulk_rates.rb
|
686
|
+
- spec/factories/break_bulk_storage_rates.rb
|
687
|
+
- spec/factories/break_bulk_truck_assignments.rb
|
688
|
+
- spec/factories/break_bulk_unit_rates.rb
|
689
|
+
- spec/factories/break_bulk_units.rb
|
690
|
+
- spec/factories/broad_gauge_bbs.rb
|
691
|
+
- spec/factories/broad_gauge_cnts.rb
|
692
|
+
- spec/factories/car_carrier_rates.rb
|
693
|
+
- spec/factories/cargo_details.rb
|
694
|
+
- spec/factories/cargo_types.rb
|
695
|
+
- spec/factories/carrier_agents.rb
|
696
|
+
- spec/factories/carrier_types.rb
|
697
|
+
- spec/factories/carriers.rb
|
698
|
+
- spec/factories/chargeable_service_increments.rb
|
699
|
+
- spec/factories/chargeable_service_types.rb
|
700
|
+
- spec/factories/chargeable_service_unit_of_charges.rb
|
701
|
+
- spec/factories/chargeable_services.rb
|
702
|
+
- spec/factories/client_categories.rb
|
703
|
+
- spec/factories/client_contracts.rb
|
704
|
+
- spec/factories/clients.rb
|
705
|
+
- spec/factories/common_documents.rb
|
706
|
+
- spec/factories/communication_channels.rb
|
707
|
+
- spec/factories/container_arrangements.rb
|
708
|
+
- spec/factories/container_demurrage_rates.rb
|
709
|
+
- spec/factories/container_sizes.rb
|
710
|
+
- spec/factories/container_storage_rates.rb
|
711
|
+
- spec/factories/container_types.rb
|
712
|
+
- spec/factories/content_types.rb
|
713
|
+
- spec/factories/contract.rb
|
714
|
+
- spec/factories/contract_airway_bill_rates.rb
|
715
|
+
- spec/factories/contract_bill_of_lading_rates.rb
|
716
|
+
- spec/factories/contract_break_bulk_unit_rates.rb
|
717
|
+
- spec/factories/contract_container_rates.rb
|
718
|
+
- spec/factories/contract_convoy_rates.rb
|
719
|
+
- spec/factories/contract_freight_ton_rates.rb
|
720
|
+
- spec/factories/contract_item_rates.rb
|
721
|
+
- spec/factories/contract_kilogram_rates.rb
|
722
|
+
- spec/factories/contract_rates.rb
|
723
|
+
- spec/factories/convoy_rates.rb
|
724
|
+
- spec/factories/countries.rb
|
725
|
+
- spec/factories/currencies.rb
|
726
|
+
- spec/factories/currency_rates.rb
|
727
|
+
- spec/factories/customs_office_units.rb
|
728
|
+
- spec/factories/customs_offices.rb
|
729
|
+
- spec/factories/customs_transport_tariffs.rb
|
730
|
+
- spec/factories/declarants.rb
|
731
|
+
- spec/factories/declaration_types.rb
|
732
|
+
- spec/factories/delivery_terms.rb
|
733
|
+
- spec/factories/demurrage_rate_periods.rb
|
734
|
+
- spec/factories/demurrage_rates.rb
|
735
|
+
- spec/factories/document_type_categories.rb
|
736
|
+
- spec/factories/document_type_origins.rb
|
737
|
+
- spec/factories/document_types.rb
|
738
|
+
- spec/factories/entry_points.rb
|
739
|
+
- spec/factories/equipment_service_rates.rb
|
740
|
+
- spec/factories/esl_transport_tariff_rates.rb
|
741
|
+
- spec/factories/esl_transport_tariffs.rb
|
742
|
+
- spec/factories/extended_lookups.rb
|
743
|
+
- spec/factories/freight_ton_demurrage_rates.rb
|
744
|
+
- spec/factories/freight_ton_storage_rates.rb
|
745
|
+
- spec/factories/increment_rates.rb
|
746
|
+
- spec/factories/inter_city_routes.rb
|
747
|
+
- spec/factories/item_rates.rb
|
748
|
+
- spec/factories/kilogram_rates.rb
|
749
|
+
- spec/factories/logistics_core_contract_services.rb
|
750
|
+
- spec/factories/lookups.rb
|
751
|
+
- spec/factories/offer_requests.rb
|
752
|
+
- spec/factories/operation_documents.rb
|
753
|
+
- spec/factories/operation_summaries.rb
|
754
|
+
- spec/factories/operation_types.rb
|
755
|
+
- spec/factories/operations.rb
|
756
|
+
- spec/factories/out_of_gauge_bb_rates.rb
|
757
|
+
- spec/factories/out_of_gauge_cnt_rates.rb
|
758
|
+
- spec/factories/payment_terms.rb
|
759
|
+
- spec/factories/required_documents.rb
|
760
|
+
- spec/factories/route_lookups.rb
|
761
|
+
- spec/factories/route_rates.rb
|
762
|
+
- spec/factories/routes.rb
|
763
|
+
- spec/factories/self_driving_rates.rb
|
764
|
+
- spec/factories/service_delivery_unit_services.rb
|
765
|
+
- spec/factories/service_delivery_unit_types.rb
|
766
|
+
- spec/factories/service_delivery_units.rb
|
767
|
+
- spec/factories/service_increments.rb
|
768
|
+
- spec/factories/service_rates.rb
|
769
|
+
- spec/factories/special_increment_container_rates.rb
|
770
|
+
- spec/factories/special_increment_content_rates.rb
|
771
|
+
- spec/factories/transaction_types.rb
|
772
|
+
- spec/factories/transport_modes.rb
|
773
|
+
- spec/factories/transport_rate_periods.rb
|
774
|
+
- spec/factories/transport_service_types.rb
|
775
|
+
- spec/factories/transporters.rb
|
776
|
+
- spec/factories/truck_rates.rb
|
777
|
+
- spec/factories/truck_type_assignments.rb
|
778
|
+
- spec/factories/truck_type_bb_weight_ranges.rb
|
779
|
+
- spec/factories/truck_type_cnt_weight_ranges.rb
|
780
|
+
- spec/factories/twenty_feet_equivalence_ratios.rb
|
781
|
+
- spec/factories/twenty_foot_equivalence_unit_rates.rb
|
782
|
+
- spec/factories/unit_of_charges.rb
|
783
|
+
- spec/factories/unit_types.rb
|
784
|
+
- spec/factories/units.rb
|
785
|
+
- spec/factories/warehouse_rate_periods.rb
|
786
|
+
- spec/factories/warehouses.rb
|
787
|
+
- spec/factories/weight_ranges.rb
|
788
|
+
- spec/factories/within_city_routes.rb
|
789
|
+
- spec/models/logistics/core/acquisition_mode_spec.rb
|
790
|
+
- spec/models/logistics/core/addendum_spec.rb
|
791
|
+
- spec/models/logistics/core/additional_document_spec.rb
|
792
|
+
- spec/models/logistics/core/agency_category_spec.rb
|
793
|
+
- spec/models/logistics/core/agency_permit_document_spec.rb
|
794
|
+
- spec/models/logistics/core/agency_spec.rb
|
795
|
+
- spec/models/logistics/core/agent_spec.rb
|
796
|
+
- spec/models/logistics/core/air_cargo_limit_spec.rb
|
797
|
+
- spec/models/logistics/core/air_volume_factor_spec.rb
|
798
|
+
- spec/models/logistics/core/airway_bill_rate_spec.rb
|
799
|
+
- spec/models/logistics/core/bill_of_lading_rate_spec.rb
|
800
|
+
- spec/models/logistics/core/break_bulk_demurrage_rate_spec.rb
|
801
|
+
- spec/models/logistics/core/break_bulk_rate_spec.rb
|
802
|
+
- spec/models/logistics/core/break_bulk_storage_rate_spec.rb
|
803
|
+
- spec/models/logistics/core/break_bulk_truck_assignment_spec.rb
|
804
|
+
- spec/models/logistics/core/break_bulk_unit_rate_spec.rb
|
805
|
+
- spec/models/logistics/core/break_bulk_unit_spec.rb
|
806
|
+
- spec/models/logistics/core/broad_gauge_bb_spec.rb
|
807
|
+
- spec/models/logistics/core/broad_gauge_cnt_spec.rb
|
808
|
+
- spec/models/logistics/core/car_carrier_rate_spec.rb
|
809
|
+
- spec/models/logistics/core/cargo_detail_spec.rb
|
810
|
+
- spec/models/logistics/core/cargo_type_spec.rb
|
811
|
+
- spec/models/logistics/core/carrier_agent_spec.rb
|
812
|
+
- spec/models/logistics/core/carrier_spec.rb
|
813
|
+
- spec/models/logistics/core/carrier_type_spec.rb
|
814
|
+
- spec/models/logistics/core/chargeable_service_increment_spec.rb
|
815
|
+
- spec/models/logistics/core/chargeable_service_spec.rb
|
816
|
+
- spec/models/logistics/core/chargeable_service_type_spec.rb
|
817
|
+
- spec/models/logistics/core/chargeable_service_unit_of_charge_spec.rb
|
818
|
+
- spec/models/logistics/core/client_category_spec.rb
|
819
|
+
- spec/models/logistics/core/client_contract_spec.rb
|
820
|
+
- spec/models/logistics/core/client_spec.rb
|
821
|
+
- spec/models/logistics/core/common_document_spec.rb
|
822
|
+
- spec/models/logistics/core/communication_channel_spec.rb
|
823
|
+
- spec/models/logistics/core/container_arrangement_spec.rb
|
824
|
+
- spec/models/logistics/core/container_demurrage_rate_spec.rb
|
825
|
+
- spec/models/logistics/core/container_size_spec.rb
|
826
|
+
- spec/models/logistics/core/container_storage_rate_spec.rb
|
827
|
+
- spec/models/logistics/core/container_type_spec.rb
|
828
|
+
- spec/models/logistics/core/content_type_spec.rb
|
829
|
+
- spec/models/logistics/core/contract_airway_bill_rate_spec.rb
|
830
|
+
- spec/models/logistics/core/contract_bill_of_lading_rate_spec.rb
|
831
|
+
- spec/models/logistics/core/contract_break_bulk_unit_rate_spec.rb
|
832
|
+
- spec/models/logistics/core/contract_container_rate_spec.rb
|
833
|
+
- spec/models/logistics/core/contract_convoy_rate_spec.rb
|
834
|
+
- spec/models/logistics/core/contract_freight_ton_rate_spec.rb
|
835
|
+
- spec/models/logistics/core/contract_item_rate_spec.rb
|
836
|
+
- spec/models/logistics/core/contract_kilogram_rate_spec.rb
|
837
|
+
- spec/models/logistics/core/contract_rate_spec.rb
|
838
|
+
- spec/models/logistics/core/contract_service_spec.rb
|
839
|
+
- spec/models/logistics/core/convoy_rate_spec.rb
|
840
|
+
- spec/models/logistics/core/country_spec.rb
|
841
|
+
- spec/models/logistics/core/currency_rate_spec.rb
|
842
|
+
- spec/models/logistics/core/currency_spec.rb
|
843
|
+
- spec/models/logistics/core/customs_office_spec.rb
|
844
|
+
- spec/models/logistics/core/customs_office_unit_spec.rb
|
845
|
+
- spec/models/logistics/core/customs_transport_tariff_spec.rb
|
846
|
+
- spec/models/logistics/core/declarant_spec.rb
|
847
|
+
- spec/models/logistics/core/declaration_type_spec.rb
|
848
|
+
- spec/models/logistics/core/delivery_term_spec.rb
|
849
|
+
- spec/models/logistics/core/demurrage_rate_period_spec.rb
|
850
|
+
- spec/models/logistics/core/demurrage_rate_spec.rb
|
851
|
+
- spec/models/logistics/core/document_type_category_spec.rb
|
852
|
+
- spec/models/logistics/core/document_type_origin_spec.rb
|
853
|
+
- spec/models/logistics/core/document_type_spec.rb
|
854
|
+
- spec/models/logistics/core/entry_point_spec.rb
|
855
|
+
- spec/models/logistics/core/equipment_service_rate_spec.rb
|
856
|
+
- spec/models/logistics/core/esl_transport_tariff_rate_spec.rb
|
857
|
+
- spec/models/logistics/core/esl_transport_tariff_spec.rb
|
858
|
+
- spec/models/logistics/core/extended_lookup_spec.rb
|
859
|
+
- spec/models/logistics/core/freight_ton_demurrage_rate_spec.rb
|
860
|
+
- spec/models/logistics/core/freight_ton_storage_rate_spec.rb
|
861
|
+
- spec/models/logistics/core/increment_rate_spec.rb
|
862
|
+
- spec/models/logistics/core/inter_city_route_spec.rb
|
863
|
+
- spec/models/logistics/core/item_rate_spec.rb
|
864
|
+
- spec/models/logistics/core/kilogram_rate_spec.rb
|
865
|
+
- spec/models/logistics/core/lookup_spec.rb
|
866
|
+
- spec/models/logistics/core/offer_request_spec.rb
|
867
|
+
- spec/models/logistics/core/operation_document_spec.rb
|
868
|
+
- spec/models/logistics/core/operation_spec.rb
|
869
|
+
- spec/models/logistics/core/operation_summary_spec.rb
|
870
|
+
- spec/models/logistics/core/operation_type_spec.rb
|
871
|
+
- spec/models/logistics/core/out_of_gauge_bb_rate_spec.rb
|
872
|
+
- spec/models/logistics/core/out_of_gauge_cnt_rate_spec.rb
|
873
|
+
- spec/models/logistics/core/payment_term_spec.rb
|
874
|
+
- spec/models/logistics/core/required_document_spec.rb
|
875
|
+
- spec/models/logistics/core/route_lookup_spec.rb
|
876
|
+
- spec/models/logistics/core/route_rate_spec.rb
|
877
|
+
- spec/models/logistics/core/route_spec.rb
|
878
|
+
- spec/models/logistics/core/self_driving_rate_spec.rb
|
879
|
+
- spec/models/logistics/core/service_delivery_unit_service_spec.rb
|
880
|
+
- spec/models/logistics/core/service_delivery_unit_spec.rb
|
881
|
+
- spec/models/logistics/core/service_delivery_unit_type_spec.rb
|
882
|
+
- spec/models/logistics/core/service_increment_spec.rb
|
883
|
+
- spec/models/logistics/core/service_rate_spec.rb
|
884
|
+
- spec/models/logistics/core/special_increment_container_rate_spec.rb
|
885
|
+
- spec/models/logistics/core/special_increment_content_rate_spec.rb
|
886
|
+
- spec/models/logistics/core/transaction_type_spec.rb
|
887
|
+
- spec/models/logistics/core/transport_mode_spec.rb
|
888
|
+
- spec/models/logistics/core/transport_rate_period_spec.rb
|
889
|
+
- spec/models/logistics/core/transporter_spec.rb
|
890
|
+
- spec/models/logistics/core/truck_rate_spec.rb
|
891
|
+
- spec/models/logistics/core/truck_type_assignment_spec.rb
|
892
|
+
- spec/models/logistics/core/truck_type_bb_weight_range_spec.rb
|
893
|
+
- spec/models/logistics/core/truck_type_cnt_weight_range_spec.rb
|
894
|
+
- spec/models/logistics/core/twenty_feet_equivalence_ratio_spec.rb
|
895
|
+
- spec/models/logistics/core/twenty_foot_equivalence_unit_rate_spec.rb
|
896
|
+
- spec/models/logistics/core/unit_of_charge_spec.rb
|
897
|
+
- spec/models/logistics/core/unit_spec.rb
|
898
|
+
- spec/models/logistics/core/unit_type_spec.rb
|
899
|
+
- spec/models/logistics/core/warehouse_rate_period_spec.rb
|
900
|
+
- spec/models/logistics/core/warehouse_spec.rb
|
901
|
+
- spec/models/logistics/core/weight_range_spec.rb
|
902
|
+
- spec/models/logistics/core/within_city_route_spec.rb
|
903
|
+
- spec/rails_helper.rb
|
904
|
+
- spec/route_helper.rb
|
905
|
+
- spec/routing/logistics/core/client_categories_routing_spec.rb
|
906
|
+
- spec/services/logistics/core/additional_document_service_spec.rb
|
907
|
+
- spec/services/logistics/core/operation_service_spec.rb
|
908
|
+
- spec/services/logistics/core/unit_service_spec.rb
|
909
|
+
- spec/spec_helper.rb
|
910
|
+
- spec/support/factory_girl.rb
|
911
|
+
homepage: http://www.mks.com.et
|
912
|
+
licenses:
|
913
|
+
- MIT
|
914
|
+
metadata: {}
|
915
|
+
post_install_message:
|
916
|
+
rdoc_options: []
|
917
|
+
require_paths:
|
918
|
+
- lib
|
919
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
920
|
+
requirements:
|
921
|
+
- - ">="
|
922
|
+
- !ruby/object:Gem::Version
|
923
|
+
version: '0'
|
924
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
925
|
+
requirements:
|
926
|
+
- - ">="
|
927
|
+
- !ruby/object:Gem::Version
|
928
|
+
version: '0'
|
929
|
+
requirements: []
|
930
|
+
rubygems_version: 3.0.3
|
931
|
+
signing_key:
|
932
|
+
specification_version: 4
|
933
|
+
summary: Core classes for MKS logistics apps
|
934
|
+
test_files:
|
935
|
+
- spec/spec_helper.rb
|
936
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
937
|
+
- spec/dummy/app/models/application_record.rb
|
938
|
+
- spec/dummy/app/jobs/application_job.rb
|
939
|
+
- spec/dummy/app/controllers/application_controller.rb
|
940
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
941
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
942
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
943
|
+
- spec/dummy/app/assets/config/manifest.js
|
944
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
945
|
+
- spec/dummy/app/assets/javascripts/application.js
|
946
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
947
|
+
- spec/dummy/app/helpers/application_helper.rb
|
948
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
949
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
950
|
+
- spec/dummy/bin/update
|
951
|
+
- spec/dummy/bin/rake
|
952
|
+
- spec/dummy/bin/setup
|
953
|
+
- spec/dummy/bin/bundle
|
954
|
+
- spec/dummy/bin/rails
|
955
|
+
- spec/dummy/config/secrets.yml
|
956
|
+
- spec/dummy/config/routes.rb
|
957
|
+
- spec/dummy/config/locales/en.yml
|
958
|
+
- spec/dummy/config/cable.yml
|
959
|
+
- spec/dummy/config/environments/production.rb
|
960
|
+
- spec/dummy/config/environments/development.rb
|
961
|
+
- spec/dummy/config/environments/test.rb
|
962
|
+
- spec/dummy/config/spring.rb
|
963
|
+
- spec/dummy/config/environment.rb
|
964
|
+
- spec/dummy/config/application.rb
|
965
|
+
- spec/dummy/config/puma.rb
|
966
|
+
- spec/dummy/config/boot.rb
|
967
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
968
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
969
|
+
- spec/dummy/config/initializers/mime_types.rb
|
970
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
971
|
+
- spec/dummy/config/initializers/session_store.rb
|
972
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
973
|
+
- spec/dummy/config/initializers/new_framework_defaults.rb
|
974
|
+
- spec/dummy/config/initializers/assets.rb
|
975
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
976
|
+
- spec/dummy/config/initializers/inflections.rb
|
977
|
+
- spec/dummy/config.ru
|
978
|
+
- spec/dummy/Rakefile
|
979
|
+
- spec/dummy/public/favicon.ico
|
980
|
+
- spec/dummy/public/422.html
|
981
|
+
- spec/dummy/public/apple-touch-icon.png
|
982
|
+
- spec/dummy/public/500.html
|
983
|
+
- spec/dummy/public/404.html
|
984
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
985
|
+
- spec/dummy/db/schema.rb
|
986
|
+
- spec/route_helper.rb
|
987
|
+
- spec/models/logistics/core/container_demurrage_rate_spec.rb
|
988
|
+
- spec/models/logistics/core/content_type_spec.rb
|
989
|
+
- spec/models/logistics/core/agency_spec.rb
|
990
|
+
- spec/models/logistics/core/broad_gauge_bb_spec.rb
|
991
|
+
- spec/models/logistics/core/air_cargo_limit_spec.rb
|
992
|
+
- spec/models/logistics/core/operation_document_spec.rb
|
993
|
+
- spec/models/logistics/core/contract_rate_spec.rb
|
994
|
+
- spec/models/logistics/core/contract_break_bulk_unit_rate_spec.rb
|
995
|
+
- spec/models/logistics/core/client_spec.rb
|
996
|
+
- spec/models/logistics/core/break_bulk_truck_assignment_spec.rb
|
997
|
+
- spec/models/logistics/core/truck_rate_spec.rb
|
998
|
+
- spec/models/logistics/core/service_delivery_unit_type_spec.rb
|
999
|
+
- spec/models/logistics/core/equipment_service_rate_spec.rb
|
1000
|
+
- spec/models/logistics/core/carrier_spec.rb
|
1001
|
+
- spec/models/logistics/core/break_bulk_storage_rate_spec.rb
|
1002
|
+
- spec/models/logistics/core/special_increment_content_rate_spec.rb
|
1003
|
+
- spec/models/logistics/core/contract_convoy_rate_spec.rb
|
1004
|
+
- spec/models/logistics/core/transporter_spec.rb
|
1005
|
+
- spec/models/logistics/core/car_carrier_rate_spec.rb
|
1006
|
+
- spec/models/logistics/core/country_spec.rb
|
1007
|
+
- spec/models/logistics/core/client_contract_spec.rb
|
1008
|
+
- spec/models/logistics/core/offer_request_spec.rb
|
1009
|
+
- spec/models/logistics/core/break_bulk_unit_spec.rb
|
1010
|
+
- spec/models/logistics/core/chargeable_service_increment_spec.rb
|
1011
|
+
- spec/models/logistics/core/truck_type_cnt_weight_range_spec.rb
|
1012
|
+
- spec/models/logistics/core/break_bulk_unit_rate_spec.rb
|
1013
|
+
- spec/models/logistics/core/contract_freight_ton_rate_spec.rb
|
1014
|
+
- spec/models/logistics/core/payment_term_spec.rb
|
1015
|
+
- spec/models/logistics/core/esl_transport_tariff_rate_spec.rb
|
1016
|
+
- spec/models/logistics/core/additional_document_spec.rb
|
1017
|
+
- spec/models/logistics/core/common_document_spec.rb
|
1018
|
+
- spec/models/logistics/core/air_volume_factor_spec.rb
|
1019
|
+
- spec/models/logistics/core/required_document_spec.rb
|
1020
|
+
- spec/models/logistics/core/service_delivery_unit_spec.rb
|
1021
|
+
- spec/models/logistics/core/document_type_spec.rb
|
1022
|
+
- spec/models/logistics/core/carrier_agent_spec.rb
|
1023
|
+
- spec/models/logistics/core/kilogram_rate_spec.rb
|
1024
|
+
- spec/models/logistics/core/currency_rate_spec.rb
|
1025
|
+
- spec/models/logistics/core/contract_kilogram_rate_spec.rb
|
1026
|
+
- spec/models/logistics/core/contract_item_rate_spec.rb
|
1027
|
+
- spec/models/logistics/core/agent_spec.rb
|
1028
|
+
- spec/models/logistics/core/convoy_rate_spec.rb
|
1029
|
+
- spec/models/logistics/core/unit_type_spec.rb
|
1030
|
+
- spec/models/logistics/core/break_bulk_demurrage_rate_spec.rb
|
1031
|
+
- spec/models/logistics/core/client_category_spec.rb
|
1032
|
+
- spec/models/logistics/core/cargo_type_spec.rb
|
1033
|
+
- spec/models/logistics/core/container_size_spec.rb
|
1034
|
+
- spec/models/logistics/core/customs_office_unit_spec.rb
|
1035
|
+
- spec/models/logistics/core/freight_ton_demurrage_rate_spec.rb
|
1036
|
+
- spec/models/logistics/core/freight_ton_storage_rate_spec.rb
|
1037
|
+
- spec/models/logistics/core/acquisition_mode_spec.rb
|
1038
|
+
- spec/models/logistics/core/special_increment_container_rate_spec.rb
|
1039
|
+
- spec/models/logistics/core/item_rate_spec.rb
|
1040
|
+
- spec/models/logistics/core/customs_office_spec.rb
|
1041
|
+
- spec/models/logistics/core/agency_category_spec.rb
|
1042
|
+
- spec/models/logistics/core/entry_point_spec.rb
|
1043
|
+
- spec/models/logistics/core/agency_permit_document_spec.rb
|
1044
|
+
- spec/models/logistics/core/unit_of_charge_spec.rb
|
1045
|
+
- spec/models/logistics/core/contract_airway_bill_rate_spec.rb
|
1046
|
+
- spec/models/logistics/core/chargeable_service_spec.rb
|
1047
|
+
- spec/models/logistics/core/inter_city_route_spec.rb
|
1048
|
+
- spec/models/logistics/core/document_type_origin_spec.rb
|
1049
|
+
- spec/models/logistics/core/chargeable_service_unit_of_charge_spec.rb
|
1050
|
+
- spec/models/logistics/core/container_storage_rate_spec.rb
|
1051
|
+
- spec/models/logistics/core/within_city_route_spec.rb
|
1052
|
+
- spec/models/logistics/core/contract_bill_of_lading_rate_spec.rb
|
1053
|
+
- spec/models/logistics/core/break_bulk_rate_spec.rb
|
1054
|
+
- spec/models/logistics/core/transport_rate_period_spec.rb
|
1055
|
+
- spec/models/logistics/core/service_rate_spec.rb
|
1056
|
+
- spec/models/logistics/core/warehouse_spec.rb
|
1057
|
+
- spec/models/logistics/core/out_of_gauge_cnt_rate_spec.rb
|
1058
|
+
- spec/models/logistics/core/transaction_type_spec.rb
|
1059
|
+
- spec/models/logistics/core/route_spec.rb
|
1060
|
+
- spec/models/logistics/core/truck_type_assignment_spec.rb
|
1061
|
+
- spec/models/logistics/core/bill_of_lading_rate_spec.rb
|
1062
|
+
- spec/models/logistics/core/currency_spec.rb
|
1063
|
+
- spec/models/logistics/core/out_of_gauge_bb_rate_spec.rb
|
1064
|
+
- spec/models/logistics/core/twenty_feet_equivalence_ratio_spec.rb
|
1065
|
+
- spec/models/logistics/core/customs_transport_tariff_spec.rb
|
1066
|
+
- spec/models/logistics/core/truck_type_bb_weight_range_spec.rb
|
1067
|
+
- spec/models/logistics/core/self_driving_rate_spec.rb
|
1068
|
+
- spec/models/logistics/core/increment_rate_spec.rb
|
1069
|
+
- spec/models/logistics/core/operation_summary_spec.rb
|
1070
|
+
- spec/models/logistics/core/unit_spec.rb
|
1071
|
+
- spec/models/logistics/core/broad_gauge_cnt_spec.rb
|
1072
|
+
- spec/models/logistics/core/extended_lookup_spec.rb
|
1073
|
+
- spec/models/logistics/core/operation_spec.rb
|
1074
|
+
- spec/models/logistics/core/chargeable_service_type_spec.rb
|
1075
|
+
- spec/models/logistics/core/warehouse_rate_period_spec.rb
|
1076
|
+
- spec/models/logistics/core/contract_container_rate_spec.rb
|
1077
|
+
- spec/models/logistics/core/contract_service_spec.rb
|
1078
|
+
- spec/models/logistics/core/container_arrangement_spec.rb
|
1079
|
+
- spec/models/logistics/core/airway_bill_rate_spec.rb
|
1080
|
+
- spec/models/logistics/core/twenty_foot_equivalence_unit_rate_spec.rb
|
1081
|
+
- spec/models/logistics/core/carrier_type_spec.rb
|
1082
|
+
- spec/models/logistics/core/addendum_spec.rb
|
1083
|
+
- spec/models/logistics/core/route_lookup_spec.rb
|
1084
|
+
- spec/models/logistics/core/lookup_spec.rb
|
1085
|
+
- spec/models/logistics/core/route_rate_spec.rb
|
1086
|
+
- spec/models/logistics/core/communication_channel_spec.rb
|
1087
|
+
- spec/models/logistics/core/demurrage_rate_spec.rb
|
1088
|
+
- spec/models/logistics/core/document_type_category_spec.rb
|
1089
|
+
- spec/models/logistics/core/service_increment_spec.rb
|
1090
|
+
- spec/models/logistics/core/delivery_term_spec.rb
|
1091
|
+
- spec/models/logistics/core/cargo_detail_spec.rb
|
1092
|
+
- spec/models/logistics/core/service_delivery_unit_service_spec.rb
|
1093
|
+
- spec/models/logistics/core/container_type_spec.rb
|
1094
|
+
- spec/models/logistics/core/weight_range_spec.rb
|
1095
|
+
- spec/models/logistics/core/declaration_type_spec.rb
|
1096
|
+
- spec/models/logistics/core/demurrage_rate_period_spec.rb
|
1097
|
+
- spec/models/logistics/core/declarant_spec.rb
|
1098
|
+
- spec/models/logistics/core/esl_transport_tariff_spec.rb
|
1099
|
+
- spec/models/logistics/core/transport_mode_spec.rb
|
1100
|
+
- spec/models/logistics/core/operation_type_spec.rb
|
1101
|
+
- spec/common/lookup_spec.rb
|
1102
|
+
- spec/support/factory_girl.rb
|
1103
|
+
- spec/factories/container_sizes.rb
|
1104
|
+
- spec/factories/twenty_feet_equivalence_ratios.rb
|
1105
|
+
- spec/factories/offer_requests.rb
|
1106
|
+
- spec/factories/broad_gauge_cnts.rb
|
1107
|
+
- spec/factories/transport_modes.rb
|
1108
|
+
- spec/factories/container_types.rb
|
1109
|
+
- spec/factories/service_delivery_units.rb
|
1110
|
+
- spec/factories/transaction_types.rb
|
1111
|
+
- spec/factories/break_bulk_demurrage_rates.rb
|
1112
|
+
- spec/factories/freight_ton_demurrage_rates.rb
|
1113
|
+
- spec/factories/routes.rb
|
1114
|
+
- spec/factories/contract_break_bulk_unit_rates.rb
|
1115
|
+
- spec/factories/carrier_agents.rb
|
1116
|
+
- spec/factories/delivery_terms.rb
|
1117
|
+
- spec/factories/self_driving_rates.rb
|
1118
|
+
- spec/factories/extended_lookups.rb
|
1119
|
+
- spec/factories/document_types.rb
|
1120
|
+
- spec/factories/service_increments.rb
|
1121
|
+
- spec/factories/document_type_origins.rb
|
1122
|
+
- spec/factories/warehouse_rate_periods.rb
|
1123
|
+
- spec/factories/operation_documents.rb
|
1124
|
+
- spec/factories/chargeable_service_increments.rb
|
1125
|
+
- spec/factories/contract.rb
|
1126
|
+
- spec/factories/truck_type_bb_weight_ranges.rb
|
1127
|
+
- spec/factories/declarants.rb
|
1128
|
+
- spec/factories/contract_item_rates.rb
|
1129
|
+
- spec/factories/additional_documents.rb
|
1130
|
+
- spec/factories/cargo_details.rb
|
1131
|
+
- spec/factories/cargo_types.rb
|
1132
|
+
- spec/factories/logistics_core_contract_services.rb
|
1133
|
+
- spec/factories/clients.rb
|
1134
|
+
- spec/factories/out_of_gauge_cnt_rates.rb
|
1135
|
+
- spec/factories/bill_of_lading_rates.rb
|
1136
|
+
- spec/factories/freight_ton_storage_rates.rb
|
1137
|
+
- spec/factories/break_bulk_unit_rates.rb
|
1138
|
+
- spec/factories/document_type_categories.rb
|
1139
|
+
- spec/factories/contract_rates.rb
|
1140
|
+
- spec/factories/chargeable_services.rb
|
1141
|
+
- spec/factories/equipment_service_rates.rb
|
1142
|
+
- spec/factories/customs_offices.rb
|
1143
|
+
- spec/factories/transporters.rb
|
1144
|
+
- spec/factories/currencies.rb
|
1145
|
+
- spec/factories/special_increment_content_rates.rb
|
1146
|
+
- spec/factories/contract_bill_of_lading_rates.rb
|
1147
|
+
- spec/factories/operations.rb
|
1148
|
+
- spec/factories/route_lookups.rb
|
1149
|
+
- spec/factories/contract_container_rates.rb
|
1150
|
+
- spec/factories/truck_rates.rb
|
1151
|
+
- spec/factories/container_demurrage_rates.rb
|
1152
|
+
- spec/factories/currency_rates.rb
|
1153
|
+
- spec/factories/customs_transport_tariffs.rb
|
1154
|
+
- spec/factories/contract_freight_ton_rates.rb
|
1155
|
+
- spec/factories/break_bulk_rates.rb
|
1156
|
+
- spec/factories/warehouses.rb
|
1157
|
+
- spec/factories/twenty_foot_equivalence_unit_rates.rb
|
1158
|
+
- spec/factories/transport_rate_periods.rb
|
1159
|
+
- spec/factories/common_documents.rb
|
1160
|
+
- spec/factories/communication_channels.rb
|
1161
|
+
- spec/factories/weight_ranges.rb
|
1162
|
+
- spec/factories/operation_summaries.rb
|
1163
|
+
- spec/factories/acquisition_modes.rb
|
1164
|
+
- spec/factories/lookups.rb
|
1165
|
+
- spec/factories/out_of_gauge_bb_rates.rb
|
1166
|
+
- spec/factories/convoy_rates.rb
|
1167
|
+
- spec/factories/carrier_types.rb
|
1168
|
+
- spec/factories/esl_transport_tariffs.rb
|
1169
|
+
- spec/factories/air_volume_factors.rb
|
1170
|
+
- spec/factories/entry_points.rb
|
1171
|
+
- spec/factories/within_city_routes.rb
|
1172
|
+
- spec/factories/content_types.rb
|
1173
|
+
- spec/factories/container_arrangements.rb
|
1174
|
+
- spec/factories/break_bulk_truck_assignments.rb
|
1175
|
+
- spec/factories/chargeable_service_unit_of_charges.rb
|
1176
|
+
- spec/factories/demurrage_rate_periods.rb
|
1177
|
+
- spec/factories/agents.rb
|
1178
|
+
- spec/factories/service_rates.rb
|
1179
|
+
- spec/factories/agency_categories.rb
|
1180
|
+
- spec/factories/contract_airway_bill_rates.rb
|
1181
|
+
- spec/factories/airway_bill_rates.rb
|
1182
|
+
- spec/factories/item_rates.rb
|
1183
|
+
- spec/factories/client_categories.rb
|
1184
|
+
- spec/factories/customs_office_units.rb
|
1185
|
+
- spec/factories/break_bulk_cargo_details.rb
|
1186
|
+
- spec/factories/truck_type_assignments.rb
|
1187
|
+
- spec/factories/esl_transport_tariff_rates.rb
|
1188
|
+
- spec/factories/payment_terms.rb
|
1189
|
+
- spec/factories/break_bulk_units.rb
|
1190
|
+
- spec/factories/service_delivery_unit_services.rb
|
1191
|
+
- spec/factories/demurrage_rates.rb
|
1192
|
+
- spec/factories/chargeable_service_types.rb
|
1193
|
+
- spec/factories/service_delivery_unit_types.rb
|
1194
|
+
- spec/factories/container_storage_rates.rb
|
1195
|
+
- spec/factories/agency_permit_documents.rb
|
1196
|
+
- spec/factories/operation_types.rb
|
1197
|
+
- spec/factories/units.rb
|
1198
|
+
- spec/factories/special_increment_container_rates.rb
|
1199
|
+
- spec/factories/client_contracts.rb
|
1200
|
+
- spec/factories/contract_kilogram_rates.rb
|
1201
|
+
- spec/factories/route_rates.rb
|
1202
|
+
- spec/factories/car_carrier_rates.rb
|
1203
|
+
- spec/factories/increment_rates.rb
|
1204
|
+
- spec/factories/declaration_types.rb
|
1205
|
+
- spec/factories/contract_convoy_rates.rb
|
1206
|
+
- spec/factories/agencies.rb
|
1207
|
+
- spec/factories/truck_type_cnt_weight_ranges.rb
|
1208
|
+
- spec/factories/transport_service_types.rb
|
1209
|
+
- spec/factories/unit_of_charges.rb
|
1210
|
+
- spec/factories/break_bulk_storage_rates.rb
|
1211
|
+
- spec/factories/kilogram_rates.rb
|
1212
|
+
- spec/factories/addendums.rb
|
1213
|
+
- spec/factories/inter_city_routes.rb
|
1214
|
+
- spec/factories/countries.rb
|
1215
|
+
- spec/factories/unit_types.rb
|
1216
|
+
- spec/factories/carriers.rb
|
1217
|
+
- spec/factories/required_documents.rb
|
1218
|
+
- spec/factories/broad_gauge_bbs.rb
|
1219
|
+
- spec/factories/air_cargo_limits.rb
|
1220
|
+
- spec/routing/logistics/core/client_categories_routing_spec.rb
|
1221
|
+
- spec/controllers/logistics/core/out_of_gauge_cnt_rates_controller_spec.rb
|
1222
|
+
- spec/controllers/logistics/core/agency_categories_controller_spec.rb
|
1223
|
+
- spec/controllers/logistics/core/out_of_gauge_bb_rates_controller_spec.rb
|
1224
|
+
- spec/controllers/logistics/core/acquisition_modes_controller_spec.rb
|
1225
|
+
- spec/controllers/logistics/core/operation_types_controller_spec.rb
|
1226
|
+
- spec/controllers/logistics/core/operations_controller_spec.rb
|
1227
|
+
- spec/controllers/logistics/core/route_rates_controller_spec.rb
|
1228
|
+
- spec/controllers/logistics/core/break_bulk_units_controller_spec.rb
|
1229
|
+
- spec/controllers/logistics/core/break_bulk_truck_assignments_controller_spec.rb
|
1230
|
+
- spec/controllers/logistics/core/customs_office_units_controller_spec.rb
|
1231
|
+
- spec/controllers/logistics/core/container_sizes_controller_spec.rb
|
1232
|
+
- spec/controllers/logistics/core/document_type_origins_controller_spec.rb
|
1233
|
+
- spec/controllers/logistics/core/service_delivery_units_controller_spec.rb
|
1234
|
+
- spec/controllers/logistics/core/chargeable_services_controller_spec.rb
|
1235
|
+
- spec/controllers/logistics/core/currency_rates_controller_spec.rb
|
1236
|
+
- spec/controllers/logistics/core/service_delivery_unit_types_controller_spec.rb
|
1237
|
+
- spec/controllers/logistics/core/transporters_controller_spec.rb
|
1238
|
+
- spec/controllers/logistics/core/delivery_terms_controller_spec.rb
|
1239
|
+
- spec/controllers/logistics/core/transport_rate_periods_controller_spec.rb
|
1240
|
+
- spec/controllers/logistics/core/common_documents_controller_spec.rb
|
1241
|
+
- spec/controllers/logistics/core/unit_of_charges_controller_spec.rb
|
1242
|
+
- spec/controllers/logistics/core/unit_types_controller_spec.rb
|
1243
|
+
- spec/controllers/logistics/core/transport_modes_controller_spec.rb
|
1244
|
+
- spec/controllers/logistics/core/countries_controller_spec.rb
|
1245
|
+
- spec/controllers/logistics/core/transaction_types_controller_spec.rb
|
1246
|
+
- spec/controllers/logistics/core/car_carrier_rates_controller_spec.rb
|
1247
|
+
- spec/controllers/logistics/core/routes_controller_spec.rb
|
1248
|
+
- spec/controllers/logistics/core/currencies_controller_spec.rb
|
1249
|
+
- spec/controllers/logistics/core/agency_permit_documents_controller_spec.rb
|
1250
|
+
- spec/controllers/logistics/core/customs_transport_tariffs_controller_spec.rb
|
1251
|
+
- spec/controllers/logistics/core/truck_type_bb_weight_ranges_controller_spec.rb
|
1252
|
+
- spec/controllers/logistics/core/agencies_controller_spec.rb
|
1253
|
+
- spec/controllers/logistics/core/required_documents_controller_spec.rb
|
1254
|
+
- spec/controllers/logistics/core/contract_services_controller_spec.rb
|
1255
|
+
- spec/controllers/logistics/core/container_types_controller_spec.rb
|
1256
|
+
- spec/controllers/logistics/core/customs_offices_controller_spec.rb
|
1257
|
+
- spec/controllers/logistics/core/units_controller_spec.rb
|
1258
|
+
- spec/controllers/logistics/core/document_type_categories_controller_spec.rb
|
1259
|
+
- spec/controllers/logistics/core/truck_type_cnt_weight_ranges_controller_spec.rb
|
1260
|
+
- spec/controllers/logistics/core/additional_documents_controller_spec.rb
|
1261
|
+
- spec/controllers/logistics/core/clients_controller_spec.rb
|
1262
|
+
- spec/controllers/logistics/core/payment_terms_controller_spec.rb
|
1263
|
+
- spec/controllers/logistics/core/broad_gauge_bbs_controller_spec.rb
|
1264
|
+
- spec/controllers/logistics/core/weight_ranges_controller_spec.rb
|
1265
|
+
- spec/controllers/logistics/core/declaration_types_controller_spec.rb
|
1266
|
+
- spec/controllers/logistics/core/truck_type_assignments_controller_spec.rb
|
1267
|
+
- spec/controllers/logistics/core/esl_transport_tariff_rates_controller_spec.rb
|
1268
|
+
- spec/controllers/logistics/core/broad_gauge_cnts_controller_spec.rb
|
1269
|
+
- spec/controllers/logistics/core/operation_documents_controller_spec.rb
|
1270
|
+
- spec/controllers/logistics/core/esl_transport_tariffs_controller_spec.rb
|
1271
|
+
- spec/controllers/logistics/core/self_driving_rates_controller_spec.rb
|
1272
|
+
- spec/controllers/logistics/core/container_arrangements_controller_spec.rb
|
1273
|
+
- spec/controllers/logistics/core/declarants_controller_spec.rb
|
1274
|
+
- spec/controllers/logistics/core/document_types_controller_spec.rb
|
1275
|
+
- spec/controllers/logistics/core/entry_points_controller_spec.rb
|
1276
|
+
- spec/controllers/logistics/core/route_lookups_controller_spec.rb
|
1277
|
+
- spec/controllers/logistics/core/client_categories_controller_spec.rb
|
1278
|
+
- spec/rails_helper.rb
|
1279
|
+
- spec/services/logistics/core/unit_service_spec.rb
|
1280
|
+
- spec/services/logistics/core/operation_service_spec.rb
|
1281
|
+
- spec/services/logistics/core/additional_document_service_spec.rb
|