aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/rss] Only check taint on Ruby <2.7Jeremy Evans2019-11-181-1/+1
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* [ruby/rexml] Only taint on Ruby <2.7Jeremy Evans2019-11-181-2/+2
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-1812-70/+15
| | | | | | This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby.
* Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans2019-11-186-106/+25
| | | | | | | | | | | | | | | | | This removes the security features added by $SAFE = 1, and warns for access or modification of $SAFE from Ruby-level, as well as warning when calling all public C functions related to $SAFE. This modifies some internal functions that took a safe level argument to no longer take the argument. rb_require_safe now warns, rb_require_string has been added as a version that takes a VALUE and does not warn. One public C function that still takes a safe level argument and that this doesn't warn for is rb_eval_cmd. We may want to consider adding an alternative method that does not take a safe level argument, and warn for rb_eval_cmd.
* Remove unnecessary checkaycabta2019-11-181-1/+1
|
* [ruby/irb] Remove ruby-token.rb from spec.filesaycabta2019-11-171-1/+0
| | | | https://github.com/ruby/irb/commit/0180dc74bc
* [ruby/irb] Version 1.1.0.pre.4aycabta2019-11-171-1/+1
| | | | https://github.com/ruby/irb/commit/4945d0e676
* [ruby/reline] Version 0.0.5aycabta2019-11-171-1/+1
| | | | https://github.com/ruby/reline/commit/d57c7ea252
* Fix typosKazuhiro NISHIYAMA2019-11-173-3/+3
|
* [ruby/reline] Restore left cursor key support on Unix like OSes...aycabta2019-11-151-1/+1
| | | | https://github.com/ruby/reline/commit/98b72af751
* Implement em_set_mark and em_exchange_markaycabta2019-11-152-1/+20
|
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2019-11-151-1/+1
|
* Suppress warnings except for when last evaluationaycabta2019-11-133-5/+17
| | | | Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* Fix a typoKazuhiro NISHIYAMA2019-11-131-1/+1
|
* Merge released version of RubyGems 3.1.0.pre3Hiroshi SHIBATA2019-11-131-1/+0
|
* Merge Bundler 2.1.0.pre3 released versionHiroshi SHIBATA2019-11-1318-89/+118
|
* Reline#readline and Reline#readmultiline to private.osyo-manga2019-11-121-0/+2
|
* Only enabled mon_owned condition with Ruby 2.5+Hiroshi SHIBATA2019-11-121-4/+8
|
* Revert "Method reference operator"Nobuyoshi Nakada2019-11-121-1/+1
| | | | | This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275]
* check more.Koichi Sasada2019-11-121-2/+2
|
* Monitor owner state check correctly.Koichi Sasada2019-11-121-1/+2
| | | | Monitor can be owned at the beginning of this method.
* Revert "Use untaint for File.symlink in kernel_require.rb"Yusuke Endoh2019-11-121-4/+1
| | | | | | | This reverts commit d9978ce5d397866afae536db2aa708af3b7a4b2f. Untaint was tentatively restored due to test failures. But now, the failed tests have been removed, so we can revert the tentative fix.
* Use untaint for File.symlink in kernel_require.rbHiroshi SHIBATA2019-11-121-1/+4
| | | | Partly reverted 7d463e360b9c4718b17378eb52783116a01b884b
* release RUBYGEMS_ACTIVATION_MONITOR correctly.Koichi Sasada2019-11-121-2/+10
| | | | | | `File.symlink? safe_lp` can raise SecurityError and raising an exception can leave RUBYGEMS_ACTIVATION_MONITOR locking. This patch release it correctly.
* more messagesKoichi Sasada2019-11-121-1/+1
|
* check monitor is owning for debugKoichi Sasada2019-11-121-0/+5
|
* lib/rubygems.rb: Suppress "Resolving dependencies..."Yusuke Endoh2019-11-121-5/+4
| | | | And suppress "Leaked file descriptor" again.
* Remove ruby-token.rbaycabta2019-11-111-267/+0
|
* Revert "Revert "Promote uri to default gems""Hiroshi SHIBATA2019-11-113-5/+36
| | | | | | This reverts commit fdfad905227a0e2e4c224d87181041fb75d5082e. f1f27da6c457684fdbfc0352297e6847f675ce4c resolved this.
* Revert "Try to revert the test failure with Ruby CI"Hiroshi SHIBATA2019-11-111-3/+7
| | | | This reverts commit 8b27c23b5d55bd707a89bb5d95d2bdba9e132c1a.
* Try to revert the test failure with Ruby CIHiroshi SHIBATA2019-11-111-7/+3
| | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20191111T093005Z.fail.html.gz
* Merge Bundler 2.1.0.pre.3Hiroshi SHIBATA2019-11-1120-212/+353
| | | | | | | | | | | | | | | Features: - Add caller information to some deprecation messages to make them easier to fix [#7361](https://github.com/bundler/bundler/pull/7361) - Reconcile `bundle cache` vs `bundle package` everywhere. Now in docs, CLI help and everywhere else `bundle cache` is the preferred version and `bundle package` remains as an alias [#7389](https://github.com/bundler/bundler/pull/7389) - Display some basic `bundler` documentation together with ruby's RDoc based documentation [#7394](https://github.com/bundler/bundler/pull/7394) Bugfixes: - Fix typos deprecation message and upgrading docs [#7374](https://github.com/bundler/bundler/pull/7374) - Deprecation warnings about `taint` usage on ruby 2.7 [#7385](https://github.com/bundler/bundler/pull/7385) - Fix `--help` flag not correctly delegating to `man` when used with command aliases [#7388](https://github.com/bundler/bundler/pull/7388) - `bundle add` should cache newly added gems if an application cache exists [#7393](https://github.com/bundler/bundler/pull/7393) - Stop using an insecure folder as a "fallback home" when user home is not defined [#7416](https://github.com/bundler/bundler/pull/7416) - Fix `bundler/inline` warning about `Bundler.root` redefinition [#7417](https://github.com/bundler/bundler/pull/7417)
* Merge RubyGems 3.1.0.pre3Hiroshi SHIBATA2019-11-1119-66/+78
| | | | | | | | | | | | | | | | | | | * Fix gem pristine not accounting for user installed gems. Pull request #2914 by Luis Sagastume. * Refactor keyword argument test for Ruby 2.7. Pull request #2947 by SHIBATA Hiroshi. * Fix errors at frozen Gem::Version. Pull request #2949 by Nobuyoshi Nakada. * Remove taint usage on Ruby 2.7+. Pull request #2951 by Jeremy Evans. * Check Manifest.txt is up to date. Pull request #2953 by David Rodríguez. * Clarify symlink conditionals in tests. Pull request #2962 by David Rodríguez. * Update command line parsing to work under ps. Pull request #2966 by David Rodríguez. * Properly test `Gem::Specifications.stub_for`. Pull request #2970 by David Rodríguez. * Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request #2985 by MSP-Greg.
* qsymbols and symbols should be colored as SymbolTakashi Kokubun2019-11-101-1/+1
|
* Colorize on_symbols_beg (%I)Takashi Kokubun2019-11-101-0/+1
|
* Colorize string quotes as boldTakashi Kokubun2019-11-101-7/+7
| | | | like pry
* Remove unneeded exec bits from some filesDavid Rodríguez2019-11-092-0/+0
| | | | | | | | | | | | | I noticed that some files in rubygems were executable, and I could think of no reason why they should be. In general, I think ruby files should never have the executable bit set unless they include a shebang, so I run the following command over the whole repo: ```bash find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \; ```
* Revert "Promote uri to default gems"Hiroshi SHIBATA2019-11-093-36/+5
| | | | | | | This reverts commit c5b4d2a2592942766dc2789f46105b91eba7026a. This commit affects with activation feature of RubyGems. [Bug #16337][ruby-core:95768]
* Remove YAML::VERSION because it conflicts with Psych::VERSIONHiroshi SHIBATA2019-11-092-10/+1
|
* Promote uri to default gemsHiroshi SHIBATA2019-11-093-5/+36
|
* Promote yaml to default gemsHiroshi SHIBATA2019-11-092-0/+32
|
* Promote timeout to default gemsHiroshi SHIBATA2019-11-092-0/+30
|
* Promote observer to default gems. But not yet releasedHiroshi SHIBATA2019-11-092-0/+32
|
* Added gemspec for readline gem that is wrapper library for reline and ↵Hiroshi SHIBATA2019-11-091-0/+23
| | | | readline extension
* Suppress "shadowing outer local variable" warning in 2.5aycabta2019-11-083-15/+21
|
* Fixed test failure related Net::ProtocolHiroshi SHIBATA2019-11-072-2/+4
|
* SMTP is not moduleHiroshi SHIBATA2019-11-071-1/+1
|
* Promote cgi to default gemsHiroshi SHIBATA2019-11-072-0/+30
|
* Promote net-smtp to default gemsHiroshi SHIBATA2019-11-073-1/+33
|
* Promote net-pop to default gemsHiroshi SHIBATA2019-11-073-1/+33
|