Remove duplicate properties

This commit is contained in:
Piotr Sarnacki 2015-01-30 11:53:28 +01:00
parent 7650520beb
commit bdb427492f
2 changed files with 0 additions and 6 deletions

View File

@ -11,8 +11,6 @@ Commit = Model.extend
authorEmail: DS.attr()
committerName: DS.attr()
committerEmail: DS.attr()
subject: DS.attr()
body: DS.attr()
commitedAt: DS.attr()
build: DS.belongsTo('build')

View File

@ -124,10 +124,6 @@ Job = Model.extend DurationCalculations,
@unsubscribe() if @get('state') == 'finished' && Travis.pusher
).observes('state')
isFinished: (->
@get('state') in ['passed', 'failed', 'errored', 'canceled']
).property('state')
# TODO: such formattings should be done in controller, but in order
# to use it there easily, I would have to refactor job and build
# controllers