ruby/lib/rdoc
Hiroshi SHIBATA 5c6269c459
Support XDG_* (#2174)
* Support XDG_CONFIG_HOME for gemrc.

* Support XDG_DATA_HOME for .gem

* Added test for XDG_DATA_HOME

* Do not reuse environmental variable.

* Unify .rdoc path to RDoc.home.

* Support XDG_DATA_HOME for .rdoc

* Ignore exists?

* Extracted config_home path

* Use XDG_CONFIG_HOME for default credential path

* Fixed inconsistency location.

* Fixed the broken tests.

* Support XDG_CONFIG_HOME for irbrc

* Introduce Gem.cache_home as XDG_CACHE_HOME

* Use Gem.cache_home instead of Gem.config_home for the credential file of RubyGems.

* Initialized the old configurations

* Fixed test failure related the configuration initialization

* restore XDG_DATA_HOME

* Fixed the broken examples of bundler with XDG_*

* Do not modify environmental variable on test file

* Use XDG_DATA_HOME insted of XDG_CACHE_HOME for credential file

* stub out Gem.data_home

* Move dir accessor to defaults.rb file

* Use XDG_DATA_HOME for signed gem features

* Use XDG_DATA_HOME for spec cache

* Do not rely on Gem.user_home

* Gem.user_home is always exists. Don't need to use FileUitls.mkdir_p

* Bump support version to RubyGems 3.2.0+

* Removed the needless fallback configuration

* Fixed the inconsistency methods that are find_config_file and config_file

* Use Gem.configuration.credentials_path instead of hard-coded path

* gem_path is always provided

* Removed the duplicated code of find_home

* Also removed the duplicated code of user_home

* use Gem::UNTAINT instead of untaint for surpressing the warnings

* Use File.directory

* Restore XDG_DATA_HOME

* Use File.write
2020-04-23 19:16:06 +09:00
..
context [ruby/rdoc] Removed `RDoc::Context::Section#sequence` 2020-02-20 18:06:19 +09:00
generator Fix keyword argument separation issues in lib 2019-08-30 12:39:31 -07:00
i18n Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
markdown Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
markup Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
parser [ruby/rdoc] Support newline in the middle of constant definition 2019-12-24 07:58:53 +09:00
rd Update parsers of RDoc that are generated by Racc 2019-12-24 07:58:53 +09:00
ri Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
stats Merge RDoc 6.1.0.beta3 from upstream 2018-12-08 17:39:52 +00:00
.document [DOC] escape descriptions [ci skip] 2019-01-04 09:49:32 +00:00
alias.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
anon_class.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
any_method.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
attr.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
class_module.rb [ruby/rdoc] ClassModule#add_comment should receive RDoc::Comment 2019-07-26 17:20:27 +08:00
code_object.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
code_objects.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
comment.rb Fix ghost method line no 2019-11-28 08:19:05 +09:00
constant.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
context.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
cross_reference.rb Make `(#methodname)` a link with --hyperlink-all option 2019-10-26 16:27:23 +09:00
encoding.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
erb_partial.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
erbio.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
extend.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
generator.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
ghost_method.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
i18n.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
include.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
known_classes.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
markdown.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
markup.rb Removed autoload from Markup. 2019-08-17 20:20:04 +09:00
meta_method.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
method_attr.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
mixin.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
normal_class.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
normal_module.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
options.rb [ruby/rdoc] Support different drive latters in include paths 2019-10-29 12:34:44 +09:00
parser.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
rd.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
rdoc.gemspec Update required_ruby_version to 2.4.0 2019-10-09 12:25:50 +09:00
rdoc.rb Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
require.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
ri.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
rubygems_hook.rb Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
servlet.rb `/o` should not use with instance variable 2019-07-30 12:44:38 +09:00
single_class.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
stats.rb Merge rdoc-6.0.0.beta4 from upstream. 2017-11-27 10:45:24 +00:00
store.rb Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
task.rb [DOC] Fix close tags [ci skip] 2019-01-04 09:10:10 +00:00
text.rb [ruby/rdoc] Normalization of comment should check language 2019-07-26 17:20:58 +08:00
token_stream.rb Separate RDoc::TokenStream#add_tokens and #add_token 2019-08-16 06:02:45 +09:00
tom_doc.rb Refactor and improve performance of RDoc::Markup::Parser 2019-08-16 06:02:45 +09:00
top_level.rb Merge rdoc-6.1.0.beta2 2018-10-17 06:28:20 +00:00
version.rb [ruby/rdoc] Version 6.2.1 2019-12-24 08:04:01 +09:00