Skip to content

Commit

Permalink
Reannotated
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Nov 20, 2012
1 parent 9f65c27 commit 93fdc4c
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 21 deletions.
16 changes: 9 additions & 7 deletions app/models/gitlab_ci_service.rb
Expand Up @@ -2,13 +2,15 @@
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# token :string(255)
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# token :string(255)
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# active :boolean default(FALSE), not null
# project_url :string(255)
#

class GitlabCiService < Service
Expand Down
1 change: 1 addition & 0 deletions app/models/project_hook.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

class ProjectHook < WebHook
Expand Down
16 changes: 9 additions & 7 deletions app/models/service.rb
Expand Up @@ -2,13 +2,15 @@
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# token :string(255)
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# token :string(255)
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# active :boolean default(FALSE), not null
# project_url :string(255)
#

class Service < ActiveRecord::Base
Expand Down
1 change: 1 addition & 0 deletions app/models/service_hook.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

class ServiceHook < WebHook
Expand Down
1 change: 1 addition & 0 deletions app/models/system_hook.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

class SystemHook < WebHook
Expand Down
1 change: 1 addition & 0 deletions app/models/web_hook.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

class WebHook < ActiveRecord::Base
Expand Down
1 change: 1 addition & 0 deletions spec/models/service_hook_spec.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

require "spec_helper"
Expand Down
16 changes: 9 additions & 7 deletions spec/models/service_spec.rb
Expand Up @@ -2,13 +2,15 @@
#
# Table name: services
#
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# token :string(255)
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# token :string(255)
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# active :boolean default(FALSE), not null
# project_url :string(255)
#

require 'spec_helper'
Expand Down
1 change: 1 addition & 0 deletions spec/models/system_hook_spec.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

require "spec_helper"
Expand Down
1 change: 1 addition & 0 deletions spec/models/web_hook_spec.rb
Expand Up @@ -8,6 +8,7 @@
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
# service_id :integer
#

require 'spec_helper'
Expand Down

0 comments on commit 93fdc4c

Please sign in to comment.