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

Merge pull request #4357 from mruby/stable

Update version and release date. `mruby 2.0.1 (2019-4-4)`
parents d26f03b4 7c91efc1
......@@ -17,7 +17,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
## How to get mruby
The stable version 2.0.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/2.0.0.zip](https://github.com/mruby/mruby/archive/2.0.0.zip)
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 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.0 (2018-12-11)
mruby 2.0.1 (2019-4-4)
```
## 2.2 Basic Operation
......
......@@ -38,7 +38,7 @@ puts [1,2,3]
3
```
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
```
[1, 2, 3]
......@@ -61,7 +61,7 @@ end
```ZeroDivisionError``` is raised.
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
No exception is raised.
......@@ -89,7 +89,7 @@ p Liste.new "foobar"
``` [] ```
#### mruby [1.4.1 (2018-4-27)]
#### mruby [2.0.1 (2019-4-4)]
```ArgumentError``` is raised.
......@@ -119,7 +119,7 @@ false
true
```
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
```
true
......@@ -142,7 +142,7 @@ defined?(Foo)
nil
```
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
```NameError``` is raised.
......@@ -159,7 +159,7 @@ alias $a $__a__
``` nil ```
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
Syntax error
......@@ -181,7 +181,7 @@ end
```ArgumentError``` is raised.
The re-defined ```+``` operator does not accept any arguments.
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
``` 'ab' ```
Behavior of the operator wasn't changed.
......@@ -197,7 +197,7 @@ $ ruby -e 'puts Proc.new {}.binding'
#<Binding:0x00000e9deabb9950>
```
#### mruby [2.0.0 (2018-12-11)]
#### mruby [2.0.1 (2019-4-4)]
```
$ ./bin/mruby -e 'puts Proc.new {}.binding'
......@@ -219,7 +219,7 @@ $ ruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'
[[{"a"=>1}], {:b=>2}]
```
#### mruby [mruby 2.0.0]
#### mruby [mruby 2.0.1]
```
$ ./bin/mruby -e 'def m(*r,**k) p [r,k] end; m("a"=>1,:b=>2)'
......
/*
** mruby - An embeddable Ruby implementation
**
** Copyright (c) mruby developers 2010-2018
** Copyright (c) mruby developers 2010-2019
**
** Permission is hereby granted, free of charge, to any person obtaining
** a copy of this software and associated documentation files (the
......
......@@ -47,7 +47,7 @@ MRB_BEGIN_DECL
/*
* Tiny release version number.
*/
#define MRUBY_RELEASE_TEENY 0
#define MRUBY_RELEASE_TEENY 1
/*
* The mruby version.
......@@ -62,17 +62,17 @@ MRB_BEGIN_DECL
/*
* Release year.
*/
#define MRUBY_RELEASE_YEAR 2018
#define MRUBY_RELEASE_YEAR 2019
/*
* Release month.
*/
#define MRUBY_RELEASE_MONTH 12
#define MRUBY_RELEASE_MONTH 4
/*
* Release day.
*/
#define MRUBY_RELEASE_DAY 11
#define MRUBY_RELEASE_DAY 4
/*
* 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