path: root/test/ruby/test_hash.rb
AgeCommit message (Expand)Author
7 daysDo not change hash type in Hash#assocNobuyoshi Nakada
7 daysRaise an exception when Hash#compare_by_identity during its iterationYusuke Endoh
13 daysNo need to save `$VERBOSE`Nobuyoshi Nakada
13 daysSeparate tests for Hash only from tests for Hash and its subclassesNobuyoshi Nakada
2023-11-11[Bug #19969] Compact st_table after deleted if possibleNobuyoshi Nakada
2023-09-23Fix memory leak in Hash#rehash for ST hashesPeter Zhu
2023-06-29Fix memory leak in Hash#replacePeter Zhu
2023-06-29Add memory leak test for allocating ST hashesPeter Zhu
2023-05-23Fix crash when replacing ST hash with AR hashPeter Zhu
2023-04-11hash.c: Fix hash_iter_lev_dec corrupting shapeJean Boussier
2022-08-04Fix inconsistency with opt_aref_withJohn Hawthorn
2022-06-10Make method id explicit in rb_exec_recursive_outerJohn Hawthorn
2022-02-10st.c: Do not clear entries_bound when calling Hash#shift for empty hashYusuke Endoh
2022-01-14Make Hash#shift return nil for empty hashJeremy Evans
2021-09-11Add documentation and tests for keyword argument value omissionShugo Maeda
2021-09-11Another test for [Feature #14579]Nobuyoshi Nakada
2021-09-11Allow value omission in Hash literalsShugo Maeda
2021-08-29Free previously used tables [Bug #18134]Nobuyoshi Nakada
2021-08-19Remove old warning aged nearly 8 yearsNobuyoshi Nakada
2021-07-15Copy hash compare_by_identity setting in more casesJeremy Evans
2021-07-08Split test of Hash.[] and add assertion for default value/procNobuyoshi Nakada
2021-03-28Keep non evaluated keys in `Hash#transform_keys!` [Bug #17735]Kenichi Kamiya
2021-03-22Hash#transform_values! ensures receiver modifiable in block [Bug #17736]Kenichi Kamiya
2021-03-21Ensure the receiver hash modifiable before updating [Bug #17736]Nobuyoshi Nakada
2021-03-21Add Hash#{update, merge!} test to ensure receiver modifiable in blockKenichi Kamiya
2021-03-20Some Hash destructive methods ensure the receiver modifiable [Bug #17736]Kenichi Kamiya
2021-03-18Avoid rehashing in Hash#replace/dup/initialize_copy [Bug #16996]Marc-Andre Lafortune
2021-03-18Avoid rehashing in Hash#select/reject [Bug #16996]Marc-Andre Lafortune
2020-12-31Make any hash values fixable [Bug #17488]Nobuyoshi Nakada
2020-12-17test/ruby: suppress some warningsYusuke Endoh
2020-12-17test/ruby: Check warning messages at a finer granularityNobuyoshi Nakada
2020-09-21Make hash returned by Hash#transform_values not have a defaultJeremy Evans
2020-06-18Add Hash#except ENV#except [Feature #15822]Timo Schilling
2020-03-16`Proc` made by `Hash#to_proc` should be a lambda [Bug #12671]Yusuke Endoh
2020-03-16hash.c: Do not use the fast path (rb_yield_values) for lambda blocksYusuke Endoh
2020-03-07check ar_table after `#hash` callKoichi Sasada
2020-02-25should count only string.Koichi Sasada
2020-01-19Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/Ryuta Kamizono
2020-01-17hash.c: Add a feature to manipulate ruby2_keywords flagYusuke Endoh
2020-01-10Hash#transform_values should return a plain new HashNobuyoshi Nakada
2019-12-26Transform hash keys by a hash [Feature #16274]Nobuyoshi Nakada
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
2019-08-01check hash_hint is different.Koichi Sasada
2019-07-31test/ruby/test_hash.rb: remove a unused vribleYusuke Endoh
2019-07-31check SystemStackErrorKoichi Sasada
2019-07-31remove RHash::iter_lev.Koichi Sasada
2019-05-23hash.c (rb_hash_s_create): Reject `Hash[[nil]]`Yusuke Endoh
2018-12-07Adjust reserved hash valuesnobu
2018-11-29clear dst Hash on Hash#replace. [Bug #15358]ko1
2018-10-26hash.c: aset deduplicates un-tainted stringnormal