Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Warn non-nil `$\` [Feature #14240] | Nobuyoshi Nakada | 2020-02-23 | 2 | -4/+8 |
| | |||||
* | Expand Symbol#to_proc specs to be clearer | Benoit Daloze | 2020-02-22 | 1 | -10/+32 |
| | |||||
* | Proc from Symbol needs a receiver | Nobuyoshi Nakada | 2020-02-22 | 1 | -4/+6 |
| | | | | | | | So its arity should be -2 instead of -1. [Bug #16640] https://bugs.ruby-lang.org/issues/16640#change-84337 | ||||
* | `Proc` made by `Symbol#to_proc` should be a lambda [Bug #16260] | Nobuyoshi Nakada | 2020-02-19 | 1 | -1/+1 |
| | |||||
* | spec/ruby: skip the specs that use /etc/passwd on Android | Yusuke Endoh | 2020-02-13 | 1 | -1/+1 |
| | | | | There is no /etc/passwd on Android | ||||
* | spec/ruby/core/process/spawn_spec.rb: Use / instead of /tmp | Yusuke Endoh | 2020-02-13 | 1 | -1/+1 |
| | | | | because there is no /tmp on Android. | ||||
* | spec/ruby/core/process/clock_getres_spec.rb: skip on Android | Yusuke Endoh | 2020-02-13 | 1 | -1/+1 |
| | | | | | in the same way as FreeBSD and OpenBSD. I guess that the spec makes too strong assumption. | ||||
* | spec/ruby/core/encoding/locale_charmap_spec.rb: locale_charmap is UTF-8 on ↵ | Yusuke Endoh | 2020-02-13 | 1 | -5/+16 |
| | | | | | | | Android nl_langinfo(CODESET) always returns UTF-8 on Android, regardless to LC_ALL=C. | ||||
* | spec/ruby/core/dir/home_spec.rb: exclude Android | Yusuke Endoh | 2020-02-13 | 1 | -1/+1 |
| | | | | | I couldn't find a robust way to get the home path except ENV["HOME"] on Android Termux. | ||||
* | spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancated | Yusuke Endoh | 2020-02-09 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | Under some Ext4 filesystem settings, a timestamp is limited up to 0x37fffffff (2446-05-10). https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps > Therefore, timestamps should not overflow until May 2446. Actually the spec fails under one of our CI environments, like: ``` 1) File.utime allows Time instances in the far future to set mtime and atime FAILED Expected 2446 == 559444 to be truthy but was false ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200208T180002Z.fail.html.gz | ||||
* | [ruby/spec] Just test that sleep completes | Nobuyoshi Nakada | 2020-02-06 | 1 | -1/+1 |
| | |||||
* | [ruby/spec] Check by Thread#stop? | Nobuyoshi Nakada | 2020-02-06 | 2 | -5/+13 |
| | | | | | Check if threads are stopped by Thread#stop? instead of the status name. | ||||
* | Update to ruby/spec@f8a2d54 | Benoit Daloze | 2020-01-28 | 53 | -221/+1098 |
| | |||||
* | Fix version guard in __dir__ spec | Benoit Daloze | 2020-01-28 | 1 | -2/+2 |
| | |||||
* | Removed useless "spec"s | Nobuyoshi Nakada | 2020-01-27 | 2 | -29/+0 |
| | | | | | It is not specific to particular methods that keyword option arguments are coerced to `Hash`es using `to_hash` method. | ||||
* | Moved Array#sample to rbinc | Nobuyoshi Nakada | 2020-01-26 | 1 | -13/+16 |
| | |||||
* | Moved Array#shuffle and Array#shuffle! to rbinc | Nobuyoshi Nakada | 2020-01-26 | 1 | -4/+7 |
| | |||||
* | spec/ruby/core/process/times_spec.rb: add an output code for debugging | Yusuke Endoh | 2020-01-25 | 1 | -1/+8 |
| | |||||
* | Update version guard | Kazuhiro NISHIYAMA | 2020-01-15 | 1 | -2/+2 |
| | | | | fix up 98ef38ada43338c073f50a0093196f0356284625 | ||||
* | Freeze Regexp literals | Jean Boussier | 2020-01-15 | 4 | -6/+14 |
| | | | | | | | [Feature #8948] [Feature #16377] Since Regexp literals always reference the same instance, allowing to mutate them can lead to state leak. | ||||
* | Include the standard `id` command output | Nobuyoshi Nakada | 2020-01-09 | 1 | -0/+4 |
| | | | | | On macOS, GNU coreutils `id` is limited to NGROUPS_MAX groups, because of the backward compatibility of getgroups(2). | ||||
* | Make eval(code, binding) use (eval) as __FILE__ and 1 as __LINE__ | Jeremy Evans | 2020-01-03 | 3 | -33/+96 |
| | | | | | | | | | This removes the warning that was added in 3802fb92ff8c83eed3e867db20f72c53932f542d, and switches the behavior so that the eval does not use the binding's __FILE__ and __LINE__ implicitly. Fixes [Bug #4352] | ||||
* | Update specs for keyword argument separation | Jeremy Evans | 2020-01-02 | 1 | -9/+29 |
| | |||||
* | Fix Proc#<< spec | Alan Wu | 2019-12-30 | 1 | -11/+25 |
| | | | | [Bug #16406] | ||||
* | Decide lambdaness of (f << g) using g (#2729) | Alan Wu | 2019-12-30 | 1 | -1/+2 |
| | | | | | | * Deciding lambdaness of (f << g) using g * Use version guards for spec changes | ||||
* | Update to ruby/spec@7241f39 | Benoit Daloze | 2019-12-27 | 5 | -16/+13 |
| | |||||
* | Update to ruby/spec@d419e74 | Benoit Daloze | 2019-12-27 | 28 | -499/+597 |
| | |||||
* | Get rid of false positive misspellings | Nobuyoshi Nakada | 2019-12-24 | 1 | -1/+1 |
| | | | | [Bug #16437] | ||||
* | Revert "Should return "." for File.extname("file.") also on Windows" | NAKAMURA Usaku | 2019-12-23 | 1 | -2/+2 |
| | | | | | | | | We want to introduce consistency and better compatibility with unixen, but the Windows APIs doues not have consistency fundamentally and we can not found any logical way... This reverts commit 61aff0cd189e67fa6f2565639ad0128fa33b88fc. | ||||
* | Move version guard outside to make it clear the method was added in Ruby 2.5 | Benoit Daloze | 2019-12-22 | 1 | -2/+2 |
| | |||||
* | Should return "." for File.extname("file.") also on Windows | NAKAMURA Usaku | 2019-12-22 | 1 | -2/+2 |
| | | | | | But not changes another cases, such as "file.rb." [Bug #15267] | ||||
* | Add spec for capturing Kernel#lambda with Kernel#method | Alan Wu | 2019-12-21 | 1 | -0/+7 |
| | |||||
* | Add specs for calling into Kernel#lambda with super | Alan Wu | 2019-12-21 | 2 | -1/+38 |
| | |||||
* | Makes the receiver to FrozenError.new a keyword parameter | Nobuyoshi Nakada | 2019-12-20 | 1 | -1/+1 |
| | | | | [Feature #16419] | ||||
* | Fixed misspellings | Nobuyoshi Nakada | 2019-12-20 | 9 | -14/+14 |
| | | | | Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec. | ||||
* | Test `Thread#to_s` when used from to_s_spec.rb | Nobuyoshi Nakada | 2019-12-11 | 2 | -11/+12 |
| | |||||
* | `Thread#to_s` has been added at ruby 2.5 | Nobuyoshi Nakada | 2019-12-11 | 2 | -8/+4 |
| | |||||
* | Thread#to_s is not same as #inspect on old version. | Koichi Sasada | 2019-12-11 | 1 | -0/+5 |
| | | | | Thread#to_s returns simple Object#to_s until Ruby 2.4. | ||||
* | fix for old MRI versions | Koichi Sasada | 2019-12-11 | 1 | -1/+2 |
| | |||||
* | Make Thread#to_s consistent with Method and Proc to_s | Jean byroot Boussier | 2019-12-11 | 3 | -40/+61 |
| | |||||
* | Revert "Regexp#match{?} with nil raises TypeError as String, Symbol (#1506)" | NARUSE, Yui | 2019-12-04 | 1 | -28/+12 |
| | | | | | This reverts commit 2a22a6b2d8465934e75520a7fdcf522d50890caf. Revert [Feature #13083] | ||||
* | Revert "Revert nil error and adding deprecation message" | NARUSE, Yui | 2019-12-04 | 1 | -16/+4 |
| | | | | This reverts commit 452bee3ee8d68059fabd9b1c7a75661b14e3933e. | ||||
* | Revert "Improve warning message" | NARUSE, Yui | 2019-12-04 | 1 | -2/+2 |
| | | | | This reverts commit 31110d820cc1258cbc84b46ecc65b254c7d5529a. | ||||
* | Revert "Fix warnings in Regexp#{match,match?} specs" | NARUSE, Yui | 2019-12-04 | 1 | -10/+6 |
| | | | | This reverts commit 782d1b8fb0a039cedef9ad9c94f432dad51901e6. | ||||
* | Make more attempts to check for the precision of Process.times | Benoit Daloze | 2019-12-02 | 1 | -2/+2 |
| | | | | | * Process.clock_getres specs use 10_000 but that's quite slow for the Process.times spec. | ||||
* | Fix random failure on getusage-missing environments | Takashi Kokubun | 2019-12-02 | 1 | -32/+4 |
| | | | | | | | | | | | `* 1e6` makes a spurious result about floating point number's precision. ``` irb(main)[01:0]> 16.028 => 16.028 irb(main)[02:0]> (16.028 * 1e6) => 16027999.999999998 ``` | ||||
* | Debug random failure of ruby-spec on ci.rvm.jp | Takashi Kokubun | 2019-12-01 | 1 | -4/+32 |
| | |||||
* | Update to ruby/spec@dcf4955 | Benoit Daloze | 2019-12-01 | 1 | -0/+21 |
| | |||||
* | [ruby/spec] Fix failures with LC_ALL=C | Nobuyoshi Nakada | 2019-12-01 | 10 | -17/+41 |
| | | | | | https://github.com/ruby/spec/commit/51047687c0 https://github.com/ruby/spec/commit/2b87b467cc | ||||
* | Skip if getrusage is not supported | Takashi Kokubun | 2019-11-30 | 1 | -0/+5 |
| | | | | | | | 1243255c3a36433041012b6107a5ac48658a0895 broke ci.rvm.jp tests like http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2445098. 253232c028a5565dbeecc05fab5e81b35ab58bcc works only if getrusage is supported. |