aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* add a NEWS entry about builtin features.Koichi Sasada2019-11-121-0/+4
|
* tool/lib/leakchecker.rb: show the code location that allocated leaked fdYusuke Endoh2019-11-122-16/+29
| | | | | | | by using ObjectSpace.trace_object_allocations. `make test-all LEAK_CHECKER_TRACE_OBJECT_ALLOCATION=true` will print not only leaked fds but also where it was created.
* lib/rubygems.rb: Suppress "Resolving dependencies..."Yusuke Endoh2019-11-121-5/+4
| | | | And suppress "Leaked file descriptor" again.
* * 2019-11-12 [ci skip]git2019-11-121-1/+1
|
* format-release uses the result of GitHub ActionsNARUSE, Yui2019-11-121-31/+71
|
* Always use git.ruby-lang.org as originNARUSE, Yui2019-11-121-3/+4
| | | | | naruse sets remote.origin.pushUrl = nonexistent as fail-safe configuration to avoid accidentally push a new branch to origin.
* Remove ruby-token.rbaycabta2019-11-111-267/+0
|
* Revert "Revert "Promote uri to default gems""Hiroshi SHIBATA2019-11-116-8/+42
| | | | | | 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
* Skip test_validate_gemspec unless git installedKazuhiro NISHIYAMA2019-11-111-0/+1
|
* Merge Bundler 2.1.0.pre.3Hiroshi SHIBATA2019-11-11158-1495/+1894
| | | | | | | | | | | | | | | 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)
* Revert "Warn EOF char in comment"NARUSE, Yui2019-11-113-40/+4
| | | | This reverts commit 69ec3f70fab0c1c537c68fb135cc315181b1d750.
* Revert "Elaborated EOF char message a little"NARUSE, Yui2019-11-113-5/+5
| | | | This reverts commit 6eaac7cfac668d6669be694fd7b723c4982ed218.
* Merge RubyGems 3.1.0.pre3Hiroshi SHIBATA2019-11-1129-131/+235
| | | | | | | | | | | | | | | | | | | * 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.
* __builtin_inline!Koichi Sasada2019-11-115-10/+93
| | | | | | | | | | | | | | | | | Add an experimental `__builtin_inline!(c_expression)` special intrinsic which run a C code snippet. In `c_expression`, you can access the following variables: * ec (rb_execution_context_t *) * self (const VALUE) * local variables (const VALUE) Not that you can read these variables, but you can not write them. You need to return from this expression and return value will be a result of __builtin_inline!(). Examples: `def foo(x) __builtin_inline!('return rb_p(x);'); end` calls `p(x)`. `def double(x) __builtin_inline!('return INT2NUM(NUM2INT(x) * 2);')` returns x*2.
* add deps for miniprelude.cKoichi Sasada2019-11-111-1/+1
|
* rewrite comment.Koichi Sasada2019-11-111-4/+3
| | | | | Pointed by nagachika-san. https://ruby-trunk-changes.hatenablog.com/entry/ruby_trunk_changes_20191109
* Removed duplicate fileNobuyoshi Nakada2019-11-111-2/+109
| | | | | "./tests/test_helper.rb" and "tests/test_helper.rb" in `s.files` are same.
* Extract gem files after updateNobuyoshi Nakada2019-11-111-0/+1
| | | | So that test/optparse/test_did_you_mean.rb can find did_you_mean.rb.
* Elaborated EOF char message a littleNobuyoshi Nakada2019-11-113-5/+5
|
* Remove binary data at installationNobuyoshi Nakada2019-11-112-5/+5
| | | | | And revert "Relaxed warning assertions", 6f9be8505d172b110ec449478a791d70b9b74afb.
* Relaxed warning assertionsNobuyoshi Nakada2019-11-111-4/+4
|
* Warn EOF char in commentNobuyoshi Nakada2019-11-113-4/+40
|
* Fixed embedded document with EOF charNobuyoshi Nakada2019-11-112-4/+25
|
* Ignore *.rbinc filesYuichiro Kaneko2019-11-111-0/+1
|
* Prefer assert_syntax_error and assert_valid_syntaxNobuyoshi Nakada2019-11-112-268/+143
|
* Fix uplevel of test_jitTakashi Kokubun2019-11-101-3/+3
|
* qsymbols and symbols should be colored as SymbolTakashi Kokubun2019-11-102-4/+4
|
* Colorize on_symbols_beg (%I)Takashi Kokubun2019-11-102-0/+9
|
* * 2019-11-11 [ci skip]git2019-11-111-1/+1
|
* Colorize string quotes as boldTakashi Kokubun2019-11-102-30/+30
| | | | like pry
* Disallow omission of parentheses/brackets in single line pattern matching ↵Kazuki Tsujimoto2019-11-102-2/+8
| | | | [Feature #16182]
* Fix a typoYuichiro Kaneko2019-11-101-1/+1
|
* Test opt_invokebuiltin_delegate_leave in test_jitTakashi Kokubun2019-11-091-0/+9
|
* Support RB_BUILTIN in ISeq#to_aTakashi Kokubun2019-11-093-2/+24
|
* Test invokebuiltin in test_jitTakashi Kokubun2019-11-091-5/+15
| | | | ISeq#to_a is commented out because it's broken now
* Define NULLCMD as printing NUL [Bug #16331]Nobuyoshi Nakada2019-11-101-1/+1
|
* Define NULLCMD as an empty label [Bug #16331]Nobuyoshi Nakada2019-11-101-0/+1
|
* Get rid of FreeBSD make incompatibility [Bug #16331]Nobuyoshi Nakada2019-11-102-36/+45
| | | | | | | | | | | | | | | | | | FreeBSD make works differently with `-j` option. > -j max_jobs > Specify the maximum number of jobs that `make` may have running > at any one time. The value is saved in `.MAKE.JOBS.` Turns > compatibility mode off, unless the `B` flag is also specified. > When compatibility mode is off, all commands associated with a > target are executed in a single shell invocation as opposed to > the traditional one shell invocation per line. This can break > traditional scripts which change directories on each command > invocation and then expect to start with a fresh environment on > the next line. It is more efficient to correct the scripts > rather than turn backwards compatibility on. Stop using exit, cd, exec in middle of commands.
* * 2019-11-10 [ci skip]git2019-11-101-1/+1
|
* Extend sleep duration for SolarisTakashi Kokubun2019-11-091-1/+1
|
* Removed trial and errorsNobuyoshi Nakada2019-11-091-26/+0
|
* Specify the permissionNobuyoshi Nakada2019-11-091-1/+1
| | | | To make the temporary directory non-writable by group and others.
* Fixed the debug printNobuyoshi Nakada2019-11-091-1/+1
|
* Debug-print tmpdir infoNobuyoshi Nakada2019-11-091-2/+3
|
* Remove unneeded exec bits from some filesDavid Rodríguez2019-11-0917-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' _ {} \; ```