summaryrefslogtreecommitdiff
path: root/test/ruby/test_struct.rb
AgeCommit message (Expand)Author
2020-05-08Classes made from Struct should have default `new` singleton method.Marc-Andre Lafortune
2020-01-28support multi-run for test/ruby/test_struct.rbKoichi Sasada
2020-01-02Update tests for full keyword argument separationJeremy Evans
2019-12-23Reword keyword arguments warning messages to convey these are deprecation war...Marc-Andre Lafortune
2019-12-20vm_args.c: rephrase the warning message of keyword argument separationYusuke Endoh
2019-12-20Fixed misspellingsNobuyoshi Nakada
2019-11-29Reduce duplicated warnings for the change of Ruby 3 keyword argumentsYusuke Endoh
2019-11-19Avoid needless object allocationKazuki Tsujimoto
2019-11-08Fix typoKazuki Tsujimoto
2019-11-08Define Struct#deconstruct_keysKazuki Tsujimoto
2019-10-31Allow only one argument for keyword_init structAlan Wu
2019-10-21Pass the called keyword arguments if `keyword_init`Nobuyoshi Nakada
2019-09-27Fix warning when doing Struct.new(:x, keyword_init: true){}Jeremy Evans
2019-09-03Do not turn on keyword_init for Struct subclass if keyword hash is emptyJeremy Evans
2019-08-29Disallow use of attrset symbols as Struct membersJeremy Evans
2019-04-08struct.c: force hash values fixablenobu
2018-09-20Enumerable#to_h with block and so onnobu
2018-09-16Alias Struct#select as Struct#filter. Patch by Kenichi Kamiya.marcandre
2017-12-12struct.c: show `keyword_init: true` on inspectk0kubun
2017-12-12test_struct.rb: rename constants to clarifyk0kubun
2017-12-12struct.c: add keyword_init option to Struct.newk0kubun
2016-11-14* test/ruby/test_module.rb: Method tables are not guaranteed to beheadius
2016-05-21hash method valuesnobu
2016-05-17Use Integer instead of Fixnum and Bignum.akr
2016-04-16struct.c: unique membersnobu
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-12-16* test_struct.rb: Test that initialize is overridable [#11708]marcandre
2015-11-16struct.c: dignobu
2015-11-16struct.c: fix index in messagenobu
2014-12-16iseq.c: struct accessorsnobu
2014-12-09struct: avoid all O(n) behavior on accessnormal
2014-11-13* test/lib/envutil.rb: Moved from test/ruby/.akr
2014-03-28struct.c: avoid pinning downnobu
2014-02-13parse.y: attrset from junk IDnobu
2014-01-04* struct.c (rb_struct_set): return assigned value from setter methodcharliesome
2013-12-13test/ruby: better assertionsnobu
2013-12-07test_struct.rb: use assert_samenobu
2013-12-07test_struct.rb: use assert_predicatenobu
2013-12-06* test/ruby/test_struct.rb: Add regression test for question marks andcharliesome
2013-10-27struct.c: fix warning messagenobu
2013-08-11parse.y: non-local/const attrsetnobu
2013-08-10parse.y: non-local/const attrsetnobu
2013-06-12* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo
2012-12-22* struct.c (make_struct): remove junk ID check to allow members whoglass
2012-11-19struct.c: yield assoc in each_pairnobu
2012-04-24* hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.nobu
2011-07-17* error.c (rb_check_trusted): new function to check an object isnobu
2009-11-26* test/ruby/test_range.rb (TestRange#test_comparison_when_recursive):yugui
2009-08-12* class.c (rb_define_class_id_under, rb_define_module_id_under):nobu
2009-08-12* test/ruby/test_struct.rb (test_inspect): use assert_match.nobu