1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb
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
..
cmd
ext [DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
lc [ruby/irb] Exclude useless files from RDoc 2020-02-01 17:03:59 +09:00
.document [ruby/irb] Exclude useless files from RDoc 2020-02-01 17:03:59 +09:00
color.rb
completion.rb [ruby/irb] Unnamed groups are not captured when named groups are used 2020-03-26 17:41:21 +09:00
context.rb [DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
easter-egg.rb [ruby/irb] Use 0.step instead of (..0).each for Ruby 2.5 2020-02-12 13:14:28 +09:00
extend-command.rb Fixed misspellings 2019-12-20 12:19:45 +09:00
frame.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
help.rb
init.rb Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
input-method.rb Use Reline.encoding_system_needs if exists 2020-01-14 15:40:38 +09:00
inspector.rb
irb.gemspec [ruby/irb] Include easter-egg.rb in gemspec 2020-02-15 21:52:03 +09:00
locale.rb Use Reline.encoding_system_needs if exists 2020-01-14 15:40:38 +09:00
magic-file.rb
notifier.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
output-method.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
ruby-lex.rb [ruby/irb] Require jruby lib to get JRuby.compile_ir 2020-03-29 04:44:53 +09:00
ruby_logo.aa
src_encoding.rb
version.rb [ruby/irb] Version 1.2.3 2020-02-17 23:31:59 +09:00
workspace.rb Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
ws-for-case-2.rb
xmp.rb