S-H-GAMELINKS
d3bd73823b
Refactor rb_add_event_hook function
2021-09-29 09:16:53 +13:00
git
fd76117a5d
* 2021-09-29 [ci skip]
2021-09-29 01:38:55 +09:00
Burdette Lamar
1e10099e09
Enhanced RDoc for Enumerable ( #4906 )
...
Treats:
#partition
#group_by
#tally
#first
#sort
#sort_by
#all?
#any?
2021-09-28 11:38:35 -05:00
Nobuyoshi Nakada
545e01645f
lldb: Show encoding of String [ci skip]
2021-09-28 20:03:54 +09:00
Nobuyoshi Nakada
8bdaaeb99a
[ruby/ostruct] Strip trailing spaces
...
https://github.com/ruby/ostruct/commit/df1109c18f
2021-09-28 20:01:35 +09:00
Hiroshi SHIBATA
2f19f4d1d8
Followed up behavior change of set
...
f360ebb306
2021-09-28 19:15:12 +09:00
Hiroshi SHIBATA
395da04aa6
Followed up ruby/spec examples for date.
...
f9f7f3a75e
2021-09-28 19:14:02 +09:00
Yusuke Endoh
be51f4ce83
[ruby/did_you_mean] Disable error_highlight when testing did_you_mean
...
Fixes #160
https://github.com/ruby/did_you_mean/commit/93df310873
2021-09-28 17:48:57 +09:00
Ellen Marie Dash
fcaa918445
[rubygems/rubygems] Only disallow FIXME/TODO for first word of gemspec description
...
7890c98 matched the start of each line, whereas this matches the start
of the entire string.
https://github.com/rubygems/rubygems/commit/432de7b819
2021-09-28 17:43:42 +09:00
David Rodríguez
6874d4f116
[rubygems/rubygems] Add missing `rubygem_push` prerequisite
...
Just like all the other tasks using the `built_gem_path`, the `:build`
task is a prerequisite for this task too.
https://github.com/rubygems/rubygems/commit/d193f9a7f9
2021-09-28 17:43:05 +09:00
Kazuki Tsujimoto
f360ebb306
[ruby/set] Make Set#pretty_print IRB::ColorPrinter friendly
...
https://github.com/ruby/set/commit/f467028cdb
2021-09-28 17:37:41 +09:00
Kazuhiro NISHIYAMA
a6459081bc
[ruby/un] Bump version to 0.2.0
...
https://github.com/ruby/un/commit/104bc10c57
2021-09-28 17:36:41 +09:00
Jeremy Evans
f9f7f3a75e
[ruby/date] Make %v strftime flag use uppercase month
...
%v is supposed to be the VMS date, and VMS date format uses an
uppercase month.
Ruby 1.8 used an uppercase month for %v, but the behavior was
changed without explanation in r31672.
Time#strftime still uses an uppercase month for %v, so this change
makes Date#strftime consistent with Time#strftime.
Fixes [Bug #13810 ]
https://github.com/ruby/date/commit/56c489fd7e
2021-09-28 17:34:26 +09:00
Hiroshi SHIBATA
af68070068
[ruby/drb] 6d890ec5979ec72586dd5f66dd8d33f7a9aefd1e was introduced to support only Ruby 2.7+
...
https://github.com/ruby/drb/commit/bec410d184
2021-09-28 17:31:23 +09:00
Hiroshi SHIBATA
f6c3228794
[ruby/drb] Use omit instead of skip for test-unit
...
https://github.com/ruby/drb/commit/0da149e7a9
2021-09-28 17:31:08 +09:00
Olle Jonsson
3be987653a
[ruby/drb] gemspec: Remove "executables" configuration
...
This gem exposes 0 executables.
https://github.com/ruby/drb/commit/ed4d0363e5
2021-09-28 17:30:58 +09:00
rm155
cefa029573
[ruby/ostruct] Allow properties to be accessed even when the object is moved to another Ractor ( https://github.com/ruby/ostruct/pull/29 )
...
https://github.com/ruby/ostruct/commit/d85639f2f5
2021-09-28 17:30:06 +09:00
Hiroshi SHIBATA
83662f1d99
Removed needless rake and bundler files for rdoc
2021-09-28 16:13:45 +09:00
U.Nakamura
6bca410ae8
Move platform maintainers list
2021-09-28 15:50:38 +09:00
aycabta
c4acde8959
[ruby/reline] Ignore NUL by ed_quoted_insert
...
https://github.com/ruby/reline/commit/43b7c01a98
2021-09-28 14:15:49 +09:00
S-H-GAMELINKS
1e9a688cd5
Move some function declaration to internal/io.h
2021-09-28 18:08:08 +13:00
Burdette Lamar
2cf1014362
Enhanced RDoc for Struct ( #4895 )
...
Revises introductory material.
Adds section "What's Here".
Adds previously missing documentation for method #deconstruct_keys.
2021-09-27 18:17:47 -05:00
John Bachir
1147136b8a
[ruby/timeout] test that yield is given number of seconds
...
https://github.com/ruby/timeout/commit/ec5a614334
2021-09-28 06:05:50 +09:00
git
a60bf6f9bf
* 2021-09-28 [ci skip]
2021-09-28 00:53:19 +09:00
Nobuyoshi Nakada
5ec730cda5
Set the locale encoding to UTF-8
...
Cirrus CI sets the environment variable `CIRRUS_COMMIT_MESSAGE`
from the pull request description.
2021-09-28 00:52:18 +09:00
Nobuyoshi Nakada
a28fff5f73
Revert "Unexport `CIRRUS_COMMIT_MESSAGE`"
...
This reverts commit 09863a4cd8
.
2021-09-28 00:52:18 +09:00
Nobuyoshi Nakada
09863a4cd8
Unexport `CIRRUS_COMMIT_MESSAGE`
...
Cirrus CI sets this environment variable from the pull request
description. However it does not seem any locales other than C
are installed, the default external encoding is US-ASCII. That
means this environment variable will be an invalid byte sequence,
and some tests fail.
2021-09-27 21:11:56 +09:00
Nobuyoshi Nakada
dfa67db62b
Show failed environment variables
2021-09-27 20:47:44 +09:00
rm155
0a38212e57
[ruby/timeout] Freeze VERSION
...
https://github.com/ruby/timeout/commit/ac7b010c41
2021-09-27 19:36:20 +09:00
Nobuyoshi Nakada
efa0c31ce5
Add printf-style format attribute to oniguruma functions
...
Also make the format string compatible with literal strings which
are const arrays of "plain" chars.
2021-09-27 19:02:45 +09:00
Joao Fernandes
f8000e2931
[ruby/base64] Avoid unnecessary string duplication
...
String#ljust returns a new string, so whenever we need to add
padding, we can replace "-/" in place with String#tr! and avoid creating
yet another copy of the string.
https://github.com/ruby/base64/commit/6401ef5824
2021-09-27 15:23:25 +09:00
Joao Fernandes
1b004ba0db
[ruby/base64] Simplify
...
Thanks @nobu!
https://github.com/ruby/base64/commit/39e22efa2b
2021-09-27 15:23:12 +09:00
Joao Fernandes
05a28ce5b1
[ruby/base64] Improve Base64.urlsafe_encode64 performance
...
Improves the method's performance when asked to remove padding.
str.delete!("=") iterates over the entire string looking for the equals
character, but we know that we will, at most, find two at the end of the
string.
https://github.com/ruby/base64/commit/544e0c2cf7
2021-09-27 15:23:04 +09:00
Nobuyoshi Nakada
f7ffe9dbde
Introduce `RBIMPL_NONNULL_ARG` macro
...
Runtime assertion for the argument declared as non-null.
This macro does nothing if `RBIMPL_ATTR_NONNULL` is effective,
otherwise asserts that the argument is non-null.
2021-09-27 14:47:52 +09:00
John Bachir
582602d142
[ruby/timeout] test for basic functionality
...
https://github.com/ruby/timeout/commit/1c6bb90aea
2021-09-27 13:22:46 +09:00
aycabta
00cfafc0f5
[ruby/irb] Add doc about "echo on assignment"
...
https://github.com/ruby/irb/commit/5af637b3c1
2021-09-27 03:23:48 +09:00
aycabta
51773bed10
[ruby/irb] Add blank lines to sample code in doc for readability
...
https://github.com/ruby/irb/commit/123b7e53ee
2021-09-27 03:23:41 +09:00
aycabta
2ae64bf6b9
[ruby/irb] Fix sample code in doc
...
https://github.com/ruby/irb/commit/642adbe968
2021-09-27 03:23:37 +09:00
aycabta
5c0636bda4
[ruby/irb] Add a space before left paren
...
https://github.com/ruby/irb/commit/973bac83ff
2021-09-27 03:23:31 +09:00
git
7ba16939bb
* 2021-09-27 [ci skip]
2021-09-27 01:16:29 +09:00
aycabta
a230ff0f83
[ruby/reline] ^K is kill-line and ^U is unix-line-discard for inputrc
...
https://github.com/ruby/reline/commit/5936071940
2021-09-27 01:16:15 +09:00
Jake Zimmerman
3f7b08d2cb
[ruby/reline] Implement vi_kill_line_prev
...
This operation is mentioned and bound to `^U` in both `vi_command.rb`
and `vi_insert.rb`, but there is no definition of it.
Both Vi and Emacs use the same keystroke to do the same behavior, so
I've chosen to use `alias_method` to make the implementation small,
rather than duplicating the method and re-implementing it.
https://github.com/ruby/reline/commit/fdbfc8669f
2021-09-26 23:47:11 +09:00
git
389de6f052
* 2021-09-26 [ci skip]
2021-09-26 09:56:39 +09:00
Nobuyoshi Nakada
18f0b7c2f7
Fix dependency of verconf.h
...
template/verconf.h.tmpl reads rbconfig.rb.
2021-09-26 09:48:53 +09:00
Nobuyoshi Nakada
806a27f98b
Dot-prefix appveyor.yml
2021-09-25 15:44:14 +09:00
Nobuyoshi Nakada
69ce154d6e
FL_USER flags on ohter than T_DATA are reserved [Misc #18059 ]
2021-09-25 15:38:38 +09:00
Samuel Williams
9151ed2fb2
Return fstrings from `build_const_pathname`.
...
It's possible for `build_const_pathname` to be called when `rb_cString` is
still NULL. There is a fix-up step when `rb_cString` is initialized, but
it only applies to `fstring` instances.
2021-09-25 18:19:20 +12:00
S-H-GAMELINKS
13b17cb8fc
Refactor rb_call_super function
2021-09-25 17:03:36 +12:00
Burdette Lamar
39a6bf5513
Enhanced RDoc for Struct ( #4891 )
...
Treats:
#values_at
#select
#==
#hash
#eql?
#size
#dig
2021-09-24 18:41:02 -05:00
Burdette Lamar
bbdfce96a2
Enhanced RDoc for Struct ( #4890 )
...
Treated:
#each
#each_pair
#inspect
#to_a
#to_h
#[]
#[]=
2021-09-24 10:35:19 -05:00