<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/models, branch 5879_compliance_control_predicates</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Merge pull request #216 from af83/5416_checksum_attribute</title>
<updated>2018-02-13T14:21:23+00:00</updated>
<author>
<name>Johan Van Ryseghem</name>
</author>
<published>2018-02-13T14:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=385a9e1b68f3eea51f71386a8f4856477ba6a273'/>
<id>385a9e1b68f3eea51f71386a8f4856477ba6a273</id>
<content type='text'>
5416 checksum attribute</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
5416 checksum attribute</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #287 from af83/4963-import-cron-should-abort-old-imports</title>
<updated>2018-02-13T08:08:18+00:00</updated>
<author>
<name>Johan Van Ryseghem</name>
</author>
<published>2018-02-13T08:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=81cb1f8251e3506f7c75a229aabeaba3a83e6d8a'/>
<id>81cb1f8251e3506f7c75a229aabeaba3a83e6d8a</id>
<content type='text'>
4963 import cron should abort old imports</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4963 import cron should abort old imports</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #291 from af83/4758-cron-job-to-finalise-compliance_check_set-validations--</title>
<updated>2018-02-13T07:48:35+00:00</updated>
<author>
<name>Johan Van Ryseghem</name>
</author>
<published>2018-02-13T07:48:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=54414ddb8970ee6133817777290153a713834285'/>
<id>54414ddb8970ee6133817777290153a713834285</id>
<content type='text'>
4758 cron job to finalise compliance check set validations  </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4758 cron job to finalise compliance check set validations  </pre>
</div>
</content>
</entry>
<entry>
<title>route_base_spec.rb: Fix checksum test as a result of factory</title>
<updated>2018-02-09T17:16:24+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-02-09T17:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c259d7e3e24259e14b4756f181b3a8784d8d1919'/>
<id>c259d7e3e24259e14b4756f181b3a8784d8d1919</id>
<content type='text'>
* The factory already creates `StopPoint`s for us, so we don't need to
  create any additional ones in the test. Previously this would give us
  eight stop points instead of three or five.
* Update the checksum in the factory after generating stop points. We
  need to do this because otherwise the checksum will be incorrect, not
  taking into account the new stop points. Without this change, the
  checksum starts out in an inconsistent state and causes the:

      1) Chouette::Route checksum behaves like checksum support doesn't change the checksum on save if the source hasn't been changed
         Failure/Error: expect(subject.checksum).to eq(checksum)

           expected: "bc0e7b37243682904bd7013108258fdc744b03e0c59ed1a30e24e112a49242c1"
                got: "b39d643fdd4f9d6ff62547750508af728a187de29a3d6e4295f9bb3d13559a51"

           (compared using ==)
         Shared Example Group: "checksum support" called from ./spec/models/chouette/route/route_base_spec.rb:5
         # ./spec/support/checksum_support.rb:84:in `block (2 levels) in &lt;top (required)&gt;'

  test to fail.

Refs #5416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* The factory already creates `StopPoint`s for us, so we don't need to
  create any additional ones in the test. Previously this would give us
  eight stop points instead of three or five.
* Update the checksum in the factory after generating stop points. We
  need to do this because otherwise the checksum will be incorrect, not
  taking into account the new stop points. Without this change, the
  checksum starts out in an inconsistent state and causes the:

      1) Chouette::Route checksum behaves like checksum support doesn't change the checksum on save if the source hasn't been changed
         Failure/Error: expect(subject.checksum).to eq(checksum)

           expected: "bc0e7b37243682904bd7013108258fdc744b03e0c59ed1a30e24e112a49242c1"
                got: "b39d643fdd4f9d6ff62547750508af728a187de29a3d6e4295f9bb3d13559a51"

           (compared using ==)
         Shared Example Group: "checksum support" called from ./spec/models/chouette/route/route_base_spec.rb:5
         # ./spec/support/checksum_support.rb:84:in `block (2 levels) in &lt;top (required)&gt;'

  test to fail.

Refs #5416
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #5824; Add specs (and fix some)</title>
<updated>2018-02-09T11:02:24+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-05T08:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8f8ab427914c39fdfb0648978d4fdff25ccfdc63'/>
<id>8f8ab427914c39fdfb0648978d4fdff25ccfdc63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ComplianceCheckSet: Add `.abort_old`</title>
<updated>2018-02-08T10:29:31+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-02-06T16:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ee1781d525bc04aff3f7f743be8297ee003ee9e0'/>
<id>ee1781d525bc04aff3f7f743be8297ee003ee9e0</id>
<content type='text'>
Copy over the `Import.abort_old` method to this class. For now I haven't
bothered with moving it to a consolidated module. We'll see, maybe
that's a better approach. For now I'm going with a relaxed copy-paste
solution until we decide that the increased complexity of the module is
worth the deduplication.

We need this method to be able to abort stale imports. We'll be doing
this, similarly to imports, in a regular cron job.

Refs #4758
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copy over the `Import.abort_old` method to this class. For now I haven't
bothered with moving it to a consolidated module. We'll see, maybe
that's a better approach. For now I'm going with a relaxed copy-paste
solution until we decide that the increased complexity of the module is
worth the deduplication.

We need this method to be able to abort stale imports. We'll be doing
this, similarly to imports, in a regular cron job.

Refs #4758
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring spec checksum support</title>
<updated>2018-02-08T10:26:52+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2018-01-09T13:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f3769c9d9fa0d4bf3c620a9c95e0c7533da9801c'/>
<id>f3769c9d9fa0d4bf3c620a9c95e0c7533da9801c</id>
<content type='text'>
Refs #5416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #5416
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactoring use subject as factory</title>
<updated>2018-02-07T16:09:22+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2018-01-05T15:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=31b7b91b46d2e8f740d2cfd493836219f5a4f42d'/>
<id>31b7b91b46d2e8f740d2cfd493836219f5a4f42d</id>
<content type='text'>
Refs #5416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #5416
</pre>
</div>
</content>
</entry>
<entry>
<title>Edit checksum stop_points attributes for route</title>
<updated>2018-02-07T16:06:33+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2018-01-05T15:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8a5898177d9a793e791a7e1dcb3162f8bf11aecf'/>
<id>8a5898177d9a793e791a7e1dcb3162f8bf11aecf</id>
<content type='text'>
Refs #5416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #5416
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix checksum-related specs</title>
<updated>2018-02-06T11:48:57+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-06T11:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4f58c4eaca46dc975aa907840cdbe067f6225d5e'/>
<id>4f58c4eaca46dc975aa907840cdbe067f6225d5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
