Update version and release date. (mruby 3.1.0 (2022-05-12))

This commit is contained in:
mimaki
2022-05-12 12:19:10 +09:00
parent 242a7f14e0
commit 1bec339230
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "mruby"
PROJECT_NUMBER = 3.0.0
PROJECT_NUMBER = 3.1.0
PROJECT_BRIEF = "mruby is the lightweight implementation of the Ruby language"
+1 -1
View File
@@ -20,7 +20,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
## How to get mruby
The release candidate version 3.1.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/3.1.0-rc2.zip](https://github.com/mruby/mruby/archive/3.1.0-rc2.zip)
The stable version 3.1.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/3.1.0.zip](https://github.com/mruby/mruby/archive/3.1.0.zip)
The latest development version of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/zipball/master](https://github.com/mruby/mruby/zipball/master)
+1 -1
View File
@@ -38,7 +38,7 @@ To confirm mrdb was installed properly, run mrdb with the `--version` option:
```bash
$ mrdb --version
mruby 3.0.0 (2021-03-05)
mruby 3.1.0 (2022-05-12)
```
## 2.2 Basic Operation
+8 -8
View File
@@ -30,7 +30,7 @@ end
`ZeroDivisionError` is raised.
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
`RuntimeError` is raised instead of `ZeroDivisionError`. To re-raise the exception, you have to do:
@@ -66,7 +66,7 @@ p Liste.new "foobar"
` [] `
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
`ArgumentError` is raised.
@@ -96,7 +96,7 @@ false
true
```
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
```
true
@@ -133,7 +133,7 @@ p 'ok'
ok
```
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
```
test.rb:8: undefined method 'test_func' (NoMethodError)
@@ -155,7 +155,7 @@ defined?(Foo)
nil
```
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
`NameError` is raised.
@@ -172,7 +172,7 @@ alias $a $__a__
` nil `
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
Syntax error
@@ -194,7 +194,7 @@ end
`ArgumentError` is raised.
The re-defined `+` operator does not accept any arguments.
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
` 'ab' `
Behavior of the operator wasn't changed.
@@ -210,7 +210,7 @@ $ ruby -e 'puts Proc.new {}.binding'
#<Binding:0x00000e9deabb9950>
```
#### mruby [3.0.0 (2021-03-05)]
#### mruby [3.1.0 (2022-05-12)]
```
$ ./bin/mruby -e 'puts Proc.new {}.binding'
+3 -3
View File
@@ -57,7 +57,7 @@ MRB_BEGIN_DECL
/*
* Patch level string. (optional)
*/
#define MRUBY_PATCHLEVEL_STR "RC2"
#define MRUBY_PATCHLEVEL_STR ""
#ifndef MRUBY_PATCHLEVEL_STR
# if MRUBY_PATCHLEVEL < 0
@@ -85,12 +85,12 @@ MRB_BEGIN_DECL
/*
* Release month.
*/
#define MRUBY_RELEASE_MONTH 3
#define MRUBY_RELEASE_MONTH 5
/*
* Release day.
*/
#define MRUBY_RELEASE_DAY 31
#define MRUBY_RELEASE_DAY 12
/*
* Release date as a string.