File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -187,10 +187,15 @@ namespace :doc do
187
187
sh "ln -s rspec-core/README.md RSpecCore.md" unless test ?f, "RSpecCore.md"
188
188
sh "ln -s rspec-expectations/README.md RSpecExpectations.md" unless test ?f, "RSpecExpectations.md"
189
189
sh "ln -s rspec-mocks/README.md RSpecMocks.md" unless test ?f, "RSpecMocks.md"
190
+ sh "ln -s rspec-rails/README.md RSpecRails.md" unless test ?f, "RSpecRails.md"
190
191
sh "yardoc"
191
192
sh "rm RSpecCore.md"
192
193
sh "rm RSpecExpectations.md"
193
194
sh "rm RSpecMocks.md"
195
+ sh "rm RSpecRails.md"
196
+ sh %q|ruby -pi.bak -e "gsub(/Documentation by YARD \d+\.\d+\.\d+/, 'RSpec 2.8')" doc/_index.html|
197
+ sh %q|ruby -pi.bak -e "gsub(/<h1 class=\"alphaindex\">Alphabetic Index<\/h1>/, '')" doc/_index.html|
198
+ sh "cp doc/_index.html doc/index.html"
194
199
end
195
200
end
196
201
Original file line number Diff line number Diff line change 3
3
rspec-core/lib/**/*.rb
4
4
rspec-expectations/lib/**/*.rb
5
5
rspec-mocks/lib/**/*.rb
6
+ rspec-rails/lib/**/*.rb
6
7
-
7
8
RSpecCore.md
8
9
RSpecExpectations.md
9
10
RSpecMocks.md
11
+ RSpecRails.md
You can’t perform that action at this time.
0 commit comments