Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
21b1fee9
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
21b1fee9
编写于
3月 15, 2013
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
reannotated
上级
2a04341f
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
56 addition
and
49 deletion
+56
-49
app/models/group.rb
app/models/group.rb
+1
-1
app/models/issue.rb
app/models/issue.rb
+1
-1
app/models/merge_request.rb
app/models/merge_request.rb
+3
-3
app/models/milestone.rb
app/models/milestone.rb
+1
-1
app/models/namespace.rb
app/models/namespace.rb
+1
-1
app/models/project.rb
app/models/project.rb
+2
-1
app/models/user.rb
app/models/user.rb
+2
-2
app/models/user_team.rb
app/models/user_team.rb
+7
-6
spec/factories/user_teams.rb
spec/factories/user_teams.rb
+7
-6
spec/models/group_spec.rb
spec/models/group_spec.rb
+8
-7
spec/models/issue_spec.rb
spec/models/issue_spec.rb
+1
-1
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+2
-3
spec/models/milestone_spec.rb
spec/models/milestone_spec.rb
+1
-1
spec/models/namespace_spec.rb
spec/models/namespace_spec.rb
+8
-7
spec/models/project_spec.rb
spec/models/project_spec.rb
+2
-0
spec/models/user_spec.rb
spec/models/user_spec.rb
+2
-2
spec/models/user_team_spec.rb
spec/models/user_team_spec.rb
+7
-6
未找到文件。
app/models/group.rb
浏览文件 @
21b1fee9
...
...
@@ -4,12 +4,12 @@
#
# id :integer not null, primary key
# name :string(255) not null
# description :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
# description :string(255) default(""), not null
#
class
Group
<
Namespace
...
...
app/models/issue.rb
浏览文件 @
21b1fee9
...
...
@@ -9,11 +9,11 @@
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# state :string default(FALSE), not null
# position :integer default(0)
# branch_name :string(255)
# description :text
# milestone_id :integer
# state :string(255)
#
class
Issue
<
ActiveRecord
::
Base
...
...
app/models/merge_request.rb
浏览文件 @
21b1fee9
...
...
@@ -9,14 +9,14 @@
# author_id :integer
# assignee_id :integer
# title :string(255)
# state :string(255) not null
# created_at :datetime not null
# updated_at :datetime not null
# st_commits :text(2147483647)
# st_diffs :text(2147483647)
# merge_status :integer default(1), not null
#
# milestone_id :integer
# state :string(255)
# merge_status :string(255)
#
require
Rails
.
root
.
join
(
"app/models/commit"
)
require
Rails
.
root
.
join
(
"lib/static_model"
)
...
...
app/models/milestone.rb
浏览文件 @
21b1fee9
...
...
@@ -7,9 +7,9 @@
# project_id :integer not null
# description :text
# due_date :date
# closed :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
# state :string(255)
#
class
Milestone
<
ActiveRecord
::
Base
...
...
app/models/namespace.rb
浏览文件 @
21b1fee9
...
...
@@ -4,12 +4,12 @@
#
# id :integer not null, primary key
# name :string(255) not null
# description :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
# description :string(255) default(""), not null
#
class
Namespace
<
ActiveRecord
::
Base
...
...
app/models/project.rb
浏览文件 @
21b1fee9
...
...
@@ -11,12 +11,13 @@
# creator_id :integer
# default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null
# issues_tracker :string not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null
# namespace_id :integer
# public :boolean default(FALSE), not null
# issues_tracker :string(255) default("gitlab"), not null
# issues_tracker_id :string(255)
#
require
"grit"
...
...
app/models/user.rb
浏览文件 @
21b1fee9
...
...
@@ -22,10 +22,8 @@
# linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null
# authentication_token :string(255)
# dark_scheme :boolean default(FALSE), not null
# theme_id :integer default(1), not null
# bio :string(255)
# state :string(255)
# failed_attempts :integer default(0)
# locked_at :datetime
# extern_uid :string(255)
...
...
@@ -33,6 +31,8 @@
# username :string(255)
# can_create_group :boolean default(TRUE), not null
# can_create_team :boolean default(TRUE), not null
# state :string(255)
# color_scheme_id :integer default(1), not null
#
class
User
<
ActiveRecord
::
Base
...
...
app/models/user_team.rb
浏览文件 @
21b1fee9
...
...
@@ -2,12 +2,13 @@
#
# Table name: user_teams
#
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# description :string(255) default(""), not null
#
class
UserTeam
<
ActiveRecord
::
Base
...
...
spec/factories/user_teams.rb
浏览文件 @
21b1fee9
...
...
@@ -2,12 +2,13 @@
#
# Table name: user_teams
#
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# description :string(255) default(""), not null
#
# Read about factories at https://github.com/thoughtbot/factory_girl
...
...
spec/models/group_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -2,13 +2,14 @@
#
# Table name: namespaces
#
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
# description :string(255) default(""), not null
#
require
'spec_helper'
...
...
spec/models/issue_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -9,11 +9,11 @@
# project_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# state :string default(FALSE), not null
# position :integer default(0)
# branch_name :string(255)
# description :text
# milestone_id :integer
# state :string(255)
#
require
'spec_helper'
...
...
spec/models/merge_request_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -9,14 +9,13 @@
# author_id :integer
# assignee_id :integer
# title :string(255)
# closed :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
# st_commits :text(2147483647)
# st_diffs :text(2147483647)
# merged :boolean default(FALSE), not null
# merge_status :integer default(1), not null
# milestone_id :integer
# state :string(255)
# merge_status :string(255)
#
require
'spec_helper'
...
...
spec/models/milestone_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -7,9 +7,9 @@
# project_id :integer not null
# description :text
# due_date :date
# state :string default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
# state :string(255)
#
require
'spec_helper'
...
...
spec/models/namespace_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -2,13 +2,14 @@
#
# Table name: namespaces
#
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
# description :string(255) default(""), not null
#
require
'spec_helper'
...
...
spec/models/project_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -16,6 +16,8 @@
# wiki_enabled :boolean default(TRUE), not null
# namespace_id :integer
# public :boolean default(FALSE), not null
# issues_tracker :string(255) default("gitlab"), not null
# issues_tracker_id :string(255)
#
require
'spec_helper'
...
...
spec/models/user_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -22,10 +22,8 @@
# linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null
# authentication_token :string(255)
# dark_scheme :boolean default(FALSE), not null
# theme_id :integer default(1), not null
# bio :string(255)
# state :string(255) default(FALSE), not null
# failed_attempts :integer default(0)
# locked_at :datetime
# extern_uid :string(255)
...
...
@@ -33,6 +31,8 @@
# username :string(255)
# can_create_group :boolean default(TRUE), not null
# can_create_team :boolean default(TRUE), not null
# state :string(255)
# color_scheme_id :integer default(1), not null
#
require
'spec_helper'
...
...
spec/models/user_team_spec.rb
浏览文件 @
21b1fee9
...
...
@@ -2,12 +2,13 @@
#
# Table name: user_teams
#
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# owner_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# description :string(255) default(""), not null
#
require
'spec_helper'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录