
- Re-factor - Remove code for notifications - Remove addons - Remove travis-core gem. - Ignore logs directory only - Move core tests to spec/lib
15 lines
297 B
Ruby
15 lines
297 B
Ruby
require 'gh'
|
|
require 'travis/model'
|
|
|
|
class Organization < Travis::Model
|
|
has_many :memberships
|
|
has_many :users, :through => :memberships
|
|
has_many :repositories, :as => :owner
|
|
|
|
def education?
|
|
Travis::Features.owner_active?(:educational_org, self)
|
|
end
|
|
alias education education?
|
|
end
|
|
|