Hiroshi SHIBATA
4de32b3556
Removed unused option on racc
2020-09-28 18:53:25 +09:00
Hiroshi SHIBATA
87726143ef
Fixed the wrong variable for --executable flag
2020-09-28 18:53:25 +09:00
Benoit Daloze
f2c6a3513f
Clarify spec description for Hash#{each,each_pair}
2020-09-28 11:29:15 +02:00
Marc-Andre Lafortune
245ed57ddc
[ruby/racc] Turn debugging off
...
https://github.com/ruby/racc/commit/872f75cfa7
2020-09-28 18:08:51 +09:00
Marc-Andre Lafortune
97d1a381e1
[ Fixes #137 ] Improve reporting
2020-09-28 18:07:24 +09:00
Hiroshi SHIBATA
3da3c2747f
fixup d6a94a0c4b
2020-09-28 17:55:08 +09:00
Hiroshi SHIBATA
d6a94a0c4b
Removed useless RCS revisions
2020-09-28 17:39:59 +09:00
Steven Peckins
8863bfb1f4
[rubygems/rubygems] Move comment below shebang in bin/console template
...
In an executable script, the shebang line should be the first line (the
file needs to start with the bytes 0x23 0x21). Putting a comment above
it will break the script.
(Regression test included per @deivid-rodriguez)
https://github.com/rubygems/rubygems/commit/962e669feb
2020-09-28 14:54:22 +09:00
Nobuyoshi Nakada
18c642da86
[rubygems/rubygems] Fix ls-files matching regexp
...
As splitting by NUL means to allow the file names to contain
newlines, path names should match at beginning-of-string instead
of beginning-of-line.
https://github.com/rubygems/rubygems/commit/8a81183236
2020-09-28 14:54:22 +09:00
xndcn
ac3f80a58e
[rubygems/rubygems] Add writable check for cache dir
...
Sometimes "install_dir/cache" directory is not writable although "install_dir" is writable.
https://github.com/rubygems/rubygems/commit/665221cb69
2020-09-28 14:54:22 +09:00
Yusuke Endoh
c55b5f1062
[rubygems/rubygems] Avoid duplicated generation of APISpecification objects
...
As far as I could see, `Gem::Resolver::APISpecification` objects are
supposed to be immutable. If my guessing is correct, then we can cache
and reuse its instances for performance.
At least, `rake` passes on my machine.
Before this change:
```
$ time ruby -I lib bin/gem install --no-doc aws-sdk
Successfully installed aws-sdk-3.0.1
1 gem installed
real 0m37.104s
user 0m36.952s
sys 0m0.333s
```
After this change:
```
$ time ruby -I lib bin/gem install --no-doc aws-sdk
Successfully installed aws-sdk-3.0.1
1 gem installed
real 0m23.905s
user 0m23.740s
sys 0m0.365s
```
https://github.com/rubygems/rubygems/commit/7e8fbba85c
2020-09-28 14:54:22 +09:00
Jean Boussier
91865230cd
[rubygems/rubygems] Eval defaults with frozen_string_literal: true
...
https://github.com/rubygems/rubygems/commit/d498ae3d62
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
9bbca93aa8
[rubygems/rubygems] Remove last remaining line of output from gem update --system --silent
...
https://github.com/rubygems/rubygems/commit/038203aaf8
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
e8274a7683
[rubygems/rubygems] Add test for "gem update --system --silent"
...
https://github.com/rubygems/rubygems/commit/c3fb0db930
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
7fc8f83edb
[rubygems/rubygems] Have "gem update --system" pass through the --silent flag.
...
https://github.com/rubygems/rubygems/commit/5a1e56e892
2020-09-28 14:54:22 +09:00
Hiroshi SHIBATA
ab5e9516b7
[rubygems/rubygems] Added Ruby version for oldest supported version of rubygems
...
https://github.com/rubygems/rubygems/commit/dd87d70f51
2020-09-28 14:54:22 +09:00
David Rodríguez
c6bdf75049
Disallow downgrades to too old versions
...
Consider the version original included with each ruby as the minimum
supported version.
2020-09-28 14:54:22 +09:00
bronzdoc
828cefd629
[rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message
...
https://github.com/rubygems/rubygems/commit/38230a77c1
2020-09-28 14:54:22 +09:00
bronzdoc
777840a16a
[rubygems/rubygems] We don't need shortucts for a deprecated flag
...
https://github.com/rubygems/rubygems/commit/087a1f9720
2020-09-28 14:54:22 +09:00
bronzdoc
be980dd9fa
[rubygems/rubygems] Deprecate --dryrun
...
https://github.com/rubygems/rubygems/commit/1715610648
2020-09-28 14:54:22 +09:00
bronzdoc
b83787b1ce
[rubygems/rubygems] Make --dry-run flag consistent across rubygems commands
...
https://github.com/rubygems/rubygems/commit/addc644cad
2020-09-28 14:54:22 +09:00
Nobuyoshi Nakada
0629e695e3
Added --platform option to build command
2020-09-28 14:54:22 +09:00
Nobuyoshi Nakada
67ae1d441d
Do not use clang on cygwin
...
Its `__has_declspec_attribute()` is not reliable. For instance,
while `__has_declspec_attribute(noalias)` is true but 'noalias'
attribute is warned as unknown.
2020-09-28 13:42:04 +09:00
Nobuyoshi Nakada
36d1bb720c
sprintf.c: Removed conflicting definition
2020-09-28 12:51:53 +09:00
Nobuyoshi Nakada
ee7c260b60
thread_win32.c: native_mutex_trylock is not used right now
2020-09-28 12:51:20 +09:00
git
1c95436693
* 2020-09-28 [ci skip]
2020-09-28 04:33:14 +09:00
Benoit Daloze
41eba95920
Revert the first diff of "Use Tempfile.create instead of Tempfile.open in test_io.rb"
...
* This partially reverts commit dead747874 .
* Windows will not allow a file to be unlinked if any file handles exist,
see https://github.com/ruby/ruby/pull/3597
2020-09-27 21:32:26 +02:00
Kazuhiro NISHIYAMA
9a951c0931
Remove outdated comment [ci skip]
2020-09-27 14:26:38 +09:00
Koichi Sasada
5e91b4bdb3
fix typo [ci skip]
2020-09-27 09:49:16 +09:00
Yusuke Endoh
950614b088
ext/socket/ipsocket.c: prevent "warning: unused variable 'resolv_timeout'"
2020-09-27 02:38:39 +09:00
Kazuhiro NISHIYAMA
70d7e4c3f0
Fix a typo [ci skip]
2020-09-27 01:16:42 +09:00
Kazuhiro NISHIYAMA
48b5319006
Add links to the tickets [ci skip]
2020-09-27 01:13:52 +09:00
git
089b7698ba
* 2020-09-27 [ci skip]
2020-09-27 01:02:22 +09:00
bogdanvlviv
cdb5258bec
Fix ENV.except's docs
2020-09-26 12:02:00 -04:00
Benoit Daloze
dead747874
Use Tempfile.create instead of Tempfile.open in test_io.rb
2020-09-26 12:36:31 +02:00
NARUSE, Yui
4e31cbc070
update-deps
...
https://github.com/ruby/ruby/runs/1169621878
2020-09-26 18:55:00 +09:00
NARUSE, Yui
ce92d15596
fix typo [Bug #17194 ]
2020-09-26 18:24:28 +09:00
Aaron Patterson
137fa5b27e
Fibers should update themselves on compaction
...
We should let fibers update their own references on compaction. I don't
think we need the thread to update the associated fiber because there
will be a fiber object on the heap that knows how to update itself.
2020-09-25 15:52:04 -07:00
Burdette Lamar
8b42474a26
Enhanced RDoc for String#succ ( #3590 )
...
* Enhanced RDoc for String#succ
2020-09-25 15:13:10 -05:00
Alan Wu
24820d508b
Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO
...
The added test case crashes the interpreter because it makes
ObjectSpace.internal_class_of return the second VALUE slot of an AST
imemo object. The second VALUE slot of `struct rb_ast_struct` is
not a VALUE and not a pointer to a Ruby object.
2020-09-25 09:27:49 -07:00
Kenta Murata
3a00f2a0f4
ext/readline/depend: update-deps --fix
2020-09-26 00:34:27 +09:00
卜部昌平
722a1e479f
RBIMPL_ALIGNAS: reorder #ifdef blocks
...
Since r63443, `-std=gnu99 -D_XOPEN_SOUCE=x00` is added to Solaris'
`CPPFLAGS`. `CPPFLAGS` is shared among `CC` / `CXX`. This results in
both `__STDC_VERSION__` and `__cplusplus` to be defined at the same time
for a C++ compilation, only on Solaris.
It seems the `CPPFLAGS` addition is intentional. We sould not touch
that part. Instead we need to reroute this by always check for
`__cplusplus` first.
2020-09-26 00:30:36 +09:00
git
f7c4118263
* 2020-09-26 [ci skip]
2020-09-26 00:27:30 +09:00
Yusuke Endoh
b271bd73e0
test/net/smtp/test_smtp.rb: Stop io leaks
...
`make test-all` was very noisy by warnings like
```
Leaked file descriptor: Net::TestSMTP#test_start_with_position_argument: 6 : #<TCPSocket:fd 6, AF_INET, 127.0.0.1, 43770>
```
2020-09-26 00:20:06 +09:00
Kenta Murata
8119e5b0e6
memory_view.c: prevent "warning: instance variable __memory_view__ not initialized"
2020-09-25 23:56:38 +09:00
Yusuke Endoh
abdd3c5616
test/ruby/test_enumerator.rb: check the deprecation warning
...
by explicitly setting `Warning[:deprecated] = true`.
I removed "capture_io" at 79063d8cbf , but
it printed the warning when `RUBYOPT=-w`.
This change makes the warnings enabled explicitly, capture and check the
warning.
2020-09-25 23:45:42 +09:00
Yusuke Endoh
0db5324e0d
test/ruby/test_memory_view.rb: prevent "assigned but unused variable - members"
2020-09-25 23:39:35 +09:00
Yusuke Endoh
79063d8cbf
test/ruby/test_enumerator.rb: remove capture_io that is no longer needed
...
The deprecation warning was disabled, and the code to check the warning
was removed at 996af2ce08 , thus capture_io
is no longer needed.
2020-09-25 23:38:01 +09:00
Yusuke Endoh
e4b2c4fca5
t/json/json_common_interface_test.rb: fix wrong indentation
...
to prevent:
```
test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at 169
```
2020-09-25 23:37:12 +09:00
Koichi Sasada
0096d2b895
freeze all Range objects.
...
Matz want to try to freeze all Range objects.
[Feature #15504 ]
v3_0_0_preview1
2020-09-25 22:16:55 +09:00