1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/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
..
MarkdownTest_1.0.3 Fixed misspellings 2019-12-20 12:19:45 +09:00
support Removed test_case files from lib directory. 2019-08-17 20:20:04 +09:00
binary.dat
helper.rb Removed test_case files from lib directory. 2019-08-17 20:20:04 +09:00
hidden.zip.txt
README
test.ja.largedoc
test.ja.rdoc
test.ja.txt
test.txt
test_rdoc_alias.rb
test_rdoc_any_method.rb
test_rdoc_attr.rb
test_rdoc_class_module.rb
test_rdoc_code_object.rb
test_rdoc_comment.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_constant.rb
test_rdoc_context.rb
test_rdoc_context_section.rb [ruby/rdoc] Removed RDoc::Context::Section#sequence 2020-02-20 18:06:19 +09:00
test_rdoc_cross_reference.rb
test_rdoc_encoding.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_extend.rb
test_rdoc_generator_darkfish.rb
test_rdoc_generator_json_index.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_generator_markup.rb
test_rdoc_generator_pot.rb
test_rdoc_generator_pot_po.rb
test_rdoc_generator_pot_po_entry.rb
test_rdoc_generator_ri.rb
test_rdoc_i18n_locale.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_i18n_text.rb
test_rdoc_include.rb
test_rdoc_markdown.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_markdown_test.rb Fixed misspellings 2019-12-20 12:19:45 +09:00
test_rdoc_markup.rb
test_rdoc_markup_attribute_manager.rb Make (#methodname) a link 2019-10-26 15:48:11 +09:00
test_rdoc_markup_attributes.rb
test_rdoc_markup_document.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_markup_formatter.rb
test_rdoc_markup_hard_break.rb
test_rdoc_markup_heading.rb
test_rdoc_markup_include.rb
test_rdoc_markup_indented_paragraph.rb
test_rdoc_markup_paragraph.rb
test_rdoc_markup_parser.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_markup_pre_process.rb
test_rdoc_markup_raw.rb
test_rdoc_markup_to_ansi.rb
test_rdoc_markup_to_bs.rb
test_rdoc_markup_to_html.rb
test_rdoc_markup_to_html_crossref.rb
test_rdoc_markup_to_html_snippet.rb
test_rdoc_markup_to_joined_paragraph.rb
test_rdoc_markup_to_label.rb
test_rdoc_markup_to_markdown.rb
test_rdoc_markup_to_rdoc.rb
test_rdoc_markup_to_table_of_contents.rb
test_rdoc_markup_to_tt_only.rb
test_rdoc_markup_verbatim.rb
test_rdoc_method_attr.rb
test_rdoc_normal_class.rb
test_rdoc_normal_module.rb
test_rdoc_options.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_parser.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_parser_c.rb RDoc::Parser::C: Integrate do_classes and do_modules by one regexp match 2019-08-16 06:07:11 +09:00
test_rdoc_parser_changelog.rb
test_rdoc_parser_markdown.rb
test_rdoc_parser_rd.rb
test_rdoc_parser_ruby.rb [ruby/rdoc] Support newline in the middle of constant definition 2019-12-24 07:58:53 +09:00
test_rdoc_parser_simple.rb
test_rdoc_rd.rb
test_rdoc_rd_block_parser.rb
test_rdoc_rd_inline.rb
test_rdoc_rd_inline_parser.rb
test_rdoc_rdoc.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_require.rb
test_rdoc_ri_driver.rb Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
test_rdoc_ri_paths.rb Restore ENV, rubygems always sets SOURCE_DATE_EPOCH now 2019-09-26 22:57:25 +09:00
test_rdoc_rubygems_hook.rb Gem::TestCase is based on Minitest 2019-08-16 06:07:11 +09:00
test_rdoc_servlet.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_single_class.rb
test_rdoc_stats.rb
test_rdoc_store.rb Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
test_rdoc_task.rb [ruby/rdoc] Use assert_raise 2019-08-16 17:28:40 +09:00
test_rdoc_text.rb
test_rdoc_token_stream.rb
test_rdoc_tom_doc.rb
test_rdoc_top_level.rb
xref_data.rb
xref_test_case.rb

you don't have to