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

57333 Коммитов

Автор SHA1 Сообщение Дата
David Carlier e6b72e8cae retrieve current path on macOS 2019-08-20 02:05:10 +09:00
git 1408f15921 * 2019-08-20 [ci skip] 2019-08-20 00:21:17 +09:00
Yusuke Endoh 8df25214de io.c: make ioctl_req_t int in Android
The second argument of ioctl seems to be int in Android.
Android is not a supported platform, but this one-line change allows
ruby to build by Android NDK r20.
2019-08-20 00:17:26 +09:00
Kazuhiro NISHIYAMA 45bed2850e
Reduce sub-shell and use `&&` instead of `;` 2019-08-19 19:37:07 +09:00
Kenichi Kamiya 8882986d97 Drop duplicated sample code (#2389) [ci skip]
* Drop duplicated sample code

* Drop another style sample

https://github.com/ruby/ruby/pull/2389#issuecomment-522489520

* Update sample list
2019-08-19 18:43:23 +09:00
Hiroshi SHIBATA 209ea85b54
Make portable for standalone test-unit gem.
* It can invoke test-unit with envutil.rb
  * refute_match of test-unit couldn't handle String instance.
2019-08-19 18:37:22 +09:00
Kenichi Kamiya 9b330200f8 Remove unused variable to suppress warning (#2388) [ci skip]
```
sample/observ.rb:30: warning: assigned but unused variable - clock
```
2019-08-19 18:16:45 +09:00
Takashi Kokubun 97c377e2b1
Mark Travis osx cron-only
because it has often hanged like
https://travis-ci.org/ruby/ruby/jobs/573691637,
and we also have almost the same test suite on GitHub Actions now, which
seems to be stable in `make check` so far.
2019-08-19 18:13:09 +09:00
Kenichi Kamiya cda8664471 Update a sample code (#2387)
Kernel#inspect does not call #to_s now

To follow fd7dc23d28
2019-08-19 18:00:29 +09:00
Hiroshi SHIBATA 355acbafde
Update the canonical repository url 2019-08-19 17:52:20 +09:00
David CARLIER 6dd9736c3a crash report on mac little update
displaying vm info as Linux and FreeBSD.
checking libproc as it is present only from 10.5 version.

https://github.com/ruby/ruby/pull/2384
2019-08-19 17:36:28 +09:00
Kenichi Kamiya 605d2ce9b9 Accurate a sample to show having some ext (#2385) 2019-08-19 17:30:59 +09:00
Nobuyoshi Nakada 45454bdb8b
Prefer Regexp#=~ to Regexp#match when the RHS may be nil 2019-08-19 16:39:42 +09:00
Nobuyoshi Nakada b4daa44270
Use modifier for pid_t 2019-08-19 16:32:57 +09:00
Nobuyoshi Nakada 8108594f47
unsigned int should have enough bits for rb_thread_shield_waiting 2019-08-19 16:18:54 +09:00
Nobuyoshi Nakada 1bd60c66d3
Fix FL_USER19
* include/ruby/ruby.h: cast via `unsigned int` explicitly, to get
  rid of signed extension by implicit integer promotion.
2019-08-19 15:55:53 +09:00
NAKAMURA Usaku 4515bcc922
Omit version.h when merging 2019-08-19 15:37:28 +09:00
Yusuke Endoh c5db4c28f9 cont.c: remove unused STACK_GROW_DIR_DETECTION
to suppress a waring for "unused variable"
2019-08-19 15:01:48 +09:00
Takashi Kokubun 6c2aa8689a
Roughly retry `brew update`
as it failed randomly https://github.com/ruby/ruby/runs/196712109
2019-08-19 14:59:59 +09:00
Benoit Daloze 39a43d9cd0 Make it as clear as possible that RubyVM is MRI-specific and only exists on MRI (#2113) [ci skip]
* Make it clear as possible that RubyVM is MRI-specific and only exists on MRI

* See [Bug #15743].
* Use "CRuby VM" instead of "Ruby VM" for clarity.

* Use YARV rather than "CRuby VM" for documenting RubyVM::InstructionSequence

* Avoid introducing a new "CRuby VM" term in documentation
2019-08-19 14:51:00 +09:00
Yusuke Endoh d76be10df1 missing/memcmp.c: suppress a `-Wparentheses` warning 2019-08-19 14:43:55 +09:00
git 1f3f50fb5e * expand tabs. [ci skip] 2019-08-19 14:34:29 +09:00
Nobuyoshi Nakada 574a9edfb3
Set flag to allow unprivileged users to create symlinks (#2381)
* [Win32] set flag to allow unprivileged users to create symlinks
2019-08-19 14:34:13 +09:00
Yusuke Endoh bc1e2271af lib/rdoc/markup/parser.rb: remove a unused variable initialization 2019-08-19 10:07:05 +09:00
Takashi Kokubun 4c13368972
Make AppVeyor notification colors consistent
It was using the same one as original AppVeyor's notification, but it's
just inconsistent with others like Travis and GitHub Actions.
2019-08-19 09:47:05 +09:00
Takashi Kokubun d106f08291
Stop reporting test-bundled-gems results
by marking continue-on-error.

I dropped it to test Slack notification, and I finished to test it.
2019-08-19 09:41:52 +09:00
Takashi Kokubun c100e3856a
Workaround errors on multi-line commit message
by using toJson with fields.
2019-08-19 03:40:34 +09:00
Takashi Kokubun e139d27748
Make Slack notification available
for macOS / Windows as well.

Docker-based GitHub Action does not work on these OSes.
2019-08-19 03:14:19 +09:00
git aa5fbb5a76 * 2019-08-19 [ci skip] 2019-08-19 01:50:18 +09:00
Takashi Kokubun 2f6c8ed26e
Implement Slack notification for Actions 2019-08-19 01:49:52 +09:00
Takashi Kokubun e4c43207f9
Revert "Try notifying Slack from Actions"
This reverts commit d8807e8b1a.

We'd need more features. Reverting to customize this later.
2019-08-18 23:32:49 +09:00
Takashi Kokubun d8807e8b1a
Try notifying Slack from Actions
https://github.com/8398a7/action-slack
https://github.com/marketplace/actions/action-slack
2019-08-18 23:19:10 +09:00
Takashi Kokubun 829b800c10
Reoder Travis matrix.include
to clarify what's running for every commit.
2019-08-18 19:10:24 +09:00
Hiroshi SHIBATA 51edcbad5b
Use master branch instead of trunk. 2019-08-18 18:08:59 +09:00
Hiroshi SHIBATA 9132153930
Ignore tags on default gems from ruby core repository. 2019-08-18 18:08:59 +09:00
Takashi Kokubun ad0ea708ca
Drop before_test for mswin too
for consistency. In the pull request, `before_test` was dropped only for
msys2 to fix msys2-only failure. But there's no need to keep it
inconsistent now.
2019-08-18 15:50:03 +09:00
MSP-Greg cba8166cc1 Appveyor - vc120 use OpenSSL 1.0.2, vc140 use 1.1.1 (#1998)
* appveyor.yml - OpenSSL vc120 -> 1.0.2, vc140 -> 1.1.1

* Try just using build_script
2019-08-18 15:47:19 +09:00
Masataka Pocke Kuwabara 6b42b0c60c Fix document of `GC.start` (#2382) 2019-08-18 15:39:19 +09:00
Hiroshi SHIBATA d3da1d57d3
Skip open_spec.rb:L95 because ruby repo doesn't have json as default gems. 2019-08-18 15:02:21 +09:00
David Rodríguez a77b3b4476 [bundler/bundler] Remove unnecessary require
https://github.com/bundler/bundler/commit/8ef571ed4e
2019-08-18 13:45:57 +09:00
David Rodríguez 683f9e1dbf [bundler/bundler] No need to activate the `fileutils` default gem
The version we're vendoring actually relaxed this restriction back to
2.3.0+, so we can always use the vendored version.

https://github.com/bundler/bundler/commit/d366cbfe5d
2019-08-18 13:45:45 +09:00
David Rodríguez 4756c5f7e7 [bundler/bundler] Remove unnecessary rubygems monkeypatch
Instead, make sure we always load the local copy of bundler during
specs, and never end up using the default copy.

https://github.com/bundler/bundler/commit/ac655ffeda
2019-08-18 13:45:35 +09:00
David Rodríguez 5a69a23afc [bundler/bundler] Don't use system bundler on this spec
If we use system bundler, when booting the "outermost" bundler process,
bundler will save the path to the system bundler in BUNDLE_BIN_PATH, and
use it again when booting the "innermost" bundler process (`bundle exec
echo foo`).

That means that second process will use the system bundler path again.
However, we have `-rsupport/hax` in RUBYOPT, so that file will load from
the local copy of bundler, and that file will load `bundler/version`
from the project (not from system), because -Ilib is in the LOAD_PATH.

That will end up causing redefinition errors because the same constant
will be loaded from two different locations.

In general, this is expected behavior, normally you will wrap the
process with `Bundler.with_original_env` to reset the environment.
However, the easiest fix here is to not use system bundler, because it's
not really necessary and thus doesn't help the readability of the spec.

https://github.com/bundler/bundler/commit/a3d72a34ab
2019-08-18 13:45:25 +09:00
David Rodríguez 0653d8c601 [bundler/bundler] Fix spec using the deprecated `bundle config` mode
https://github.com/bundler/bundler/commit/789dd1864f
2019-08-18 13:45:15 +09:00
David Rodríguez c50c2354cf [bundler/bundler] Require relatively from exe/ when possible
https://github.com/bundler/bundler/commit/e4cbb91b7d
2019-08-18 13:45:05 +09:00
David Rodríguez 998204882b [bundler/bundler] Last relative requires
https://github.com/bundler/bundler/commit/fb587b9ebb
2019-08-18 13:44:56 +09:00
David Rodríguez f753961611 [bundler/bundler] Remove a bunch of unneeded rubygems requires
https://github.com/bundler/bundler/commit/f9cb39e614
2019-08-18 13:44:46 +09:00
David Rodríguez 7659f00a8d [bundler/bundler] Move local variable to only branch where it's used
https://github.com/bundler/bundler/commit/3995b3345d
2019-08-18 13:44:36 +09:00
Zehan Zhao d80f5399ad [bundler/bundler] Fix open default gem error
https://github.com/bundler/bundler/commit/792d724752
2019-08-18 13:44:26 +09:00
David Rodríguez 98841b2b19 [bundler/bundler] Wrap `open` specs with a context
So I can add another context that doesn't run the `before` block.

https://github.com/bundler/bundler/commit/06d0acc45a
2019-08-18 13:44:22 +09:00