Skip to content

Commit 5265e07

Browse files
authored
Merge pull request #8195 from rubygems/restore-docs
Restore document files from doc directory
2 parents e5d8348 + 29ba586 commit 5265e07

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

Manifest.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,11 @@ bundler/lib/bundler/version.rb
352352
bundler/lib/bundler/vlad.rb
353353
bundler/lib/bundler/worker.rb
354354
bundler/lib/bundler/yaml_serializer.rb
355+
doc/MAINTAINERS.txt
356+
doc/bundler/UPGRADING.md
357+
doc/rubygems/CONTRIBUTING.md
358+
doc/rubygems/POLICIES.md
359+
doc/rubygems/UPGRADING.md
355360
exe/gem
356361
exe/update_rubygems
357362
hide_lib_for_update/note.txt

Rakefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,15 @@ module Rubygems
459459
files << path
460460
end
461461

462+
# Restore important documents
463+
%w[
464+
doc/MAINTAINERS.txt
465+
doc/bundler/UPGRADING.md
466+
doc/rubygems/CONTRIBUTING.md
467+
doc/rubygems/POLICIES.md
468+
doc/rubygems/UPGRADING.md
469+
].each {|f| files << f }
470+
462471
files.sort
463472
end
464473
end

rubygems-update.gemspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ Gem::Specification.new do |s|
2828
s.require_paths = ["hide_lib_for_update"]
2929
s.rdoc_options = ["--main", "README.md", "--title=RubyGems Update Documentation"]
3030
s.extra_rdoc_files = [
31-
"LICENSE.txt", "MIT.txt", "Manifest.txt", "README.md", "CODE_OF_CONDUCT.md",
31+
"LICENSE.txt", "doc/MAINTAINERS.txt",
32+
"MIT.txt", "Manifest.txt", "README.md",
33+
"doc/rubygems/UPGRADING.md", "doc/rubygems/POLICIES.md", "CODE_OF_CONDUCT.md",
34+
"doc/rubygems/CONTRIBUTING.md",
3235
"bundler/LICENSE.md", "bundler/README.md",
3336
"hide_lib_for_update/note.txt", *Dir["bundler/lib/bundler/man/*.1", base: __dir__]
3437
]

0 commit comments

Comments
 (0)