Unverified Commit 9742bce1 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5059 from mruby/stable

Merge mruby 2.1.2
parents 0b95c8a1 7f8d38bb
......@@ -6,7 +6,7 @@
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "mruby"
PROJECT_NUMBER = 2.1.1
PROJECT_NUMBER = 2.1.2
PROJECT_BRIEF = "mruby is the lightweight implementation of the Ruby language"
......
......@@ -17,7 +17,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
## How to get mruby
The stable version 2.1.1 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/2.1.1.zip](https://github.com/mruby/mruby/archive/2.1.1.zip)
The stable version 2.1.2 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/2.1.2.zip](https://github.com/mruby/mruby/archive/2.1.2.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)
......
......@@ -38,7 +38,7 @@ To confirm mrdb was installed properly, run mrdb with the `--version` option:
```bash
$ mrdb --version
mruby 2.1.1 (2020-06-04)
mruby 2.1.2 (2020-08-06)
```
## 2.2 Basic Operation
......
......@@ -38,7 +38,7 @@ puts [1,2,3]
3
```
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
```
[1, 2, 3]
......@@ -61,7 +61,7 @@ end
`ZeroDivisionError` is raised.
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
No exception is raised.
......@@ -89,7 +89,7 @@ p Liste.new "foobar"
` [] `
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
`ArgumentError` is raised.
......@@ -119,7 +119,7 @@ false
true
```
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
```
true
......@@ -156,7 +156,7 @@ p 'ok'
ok
```
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
```
test.rb:8: undefined method 'test_func' (NoMethodError)
......@@ -178,7 +178,7 @@ defined?(Foo)
nil
```
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
`NameError` is raised.
......@@ -195,7 +195,7 @@ alias $a $__a__
` nil `
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
Syntax error
......@@ -217,7 +217,7 @@ end
`ArgumentError` is raised.
The re-defined `+` operator does not accept any arguments.
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
` 'ab' `
Behavior of the operator wasn't changed.
......@@ -233,7 +233,7 @@ $ ruby -e 'puts Proc.new {}.binding'
#<Binding:0x00000e9deabb9950>
```
#### mruby [2.1.1 (2020-06-04)]
#### mruby [2.1.2 (2020-08-06)]
```
$ ./bin/mruby -e 'puts Proc.new {}.binding'
......@@ -255,7 +255,7 @@ $ ruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'
[[{"a"=>1}], {:b=>2}]
```
#### mruby [mruby 2.1.1]
#### mruby [mruby 2.1.2]
```
$ ./bin/mruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'
......
......@@ -47,7 +47,7 @@ MRB_BEGIN_DECL
/*
* Tiny release version number.
*/
#define MRUBY_RELEASE_TEENY 1
#define MRUBY_RELEASE_TEENY 2
/*
* The mruby version.
......@@ -67,12 +67,12 @@ MRB_BEGIN_DECL
/*
* Release month.
*/
#define MRUBY_RELEASE_MONTH 6
#define MRUBY_RELEASE_MONTH 8
/*
* Release day.
*/
#define MRUBY_RELEASE_DAY 4
#define MRUBY_RELEASE_DAY 6
/*
* Release date as a string.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment