aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Upcoming Struct#new behaviorNobuyoshi Nakada2021-01-181-7/+22
|
* Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun2021-01-132-2/+2
| | | | | | | | because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
* Remove "." and ".." from Dir.glob with FNM_DOTMATCH [Bug #17280]Nobuyoshi Nakada2021-01-123-19/+70
| | | | Co-authored-by: Jeremy Evans <code@jeremyevans.net>
* [ruby/matrix] use an exclusive range [Bug #17521]Nobuyoshi Nakada2021-01-111-1/+1
|
* [ruby/matrix] Fix 0-th power [Bug #17521] (#4047)Marc-André Lafortune2021-01-101-3/+16
|
* Track Bundler master(2.3.0.dev) branch at ↵Hiroshi SHIBATA2021-01-0437-245/+293
| | | | 55634a8af18a52df86c4275d70fa1179118bcc20
* Suppress too big exponent warningsNobuyoshi Nakada2020-12-281-5/+15
|
* Update to ruby/spec@4ce9f41Benoit Daloze2020-12-27108-265/+1320
|
* Update to ruby/mspec@a40a674Benoit Daloze2020-12-274-15/+16
|
* Fix typosMarcus Stollsteimer2020-12-244-4/+4
|
* Fix class of method in Method#inspect for singleton classes of classesJeremy Evans2020-12-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Previously, due to a change to fix bug 15608, Method#inspect output changed for class methods: Ruby 2.7 "#<Method: String.prepend(*)>" Before change: "#<Method: #<Class:Object>(Module)#prepend(*)>" This is wrong because the Method object was created from String and not Object. This is because the fix for bug 15608 assumed it was being called on the singleton class of a instance, and would skip the first singleton class until it got to the class itself. For class methods, this results in always using the superclass. Fix behavior to not skip until the superclass if the singleton class is the singleton class of a module or class. After change: "#<Method: #<Class:Object>(Module)#prepend(*)>" Fixes [Bug #17428]
* Merge RubyGems 3.2.3 and Bundler 2.2.3Hiroshi SHIBATA2020-12-235-1/+204
|
* Enumerator.new: raise unless block given卜部昌平2020-12-222-30/+42
| | | | | Has been deprecated since c73b6bd7ebd01133538c645566944132dbde4d13. [Feature #17116] [ruby-dev:50945]
* Remvoed no longer needed version guardsNobuyoshi Nakada2020-12-223-16/+0
|
* Removed rb_cData entityNobuyoshi Nakada2020-12-223-1/+9
| | | | | | | * Use the wrapper of rb_cObject instead of data access * Replaced rest of extentions * Updated the version guard for Data * Added the version guard of rb_cData
* Data: delete卜部昌平2020-12-221-7/+9
| | | | | | | | Has been deprecated since 684bdf6171b76f5bc5e4f05926a5ab01ec2b4fd5. Matz says in [ruby-core:83954] that Data should be an alias of Object. Because rb_cData has not been deprecated, let us deprecate the constant to make it a C-level synonym of rb_cObject.
* Fix misspellings [ci skip]Kazuhiro NISHIYAMA2020-12-213-3/+3
|
* Use Integer instead of Fixnum/BignumNobuyoshi Nakada2020-12-21144-389/+391
|
* Fixed indefinite articles before "Integer" [ci skip]Nobuyoshi Nakada2020-12-215-5/+5
|
* Fixnum as a Symbol was an old feature until 1.6Nobuyoshi Nakada2020-12-218-8/+8
|
* BigDecimal#precs is deprecatedNobuyoshi Nakada2020-12-202-61/+71
|
* Feature 17314: allow to pass array to public, protected and private methodsRadosław Bułat2020-12-194-8/+92
|
* Make `Hash#except` always return a HashMarc-Andre Lafortune2020-12-191-3/+4
| | | | [Feature #15822]
* Feature 17314: alias_method returns symbolRadosław Bułat2020-12-191-2/+13
|
* spec/ruby/core/module/attr_*: Add version guardsYusuke Endoh2020-12-194-14/+56
|
* attr_reader, attr_writer, attr_accessor and attr methods returns array of ↵Radosław Bułat2020-12-194-0/+26
| | | | | symbols (#3935) Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
* Revert "Better cooperation between public/protected/private with attr* and ↵Yusuke Endoh2020-12-189-173/+10
| | | | | | alias_method" This reverts commit 81739ad4fdfcc86a769056fec352f27c686fba1b.
* Merge RubyGems 3.2.2 and Bundler 2.2.2Hiroshi SHIBATA2020-12-184-7/+64
|
* Better cooperation between public/protected/private with attr* and alias_methodRadosław Bułat2020-12-179-10/+173
|
* Optimize `Enumerable#grep{_v}`Marc-Andre Lafortune2020-12-152-14/+34
| | | | [Bug #17030]
* Prepare to release rubygems-3.2.1 and bundler-2.2.1Hiroshi SHIBATA2020-12-1511-65/+223
|
* Deprecate Random::DEFAULTBenoit Daloze2020-12-141-3/+15
| | | | * Closes [Feature #17351].
* Don't emit warning when the pattern of one-line pattern matching is just a ↵Kazuki Tsujimoto2020-12-133-6/+6
| | | | | | variable pattern https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20201210Japan.md#feature-17371-reintroduce-expr-in-pat-ktsj
* spec: suppress deprecations of "lambda(&proc_block)" patternYusuke Endoh2020-12-123-11/+21
|
* Let Fiber#raise work with transferring fibersnicholas a. evans2020-12-121-0/+25
| | | | | | This automatically choosess whether to use transfer on a transferring fiber or resume on a yielding fiber. If the fiber is resuming, it raises a FiberError.
* Ad-hoc fix of test-bundlerNobuyoshi Nakada2020-12-091-0/+10
|
* Merge prepare version of Bundler 2.2.0Hiroshi SHIBATA2020-12-0847-693/+931
|
* Windows: Read ENV names and values as UTF-8 encoded Strings (#3818)Lars Kanis2020-12-084-4/+8
| | | | | | | | | | | | | | | | | | | | | * Windows: Read ENV names and values as UTF-8 encoded Strings Implements issue #12650: fix https://bugs.ruby-lang.org/issues/12650 This also removes the special encoding for ENV['PATH'] and some complexity in the code that is unnecessary now. * Windows: Improve readablity of getenv() encoding getenv() did use the expected codepage as an implicit parameter of the macro. This is mis-leading since include/ruby/win32.h has a different definition. Using the "cp" variable explicit (like the other function calls) makes it more readable and consistent. * Windows: Change external C-API macros getenv() and execv() to use UTF-8 They used to process and return strings with locale encoding, but since all ruby-internal spawn and environment functions use UTF-8, it makes sense to change the C-API equally.
* Set default for Encoding.default_external to UTF-8 on Windows (#2877)Lars Kanis2020-12-082-3/+3
| | | | | | * Use UTF-8 as default for Encoding.default_external on Windows * Document UTF-8 change on Windows to Encoding.default_external fix https://bugs.ruby-lang.org/issues/16604
* Removed deprecated Time#succNobuyoshi Nakada2020-12-071-27/+29
|
* Update the version guard to 3.0Nobuyoshi Nakada2020-12-071-1/+1
|
* Hash#index: delete卜部昌平2020-12-071-2/+4
| | | | Has been deprecated since 0c97c8e33584e6203bb09c08f92b63bd2cca8ae7.
* Wrap SortedSet with `ruby_version_is ""..."3.0"`Benoit Daloze2020-12-0544-549/+681
| | | | * Using $ spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.0"' spec/ruby/library/set/sortedset/**/*_spec.rb
* Add MSpec tool to automatically wrap spec files with a guardBenoit Daloze2020-12-051-0/+28
|
* Revert "SortedSet was removed at a3db08d7b6ff119223f77e3df00b4f6deac971e2"Benoit Daloze2020-12-0552-0/+939
| | | | | * This reverts commit b06ffce4aef002dc47c3c5968181230e7ab8d7cc. * Do not revert specs, wrap them with `ruby_version_is` (tool for that in next commit).
* 2.8 -> 3.0 in specsBenoit Daloze2020-12-0416-17/+15
|
* Skip subclass spec with SortedSetHiroshi SHIBATA2020-12-041-4/+6
|
* SortedSet was removed at a3db08d7b6ff119223f77e3df00b4f6deac971e2Hiroshi SHIBATA2020-12-0452-939/+0
|
* delete deprecated IO-like methods卜部昌平2020-12-0315-111/+137
| | | | | | | | | This commit deletes {IO,ARGF,StringIO,Zib::GZipReader}#{bytes,chars,lines,codepoints}, which have been deprecated since c47c095b9740e7c19d6fdca29ab661c1089221d4. Note that String also has those methods. They are neither depreacted nor deleted because they are not aliases of counterpart each_something.
* ENV.index: delete卜部昌平2020-12-021-6/+8
| | | | Has been deprecated since 373282f6656d3d3d989d261e7a95f8e81b5c9712.