diff --git a/README.md b/README.md index 10b1bac15..0ec9b9701 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ ## What is mruby mruby is the lightweight implementation of the Ruby language complying to (part -of) the [ISO standard][ISO-standard] with more recent features provided by Ruby 3.x. -Also, its syntax is Ruby 3.x compatible except for pattern matching. +of) the [ISO standard][ISO-standard] with more recent features provided by Ruby 4.x. +Also, its syntax is Ruby 4.x compatible. You can link and embed mruby within your application. The "mruby" interpreter program and the interactive "mirb" shell are provided as examples. You can also @@ -47,7 +47,7 @@ of the Ministry of Economy, Trade and Industry of Japan. ## How to get mruby -To get mruby, you can download the stable version 3.4.0 from the official mruby +To get mruby, you can download the stable version 4.0.0 from the official mruby GitHub repository or clone the trunk of the mruby source tree with the "git clone" command. You can also install and compile mruby using [ruby-install](https://github.com/postmodern/ruby-install), [ruby-build](https://github.com/rbenv/ruby-build), [rvm](https://github.com/rvm/rvm), [conda](https://anaconda.org/channels/conda-forge/packages/mruby/overview) or [Homebrew](https://formulae.brew.sh/formula/mruby). diff --git a/include/mruby/version.h b/include/mruby/version.h index d95263fda..85fdaa149 100644 --- a/include/mruby/version.h +++ b/include/mruby/version.h @@ -27,7 +27,7 @@ MRB_BEGIN_DECL /* * The version of Ruby used by mruby. */ -#define MRUBY_RUBY_VERSION "3.4" +#define MRUBY_RUBY_VERSION "4.0" /* * Ruby engine. @@ -37,12 +37,12 @@ MRB_BEGIN_DECL /* * Major release version number. */ -#define MRUBY_RELEASE_MAJOR 3 +#define MRUBY_RELEASE_MAJOR 4 /* * Minor release version number. */ -#define MRUBY_RELEASE_MINOR 4 +#define MRUBY_RELEASE_MINOR 0 /* * Tiny release version number.