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

65859 Коммитов

Автор SHA1 Сообщение Дата
Olle Jonsson 749aad280f
[ruby/gdbm] gemspec: Set executables to the empty list
This gem exposes zero executables.

https://github.com/ruby/gdbm/commit/d51cf47f65
2021-04-20 21:19:41 +09:00
Olle Jonsson cc8d0e7cbf
[ruby/dbm] gemspec: add README & LICENSE
https://github.com/ruby/dbm/commit/c86b94b781
2021-04-20 21:19:41 +09:00
Gannon McGibbon b56c8f814e
[ruby/logger] Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might
assume this to be a spelling mistake. To me, this seems like
exclusionary language that is unnecessary. Simply using "if and only if"
instead should suffice.

https://github.com/ruby/logger/commit/4fa0c28e00
2021-04-20 21:19:41 +09:00
Hiroshi SHIBATA 3fdc58c08b
[ruby/date] Bump version to 3.1.1
https://github.com/ruby/date/commit/e574cc9048
2021-04-20 20:46:03 +09:00
git a31a9c7471 * 2021-04-20 [ci skip] 2021-04-20 19:22:49 +09:00
Kazuhiro NISHIYAMA 4c68c825d2
Update bundled_gems 2021-04-20 19:22:15 +09:00
Kazuhiro NISHIYAMA 50f17241a3
Try to fix other failures of writing XDG_CONFIG_HOME
https://github.com/ruby/actions/actions/runs/756591173
https://github.com/ruby/actions/actions/runs/759073690
https://github.com/ruby/actions/actions/runs/761341026
```
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb
```
2021-04-19 21:40:29 +09:00
Hiroshi SHIBATA 93420d34aa
Added the specific files to the default gems like net-http and optparse 2021-04-19 18:19:09 +09:00
git 39c01aef66 * 2021-04-19 [ci skip] 2021-04-19 13:45:41 +09:00
Hiroshi SHIBATA 5d710d7e41
Fix the wrong file detection for net-*.gemspec
[Bug #17476][ruby-core:101724]
2021-04-19 13:44:38 +09:00
git aae812d65d * 2021-04-18 [ci skip] 2021-04-18 13:49:12 +09:00
Nobuyoshi Nakada 6943ffc3d5
Split revision.h rule
GNU-make specific rule is defined in defs/gmake.mk.
2021-04-18 13:47:43 +09:00
Nobuyoshi Nakada 1f56238032
Remove comments in tool/m4 from the generated configure 2021-04-17 19:14:21 +09:00
Nobuyoshi Nakada 17c3014bb7
Prefer positive condition to double negative
Autoconf 2.70 seems to omit the check for the given CC,
`AC_COMPILE_IFELSE` does not know which is the cause of the
failure.
2021-04-17 19:08:53 +09:00
git ed9ac03917 * 2021-04-17 [ci skip] 2021-04-17 11:54:39 +09:00
Kazuhiro NISHIYAMA d953ac1139
Fix writing XDG_CONFIG_HOME in test-bundler
https://github.com/ruby/actions/actions/runs/756591173
```
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb
```
2021-04-17 11:54:10 +09:00
Nobuyoshi Nakada b6bb4623eb
NEWS for [Feature #15198] [ci skip] 2021-04-16 16:12:10 +09:00
Travis Hunter 55d91a096a Add Array#intersect? 2021-04-16 16:06:36 +09:00
卜部昌平 97cee1cba6 rb_hash_free(): has never existed.
This is just a hoax.  Nobody have ever implemented a function named as
such.  Also the functionality implied by the name must not be a public
API if any.
2021-04-16 14:41:35 +09:00
git dd3eca6477 * 2021-04-16 [ci skip] 2021-04-16 11:05:36 +09:00
Yusuke Endoh 6268fdc662 spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of ruby_3_0
https://github.com/ruby/spec/pull/833
8290e5ad89
2021-04-16 11:04:23 +09:00
Peter Zhu f1f08f5b69 Remove useless attribute set in init_mark_stack
init_mark_stack already clears the mark stack so we do not need to
set the attribute cache_size to zero.
2021-04-15 10:10:23 -04:00
Nobuyoshi Nakada 26888d5e03
Workaround for installation failures on macOS 2021-04-15 18:07:23 +09:00
Hiroshi SHIBATA 7af7a539bc Also merge tool/bundler/*.rb for testing of Bundler 2021-04-15 15:36:15 +09:00
Hiroshi SHIBATA 96741765d8 Merge the master branch of RubyGems 2021-04-15 15:36:15 +09:00
Hiroshi SHIBATA ed149dbf46 Merge the master branch of Bundler 2021-04-15 15:36:15 +09:00
Hiroshi SHIBATA 0d9496f924 Restore bundler.gemspec from ruby/ruby repository with sync_default_gems.rb 2021-04-15 15:36:15 +09:00
Nobuyoshi Nakada fd978621cc
mkconfig.rb: Update around SDKROOT
c.f. https://opensource.apple.com/source/ruby/ruby-145.40.1/patches/tool_mkconfig.rb.diff

* moved to "includedir" from "oldincludedir".
* honor "$(prefix)/include" if exists, otherwise fallback to `xcrun`.
2021-04-15 14:55:22 +09:00
Yusuke Endoh df0f60b690 spec/ruby/library/matrix/: Change the version guard to 3.1.0
[Bug #17521] won't be backported until 3.1.0.
https://github.com/ruby/spec/pull/832
2021-04-15 13:40:16 +09:00
Kenichi Kamiya 92545977de
[Doc] Add Hash#value? into call-seq (#4293) 2021-04-15 11:14:43 +09:00
git d9a5281363 * 2021-04-15 [ci skip] 2021-04-15 02:51:49 +09:00
universato b190f6ef13 [ruby/matrix] Fix a typo in a error message 2021-04-14 13:51:14 -04:00
Peter Zhu 4eefb05725 Add RSymbol struct back into RVALUE
Commit 0ca714fa1a removed RSymbol from
RVALUE. This commit adds RSymbol back into RVALUE.
2021-04-13 09:37:50 -04:00
Nobuyoshi Nakada 393923b50d
Inline LONG_LONG conversions
Not only NUM2LL, also LL2NUM, ULL2NUM and NUM2ULL.
2021-04-13 14:50:13 +09:00
卜部昌平 f8e1bf283d workaround MSVC error
Previous code failed to compile on MSVC. Log:
https://github.com/ruby/ruby/pull/4371/checks?check_run_id=2304484466

This is possibly due to the fact that:

1. `Data_Wrap_Struct(...)` appears in a source code
2. which expands to `rb_data_object_wrap(...)`
3. which expands to `RUBY_MACRO_SELECT(rb_data_object_wrap_, RUBY_UNTYPED_DATA_WARNING)`
4. which expands to `rb_data_object_wrap_0`
5. which expands to `rb_data_object_wrap`, so far so good, but
6. this is a recursive macro expansion (see step 2).  Everybody stops expanding...
    - in step 4 for MSVC, and
    - in step 5 for GCC etc.

I have no idea why but this proposed changeset prevents MSVC from
stopping at step 4.
2021-04-13 14:30:21 +09:00
卜部昌平 6413dc27dc dependency updates 2021-04-13 14:30:21 +09:00
卜部昌平 f411fcd145 get rid of #pragma GCC diagnostic ignored "-Wundef"
Use of TOKEN_PASTE was a bad idea at the first place.  Just use ##
everywhere.  Nobody practically lacks token pasting.
2021-04-13 14:30:21 +09:00
git 6878d51731 * 2021-04-13 [ci skip] 2021-04-13 13:12:52 +09:00
Nobuyoshi Nakada 12f7ba5ed4
Make String#crypt ractor-safe 2021-04-13 12:05:31 +09:00
Nobuyoshi Nakada df7efdcb6b
Get rid of LONG_LONG redefinition 2021-04-12 22:47:07 +09:00
git 59171378fb * 2021-04-12 [ci skip] 2021-04-12 15:58:32 +09:00
Nobuyoshi Nakada a5688b5ce6
Support non-standard `struct stat` [Bug #17793]
On 32-bit Android:
* `st_dev`/`st_rdev` are not `dev_t`
* `st_mode` is not `mode_t`
2021-04-12 15:32:49 +09:00
Nobuyoshi Nakada 799ea1d154
mkmf.rb: convert also arch_hdrdir [Bug #16651] 2021-04-11 21:59:45 +09:00
tompng (tomoya ishida) 9f9045123e
st.c: skip all deleted entries [Bug #17779]
Update the start entry skipping all already deleted entries.
Fixes performance issue of `Hash#first` in a certain case.
2021-04-11 19:05:26 +09:00
Nobuyoshi Nakada 60bdf03b6d
[DOC] Adjusted spacing [ci skip] 2021-04-11 13:21:33 +09:00
Nobuyoshi Nakada 37b96d6773
sync_default_gems.rb: merge only files named as each gem 2021-04-11 13:18:47 +09:00
Nobuyoshi Nakada dbdd8c2dfe
sync_default_gems.rb: ignore rakelib [ci skip] 2021-04-11 09:59:01 +09:00
Nobuyoshi Nakada ec01587827
Revert "[ruby/optparse] No document in rakelib" [ci skip]
This reverts commit bd7430c7aa.
No rakelib in ruby itself.
2021-04-11 09:06:51 +09:00
Nobuyoshi Nakada f89486965b [ruby/optparse] Moved rdoc files to doc/optparse
https://github.com/ruby/optparse/commit/cccb28e0de
2021-04-11 09:03:36 +09:00
Nobuyoshi Nakada cb01437c24 [ruby/optparse] Fix relative paths
https://github.com/ruby/optparse/commit/8be031b539
2021-04-11 08:52:58 +09:00