Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
6049249c
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6049249c
编写于
1月 12, 2014
作者:
X
Xavier Noria
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upgrade SDoc
Kudos to @zzak for taking over SDoc and make it work with RDoc 4.
上级
20a795f6
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
14 addition
and
12 deletion
+14
-12
Gemfile
Gemfile
+1
-1
guides/code/getting_started/Gemfile
guides/code/getting_started/Gemfile
+2
-4
guides/code/getting_started/Gemfile.lock
guides/code/getting_started/Gemfile.lock
+4
-4
railties/CHANGELOG.md
railties/CHANGELOG.md
+4
-0
railties/lib/rails/generators/app_base.rb
railties/lib/rails/generators/app_base.rb
+1
-1
railties/test/generators/app_generator_test.rb
railties/test/generators/app_generator_test.rb
+2
-2
未找到文件。
Gemfile
浏览文件 @
6049249c
...
...
@@ -18,7 +18,7 @@ gem 'coffee-rails', '~> 4.0.0'
gem
'
uglifier
'
,
'>= 1.3.0'
,
require:
false
group
:doc
do
gem
'
sdoc
'
gem
'
sdoc
'
,
'~> 0.4.0'
gem
'
redcarpet
'
,
'~> 2.2.2'
,
platforms: :ruby
gem
'
w3c_validators
'
gem
'
kindlerb
'
...
...
guides/code/getting_started/Gemfile
浏览文件 @
6049249c
...
...
@@ -22,10 +22,8 @@ gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem
'turbolinks'
group
:doc
do
# bundle exec rake doc:rails generates the API under doc/api.
gem
'sdoc'
,
require:
false
end
# bundle exec rake doc:rails generates the API under doc/api.
gem
'sdoc'
,
'~> 0.4.0'
,
group: :doc
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem
'jbuilder'
,
'~> 2.0'
...
...
guides/code/getting_started/Gemfile.lock
浏览文件 @
6049249c
...
...
@@ -71,16 +71,16 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
rdoc (
3.12.2
)
rdoc (
0.4.0
)
json (~> 1.4)
sass (3.2.9)
sass-rails (4.0.0)
railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sdoc (0.
3.2
0)
json (
>= 1.1.3
)
rdoc (~>
3.1
0)
sdoc (0.
4.
0)
json (
~> 1.8
)
rdoc (~>
4.0, < 5.
0)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
...
...
railties/CHANGELOG.md
浏览文件 @
6049249c
*
The
`Gemfile`
of new applications depends on SDoc ~> 0.4.0.
*Xavier Noria*
*
`test_help.rb`
now automatically checks/maintains your test datbase
schema. (Use
`config.active_record.maintain_test_schema = false`
to
disable.)
...
...
railties/lib/rails/generators/app_base.rb
浏览文件 @
6049249c
...
...
@@ -352,7 +352,7 @@ def jbuilder_gemfile_entry
def
sdoc_gemfile_entry
comment
=
'bundle exec rake doc:rails generates the API under doc/api.'
GemfileEntry
.
new
(
'sdoc'
,
nil
,
comment
,
{
group: :doc
,
require:
false
}
)
GemfileEntry
.
new
(
'sdoc'
,
'~> 0.4.0'
,
comment
,
group: :doc
)
end
def
coffee_gemfile_entry
...
...
railties/test/generators/app_generator_test.rb
浏览文件 @
6049249c
...
...
@@ -390,9 +390,9 @@ def test_inclusion_of_debugger
end
end
def
test_inclusion_of_
lazy_loaded_s
doc
def
test_inclusion_of_doc
run_generator
assert_file
'Gemfile'
,
/gem 'sdoc',
\s+group: :doc, require: false
/
assert_file
'Gemfile'
,
/gem 'sdoc',
\s+'~> 0.4.0',\s+group: :doc
/
end
def
test_template_from_dir_pwd
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录