diff options
| author | cedricnjanga | 2017-11-16 16:44:37 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2017-11-22 12:41:57 +0100 | 
| commit | 31db1bba72800bddfa5dc9db4419ba95178dc4ff (patch) | |
| tree | e6bfb60e0f20ae71d3153fcc9a84be7b9680eb68 /app/models/chouette/objectid | |
| parent | 7c032665a81d9b81f6267d9bb133e8f0ec3b9e21 (diff) | |
| download | chouette-core-31db1bba72800bddfa5dc9db4419ba95178dc4ff.tar.bz2 | |
Add Cédric new objectid concerns
objectid_support handles reading and writing object_ids
objectid_formater_support gets the right formater class
include these concerns in chouette models
Remove StifNetexAttributSupport modules because these are handled by the new objectid concerns
Add a objectid and formater classes for each format type
Add objectid formats to the factories
Modify somes specs for object_ids but there are still a number of failling tests
Diffstat (limited to 'app/models/chouette/objectid')
| -rw-r--r-- | app/models/chouette/objectid/netex.rb | 2 | ||||
| -rw-r--r-- | app/models/chouette/objectid/stif_codifligne.rb | 2 | ||||
| -rw-r--r-- | app/models/chouette/objectid/stif_netex.rb | 2 | ||||
| -rw-r--r-- | app/models/chouette/objectid/stif_reflex.rb | 2 | 
4 files changed, 4 insertions, 4 deletions
| diff --git a/app/models/chouette/objectid/netex.rb b/app/models/chouette/objectid/netex.rb index 7953c6b12..0013de7c8 100644 --- a/app/models/chouette/objectid/netex.rb +++ b/app/models/chouette/objectid/netex.rb @@ -30,4 +30,4 @@ module Chouette        end      end    end -end
\ No newline at end of file +end diff --git a/app/models/chouette/objectid/stif_codifligne.rb b/app/models/chouette/objectid/stif_codifligne.rb index a1e40f0a1..c3c19e418 100644 --- a/app/models/chouette/objectid/stif_codifligne.rb +++ b/app/models/chouette/objectid/stif_codifligne.rb @@ -21,4 +21,4 @@ module Chouette        end      end    end -end
\ No newline at end of file +end diff --git a/app/models/chouette/objectid/stif_netex.rb b/app/models/chouette/objectid/stif_netex.rb index 80208af56..4894daac7 100644 --- a/app/models/chouette/objectid/stif_netex.rb +++ b/app/models/chouette/objectid/stif_netex.rb @@ -12,4 +12,4 @@ module Chouette        end      end    end -end
\ No newline at end of file +end diff --git a/app/models/chouette/objectid/stif_reflex.rb b/app/models/chouette/objectid/stif_reflex.rb index 69a3f52fa..711308541 100644 --- a/app/models/chouette/objectid/stif_reflex.rb +++ b/app/models/chouette/objectid/stif_reflex.rb @@ -20,4 +20,4 @@ module Chouette        end      end    end -end
\ No newline at end of file +end | 
