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