Skip to content

Instantly share code, notes, and snippets.

View takahashim's full-sized avatar

Masayoshi Takahashi takahashim

View GitHub Profile

mruby master(2019-10-18)でのmrbgems動作テスト

https://github.com/takahashim/check_mruby

  • 2.1.0リリースが近いらしいので、公開されているmrbgemsの動作テストをしてみた
  • ubuntu 18.04LTSで実行
  • Dockerfileも作っているけれど、今のところはクラウドに直で実行
  • rake clean testするだけ

テスト内容

#include "mruby.h"
#include "mruby/compile.h"
#include "mruby/string.h"
#include "mruby/value.h"
#include "mruby/array.h"
#include "mruby/hash.h"
#include "mruby/object.h"
#include "mruby/class.h"
#include "mruby/proc.h"
#include "mruby/range.h"
\begin{document}
\reviewmainfont
+\frontmatter
+\pagenumbering{arabic}
+
<%- if @config["titlepage"] -%>
<%- if @custom_titlepage -%>
<%= @custom_titlepage %>
digraph G {
rankdir = BT
layout = dot
node [shape=box,penwidth=2.0];
edge [penwidth=3.0];
chiji_senkyo [label="知事選挙(gubernatorial election) (Q15261477)"]
chiho_senkyo [label="地方選挙(municipal election) (Q152450)"]
mayoral_election [label="首長選挙(mayoral election) (Q15280243)"]

%% old: rko-router.herokuapp.com

A record

linode 106.187.37.40

CNAME record

  • 2006 2006.rubykaigi.org.herokudns.com
  • 2007 2007.rubykaigi.org.herokudns.com
$ od -a jis.html
0000000 < h t m l > nl sp sp < h e a d > nl
0000020 sp sp sp sp < m e t a sp c h a r s e
0000040 t = " I S O - 2 0 2 2 - J P " sp
0000060 / > nl sp sp sp sp < t i t l e > esc $
0000100 B % F % 9 % H esc ( B < / t i t l
0000120 e > nl sp sp < / h e a d > nl sp sp <
0000140 b o d y > nl sp sp sp sp < p > nl sp sp
0000160 sp sp sp sp esc $ B $ 3 $ s $ K $ A $
0000200 O esc ( B nl sp sp sp sp < / p > nl sp sp

aaa_test_bbb aaa test bbb aaatestbbb

aaaaa


bbbbb

\documentclass[<%= @documentclassoption %>]{<%= @documentclass %>}
%% いろいろ書く
<%- if @config["texstyle"] -%>
<%- [@config["texstyle"]].flatten.each do |x| -%>
\usepackage{<%= x %>}
<%- end -%>
<%- end -%>

(最新版は https://github.com/takahashim/ruby-history に移転します)

Ruby年表(1993-2017)