Commit 93fdc4ca9d073ad73beacfd673ddc4e5652111ab
1 parent
9f65c274
Exists in
master
and in
4 other branches
Reannotated
Showing
10 changed files
with
34 additions
and
21 deletions
Show diff stats
app/models/gitlab_ci_service.rb
... | ... | @@ -2,13 +2,15 @@ |
2 | 2 | # |
3 | 3 | # Table name: services |
4 | 4 | # |
5 | -# id :integer not null, primary key | |
6 | -# type :string(255) | |
7 | -# title :string(255) | |
8 | -# token :string(255) | |
9 | -# project_id :integer not null | |
10 | -# created_at :datetime not null | |
11 | -# updated_at :datetime not null | |
5 | +# id :integer not null, primary key | |
6 | +# type :string(255) | |
7 | +# title :string(255) | |
8 | +# token :string(255) | |
9 | +# project_id :integer not null | |
10 | +# created_at :datetime not null | |
11 | +# updated_at :datetime not null | |
12 | +# active :boolean default(FALSE), not null | |
13 | +# project_url :string(255) | |
12 | 14 | # |
13 | 15 | |
14 | 16 | class GitlabCiService < Service | ... | ... |
app/models/project_hook.rb
app/models/service.rb
... | ... | @@ -2,13 +2,15 @@ |
2 | 2 | # |
3 | 3 | # Table name: services |
4 | 4 | # |
5 | -# id :integer not null, primary key | |
6 | -# type :string(255) | |
7 | -# title :string(255) | |
8 | -# token :string(255) | |
9 | -# project_id :integer not null | |
10 | -# created_at :datetime not null | |
11 | -# updated_at :datetime not null | |
5 | +# id :integer not null, primary key | |
6 | +# type :string(255) | |
7 | +# title :string(255) | |
8 | +# token :string(255) | |
9 | +# project_id :integer not null | |
10 | +# created_at :datetime not null | |
11 | +# updated_at :datetime not null | |
12 | +# active :boolean default(FALSE), not null | |
13 | +# project_url :string(255) | |
12 | 14 | # |
13 | 15 | |
14 | 16 | class Service < ActiveRecord::Base | ... | ... |
app/models/service_hook.rb
app/models/system_hook.rb
app/models/web_hook.rb
spec/models/service_hook_spec.rb
spec/models/service_spec.rb
... | ... | @@ -2,13 +2,15 @@ |
2 | 2 | # |
3 | 3 | # Table name: services |
4 | 4 | # |
5 | -# id :integer not null, primary key | |
6 | -# type :string(255) | |
7 | -# title :string(255) | |
8 | -# token :string(255) | |
9 | -# project_id :integer not null | |
10 | -# created_at :datetime not null | |
11 | -# updated_at :datetime not null | |
5 | +# id :integer not null, primary key | |
6 | +# type :string(255) | |
7 | +# title :string(255) | |
8 | +# token :string(255) | |
9 | +# project_id :integer not null | |
10 | +# created_at :datetime not null | |
11 | +# updated_at :datetime not null | |
12 | +# active :boolean default(FALSE), not null | |
13 | +# project_url :string(255) | |
12 | 14 | # |
13 | 15 | |
14 | 16 | require 'spec_helper' | ... | ... |
spec/models/system_hook_spec.rb