summaryrefslogtreecommitdiff
path: root/spec/ruby/library
AgeCommit message (Collapse)Author
2024-10-03Update spec/ruby/ for colon-style hash inspecttompng
Notes: Merged: https://github.com/ruby/ruby/pull/10924
2024-09-17Skip failing examples related with ↵Hiroshi SHIBATA
https://github.com/ruby/ruby/commit/d81b0588bb3c97167d1f7e2d2a74185e0c19b68c
2024-09-05Move Time#xmlschema in core and optimize itJean Boussier
[Feature #20707] Converting Time into RFC3339 / ISO8601 representation is an significant hotspot for applications that serialize data in JSON, XML or other formats. By moving it into core we can optimize it much further than what `strftime` will allow. ``` compare-ruby: ruby 3.4.0dev (2024-08-29T13:11:40Z master 6b08a50a62) +YJIT [arm64-darwin23] built-ruby: ruby 3.4.0dev (2024-08-30T13:17:32Z native-xmlschema 34041ff71f) +YJIT [arm64-darwin23] warming up...... | |compare-ruby|built-ruby| |:-----------------------|-----------:|---------:| |time.xmlschema | 1.087M| 5.190M| | | -| 4.78x| |utc_time.xmlschema | 1.464M| 6.848M| | | -| 4.68x| |time.xmlschema(6) | 859.960k| 4.646M| | | -| 5.40x| |utc_time.xmlschema(6) | 1.080M| 5.917M| | | -| 5.48x| |time.xmlschema(9) | 893.909k| 4.668M| | | -| 5.22x| |utc_time.xmlschema(9) | 1.056M| 5.707M| | | -| 5.40x| ``` Notes: Merged: https://github.com/ruby/ruby/pull/11510
2024-07-24Add "c_long_size" guard, supplanting "wordsize" and stop using Integer#sizeAlan Wu
What a "word" is when talking about sizes is confusing because it's a highly overloaded term. Intel, Microsoft, and GDB are just a few vendors that have their own definition of what a "word" is. Specs that used the "wordsize" guard actually were mostly testing for the size of the C `long` fundamental type, so rename the guard for clarity. Also, get the size of `long` directly from RbConfig instead of guessing using Integer#size. Integer#size is not guaranteed to have anything to do with the `long` type. Notes: Merged: https://github.com/ruby/ruby/pull/11130
2024-07-18Split URI::Parser examples with RFC2396 and RFC3986Hiroshi SHIBATA
Prepare for https://github.com/ruby/uri/pull/107
2024-07-02Update to ruby/spec@f8987acAndrew Konchin
2024-06-18net-ftp-0.3.6 always return response with put/puttextfile.Hiroshi SHIBATA
* https://github.com/ruby/net-ftp/pull/34 * https://github.com/ruby/net-ftp/issues/36
2024-06-12'SPEC_TEMP_DIR` should not be world-writableKoichi Sasada
`SPEC_TEMP_DIR` is not present until `tmp()` method is called on parallel run. In this case `tmp()` is called with `File.umask = 0`. This patch makes `SPEC_TEMP_DIR` before `File.umask = 0`. To solve the issue essentially, I think `SPEC_TEMP_DIR` should be prepared at the beginning of parallel process.
2024-06-10Fix CI when YJIT is enabledAndrew Konchin
2024-06-10Update to ruby/spec@517f06fAndrew Konchin
2024-05-19Update to ruby/spec@6b04c1dAndrew Konchin
2024-04-02Update to ruby/spec@573cf97Andrew Konchin
2024-03-28Suppress warning at literal stringNobuyoshi Nakada
2024-03-16Prefer the simple read/write `File` singleton methodsNobuyoshi Nakada
2024-03-14Update to ruby/spec@89175b2Benoit Daloze
2024-03-05[DOC] fix some commentscui fliter
Signed-off-by: cui fliter <imcusg@gmail.com>
2024-02-26Update to ruby/spec@3a510bbBenoit Daloze
2024-02-15Skip failing examples at Ruby 3.2+Hiroshi SHIBATA
2024-02-15Re-enabled old bundled gemsHiroshi SHIBATA
2024-02-15ruby-spec: Accept the receiver in backtracesYusuke Endoh
2024-02-15Rename and restructured net/ftp and net/http examplesHiroshi SHIBATA
2024-02-15Move examples related core extension feature by Bigdecimal to under the ↵Hiroshi SHIBATA
library/bigdecimal
2024-02-15ruby-spec: Accept both a backtick and a single quote in error messagesYusuke Endoh
2024-02-12Skip spec failing on i686Benoit Daloze
2024-02-12Exclude a problematic spec when run in CRuby via make test-spec until fixedBenoit Daloze
2024-02-12Update to ruby/spec@ce834adBenoit Daloze
2024-02-05Update to ruby/spec@3fc4444Benoit Daloze
2024-01-22spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/csv/**/*.rb
2024-01-22spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/syslog/**/*.rb
2024-01-22spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/drb/start_service_spec.rb
2024-01-19spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/abbrev/**/*.rb
2024-01-19spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/observer/**/*.rb
2024-01-18Guard bigdecimal related examplesHiroshi SHIBATA
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/core/integer/coerce_spec.rb spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/shared/rational/coerce.rb spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/bigmath/log_spec.rb and example of at_spec.rb
2024-01-18spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/bigdecimal/**/*_spec.rb
2024-01-17spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/base64/**/*_spec.rb
2024-01-16spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' ↵Hiroshi SHIBATA
spec/ruby/library/getoptlong/**/*.rb
2024-01-16Do not pollute toplevel namespaceNobuyoshi Nakada
2023-12-23Fix for older set versionsNobuyoshi Nakada
`Set::VERSION` was not defined in old set.rb bundled with ruby 3.2 or earlier. Also add comment for spec/mspec/tool/remove_old_guards.rb.
2023-12-23Set 1.1 now checks subclass-ness stricterNobuyoshi Nakada
2023-11-30Fix failing specMisaki Shioi
2023-11-27Update to ruby/spec@c3206f6Benoit Daloze
2023-11-07Skip example for 07df8a5d5ee725eee00632717ea4deead5fc783bHiroshi SHIBATA
2023-11-06Fix the CI failure in OpenBSDYusuke Endoh
LibreSSL seems not to support `scrypt`. https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20231105T233005Z.fail.html.gz ``` 1) OpenSSL::KDF.scrypt creates the same value with the same input ERROR NoMethodError: undefined method `scrypt' for module OpenSSL::KDF ```
2023-10-31Disable wrong testNobuyoshi Nakada
2023-10-30Update to ruby/spec@d56bd0fBenoit Daloze
2023-10-30Revert "OpenSSL::KDF.scrypt needs EVP_PBE_scrypt()"Benoit Daloze
This reverts commit d434765faead1583ca9008bb579067a288085b93.
2023-10-31OpenSSL::KDF.scrypt needs EVP_PBE_scrypt()Nobuyoshi Nakada
2023-10-30Update to ruby/spec@bd7017fBenoit Daloze
2023-10-04BigDecimal#to_s has not changed for fraction partNobuyoshi Nakada
The test for integer part was separated at dc54574adefe.
2023-09-30Fix failures when all network interfaces are downNobuyoshi Nakada