Граф коммитов

56817 Коммитов

Автор SHA1 Сообщение Дата
David Rodríguez 1a8d9a0d5d
[bundler/bundler] Bump rubocop to 0.71
https://github.com/bundler/bundler/commit/efa69583dd
2019-08-03 09:29:56 +09:00
David Rodríguez 72daf37dee
[bundler/bundler] Fix a typo on a spec comment
https://github.com/bundler/bundler/commit/1a853ad6ac
2019-08-03 09:29:56 +09:00
robuye 884f948a90
[bundler/bundler] bundler/inline should always install gems to system path
As discussed in the P/R, when `BUNDLE_PATH` env is set Bundler should
still install gems to the system path. `GEM_HOME` can be used to provide
different location if needed.

The test is added to document expected behavior of `bundler/inline`.

https://github.com/bundler/bundler/commit/ae419fd6f8
2019-08-03 09:29:56 +09:00
David Rodríguez 4089f8df1e
[bundler/bundler] Use real paths for `bundle clean`
https://github.com/bundler/bundler/commit/0646f9e286
2019-08-03 09:29:56 +09:00
David Rodríguez e59b57a3a7
[bundler/bundler] Fix thread leak in compact index specs
This spec was not stopping threads after itself. That would cause the
previous spec in the file (that checks that no threads are left behind)
to fail.

https://github.com/bundler/bundler/commit/81ad85b92d
2019-08-03 09:29:56 +09:00
Miklos Fazekas a12557dbfd
[bundler/bundler] Add `required_ruby_version` to gemspec template
https://github.com/bundler/bundler/commit/f47421f92d
2019-08-03 09:29:56 +09:00
David Rodríguez b014a2157f
[bundler/bundler] Factor out gemspec call inside `let`
https://github.com/bundler/bundler/commit/ae0ac190aa
2019-08-03 09:29:56 +09:00
David Rodríguez 10c0271f97
[bundler/bundler] Remove duplicated `let`'s
https://github.com/bundler/bundler/commit/43ffaab796
2019-08-03 09:29:55 +09:00
David Rodríguez cad71f7089
[bundler/bundler] Migrate git proxy helpers to use Open3
https://github.com/bundler/bundler/commit/4a37d66f3f
2019-08-03 09:29:55 +09:00
David Rodríguez a685a8643f
[bundler/bundler] Fix `rake release` not prompting for OTP code
Co-authored-by: Colby Swandale <me@colby.fyi>
Co-authored-by: Kevin Deisz <kevin.deisz@gmail.com>

https://github.com/bundler/bundler/commit/1b2bbc7364
2019-08-03 09:29:55 +09:00
David Rodríguez 51bdc9433b
[bundler/bundler] Normalize usages of `Gem::Util` in rubygems integration
https://github.com/bundler/bundler/commit/b35d7fc74a
2019-08-03 09:29:55 +09:00
David Rodríguez 81779e2246
[bundler/bundler] Use rubygems utility if available
https://github.com/bundler/bundler/commit/7eccba0e52
2019-08-03 09:29:55 +09:00
David Rodríguez e111f38f34
[bundler/bundler] Fix file:// handling under Windows
Windows paths do not start with a slash, so we add an extra slash to
separate the host from the path in file:// urls. Otherwise "D:" is
parsed as the host segment in the URI.

The path for those URLs now starts with "/", so we ignore that leading
character when using the URI's path.

This reduces Windows CI spec failures from 429 to 355.

https://github.com/bundler/bundler/commit/1b7e274cbc
2019-08-03 09:29:55 +09:00
David Rodríguez c3ddd47ce7
[bundler/bundler] Normalize file:// handling in specs
https://github.com/bundler/bundler/commit/5946d62ad0
2019-08-03 09:29:55 +09:00
David Rodríguez d8d5e16305
[bundler/bundler] Use a clean gemspec for gem helper specs
https://github.com/bundler/bundler/commit/f694fe7f67
2019-08-03 09:29:55 +09:00
David Rodríguez 1c070c9c29
[bundler/bundler] Move "on releasing" to a RSpec context
So we can later add more tests with the same setup.

https://github.com/bundler/bundler/commit/21b4b6c49c
2019-08-03 09:29:55 +09:00
David Rodríguez a27198f648
[bundler/bundler] Migrate requires from exe/ to also be relative
https://github.com/bundler/bundler/commit/d9d2bf6d52
2019-08-03 09:29:55 +09:00
David Rodríguez 9596f43250
[bundler/bundler] Migrate two more requires to be relative
https://github.com/bundler/bundler/commit/80217bfe0b
2019-08-03 09:29:55 +09:00
David Rodríguez c5737a9ae1
[bundler/bundler] Migrate thor to use relative requires
https://github.com/bundler/bundler/commit/ca28a04668
2019-08-03 09:29:55 +09:00
David Rodríguez 1a4bb80cd7
[bundler/bundler] Skip specs that need coloring on Windows
ANSI codes don't work there.

https://github.com/bundler/bundler/commit/4f05417ca7
2019-08-03 09:29:55 +09:00
David Rodríguez 38df9e18da
[bundler/bundler] Add missing no-color source specs
For consistency.

https://github.com/bundler/bundler/commit/279603ab42
2019-08-03 09:29:55 +09:00
David Rodríguez 214e992556
[bundler/bundler] Be explicit about coloring in specs that need that
https://github.com/bundler/bundler/commit/a4d04506ab
2019-08-03 09:29:55 +09:00
David Rodríguez 580e165873
[bundler/bundler] Respect color option when instantiating shells
Thor's base shell will be memoized the first time it is set. So if we
instantiate a no-color shell first, further instantiations of a bundler
shell will be initialized with a no-color shell by default. This is
caused some sources specs to fail, depending on the order they run.

See for example https://travis-ci.org/bundler/bundler/builds/500328994.

What we do to fix it is to reset the shell unless no-color is explicitly
specified. That way, further instantiations will rerun thor's internal
logic to choose the default shell.

https://github.com/bundler/bundler/commit/786b5d9894
2019-08-03 09:29:55 +09:00
David Rodríguez b95756c7a9
[bundler/bundler] Remove unnecessary condition
The builtin thor's color shell already checks this before printing, and
if not a tty, prints just the string without added color codes.

https://github.com/bundler/bundler/commit/4f62611c87
2019-08-03 09:29:55 +09:00
Hiroshi SHIBATA 4c2255fd5c
[bundler/bundler] Added Ruby 2.6 to dsl.
https://github.com/bundler/bundler/commit/1892626858
2019-08-03 09:29:55 +09:00
Yusuke Endoh c683763865 Use source_location instead of eval(__FILE__,binding) in Binding#irb
e9e17cbc05 (enabling the warning by
default) caused a warning in test-spec:
```
/data/chkbuild/tmp/build/20190802T213005Z/ruby/spec/ruby/core/binding/irb_spec.rb
Binding#irb
- creates an IRB session with the binding in scope/data/chkbuild/tmp/build/20190802T213005Z/ruby/spec/ruby/core/binding/fixtures/irb.rb:3: warning: __FILE__ in eval may not return location in binding; use Binding#source_location instead
```
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190802T213005Z.log.html.gz

ref: [Bug #4352]
2019-08-03 07:44:44 +09:00
Takashi Kokubun 44ddfec0bd
Add missing backslash 2019-08-03 01:07:48 +09:00
git 60ac8ad194 * 2019-08-03 2019-08-03 00:55:56 +09:00
Takashi Kokubun 4eb54c49f7
Stop using homebrew addon
to control erros on our own.
2019-08-03 00:55:37 +09:00
Yusuke Endoh 536ba7c81e Revert "Remove opt_nil_p test to remove warning for now"
This reverts commit a1727e43af.
2019-08-02 23:29:58 +09:00
Yusuke Endoh 086ffe72c7 Revert "Revert "Add a specialized instruction for `.nil?` calls""
This reverts commit a0980f2446.

Retry for macOS Mojave.
2019-08-02 23:25:38 +09:00
Yusuke Endoh e9e17cbc05 parse.y: make a warning for __FILE__ in eval by default
[Bug #4352]
2019-08-02 23:17:19 +09:00
Takashi Kokubun 247b06d400
Revert "Give up `brew update` on Travis"
This reverts commit e05f397f08.
Failed... https://travis-ci.org/ruby/ruby/jobs/566961111

We should talk to Travis people instead...
2019-08-02 23:01:54 +09:00
Takashi Kokubun a1727e43af
Remove opt_nil_p test to remove warning for now 2019-08-02 22:46:15 +09:00
Hiroshi SHIBATA eb638b75b3
It can be share to use CoreAssertions for default gems.
ref. https://github.com/ruby/logger/pull/35
2019-08-02 21:09:43 +09:00
Nobuyoshi Nakada 9921b63ac4
Make float_decode_internal mantissa int 2019-08-02 19:04:38 +09:00
Nobuyoshi Nakada 6640eeb6db
Deduplicate common code 2019-08-02 18:11:05 +09:00
Nobuyoshi Nakada ee1334189b
Fix uplevel 2019-08-02 17:51:45 +09:00
Koichi Sasada e03b3b4ae0 add debug_counters to check details.
add debug_counters to check the Hash object statistics.
2019-08-02 15:59:47 +09:00
Yusuke Endoh a0980f2446 Revert "Add a specialized instruction for `.nil?` calls"
This reverts commit 9faef3113f.

It seemed to cause a failure on macOS Mojave, though I'm unsure how.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190802T034503Z.fail.html.gz

This tentative revert is to check if the issue is actually caused by the
change or not.
2019-08-02 15:03:34 +09:00
Nobuyoshi Nakada 19006b711d
Expanded f_quo 2019-08-02 11:28:24 +09:00
Nobuyoshi Nakada f9a0492b76
Expanded f_ceil 2019-08-02 11:26:58 +09:00
Nobuyoshi Nakada ffe4a6ebf9
Use RB_INTEGER_TYPE_P 2019-08-02 11:26:58 +09:00
Nobuyoshi Nakada 6de61fb9ed
Expanded f_mod 2019-08-02 11:26:51 +09:00
git 8ba8ccc3cc * 2019-08-02 2019-08-02 00:55:03 +09:00
Jeremy Evans ef45a57801 Make attr* methods define public methods if self in caller is not same as receiver
Previously, attr* methods could be private even if not in the
private section of a class/module block.

This uses the same approach that ruby started using for define_method
in 1fc3319973.

Fixes [Bug #4537]
2019-08-01 08:52:15 -07:00
Yusuke Endoh b8e351a1b9 ext/-test-/bug-14834/bug-14384.c: fallback for MAYBE_UNUSED
__unused__ is unavailable on Sun C.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190801T112505Z.fail.html.gz
2019-08-01 21:09:59 +09:00
Nobuyoshi Nakada 8b162ce9d1
Fix assertion failure when VM_CHECK_MODE
Some VM frames (dummy and top pushed by `rb_vm_call_cfunc`) has
iseq but has no pc.
2019-08-01 20:55:03 +09:00
Kazuhiro NISHIYAMA 2eec526053
bootstraptest/test_insns.rb: test opt_nil_p 2019-08-01 20:34:31 +09:00
Takashi Kokubun 076f3fcf11
Extend sleep before sending USR1 in TestProcess
because the test seems to hang there forever:
https://travis-ci.org/ruby/ruby/jobs/566409880
2019-08-01 20:19:54 +09:00