| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-07-29 | Merge pull request #4407 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/add-assert_raise_with_message-and-assert_raise_with_message_pattern Add `assert_raise_with_message` and `assert_raise_with_message_pattern` | |||
| 2019-07-20 | Fix `Module#dup` to frozen module | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'p Module.new.freeze.dup.frozen?' #=> true After this patch (same as Ruby): $ bin/mruby -e 'p Module.new.freeze.dup.frozen?' #=> false | |||
| 2019-06-30 | Fix `include`, `prepend` and `extend` to frozen object | KOBAYASHI Shuji | |
| 2019-06-16 | Fix cvar, ivar, const and method can be removed to frozen object | KOBAYASHI Shuji | |
| 2019-06-05 | Fix missing assertions in `test/t/module.rb` | KOBAYASHI Shuji | |
| 2019-04-26 | Add `assert_raise_with_message` and `assert_raise_with_message_pattern` | KOBAYASHI Shuji | |
| 2019-04-23 | Fix name assignment to frozen anonymous class/module | KOBAYASHI Shuji | |
| Fix the following issues: A = Class.new.freeze #=> FrozenError Module.new::B = Class.new.freeze #=> FrozenError String::B = Module.new.freeze #=> FrozenError | |||
| 2019-04-22 | Merge pull request #4356 from shuujii/add-assert_match-and-assert_not_match | Yukihiro "Matz" Matsumoto | |
| Add `assert_match` and `assert_not_match` | |||
| 2019-04-14 | Add `assert_match` and `assert_not_match` | KOBAYASHI Shuji | |
| 2019-04-05 | `Module#alias_method` should return `self` in ISO standard | KOBAYASHI Shuji | |
| 2019-03-14 | Fix constant name validation | KOBAYASHI Shuji | |
| `X!` etc are invalid constant name. | |||
| 2019-02-19 | Use more appropriate assertion methods | 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 | |||
| 2018-09-01 | Move `Kernel#send` to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| But `BasicObject#__send__` is still available from the core. | |||
| 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. | |||
| 2018-08-11 | Fix misspelling words in comments | Kazuhiro Sera | |
| 2017-08-29 | Refactored #assert_raise and #assert_nothing_raised | Christopher Aue | |
| 2017-08-01 | Implements `Module::nesting' (15.2.2.3.2); ref #600, #3200 | Yukihiro "Matz" Matsumoto | |
| 2017-07-29 | Merge pull request #3757 from christopheraue/module_const_get_class_path | Yukihiro "Matz" Matsumoto | |
| Extended Module#const_get to support class paths | |||
| 2017-07-28 | Extended Module#const_get to support class paths | Christopher Aue | |
| 2017-07-28 | Fixed return value of Module#include and #prepend | Christopher Aue | |
| 2017-07-18 | Fixed Module#to_s and #name for #const_set modules | Christopher Aue | |
| 2017-03-31 | Modify to get constant of parent module in singleton class; fix #3568 | Kouichi Nakanishi | |
| 2016-10-12 | Module#define_method supports proc argument | ksss | |
| 2015-07-13 | Clean up tests | Blaž Hrastnik | |
| 2015-07-13 | assert() cannot be nested | Blaž Hrastnik | |
| 2015-07-13 | Set origin when doing kind_of? comparisons | Blaž Hrastnik | |
| 2015-07-13 | Enable test_prepend_module_ancestors because it seems to pass. | Blaž Hrastnik | |
| 2015-07-13 | Space out test_prepend_super_in_alias assert | Corey Powell | |
| Also tried to fix it, however the problem lies with how aliased methods are done and their internal structure. mruby simply aliases methods by grabbing the RProc and giving it a new name, super then determines the original method to call by using the name so a method called m, aliased as m2, will call the m2 super method instead of m | |||
| 2015-07-13 | Enable visibility prepend tests again | Blaž Hrastnik | |
| 2015-07-13 | Ported all MRI prepend tests | Corey Powell | |
| And of course, some of them fail miserably | |||
| 2015-07-13 | Removed some debug prints from the test | Corey Powell | |
| 2015-07-13 | Ported a bit more of the MRI Module#prepend tests over | Corey Powell | |
| Currently kind_of fails miserably, still looking for the reason | |||
| 2015-07-13 | Rename classes because of conflicts | Blaž Hrastnik | |
| 2015-07-13 | Implement Module#prepend. | Blaž Hrastnik | |
| 2015-05-29 | check if outer is a class or module | cremno | |
| For modules this check didn't exist yet. Also call #inspect. | |||
| 2014-10-20 | instance_methods etc should not include undef'ed method names; based on a ↵ | Yukihiro "Matz" Matsumoto | |
| patch from @cremno; fix #2613 | |||
| 2014-08-20 | Remove empty lines. | Tatsuhiko Kubo | |
| 2014-07-18 | add Module#module_function | dreamedge | |
| 2014-06-15 | Move direct superclass checking to `test/t/superclass.rb`. | take_cheeze | |
| 2014-05-21 | Module#initialize set created object | ksss | |
| for block argument | |||
| 2014-05-19 | Implement Module#initialize (15.2.2.4.31) | ksss | |
| 2014-05-18 | instance method name use "#" instead of "." for assert | ksss | |
| 2014-04-30 | remove trailing spaces | Nobuyoshi Nakada | |
| 2014-01-25 | clone Class/Module rightly | h2so5 | |
| 2013-12-24 | Change :vattr= to :cattr= in respond_to? test | Carson McDonald | |
| 2013-12-09 | modify test case to check #1606 | Yukihiro "Matz" Matsumoto | |
| 2013-08-13 | Add two tests for issue #1467 | Carson McDonald | |
| 2013-08-02 | I fix order of actual and expect test value in module.rb. | Jun Hiroe | |
| 2013-07-21 | Cleaned up some of the Module#attr tests | Ryan Scott | |
