mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #3930 from mruby/stable
Set the mruby-1.4.0 release date to `2018-1-16`.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2017 mruby developers
|
||||
Copyright (c) 2018 mruby developers
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
|
||||
@@ -17,7 +17,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
|
||||
|
||||
## How to get mruby
|
||||
|
||||
The stable version 1.3.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.3.0.zip](https://github.com/mruby/mruby/archive/1.3.0.zip)
|
||||
The stable version 1.4.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.4.0.zip](https://github.com/mruby/mruby/archive/1.4.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 1.3.0 (2017-7-4)
|
||||
mruby 1.4.0 (2018-1-16)
|
||||
```
|
||||
|
||||
## 2.2 Basic Operation
|
||||
|
||||
+7
-7
@@ -38,7 +38,7 @@ puts [1,2,3]
|
||||
3
|
||||
```
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
```
|
||||
[1, 2, 3]
|
||||
@@ -61,7 +61,7 @@ end
|
||||
|
||||
```ZeroDivisionError``` is raised.
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
No exception is raised.
|
||||
|
||||
@@ -89,7 +89,7 @@ p Liste.new "foobar"
|
||||
|
||||
``` [] ```
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
```ArgumentError``` is raised.
|
||||
|
||||
@@ -119,7 +119,7 @@ false
|
||||
true
|
||||
```
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
```
|
||||
true
|
||||
@@ -142,7 +142,7 @@ defined?(Foo)
|
||||
nil
|
||||
```
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
```NameError``` is raised.
|
||||
|
||||
@@ -159,7 +159,7 @@ alias $a $__a__
|
||||
|
||||
``` nil ```
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
Syntax error
|
||||
|
||||
@@ -181,7 +181,7 @@ end
|
||||
```ArgumentError``` is raised.
|
||||
The re-defined ```+``` operator does not accept any arguments.
|
||||
|
||||
#### mruby [1.3.0 (2017-7-4)]
|
||||
#### mruby [1.4.0 (2018-1-16)]
|
||||
|
||||
``` 'ab' ```
|
||||
Behavior of the operator wasn't changed.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
** mruby - An embeddable Ruby implementation
|
||||
**
|
||||
** Copyright (c) mruby developers 2010-2017
|
||||
** Copyright (c) mruby developers 2010-2018
|
||||
**
|
||||
** Permission is hereby granted, free of charge, to any person obtaining
|
||||
** a copy of this software and associated documentation files (the
|
||||
|
||||
@@ -42,7 +42,7 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Minor release version number.
|
||||
*/
|
||||
#define MRUBY_RELEASE_MINOR 3
|
||||
#define MRUBY_RELEASE_MINOR 4
|
||||
|
||||
/*
|
||||
* Tiny release version number.
|
||||
@@ -62,17 +62,17 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Release year.
|
||||
*/
|
||||
#define MRUBY_RELEASE_YEAR 2017
|
||||
#define MRUBY_RELEASE_YEAR 2018
|
||||
|
||||
/*
|
||||
* Release month.
|
||||
*/
|
||||
#define MRUBY_RELEASE_MONTH 7
|
||||
#define MRUBY_RELEASE_MONTH 1
|
||||
|
||||
/*
|
||||
* Release day.
|
||||
*/
|
||||
#define MRUBY_RELEASE_DAY 4
|
||||
#define MRUBY_RELEASE_DAY 16
|
||||
|
||||
/*
|
||||
* Release date as a string.
|
||||
|
||||
Reference in New Issue
Block a user