summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-hash-ext
AgeCommit message (Collapse)Author
2019-09-16Add `filter` aliases for `Enumerable` and `Hash`.Yukihiro "Matz" Matsumoto
2018-11-19Removed `to_hash` conversion method.Yukihiro "Matz" Matsumoto
2018-11-19Removed `try_convert` method from Array and Hash.Yukihiro "Matz" Matsumoto
2018-09-26Use `mrb_undef_value` for delete mark instead of shifting Hash entry table.Yukihiro "Matz" Matsumoto
That means entry table should be compacted periodically by `sg_compact()`.
2018-09-20Small refactoring in `mruby-hash-ext`.Yukihiro "Matz" Matsumoto
2018-08-06Reimplement `Hash#compact!` to conform the standard behavior.Yukihiro "Matz" Matsumoto
`Hash#compact!` should return `nil` if the receiver does not change.
2017-12-25`KeyError` from `Hash#fetch` should inspect key.Yukihiro "Matz" Matsumoto
To distinguish string keys and symbol keys.
2017-12-25Add `Hash#slice` [Ruby 2.5]Yukihiro "Matz" Matsumoto
2017-12-25`assert_equal()` takes result as the first argumentYukihiro "Matz" Matsumoto
2017-10-18Add `Hash#to_proc`; CRuby2.3Yukihiro "Matz" Matsumoto
2017-10-18Add `Hash#fetch_values`; CRuby2.3Yukihiro "Matz" Matsumoto
2017-08-17Check whether internal khash is initialized in Hash#compact!Clayton Smith
2017-08-10VM stack may be reallocated during `mrb_hash_get`; fix #3771Yukihiro "Matz" Matsumoto
2017-08-09Implement `Hash#compact!` in C; ref #3769Yukihiro "Matz" Matsumoto
2017-08-09add method(compact, compact!) and test of Hash to mruby-hash-extvvakame
2017-07-30Improved speed of enumeration methodsChristopher Aue
2017-07-15Add `Hash#transform_keys!` and `Hash#transform_values`.Yukihiro "Matz" Matsumoto
2017-07-15Use `keys.each` instead of unstable `each_keys`.Yukihiro "Matz" Matsumoto
2017-07-14Remove duplication in `mruby-hash-ext` test.Yukihiro "Matz" Matsumoto
2017-07-14Add `Hash#transform_{keys,values}` to `mruby-hash-ext`.Yukihiro "Matz" Matsumoto
2017-07-12Use "$!" specifier of `mrb_get_args`.Yukihiro "Matz" Matsumoto
2017-03-21Hash sub class creates new sub class objects instead of HashKouhei Sutou
2016-03-23add #dig testsYukihiro "Matz" Matsumoto
2016-03-23add #dig to Array,Hash and StructYukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-24add {Array|Hash|String}.try_converttakahashim
2015-11-15move Hash comparison methods to mruby-hash-ext gemYukihiro "Matz" Matsumoto
2015-10-21Revert "Mark core gems with mrbgem tag"Seba Gamboa
This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.
2015-10-20Remove obvious warnings from docsSeba Gamboa
2015-10-20Mark core gems with mrbgem tagSeba Gamboa
2015-09-26Refator Hash.fetch testJun Hiroe
2015-09-17Problem: Hash#fetch doesn't raise KeyError when a key cannot be foundAsmod4n
Solution: change the Exception class raised to KeyError when a key cannot be found.
2015-09-16fix block variable in Hash#fetchtakahashim
2015-06-28Rename extended xxxx class or module to xxxx class or module extensionJun Hiroe
2015-06-28Fix typo; Replace extensional with extendedJun Hiroe
2015-06-24Remove unnecessary backticks.Franck Verrot
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2014-09-19to_hash/to_a check in Hash[] should only be done when only one argument is ↵Yukihiro "Matz" Matsumoto
given; ref #2594
2014-09-18copy documentation comment from CRubyINOUE Yasuyuki
2014-09-18remove line number from raise messageINOUE Yasuyuki
2014-09-18refactor Hash generator loopINOUE Yasuyuki
2014-09-06implement Hash.[]INOUE Yasuyuki
2014-07-12Run mrbgem and core tests on minimum dependencies.take_cheeze
Solves #2355. In test drivers: * Uses `mrb_t_pass_result` to check and pass test result to main `mrb_state`. * Adds `mrb_init_test_driver` to init test `mrb_state`.
2014-06-04add Hash#to_h; ref #2348Yukihiro "Matz" Matsumoto
2014-05-10Add comment to Hash#each_pair. And change the lineyui-knk
Add comment about ISO. Current place is misleading so change line No.
2014-05-10Change to raise TypeError (Hash#merge, #merge!)yui-knk
2014-05-09Add Hash#keyJun Hiroe
2014-05-05Add Hash#keep_ifJun Hiroe
2014-05-05Add Hash#invertJun Hiroe
2014-05-04Add Hash#flattenJun Hiroe
2014-05-04Add Hash commentsJun Hiroe