<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/models, branch 5642-insee-code</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Test opposite routes in merge referential. Refs #6842</title>
<updated>2018-05-17T14:27:32+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-17T10:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=85864e22795e6a2f04032234e2e39a58e900f1a5'/>
<id>85864e22795e6a2f04032234e2e39a58e900f1a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Associate opposite_routes during merge (when available). Refs #6842</title>
<updated>2018-05-17T14:27:32+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-17T10:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e0864d754a0467addb39ce860b659818877bb9ec'/>
<id>e0864d754a0467addb39ce860b659818877bb9ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6624; Update parent's checksum on deletion</title>
<updated>2018-05-17T14:06:19+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-17T09:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=488237c48b6174873470d7b6ce3d1465df46ba20'/>
<id>488237c48b6174873470d7b6ce3d1465df46ba20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp: Add `#destroy_empty`</title>
<updated>2018-05-15T13:24:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-15T13:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ceec2e53425f8a1c726f4903d03e268386cb598e'/>
<id>ceec2e53425f8a1c726f4903d03e268386cb598e</id>
<content type='text'>
Gives us a single call site to trigger the destruction of vehicle
journeys, journey patterns, and routes without content.

This was previously done directly in the `#clean` method, but since it's
not needed during referential duplication (only during merges), we don't
want to enable it by default. Thus now to activate the same old
functionality, you would create a `CleanUp` like this:

    CleanUp.new(methods: [:destroy_empty])

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gives us a single call site to trigger the destruction of vehicle
journeys, journey patterns, and routes without content.

This was previously done directly in the `#clean` method, but since it's
not needed during referential duplication (only during merges), we don't
want to enable it by default. Thus now to activate the same old
functionality, you would create a `CleanUp` like this:

    CleanUp.new(methods: [:destroy_empty])

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp: Add `#run_methods`</title>
<updated>2018-05-14T16:42:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-14T16:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=72fd54c38b958d0be9d608a676e8fef84691d088'/>
<id>72fd54c38b958d0be9d608a676e8fef84691d088</id>
<content type='text'>
This method is coupled with a new virtual attribute that can be used in
the initializer like:

    CleanUp.new(methods: [:destroy_routes])

The method will run all methods specified in the `:methods` list. The
plan is to replace the calls to `destroy_routes` etc. with a call to
this method. The result will be a more configurable clean-up process,
allowing users to selectively choose what to clean up by declaring what
methods in the `CleanUp` model to call.

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method is coupled with a new virtual attribute that can be used in
the initializer like:

    CleanUp.new(methods: [:destroy_routes])

The method will run all methods specified in the `:methods` list. The
plan is to replace the calls to `destroy_routes` etc. with a call to
this method. The result will be a more configurable clean-up process,
allowing users to selectively choose what to clean up by declaring what
methods in the `CleanUp` model to call.

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp spec: Pass ids to `#exists?` call</title>
<updated>2018-05-14T16:40:33+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-14T16:40:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4ca91f7ccbb71013ffe869be8d7f5cf344d9917a'/>
<id>4ca91f7ccbb71013ffe869be8d7f5cf344d9917a</id>
<content type='text'>
Looks like I temporarily forgot that this method takes an ID.

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Looks like I temporarily forgot that this method takes an ID.

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp#destroy_routes_outside_referential: Test cascade</title>
<updated>2018-05-14T10:58:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-14T10:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c048a5a7e5295b7a84d87ed4e850affe598d5588'/>
<id>c048a5a7e5295b7a84d87ed4e850affe598d5588</id>
<content type='text'>
Ensure that `JourneyPattern`s and `VehicleJourney`s associated with
orphaned routes get deleted in cascade.

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that `JourneyPattern`s and `VehicleJourney`s associated with
orphaned routes get deleted in cascade.

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp: Add `#destroy_routes_outside_referential`</title>
<updated>2018-05-14T10:41:27+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-14T10:41:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=84683c111e16e19c94a71f36f1d66c0745ad33d8'/>
<id>84683c111e16e19c94a71f36f1d66c0745ad33d8</id>
<content type='text'>
This builds on `#destroy_vehicle_journeys_outside_referential` (which
will soon be removed in favour of this new method).

It destroys orphaned routes in a referential.

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This builds on `#destroy_vehicle_journeys_outside_referential` (which
will soon be removed in favour of this new method).

It destroys orphaned routes in a referential.

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid time shift in User specs</title>
<updated>2018-05-11T21:38:09+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-11T21:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=261c9de605d98d6d66d81004103e998175895c82'/>
<id>261c9de605d98d6d66d81004103e998175895c82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix specs. Refs #6960</title>
<updated>2018-05-10T17:39:10+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-10T17:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=65afd2cfe722e57241d27cf8a1069ca67aafc3e0'/>
<id>65afd2cfe722e57241d27cf8a1069ca67aafc3e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
