mrubyを超漢字で動作させる
Revisão | 22464fe5a0a10f2b077eaba109ce1e912e4a77de (tree) |
---|---|
Hora | 2015-11-17 18:02:30 |
Autor | mimaki <hiroshi_mimaki@scsk...> |
Commiter | Yukihiro "Matz" Matsumoto |
mruby-1.2.0
@@ -1,6 +1,6 @@ | ||
1 | 1 | Original Authors "mruby developers" are: |
2 | 2 | Yukihiro Matsumoto |
3 | - FUKUOKA CSK CORPORATION | |
3 | + SCSK KYUSHU CORPORATION | |
4 | 4 | Kyushu Institute of Technology |
5 | 5 | Network Applied Communication Laboratory, Inc. |
6 | 6 | Daniel Bovensiepen |
@@ -17,7 +17,7 @@ of the Ministry of Economy, Trade and Industry of Japan. | ||
17 | 17 | |
18 | 18 | ## How to get mruby |
19 | 19 | |
20 | -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) | |
20 | +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) | |
21 | 21 | |
22 | 22 | 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) |
23 | 23 |
@@ -38,7 +38,7 @@ To confirm mrdb was installed properly, run mrdb with the `--version` option: | ||
38 | 38 | |
39 | 39 | ```bash |
40 | 40 | $ mrdb --version |
41 | -mruby 1.1.0 (2014-11-19) | |
41 | +mruby 1.2.0 (2014-11-17) | |
42 | 42 | ``` |
43 | 43 | |
44 | 44 | ## 2.2 Basic Operation |
@@ -42,12 +42,12 @@ MRB_BEGIN_DECL | ||
42 | 42 | /* |
43 | 43 | * Minor release version number. |
44 | 44 | */ |
45 | -#define MRUBY_RELEASE_MINOR 1 | |
45 | +#define MRUBY_RELEASE_MINOR 2 | |
46 | 46 | |
47 | 47 | /* |
48 | 48 | * Tiny release version number. |
49 | 49 | */ |
50 | -#define MRUBY_RELEASE_TEENY 1 | |
50 | +#define MRUBY_RELEASE_TEENY 0 | |
51 | 51 | |
52 | 52 | /* |
53 | 53 | * The mruby version. |
@@ -62,7 +62,7 @@ MRB_BEGIN_DECL | ||
62 | 62 | /* |
63 | 63 | * Release year. |
64 | 64 | */ |
65 | -#define MRUBY_RELEASE_YEAR 2014 | |
65 | +#define MRUBY_RELEASE_YEAR 2015 | |
66 | 66 | |
67 | 67 | /* |
68 | 68 | * Release month. |
@@ -72,7 +72,7 @@ MRB_BEGIN_DECL | ||
72 | 72 | /* |
73 | 73 | * Release day. |
74 | 74 | */ |
75 | -#define MRUBY_RELEASE_DAY 19 | |
75 | +#define MRUBY_RELEASE_DAY 17 | |
76 | 76 | |
77 | 77 | /* |
78 | 78 | * Release date as a string. |
@@ -1,6 +1,6 @@ | ||
1 | 1 | assert('__FILE__') do |
2 | - file = __FILE__.split('test/')[1] | |
3 | - assert_true 't/syntax.rb' == file || 't\syntax.rb' == file | |
2 | + file = __FILE__[-9, 9] | |
3 | + assert_equal 'syntax.rb', file | |
4 | 4 | end |
5 | 5 | |
6 | 6 | assert('__LINE__') do |