mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-1.2.0
This commit is contained in:
committed by
Yukihiro "Matz" Matsumoto
parent
547a29d2ca
commit
22464fe5a0
@@ -1,6 +1,6 @@
|
||||
Original Authors "mruby developers" are:
|
||||
Yukihiro Matsumoto
|
||||
FUKUOKA CSK CORPORATION
|
||||
SCSK KYUSHU CORPORATION
|
||||
Kyushu Institute of Technology
|
||||
Network Applied Communication Laboratory, Inc.
|
||||
Daniel Bovensiepen
|
||||
|
||||
@@ -17,7 +17,7 @@ of the Ministry of Economy, Trade and Industry of Japan.
|
||||
|
||||
## How to get mruby
|
||||
|
||||
The stable version 1.1.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.1.0.zip](https://github.com/mruby/mruby/archive/1.1.0.zip)
|
||||
The stable version 1.2.0 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/1.2.0.zip](https://github.com/mruby/mruby/archive/1.2.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.1.0 (2014-11-19)
|
||||
mruby 1.2.0 (2014-11-17)
|
||||
```
|
||||
|
||||
## 2.2 Basic Operation
|
||||
|
||||
@@ -42,12 +42,12 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Minor release version number.
|
||||
*/
|
||||
#define MRUBY_RELEASE_MINOR 1
|
||||
#define MRUBY_RELEASE_MINOR 2
|
||||
|
||||
/*
|
||||
* Tiny release version number.
|
||||
*/
|
||||
#define MRUBY_RELEASE_TEENY 1
|
||||
#define MRUBY_RELEASE_TEENY 0
|
||||
|
||||
/*
|
||||
* The mruby version.
|
||||
@@ -62,7 +62,7 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Release year.
|
||||
*/
|
||||
#define MRUBY_RELEASE_YEAR 2014
|
||||
#define MRUBY_RELEASE_YEAR 2015
|
||||
|
||||
/*
|
||||
* Release month.
|
||||
@@ -72,7 +72,7 @@ MRB_BEGIN_DECL
|
||||
/*
|
||||
* Release day.
|
||||
*/
|
||||
#define MRUBY_RELEASE_DAY 19
|
||||
#define MRUBY_RELEASE_DAY 17
|
||||
|
||||
/*
|
||||
* Release date as a string.
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
assert('__FILE__') do
|
||||
file = __FILE__.split('test/')[1]
|
||||
assert_true 't/syntax.rb' == file || 't\syntax.rb' == file
|
||||
file = __FILE__[-9, 9]
|
||||
assert_equal 'syntax.rb', file
|
||||
end
|
||||
|
||||
assert('__LINE__') do
|
||||
|
||||
Reference in New Issue
Block a user