<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/lib/model_attribute.rb, branch fix-routes-editor</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Fix translations for compliance_control type translation, compliance_control validation, compliance_control module</title>
<updated>2017-10-14T16:23:16+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-10-14T16:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=584bc2b59ecf95ee1021596e8f3583d9af97a5a7'/>
<id>584bc2b59ecf95ee1021596e8f3583d9af97a5a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ComplianceControl#new target field</title>
<updated>2017-10-06T10:03:24+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2017-10-06T10:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=dbbd6869db784136c0a9017b6754a44ccacc719b'/>
<id>dbbd6869db784136c0a9017b6754a44ccacc719b</id>
<content type='text'>
Refs #4687
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #4687
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute#==: Check for matching class type</title>
<updated>2017-09-25T10:22:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-25T10:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=75c7bc19c318ace8136ee94c2a09952226c0b7de'/>
<id>75c7bc19c318ace8136ee94c2a09952226c0b7de</id>
<content type='text'>
Thanks to Robert for this suggestion, of course it makes a lot of sense
to verify class equivalence when checking equality.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Robert for this suggestion, of course it makes a lot of sense
to verify class equivalence when checking equality.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute.classes: Move `#uniq` call higher</title>
<updated>2017-09-25T10:16:04+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-25T10:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f4034d9d176a6402de135acd91dc34d7b39dbf4a'/>
<id>f4034d9d176a6402de135acd91dc34d7b39dbf4a</id>
<content type='text'>
Call `#uniq` right after mapping over the `klass` attribute.
Recommendation from Robert (thanks!). This means there are less elements
to deal with in the subsequent maps.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call `#uniq` right after mapping over the `klass` attribute.
Recommendation from Robert (thanks!). This means there are less elements
to deal with in the subsequent maps.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute: Add `#from_code` method</title>
<updated>2017-09-22T12:10:45+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-22T12:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=2d7ce83439f29d261f0c5ec05140359218cfe661'/>
<id>2d7ce83439f29d261f0c5ec05140359218cfe661</id>
<content type='text'>
Enables finding a `ModelAttribute` by a string code combining klass and
name.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enables finding a `ModelAttribute` by a string code combining klass and
name.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute: Add `.group_by_class` method</title>
<updated>2017-09-22T10:42:41+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-22T10:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9086e4c7d253927e7fad07bcd4eb194eeff393ca'/>
<id>9086e4c7d253927e7fad07bcd4eb194eeff393ca</id>
<content type='text'>
This returns all defined `ModelAttribute`s as a hash of class keys
containing lists of the attributes they contain.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This returns all defined `ModelAttribute`s as a hash of class keys
containing lists of the attributes they contain.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute: Add `.classes` method</title>
<updated>2017-09-22T10:25:36+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-22T10:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=404b143af9ed49912e1e0065c832639188aa87de'/>
<id>404b143af9ed49912e1e0065c832639188aa87de</id>
<content type='text'>
This allows people to get a list of the classes defined in
`ModelAttribute`. The classes are turned into constant-cased strings.
Not sure if that's useful, but this is how it was described in the
ticket.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows people to get a list of the classes defined in
`ModelAttribute`. The classes are turned into constant-cased strings.
Not sure if that's useful, but this is how it was described in the
ticket.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute: Add `.methods_by_class_and_type` method</title>
<updated>2017-09-22T10:11:41+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-22T10:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9179af1df905ff9980228d2aa0ba77418f2781aa'/>
<id>9179af1df905ff9980228d2aa0ba77418f2781aa</id>
<content type='text'>
This enables filtering by class like `.methods_by_class` and
additionally only selecting attributes matching a certain data type.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables filtering by class like `.methods_by_class` and
additionally only selecting attributes matching a certain data type.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute.methods_by_class: Take symbol parameter instead of string</title>
<updated>2017-09-19T16:16:16+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-19T16:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=5b437302c3cbc90f920de11169f249658c23a5ee'/>
<id>5b437302c3cbc90f920de11169f249658c23a5ee</id>
<content type='text'>
Didn't like how `#initialize` takes a different type for `klass` than
`.methods_by_class`. Make these types and values uniform. If we need to
change it, we should make a separate mechanism to do so. I think.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Didn't like how `#initialize` takes a different type for `klass` than
`.methods_by_class`. Make these types and values uniform. If we need to
change it, we should make a separate mechanism to do so. I think.

Refs #4401
</pre>
</div>
</content>
</entry>
<entry>
<title>ModelAttribute: Add `.methods_by_class` method</title>
<updated>2017-09-19T16:13:20+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-19T16:13:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a60bf813aa118648998093242d6db0e1d8613e76'/>
<id>a60bf813aa118648998093242d6db0e1d8613e76</id>
<content type='text'>
Allows us to get all `ModelAttribute`s given a certain class name.

Needed an `#==` method to be able to test object equality more easily so
I added one in.

I don't like that the `klass` is a lowercase symbol and the `klass`
attribute to `.methods_by_class` is a constantized string. Want to
correct that and make them uniform. Only did it this way because that's
how it was suggested in the ticket.

Refs #4401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows us to get all `ModelAttribute`s given a certain class name.

Needed an `#==` method to be able to test object equality more easily so
I added one in.

I don't like that the `klass` is a lowercase symbol and the `klass`
attribute to `.methods_by_class` is a constantized string. Want to
correct that and make them uniform. Only did it this way because that's
how it was suggested in the ticket.

Refs #4401
</pre>
</div>
</content>
</entry>
</feed>
