Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
93fdc4ca
Commit
93fdc4ca
authored
Nov 20, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reannotated
parent
9f65c274
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
34 additions
and
21 deletions
+34
-21
app/models/gitlab_ci_service.rb
app/models/gitlab_ci_service.rb
+9
-7
app/models/project_hook.rb
app/models/project_hook.rb
+1
-0
app/models/service.rb
app/models/service.rb
+9
-7
app/models/service_hook.rb
app/models/service_hook.rb
+1
-0
app/models/system_hook.rb
app/models/system_hook.rb
+1
-0
app/models/web_hook.rb
app/models/web_hook.rb
+1
-0
spec/models/service_hook_spec.rb
spec/models/service_hook_spec.rb
+1
-0
spec/models/service_spec.rb
spec/models/service_spec.rb
+9
-7
spec/models/system_hook_spec.rb
spec/models/system_hook_spec.rb
+1
-0
spec/models/web_hook_spec.rb
spec/models/web_hook_spec.rb
+1
-0
No files found.
app/models/gitlab_ci_service.rb
View file @
93fdc4ca
...
...
@@ -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
...
...
app/models/project_hook.rb
View file @
93fdc4ca
...
...
@@ -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
...
...
app/models/service.rb
View file @
93fdc4ca
...
...
@@ -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
...
...
app/models/service_hook.rb
View file @
93fdc4ca
...
...
@@ -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
...
...
app/models/system_hook.rb
View file @
93fdc4ca
...
...
@@ -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
...
...
app/models/web_hook.rb
View file @
93fdc4ca
...
...
@@ -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
...
...
spec/models/service_hook_spec.rb
View file @
93fdc4ca
...
...
@@ -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"
...
...
spec/models/service_spec.rb
View file @
93fdc4ca
...
...
@@ -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'
...
...
spec/models/system_hook_spec.rb
View file @
93fdc4ca
...
...
@@ -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"
...
...
spec/models/web_hook_spec.rb
View file @
93fdc4ca
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment