diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-22 12:08:13 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-22 12:08:13 +0000 |
commit | 145433d9a54856ec633220755f089a7e78fb28ce (patch) | |
tree | 303b591d7ceea9f3adabb5493aeecf9f641e6ec1 /lib/rdoc/generator | |
parent | 618035b5317ebcb3484b9e7b371a305d763c558a (diff) |
* lib/rdoc.rb: bump version to 4.2.1. It contains following fixes.
https://github.com/rdoc/rdoc/pull/340
https://github.com/rdoc/rdoc/pull/341
https://github.com/rdoc/rdoc/pull/367
https://github.com/rdoc/rdoc/pull/368
* lib/rdoc/*: ditto.
* test/rdoc/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generator')
-rw-r--r-- | lib/rdoc/generator/json_index.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb index 90c68f91a1..624a2e512e 100644 --- a/lib/rdoc/generator/json_index.rb +++ b/lib/rdoc/generator/json_index.rb @@ -176,7 +176,7 @@ class RDoc::Generator::JsonIndex Zlib::GzipWriter.open(outfile) do |gz| gz.mtime = File.mtime(search_index_file) - gz.orig_name = search_index_file.to_s + gz.orig_name = search_index_file.basename.to_s gz.write search_index gz.close end @@ -194,7 +194,7 @@ class RDoc::Generator::JsonIndex Zlib::GzipWriter.open(outfile) do |gz| gz.mtime = File.mtime(dest) - gz.orig_name = dest.to_s + gz.orig_name = dest.basename.to_s gz.write data gz.close end |