diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-13 16:11:24 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-13 16:17:44 +0900 |
| commit | 01dddaf38525b631c61886758628afe8f04b6356 (patch) | |
| tree | 11ed60d7078d00e68dc8dface9dcbbabc056299e | |
| parent | 451985d44be9078660bcb43e4c7d91b3398230a4 (diff) | |
| download | mruby-01dddaf38525b631c61886758628afe8f04b6356.tar.gz mruby-01dddaf38525b631c61886758628afe8f04b6356.zip | |
rename mruby-module-ext to mruby-class-ext; ref #2470
| -rw-r--r-- | mrbgems/default.gembox | 4 | ||||
| -rw-r--r-- | mrbgems/mruby-class-ext/mrbgem.rake | 5 | ||||
| -rw-r--r-- | mrbgems/mruby-class-ext/src/class.c (renamed from mrbgems/mruby-module-ext/src/module.c) | 4 | ||||
| -rw-r--r-- | mrbgems/mruby-class-ext/test/module.rb (renamed from mrbgems/mruby-module-ext/test/module.rb) | 0 | ||||
| -rw-r--r-- | mrbgems/mruby-module-ext/mrbgem.rake | 5 |
5 files changed, 9 insertions, 9 deletions
diff --git a/mrbgems/default.gembox b/mrbgems/default.gembox index 9abbd8512..dab7230aa 100644 --- a/mrbgems/default.gembox +++ b/mrbgems/default.gembox @@ -71,8 +71,8 @@ MRuby::GemBox.new do |conf| # Use Kernel module extension conf.gem :core => "mruby-kernel-ext" - # Use extensional Module class - conf.gem :core => "mruby-module-ext" + # Use class/module extension + conf.gem :core => "mruby-class-ext" # Use mruby-compiler to build other mrbgems conf.gem :core => "mruby-compiler" diff --git a/mrbgems/mruby-class-ext/mrbgem.rake b/mrbgems/mruby-class-ext/mrbgem.rake new file mode 100644 index 000000000..a384b1eef --- /dev/null +++ b/mrbgems/mruby-class-ext/mrbgem.rake @@ -0,0 +1,5 @@ +MRuby::Gem::Specification.new('mruby-class-ext') do |spec| + spec.license = 'MIT' + spec.author = 'mruby developers' + spec.summary = 'class/module extension' +end diff --git a/mrbgems/mruby-module-ext/src/module.c b/mrbgems/mruby-class-ext/src/class.c index 74bece800..8ca7d66c2 100644 --- a/mrbgems/mruby-module-ext/src/module.c +++ b/mrbgems/mruby-class-ext/src/class.c @@ -10,7 +10,7 @@ mrb_mod_name(mrb_state *mrb, mrb_value self) } void -mrb_mruby_module_ext_gem_init(mrb_state *mrb) +mrb_mruby_class_ext_gem_init(mrb_state *mrb) { struct RClass *mod = mrb->module_class; @@ -18,6 +18,6 @@ mrb_mruby_module_ext_gem_init(mrb_state *mrb) } void -mrb_mruby_module_ext_gem_final(mrb_state *mrb) +mrb_mruby_class_ext_gem_final(mrb_state *mrb) { } diff --git a/mrbgems/mruby-module-ext/test/module.rb b/mrbgems/mruby-class-ext/test/module.rb index f721ad0c6..f721ad0c6 100644 --- a/mrbgems/mruby-module-ext/test/module.rb +++ b/mrbgems/mruby-class-ext/test/module.rb diff --git a/mrbgems/mruby-module-ext/mrbgem.rake b/mrbgems/mruby-module-ext/mrbgem.rake deleted file mode 100644 index d1f3952ba..000000000 --- a/mrbgems/mruby-module-ext/mrbgem.rake +++ /dev/null @@ -1,5 +0,0 @@ -MRuby::Gem::Specification.new('mruby-module-ext') do |spec| - spec.license = 'MIT' - spec.author = 'mruby developers' - spec.summary = 'extensional Module class' -end |
