Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make yield in singleton class definitions in methods a SyntaxError | Jeremy Evans | 2020-02-11 | 1 | -1/+9 |
| | | | | | | | | This behavior was deprecated in 2.7 and scheduled to be removed in 3.0. Calling yield in a class definition outside a method is now a SyntaxError instead of a LocalJumpError, as well. | ||||
* | Removed a useless guard | Nobuyoshi Nakada | 2020-02-09 | 1 | -1/+1 |
| | | | | MSpec requires Ruby 2.4 or more recent. | ||||
* | 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 | ||||
* | [DOC] Added 2.7.x to the latest stable versions [ci skip] | Nobuyoshi Nakada | 2020-02-08 | 1 | -1/+1 |
| | |||||
* | [ruby/spec] Don't care about return values | Nobuyoshi Nakada | 2020-02-06 | 3 | -57/+4 |
| | | | | | | RDoc says nothing about them. Added an example that ConditionVariable#wait can be woken up by ConditionVariable#signal, instead. | ||||
* | [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 | 5 | -16/+24 |
| | | | | | Check if threads are stopped by Thread#stop? instead of the status name. | ||||
* | Update to ruby/spec@f8a2d54 | Benoit Daloze | 2020-01-28 | 76 | -224/+2451 |
| | |||||
* | Update to ruby/mspec@9bce874 | Benoit Daloze | 2020-01-28 | 3 | -1/+11 |
| | |||||
* | Fix some spec breakage on 2.7 related to keyword arguments | Jeremy Evans | 2020-01-28 | 1 | -11/+21 |
| | | | | | | | These specs were probably added in the commit to fully separate keyword arguments after the release of 2.7.0, but apparently not tested on 2.7 before hand. The enclosing ruby_version guard for these specs limits them to 2.7. | ||||
* | Run specs against the latest release of 2.4 | Benoit Daloze | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Guarded the examples for deprecated "taint" | Nobuyoshi Nakada | 2020-01-23 | 3 | -23/+33 |
| | |||||
* | Update version guard | Kazuhiro NISHIYAMA | 2020-01-15 | 2 | -3/+3 |
| | | | | fix up 98ef38ada43338c073f50a0093196f0356284625 | ||||
* | Freeze Regexp literals | Jean Boussier | 2020-01-15 | 6 | -9/+23 |
| | | | | | | | [Feature #8948] [Feature #16377] Since Regexp literals always reference the same instance, allowing to mutate them can lead to state leak. | ||||
* | Also ignored cve_2014_8080_spec | Hiroshi SHIBATA | 2020-01-12 | 1 | -24/+27 |
| | |||||
* | Ignore rexml examples on ruby/spec | Hiroshi SHIBATA | 2020-01-12 | 104 | -1550/+1862 |
| | |||||
* | 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). | ||||
* | Merge bundler-2.1.4 | Hiroshi SHIBATA | 2020-01-08 | 14 | -105/+185 |
| | |||||
* | 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 | 5 | -213/+633 |
| | |||||
* | [bundler/bundler] Add ruby2_keywords | Sutou Kouhei | 2020-01-01 | 3 | -3/+3 |
| | | | | https://github.com/bundler/bundler/commit/29d932d72d | ||||
* | MinGW on Actions (#2791) | MSP-Greg | 2019-12-30 | 1 | -13/+15 |
| | | | | | | | | | | | | | | | | | | | * MinGW - skip spec in spec/ruby/optional/capi/thread_spec.rb C-API Thread function rb_thread_call_without_gvl -- runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO stops/freezes spec tests See https://bugs.ruby-lang.org/issues/16265 * MinGW - skip test test/resolv/test_dns.rb Test times out in CI (both AppVeyor & Actions), cannot repo locally * MinGW - skip test test/ruby/test_thread_queue.rb * Add Actions mingw.yml | ||||
* | 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/mspec@673fcab | Benoit Daloze | 2019-12-27 | 1 | -2/+8 |
| | |||||
* | Update to ruby/spec@d419e74 | Benoit Daloze | 2019-12-27 | 44 | -530/+788 |
| | |||||
* | Update to ruby/mspec@1034afc | Benoit Daloze | 2019-12-27 | 1 | -6/+1 |
| | |||||
* | Merge Bundler 2.1.2 from bundler/bundler. | Hiroshi SHIBATA | 2019-12-25 | 1 | -0/+6 |
| | | | | [Misc #16449][ruby-core:96458] | ||||
* | 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 | 8 | -10/+10 |
| | | | | Fixed misspellings reported at [Bug #16437], for default gems. | ||||
* | Fixed misspellings | Nobuyoshi Nakada | 2019-12-20 | 12 | -17/+17 |
| | | | | Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec. | ||||
* | Merge bundler-2.1.1 from bundler/bundler | Hiroshi SHIBATA | 2019-12-18 | 1 | -0/+6 |
| | |||||
* | close datasocket on stor of server side | NARUSE, Yui | 2019-12-17 | 1 | -1/+1 |
| | |||||
* | Delegate should be supported now | David RodrÃguez | 2019-12-15 | 1 | -1/+1 |
| | | | | Since `did_you_mean` dropped its dependency on it. | ||||
* | Fixed test failures with gem command path on ruby core repo. | Hiroshi SHIBATA | 2019-12-15 | 4 | -4/+8 |
| | |||||
* | Prepare to release bundler-2.1.0 | Hiroshi SHIBATA | 2019-12-15 | 47 | -248/+269 |
| | |||||
* | 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 |
| |