path: root/test/ruby/test_hash.rb
AgeCommit message (Expand)Author
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
2018-09-20Enumerable#to_h with block and so onnobu
2018-09-19* hash.c (rb_hash_merge): Accepts zero or more hashes as argumentsmame
2018-02-25Add a new #filter alias for #selecteregon
2018-01-26hash.c: support key swapping in Hash#transform_keys!mrkn
2017-12-30hash literal deduplicates like Hash#[]=normal
2017-12-29test/ruby/test_hash: minor test cleanupnormal
2017-12-22force hash values fixableusa
2017-12-12Add FrozenError as a subclass of RuntimeErrorshyouhei
2017-10-22Add arity check into Hash#flattenglass
2017-10-21hash.c: Add Hash#sliceglass