Unverified Commit 125c6609 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4830 from mruby/stable

Release `mruby 2.1.0`.
parents 79e73dd8 57a56dda
......@@ -6,7 +6,7 @@
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "mruby"
PROJECT_NUMBER = 2.0.1
PROJECT_NUMBER = 2.1.0
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.0.1 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/2.0.1.zip](https://github.com/mruby/mruby/archive/2.0.1.zip)
The stable version 2.1.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/2.1.0.zip](https://github.com/mruby/mruby/archive/2.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)
......
......@@ -38,7 +38,7 @@ To confirm mrdb was installed properly, run mrdb with the `--version` option:
```bash
$ mrdb --version
mruby 2.0.1 (2019-4-4)
mruby 2.1.0 (2019-11-19)
```
## 2.2 Basic Operation
......
......@@ -38,7 +38,7 @@ puts [1,2,3]
3
```
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
```
[1, 2, 3]
......@@ -61,7 +61,7 @@ end
`ZeroDivisionError` is raised.
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
No exception is raised.
......@@ -89,7 +89,7 @@ p Liste.new "foobar"
` [] `
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
`ArgumentError` is raised.
......@@ -119,7 +119,7 @@ false
true
```
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
```
true
......@@ -156,7 +156,7 @@ p 'ok'
ok
```
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
```
test.rb:8: undefined method 'test_func' (NoMethodError)
......@@ -178,7 +178,7 @@ defined?(Foo)
nil
```
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
`NameError` is raised.
......@@ -195,7 +195,7 @@ alias $a $__a__
` nil `
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
Syntax error
......@@ -217,7 +217,7 @@ end
`ArgumentError` is raised.
The re-defined `+` operator does not accept any arguments.
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
` 'ab' `
Behavior of the operator wasn't changed.
......@@ -233,7 +233,7 @@ $ ruby -e 'puts Proc.new {}.binding'
#<Binding:0x00000e9deabb9950>
```
#### mruby [2.0.1 (2019-4-4)]
#### mruby [2.1.0 (2019-11-19)]
```
$ ./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.0.1]
#### mruby [mruby 2.1.0]
```
$ ./bin/mruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'
......
......@@ -42,12 +42,12 @@ MRB_BEGIN_DECL
/*
* Minor release version number.
*/
#define MRUBY_RELEASE_MINOR 0
#define MRUBY_RELEASE_MINOR 1
/*
* Tiny release version number.
*/
#define MRUBY_RELEASE_TEENY 1
#define MRUBY_RELEASE_TEENY 0
/*
* The mruby version.
......@@ -67,12 +67,12 @@ MRB_BEGIN_DECL
/*
* Release month.
*/
#define MRUBY_RELEASE_MONTH 4
#define MRUBY_RELEASE_MONTH 11
/*
* Release day.
*/
#define MRUBY_RELEASE_DAY 4
#define MRUBY_RELEASE_DAY 19
/*
* 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