summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringscanner/get_byte_spec.rb
blob: 29e2f557de1914fe72b02f841fef56a77e6387d7 (plain)
1
2
3
4
5
6
7
require_relative '../../spec_helper'
require_relative 'shared/get_byte'
require 'strscan'

describe "StringScanner#get_byte" do
  it_behaves_like :strscan_get_byte, :get_byte
end
light'> To propagate errno in the fiber thread scheduler hook. Returns nil when no terminated process. Notes: Merged: https://github.com/ruby/ruby/pull/3998 2020-12-22Struct::Tms: delete卜部昌平 Has been deprecated since 44c53ee473d3b3973cb5c3ce03fbf4f280fd75ff. Notes: Merged: https://github.com/ruby/ruby/pull/3969 2020-12-21Fixed indefinite articles before "Integer" [ci skip]Nobuyoshi Nakada 2020-12-19Remove unused variableRadosław Bułat Notes: Merged: https://github.com/ruby/ruby/pull/3934 2020-12-18Revert "Better cooperation between public/protected/private with attr* and ↵Yusuke Endoh alias_method" This reverts commit 81739ad4fdfcc86a769056fec352f27c686fba1b. 2020-12-17Better cooperation between public/protected/private with attr* and alias_methodRadosław Bułat Notes: Merged: https://github.com/ruby/ruby/pull/3757 2020-12-16Fixed marshal compatibility of Process::StatusNobuyoshi Nakada 2020-12-12[DOC] Process::Status.wait return nil if no child processes [ci skip]Nobuyoshi Nakada 2020-12-11RDoc states that Process::Status.wait returns nil if cannot waitNobuyoshi Nakada 2020-12-11[DOC] Fixed the RDoc location of Process::Status.wait [ci skip]Nobuyoshi Nakada 2020-12-11[DOC] Moved RDoc of abort [ci skip]Nobuyoshi Nakada 2020-12-09Tweaked `Process::Status.wait`Nobuyoshi Nakada * revert `rb_last_status_set` * renamed the new function as `rb_process_status_new` * `rb_process_status_new` always freezes the return value * marked `Process::Status.wait` as EXPERIMENTAL, as it has not been discussed totally yet. 2020-12-09Add support for non-blocking `Process.wait`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3853 2020-12-07Revert getaddrinfo_a()Masaki Matsushita getaddrinfo_a() gets stuck after fork(). To avoid this, we need 1 second sleep to wait for internal worker threads of getaddrinfo_a() to be finished, but that is unacceptable. [Bug #17220] [Feature #17134] [Feature #17187] 2020-12-06Call cleanup function for getaddrinfo_a(3) only before fork()Masaki Matsushita Previously, rb_getaddrinfo_a_before_exec() is called from before_exec(). However, the function needs to be called only before fork(). The change moves it to before_fork(). 2020-12-04Add a hook before fork() for getaddrinfo_a()Masaki Matsushita We need stop worker threads in getaddrinfo_a() before fork(). This change adds a hook before fork() that cancel all outstanding requests and wait for all ongoing requests. Then, it waits for all worker threads to be finished. Fixes [Bug #17220] 2020-11-22Remove obsoleted internal/mjit.h inclusionTakashi Kokubun :bow: 2020-11-18fix public interfaceKoichi Sasada To make some kind of Ractor related extensions, some functions should be exposed. * include/ruby/thread_native.h * rb_native_mutex_* * rb_native_cond_* * include/ruby/ractor.h * RB_OBJ_SHAREABLE_P(obj) * rb_ractor_shareable_p(obj) * rb_ractor_std*() * rb_cRactor and rm ractor_pub.h and rename srcdir/ractor.h to srcdir/ractor_core.h (to avoid conflict with include/ruby/ractor.h) Notes: Merged: https://github.com/ruby/ruby/pull/3775