| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-04-25 | Singleton class of frozen object should be frozen | KOBAYASHI Shuji | |
| Before this patch: p (class << Object.new.freeze; self end).frozen? #=> false sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> false After this patch / Ruby: p (class << Object.new.freeze; self end).frozen? #=> true sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> true | |||
| 2019-04-24 | Fix modiying class variable to frozen class/module | KOBAYASHI Shuji | |
| 2019-03-02 | Fix missing assertion in `test/t/class.rb` | KOBAYASHI Shuji | |
| 2019-01-28 | `class`/`module` expression with empty body should return `nil` | KOBAYASHI Shuji | |
| Before: p(class A end) #=> A p(class << self; end) #=> #<Class:#<Object:0x7fdc3880e420>> p(module B end) #=> B After/Ruby: p(class A end) #=> nil p(class << self; end) #=> nil p(module B end) #=> nil | |||
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2018-08-30 | Separate meta-programming features to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| We assume meta-programming is less used in embedded environments. We have moved following methods: * Kernel module global_variables, local_variables, singleton_class, instance_variables, instance_variables_defined?, instance_variable_get, instance_variable_set, methods, private_methods, public_methods, protected_methods, singleton_methods, define_singleton_methods * Module class class_variables, class_variables_defined?, class_variable_get, class_variable_set, remove_class_variable, included_modules, instance_methods, remove_method, method_removed, constants * Module class methods constants, nesting Note: Following meta-programming methods are kept in the core: * Module class alias_method, undef_method, ancestors, const_defined?, const_get, const_set, remove_const, method_defined?, define_method * Toplevel object define_method `mruby-metaprog` gem is linked by default (specified in default.gembox). When it is removed, it will save 40KB (stripped:8KB) on x86-64 environment last time I measured. | |||
| 2017-10-11 | Test for MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2017-04-06 | Get constant of parent class even if child class is defined in signleton ↵ | Kouichi Nakanishi | |
| class; fix #3575 | |||
| 2017-03-30 | Modify class variable definition in singleton class; fix #3539 | Kouichi Nakanishi | |
| 2016-12-01 | Add test for recently fixed bugs | Yutaka HARA | |
| 2016-11-24 | Fix segfault on remove_method with invalid argument | Bouke van der Bijl | |
| Reported by https://hackerone.com/jpenalbae | |||
| 2016-01-11 | Fix class variable reference in module | Kouhei Sutou | |
| Fix #3079 | |||
| 2015-05-29 | check if outer is a class or module | cremno | |
| For modules this check didn't exist yet. Also call #inspect. | |||
| 2014-08-09 | Fix a bug that class variable can't be referenced from class method | Kouhei Sutou | |
| Class method defined in singleton class should be evaluated in class context not singleton class context. fix #2515 | |||
| 2014-06-15 | Move direct superclass checking to `test/t/superclass.rb`. | take_cheeze | |
| 2014-05-22 | Class.new add test case | ksss | |
| 2014-01-25 | clone Class/Module rightly | h2so5 | |
| 2013-12-27 | When superclass isn't a class tests | Carson McDonald | |
| 2013-12-27 | More singleton tests | Carson McDonald | |
| 2013-12-25 | Add more testing for singletons | Carson McDonald | |
| 2013-10-30 | implement Class.new with block | h2so5 | |
| 2013-10-25 | update test code to ensure return value from class statement | Yukihiro "Matz" Matsumoto | |
| 2013-10-25 | add a regression for #1544 | fleuria | |
| 2013-08-13 | Test for Class#inherited | Carson McDonald | |
| 2013-08-13 | Add test for Class.new(*args) | Carson McDonald | |
| 2013-08-02 | I fix order of actual and expect test value in class.rb. | Jun Hiroe | |
| 2013-06-14 | Merge pull request #1279 from Bovi-Li/improve-tests | Yukihiro "Matz" Matsumoto | |
| Improve Test Infrastructure (Part 1) | |||
| 2013-06-09 | Singleton raises TypeError on #new | Daniel Bovensiepen | |
| 2013-06-09 | Improve Class tests | Daniel Bovensiepen | |
| 2013-06-09 | Improve alias tests | Daniel Bovensiepen | |
| 2013-06-09 | Improve undef tests | Daniel Bovensiepen | |
| 2013-06-08 | Add undef var test | Carson McDonald | |
| 2013-04-02 | Add test cases. | Masaki Muranaka | |
| 2013-01-20 | Add test for `undef` and `alias`. | Masamitsu MURASE | |
| 2012-07-29 | Modify test for Class. | Masamitsu MURASE | |
| * Rename some classes in test/t/class.rb to avoid name conflict. * Add tests for mismatch fo superclass. | |||
| 2012-06-03 | Improve Class#superclass to ISO | Daniel Bovensiepen | |
| 2012-06-03 | resolve conflict in test/t/class.rb | Yukihiro Matsumoto | |
| 2012-06-03 | Add Class#superclass; a patch made by @bovi; close #234 | Yukihiro Matsumoto | |
| 2012-06-03 | Add first test case for Class#new and prepare further feature tests for it | Daniel Bovensiepen | |
| 2012-05-25 | Add Tests for all Exception classes, for false, true, Proc, Module, nil and ↵ | Daniel Bovensiepen | |
| Object | |||
