diff options
| author | Robert | 2017-10-02 13:38:11 +0200 |
|---|---|---|
| committer | Robert | 2017-10-02 13:50:56 +0200 |
| commit | ee88198df36ffc666b7b5bb8dda6851ce953af4a (patch) | |
| tree | a2116f50498c50a23e0f388ccdff6e31302a091c /app/models/route_control | |
| parent | ed5f05acf1d604eab807f3455ea628179ab55408 (diff) | |
| download | chouette-core-ee88198df36ffc666b7b5bb8dda6851ce953af4a.tar.bz2 | |
Refs: #4267@0.45h;
- setting up a CCCLD subdir struct for CCCLD related tests
- removed all occcurances of `@@default_criticity`
Diffstat (limited to 'app/models/route_control')
| -rw-r--r-- | app/models/route_control/duplicates.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/journey_pattern.rb | 3 | ||||
| -rw-r--r-- | app/models/route_control/minimum_length.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/omnibus_journey_pattern.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/opposite_route.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/opposite_route_terminus.rb | 3 | ||||
| -rw-r--r-- | app/models/route_control/speed.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/stop_points_in_journey_pattern.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/time_table.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/unactivated_stop_points.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/vehicle_journey_at_stops.rb | 1 | ||||
| -rw-r--r-- | app/models/route_control/zdl_stop_area.rb | 1 |
12 files changed, 2 insertions, 14 deletions
diff --git a/app/models/route_control/duplicates.rb b/app/models/route_control/duplicates.rb index fb9c34e0a..b57b3241b 100644 --- a/app/models/route_control/duplicates.rb +++ b/app/models/route_control/duplicates.rb @@ -1,7 +1,6 @@ module RouteControl class Duplicates < ComplianceControl - @@default_criticity = :warning @@default_code = "3-Route-4" end end diff --git a/app/models/route_control/journey_pattern.rb b/app/models/route_control/journey_pattern.rb index 08f603d8f..0a26322e0 100644 --- a/app/models/route_control/journey_pattern.rb +++ b/app/models/route_control/journey_pattern.rb @@ -1,7 +1,6 @@ module RouteControl class JourneyPattern < ComplianceControl - @@default_criticity = :warning @@default_code = "3-Route-3" end -end
\ No newline at end of file +end diff --git a/app/models/route_control/minimum_length.rb b/app/models/route_control/minimum_length.rb index f42b88748..aec8c7a3f 100644 --- a/app/models/route_control/minimum_length.rb +++ b/app/models/route_control/minimum_length.rb @@ -1,7 +1,6 @@ module RouteControl class MinimumLength < ComplianceControl - @@default_criticity = :error @@default_code = "3-Route-6" end end diff --git a/app/models/route_control/omnibus_journey_pattern.rb b/app/models/route_control/omnibus_journey_pattern.rb index 3b9f6d06f..8cc91e4e4 100644 --- a/app/models/route_control/omnibus_journey_pattern.rb +++ b/app/models/route_control/omnibus_journey_pattern.rb @@ -1,7 +1,6 @@ module RouteControl class OmnibusJourneyPattern < ComplianceControl - @@default_criticity = :warning @@default_code = "3-Route-9" end end diff --git a/app/models/route_control/opposite_route.rb b/app/models/route_control/opposite_route.rb index e91b081e2..9a168cfc5 100644 --- a/app/models/route_control/opposite_route.rb +++ b/app/models/route_control/opposite_route.rb @@ -1,7 +1,6 @@ module RouteControl class OppositeRoute < ComplianceControl - @@default_criticity = :error @@default_code = "3-Route-2" end end diff --git a/app/models/route_control/opposite_route_terminus.rb b/app/models/route_control/opposite_route_terminus.rb index fd62b7684..c791ae385 100644 --- a/app/models/route_control/opposite_route_terminus.rb +++ b/app/models/route_control/opposite_route_terminus.rb @@ -1,7 +1,6 @@ module RouteControl class OppositeRouteTerminus < ComplianceControl - @@default_criticity = :warning @@default_code = "3-Route-5" end -end
\ No newline at end of file +end diff --git a/app/models/route_control/speed.rb b/app/models/route_control/speed.rb index 0a2b6ac76..84d892c70 100644 --- a/app/models/route_control/speed.rb +++ b/app/models/route_control/speed.rb @@ -3,7 +3,6 @@ module VehicleJourneyControl hstore_accessor :control_attributes, minimum: :integer, maximum: :integer - @@default_criticity = :warning @@default_code = "3-VehicleJourney-2" end end diff --git a/app/models/route_control/stop_points_in_journey_pattern.rb b/app/models/route_control/stop_points_in_journey_pattern.rb index dced6c005..48a66298d 100644 --- a/app/models/route_control/stop_points_in_journey_pattern.rb +++ b/app/models/route_control/stop_points_in_journey_pattern.rb @@ -1,7 +1,6 @@ module RouteControl class StopPointInJourneyPattern < ComplianceControl - @@default_criticity = :error @@default_code = "3-Route-6" end end diff --git a/app/models/route_control/time_table.rb b/app/models/route_control/time_table.rb index 5d0f21b40..1153a5269 100644 --- a/app/models/route_control/time_table.rb +++ b/app/models/route_control/time_table.rb @@ -1,7 +1,6 @@ module VehicleJourneyControl class TimeTable < ComplianceControl - @@default_criticity = :error @@default_code = "3-VehicleJourney-4" end end diff --git a/app/models/route_control/unactivated_stop_points.rb b/app/models/route_control/unactivated_stop_points.rb index dee846cbb..b7276baaf 100644 --- a/app/models/route_control/unactivated_stop_points.rb +++ b/app/models/route_control/unactivated_stop_points.rb @@ -1,7 +1,6 @@ module RouteControl class UnactivatedStopPoint < ComplianceControl - @@default_criticity = :warning @@default_code = "3-Route-10" end end diff --git a/app/models/route_control/vehicle_journey_at_stops.rb b/app/models/route_control/vehicle_journey_at_stops.rb index 149282fe6..e1c0e8c6b 100644 --- a/app/models/route_control/vehicle_journey_at_stops.rb +++ b/app/models/route_control/vehicle_journey_at_stops.rb @@ -1,7 +1,6 @@ module VehicleJourneyControl class VehicleJourneyAtStops < ComplianceControl - @@default_criticity = :error @@default_code = "3-VehicleJourney-5" end end diff --git a/app/models/route_control/zdl_stop_area.rb b/app/models/route_control/zdl_stop_area.rb index 088a1d2f2..49a5ad56f 100644 --- a/app/models/route_control/zdl_stop_area.rb +++ b/app/models/route_control/zdl_stop_area.rb @@ -1,7 +1,6 @@ module RouteControl class ZDLStopArea < ComplianceControl - @@default_criticity = :warning @@default_code = "3-Route-1" end end |
