diff --git a/.document b/.document index 0145592272..050e20457d 100644 --- a/.document +++ b/.document @@ -1,5 +1,5 @@ -README.markdown lib/**/*.rb -bin/* -features/**/*.feature +- +README.md License.txt +Changelog.md diff --git a/.yardopts b/.yardopts index 3a6cdf3c5a..f1508ed378 100644 --- a/.yardopts +++ b/.yardopts @@ -1,6 +1,3 @@ --no-private --exclude features --markup markdown -- -Changelog.md -License.txt diff --git a/rspec-core.gemspec b/rspec-core.gemspec index cdee9c28d1..8885662ddc 100644 --- a/rspec-core.gemspec +++ b/rspec-core.gemspec @@ -16,11 +16,10 @@ Gem::Specification.new do |s| s.rubyforge_project = "rspec" s.files = `git ls-files -- lib/*`.split("\n") - s.files += ["License.txt"] + s.files += %w[README.md License.txt Changelog.txt .yardopts .document] s.test_files = `git ls-files -- {spec,features}/*`.split("\n") s.bindir = 'exe' s.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) } - s.extra_rdoc_files = [ "README.md", "License.txt"] s.rdoc_options = ["--charset=UTF-8"] s.require_path = "lib" end