ulmul 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/Changes +3 -0
- data/README-en +8 -9
- data/README-ja +5 -4
- data/index.en.html +10 -11
- data/index.ja.html +7 -6
- data/lib/ulmul.rb +47 -47
- data/ulmul.gemspec +5 -6
- metadata +25 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e6a9206513e5341326e7cd0e79b62cb8117810b
|
4
|
+
data.tar.gz: 6d111bac2fa21a590d419afcb8dad22857454a49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b955ceecda410010a4437be1e4cc1f3a20f5c78e2edfcc5027fd7ae1b47bd192d88e8a1617c394b19f9a710a8cf4be8ab9ac11c3b5c9a157de3361ad806175c2
|
7
|
+
data.tar.gz: 5e533ee0fb46aeb8e768e3d790b21eaff7a91dcadfe06c32b2ed58dca4af7934b0d162200bf865c7ad6ed8430e7613646e2a86ee7729cc22846243281134a412
|
data/ChangeLog
CHANGED
data/Changes
CHANGED
data/README-en
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
= ULMUL (Ultra Lightweight MarkUp Language)
|
2
2
|
"ULMUL" is an original Ultra Lightweight MarkUp Language.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
ULMUL is written in Ruby.
|
3
|
+
Using "ulmul2html5" or "ulmul2mathjax" commands, You can convert a
|
4
|
+
ULMUL text with TeX style equations into HTML5 documents with
|
5
|
+
MathML or MathJax, respectively. ULMUL is written in Ruby.
|
7
6
|
You can also use ulmul.rb as a library.
|
8
7
|
|
9
8
|
Homepage of ULMUL: http://ulmul.rubyforge.org/
|
@@ -119,8 +118,8 @@ Output:
|
|
119
118
|
Table environment is NOT IMPLEMENTED yet.
|
120
119
|
Start a Table environment with "\Table:bar"
|
121
120
|
and terminate it with "/Table:bar", where "bar" is a tag for the table.
|
122
|
-
You can write a
|
123
|
-
You can refer the
|
121
|
+
You can write a table caption between them.
|
122
|
+
You can refer the table with "Table:bar" as Table:diamond.
|
124
123
|
|
125
124
|
Input:
|
126
125
|
\Table:diamond
|
@@ -135,8 +134,8 @@ Output:
|
|
135
134
|
=== Code
|
136
135
|
Start a Code environment with "\Code:baz FILENAME"
|
137
136
|
and terminate it with "/Code:baz", where "baz" is a tag for the code.
|
138
|
-
You can write a
|
139
|
-
You can refer the
|
137
|
+
You can write a caption between them.
|
138
|
+
You can refer the code with "Code:baz" as Code:hello.
|
140
139
|
Code will be highlighted with google-code-prettify when
|
141
140
|
-j https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js is given.
|
142
141
|
|
@@ -211,7 +210,7 @@ with svn(1) command:
|
|
211
210
|
$ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
|
212
211
|
|
213
212
|
== Copying
|
214
|
-
Copyright © 2008-
|
213
|
+
Copyright © 2008-2014 by Takeshi Nishimatsu
|
215
214
|
|
216
215
|
ulmul.rb is distributed in the hope that
|
217
216
|
it will be useful, but WITHOUT ANY WARRANTY.
|
data/README-ja
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
= ULMUL取扱説明書
|
2
2
|
ULMULは独自の軽量マークアップ言語 (Ultra Lightweight MarkUp Language) です。
|
3
|
-
|
4
|
-
|
3
|
+
文章中のTeXスタイルで書かれた数式をMathMLかMathJaxに変換できるのが特徴です。
|
4
|
+
コマンドulmul2html5でMathMLを使ったHTML5に、ulmul2mathjaxでMathJaxを使ったHTML5に変換します。
|
5
|
+
ulmul2latexでLaTeXにも変換できます。
|
5
6
|
Rubyで書かれています。ulmul.rbをライブラリとして利用することも可能です。
|
6
7
|
|
7
8
|
ホームページ: http://ulmul.rubyforge.org/
|
@@ -127,7 +128,7 @@ Table環境はまだインプリメントされていません。
|
|
127
128
|
=== コードの挿入方法
|
128
129
|
「コード環境」は "\Code:baz FILENAME" で始めて "/Code:baz" で閉じてください。
|
129
130
|
間にキャプションを書くことができます。
|
130
|
-
ここで "baz"
|
131
|
+
ここで "baz" はコードのタグです。
|
131
132
|
"Code:baz"で当該コードを参照することができます。こんな具合ですCode:hello。
|
132
133
|
|
133
134
|
入力:
|
@@ -194,7 +195,7 @@ svn(1)コマンドを使って
|
|
194
195
|
と匿名でcheckoutできます。
|
195
196
|
|
196
197
|
== 著作権表示
|
197
|
-
Copyright © 2008-
|
198
|
+
Copyright © 2008-2014 by Takeshi Nishimatsu
|
198
199
|
|
199
200
|
ulmul.rb is distributed in the hope that
|
200
201
|
it will be useful, but WITHOUT ANY WARRANTY.
|
data/index.en.html
CHANGED
@@ -13,17 +13,16 @@
|
|
13
13
|
</script>
|
14
14
|
<link rel="stylesheet" href="ulmul2html5.css" type="text/css" />
|
15
15
|
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js" type="text/javascript"></script>
|
16
|
-
<link rel="
|
16
|
+
<link rel="icon" href="favicon.ico" />
|
17
17
|
</head>
|
18
18
|
<body onload="prettyPrint()">
|
19
19
|
<div class="slide cover">
|
20
20
|
<h1 id="LABEL-1">ULMUL (Ultra Lightweight MarkUp Language)</h1><div class="navi">[<a href="index.en.html">English</a>/<a href="index.ja.html">Japanese</a>]</div>
|
21
21
|
<p>
|
22
22
|
"ULMUL" is an original Ultra Lightweight MarkUp Language.
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
ULMUL is written in Ruby.
|
23
|
+
Using "ulmul2html5" or "ulmul2mathjax" commands, You can convert a
|
24
|
+
ULMUL text with TeX style equations into HTML5 documents with
|
25
|
+
MathML or MathJax, respectively. ULMUL is written in Ruby.
|
27
26
|
You can also use ulmul.rb as a library.
|
28
27
|
</p>
|
29
28
|
<p>
|
@@ -243,8 +242,8 @@ Output:
|
|
243
242
|
Table environment is NOT IMPLEMENTED yet.
|
244
243
|
Start a Table environment with "\Table:bar"
|
245
244
|
and terminate it with "/Table:bar", where "bar" is a tag for the table.
|
246
|
-
You can write a
|
247
|
-
You can refer the
|
245
|
+
You can write a table caption between them.
|
246
|
+
You can refer the table with "Table:bar" as <a href="#Table:diamond">Table 1</a>.
|
248
247
|
</p>
|
249
248
|
<p>
|
250
249
|
Input:
|
@@ -268,8 +267,8 @@ Output:
|
|
268
267
|
<p>
|
269
268
|
Start a Code environment with "\Code:baz FILENAME"
|
270
269
|
and terminate it with "/Code:baz", where "baz" is a tag for the code.
|
271
|
-
You can write a
|
272
|
-
You can refer the
|
270
|
+
You can write a caption between them.
|
271
|
+
You can refer the code with "Code:baz" as <a href="#Code:hello">Code 1</a>.
|
273
272
|
Code will be highlighted with google-code-prettify when
|
274
273
|
-j <a href="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js">https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js</a> is given.
|
275
274
|
</p>
|
@@ -416,7 +415,7 @@ $ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
|
|
416
415
|
<div class="slide">
|
417
416
|
<h2 id="LABEL-33">Copying</h2>
|
418
417
|
<p>
|
419
|
-
Copyright © 2008-
|
418
|
+
Copyright © 2008-2014 by Takeshi Nishimatsu
|
420
419
|
</p>
|
421
420
|
<p>
|
422
421
|
ulmul.rb is distributed in the hope that
|
@@ -444,6 +443,6 @@ Takeshi Nishimatsu (t_nissie{at}yahoo.co.jp) <a href="http://t-nissie.users.sour
|
|
444
443
|
</p>
|
445
444
|
</div>
|
446
445
|
<hr />
|
447
|
-
<address>Copyright ©
|
446
|
+
<address>Copyright © 2015 Takeshi Nishimatsu</address>
|
448
447
|
</body>
|
449
448
|
</html>
|
data/index.ja.html
CHANGED
@@ -13,15 +13,16 @@
|
|
13
13
|
</script>
|
14
14
|
<link rel="stylesheet" href="ulmul2html5.css" type="text/css" />
|
15
15
|
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js" type="text/javascript"></script>
|
16
|
-
<link rel="
|
16
|
+
<link rel="icon" href="favicon.ico" />
|
17
17
|
</head>
|
18
18
|
<body onload="prettyPrint()">
|
19
19
|
<div class="slide cover">
|
20
20
|
<h1 id="LABEL-1">ULMUL取扱説明書</h1><div class="navi">[<a href="index.en.html">English</a>/<a href="index.ja.html">Japanese</a>]</div>
|
21
21
|
<p>
|
22
22
|
ULMULは独自の軽量マークアップ言語 (Ultra Lightweight MarkUp Language) です。
|
23
|
-
|
24
|
-
|
23
|
+
文章中のTeXスタイルで書かれた数式をMathMLかMathJaxに変換できるのが特徴です。
|
24
|
+
コマンドulmul2html5でMathMLを使ったHTML5に、ulmul2mathjaxでMathJaxを使ったHTML5に変換します。
|
25
|
+
ulmul2latexでLaTeXにも変換できます。
|
25
26
|
Rubyで書かれています。ulmul.rbをライブラリとして利用することも可能です。
|
26
27
|
</p>
|
27
28
|
<p>
|
@@ -252,7 +253,7 @@ Table環境はまだインプリメントされていません。
|
|
252
253
|
<p>
|
253
254
|
「コード環境」は "\Code:baz FILENAME" で始めて "/Code:baz" で閉じてください。
|
254
255
|
間にキャプションを書くことができます。
|
255
|
-
ここで "baz"
|
256
|
+
ここで "baz" はコードのタグです。
|
256
257
|
"Code:baz"で当該コードを参照することができます。こんな具合です<a href="#Code:hello">Code 1</a>。
|
257
258
|
</p>
|
258
259
|
<p>
|
@@ -385,7 +386,7 @@ $ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
|
|
385
386
|
<div class="slide">
|
386
387
|
<h2 id="LABEL-32">著作権表示</h2>
|
387
388
|
<p>
|
388
|
-
Copyright © 2008-
|
389
|
+
Copyright © 2008-2014 by Takeshi Nishimatsu
|
389
390
|
</p>
|
390
391
|
<p>
|
391
392
|
ulmul.rb is distributed in the hope that
|
@@ -413,6 +414,6 @@ and <a href="http://www.w3.org/Consortium/Legal/copyright-software">http://www.w
|
|
413
414
|
</p>
|
414
415
|
</div>
|
415
416
|
<hr />
|
416
|
-
<address>Copyright ©
|
417
|
+
<address>Copyright © 2015 Takeshi Nishimatsu</address>
|
417
418
|
</body>
|
418
419
|
</html>
|
data/lib/ulmul.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# -*- coding: utf-8 -*-
|
3
3
|
# ulmul.rb
|
4
|
-
# Time-stamp: <
|
4
|
+
# Time-stamp: <2015-01-13 18:50:55 takeshi>
|
5
5
|
# Author: Takeshi Nishimatsu
|
6
6
|
##
|
7
7
|
require "rubygems"
|
@@ -83,7 +83,7 @@ end
|
|
83
83
|
class Ulmul
|
84
84
|
include AASM
|
85
85
|
include Itemize
|
86
|
-
VERSION = '0.5.
|
86
|
+
VERSION = '0.5.3'
|
87
87
|
|
88
88
|
aasm.initial_state :st_ground
|
89
89
|
|
@@ -104,77 +104,77 @@ class Ulmul
|
|
104
104
|
end
|
105
105
|
|
106
106
|
aasm.event :ev_asterisk do
|
107
|
-
transitions :from => :st_ground, :to => :st_itemize, :
|
108
|
-
transitions :from => :st_itemize, :to => :st_itemize, :
|
109
|
-
transitions :from => :st_verbatim, :to => :st_verbatim, :
|
110
|
-
transitions :from => :st_paragraph, :to => :st_itemize, :
|
111
|
-
transitions :from => :st_env, :to => :st_env, :
|
112
|
-
transitions :from => :st_equation, :to => :st_equation, :
|
107
|
+
transitions :from => :st_ground, :to => :st_itemize, :after => [:cb_itemize_begin, :cb_itemize_add_item]
|
108
|
+
transitions :from => :st_itemize, :to => :st_itemize, :after => [:cb_itemize_add_item]
|
109
|
+
transitions :from => :st_verbatim, :to => :st_verbatim, :after => [:cb_verbatim_add]
|
110
|
+
transitions :from => :st_paragraph, :to => :st_itemize, :after => [:cb_paragraph_end, :cb_itemize_begin, :cb_itemize_add_item]
|
111
|
+
transitions :from => :st_env, :to => :st_env, :after => [:cb_env_continues]
|
112
|
+
transitions :from => :st_equation, :to => :st_equation, :after => [:cb_equation_continues]
|
113
113
|
end
|
114
114
|
|
115
115
|
aasm.event :ev_offset do
|
116
|
-
transitions :from => :st_ground, :to => :st_verbatim, :
|
117
|
-
transitions :from => :st_itemize, :to => :st_itemize, :
|
118
|
-
transitions :from => :st_verbatim, :to => :st_verbatim, :
|
119
|
-
transitions :from => :st_paragraph, :to => :st_verbatim, :
|
120
|
-
transitions :from => :st_env, :to => :st_env, :
|
121
|
-
transitions :from => :st_equation, :to => :st_equation, :
|
116
|
+
transitions :from => :st_ground, :to => :st_verbatim, :after => [:cb_verbatim_begin, :cb_verbatim_add]
|
117
|
+
transitions :from => :st_itemize, :to => :st_itemize, :after => [:cb_itemize_continue_item]
|
118
|
+
transitions :from => :st_verbatim, :to => :st_verbatim, :after => [:cb_verbatim_add]
|
119
|
+
transitions :from => :st_paragraph, :to => :st_verbatim, :after => [:cb_paragraph_end, :cb_verbatim_begin, :cb_verbatim_add]
|
120
|
+
transitions :from => :st_env, :to => :st_env, :after => [:cb_env_continues]
|
121
|
+
transitions :from => :st_equation, :to => :st_equation, :after => [:cb_equation_continues]
|
122
122
|
end
|
123
123
|
|
124
124
|
aasm.event :ev_heading do
|
125
|
-
transitions :from => :st_ground, :to => :st_ground, :
|
126
|
-
transitions :from => :st_itemize, :to => :st_ground, :
|
127
|
-
transitions :from => :st_verbatim, :to => :st_ground, :
|
128
|
-
transitions :from => :st_paragraph, :to => :st_ground, :
|
129
|
-
transitions :from => :st_env, :to => :st_ground, :
|
130
|
-
transitions :from => :st_equation, :to => :st_equation, :
|
125
|
+
transitions :from => :st_ground, :to => :st_ground, :after => [:cb_heading]
|
126
|
+
transitions :from => :st_itemize, :to => :st_ground, :after => [:cb_itemize_end, :cb_heading]
|
127
|
+
transitions :from => :st_verbatim, :to => :st_ground, :after => [:cb_verbatim_end, :cb_heading]
|
128
|
+
transitions :from => :st_paragraph, :to => :st_ground, :after => [:cb_paragraph_end, :cb_heading]
|
129
|
+
transitions :from => :st_env, :to => :st_ground, :after => [:cb_env_in_env_error]
|
130
|
+
transitions :from => :st_equation, :to => :st_equation, :after => [:cb_equation_in_equation_error]
|
131
131
|
end
|
132
132
|
|
133
133
|
aasm.event :ev_empty do
|
134
134
|
transitions :from => :st_ground, :to => :st_ground
|
135
|
-
transitions :from => :st_itemize, :to => :st_ground, :
|
136
|
-
transitions :from => :st_verbatim, :to => :st_ground, :
|
137
|
-
transitions :from => :st_paragraph, :to => :st_ground, :
|
135
|
+
transitions :from => :st_itemize, :to => :st_ground, :after => [:cb_itemize_end]
|
136
|
+
transitions :from => :st_verbatim, :to => :st_ground, :after => [:cb_verbatim_end]
|
137
|
+
transitions :from => :st_paragraph, :to => :st_ground, :after => [:cb_paragraph_end]
|
138
138
|
transitions :from => :st_env, :to => :st_env
|
139
139
|
transitions :from => :st_equation, :to => :st_equation
|
140
140
|
end
|
141
141
|
|
142
142
|
aasm.event :ev_env_begin do
|
143
|
-
transitions :from => :st_ground, :to => :st_env, :
|
144
|
-
transitions :from => :st_itemize, :to => :st_env, :
|
145
|
-
transitions :from => :st_verbatim, :to => :st_env, :
|
146
|
-
transitions :from => :st_paragraph, :to => :st_env, :
|
147
|
-
transitions :from => :st_env, :to => :st_env, :
|
148
|
-
transitions :from => :st_equation, :to => :st_equation, :
|
143
|
+
transitions :from => :st_ground, :to => :st_env, :after => [:cb_env_begin]
|
144
|
+
transitions :from => :st_itemize, :to => :st_env, :after => [:cb_itemize_end, :cb_env_begin]
|
145
|
+
transitions :from => :st_verbatim, :to => :st_env, :after => [:cb_verbatim_end, :cb_env_begin]
|
146
|
+
transitions :from => :st_paragraph, :to => :st_env, :after => [:cb_paragraph_end, :cb_env_begin]
|
147
|
+
transitions :from => :st_env, :to => :st_env, :after => [:cb_env_in_env_error]
|
148
|
+
transitions :from => :st_equation, :to => :st_equation, :after => [:cb_equation_in_equation_error]
|
149
149
|
end
|
150
150
|
|
151
151
|
aasm.event :ev_env_end do
|
152
152
|
transitions :from => [:st_ground, :st_itemize, :st_verbatim, :st_paragraph, :st_equation],
|
153
|
-
:to => :st_ground, :
|
154
|
-
transitions :from => :st_env, :to => :st_ground, :
|
153
|
+
:to => :st_ground, :after => [:cb_env_not_in_env_error]
|
154
|
+
transitions :from => :st_env, :to => :st_ground, :after => [:cb_env_end]
|
155
155
|
end
|
156
156
|
|
157
157
|
aasm.event :ev_equation_begin do
|
158
|
-
transitions :from => :st_ground, :to => :st_equation, :
|
159
|
-
transitions :from => :st_itemize, :to => :st_equation, :
|
160
|
-
transitions :from => :st_verbatim, :to => :st_equation, :
|
161
|
-
transitions :from => :st_paragraph, :to => :st_equation, :
|
162
|
-
transitions :from => :st_equation, :to => :st_equation, :
|
158
|
+
transitions :from => :st_ground, :to => :st_equation, :after => [:cb_paragraph_begin, :cb_equation_begin]
|
159
|
+
transitions :from => :st_itemize, :to => :st_equation, :after => [:cb_itemize_end, :cb_paragraph_begin, :cb_equation_begin]
|
160
|
+
transitions :from => :st_verbatim, :to => :st_equation, :after => [:cb_verbatim_end, :cb_paragraph_begin, :cb_equation_begin]
|
161
|
+
transitions :from => :st_paragraph, :to => :st_equation, :after => [:cb_equation_begin]
|
162
|
+
transitions :from => :st_equation, :to => :st_equation, :after => [:cb_equation_in_equation_error]
|
163
163
|
end
|
164
164
|
|
165
165
|
aasm.event :ev_equation_end do
|
166
166
|
transitions :from => [:st_ground, :st_itemize, :st_verbatim, :st_paragraph, :st_env],
|
167
|
-
:to => :st_ground, :
|
168
|
-
transitions :from => :st_equation, :to => :st_paragraph, :
|
167
|
+
:to => :st_ground, :after => [:cb_equation_not_in_equation_error]
|
168
|
+
transitions :from => :st_equation, :to => :st_paragraph, :after => [:cb_equation_end]
|
169
169
|
end
|
170
170
|
|
171
171
|
aasm.event :ev_normal do
|
172
|
-
transitions :from => :st_ground, :to => :st_paragraph, :
|
173
|
-
transitions :from => :st_itemize, :to => :st_paragraph, :
|
174
|
-
transitions :from => :st_verbatim, :to => :st_paragraph, :
|
175
|
-
transitions :from => :st_paragraph, :to => :st_paragraph, :
|
176
|
-
transitions :from => :st_env, :to => :st_env, :
|
177
|
-
transitions :from => :st_equation, :to => :st_equation, :
|
172
|
+
transitions :from => :st_ground, :to => :st_paragraph, :after => [:cb_paragraph_begin, :cb_paragraph_add]
|
173
|
+
transitions :from => :st_itemize, :to => :st_paragraph, :after => [:cb_itemize_end, :cb_paragraph_begin, :cb_paragraph_add]
|
174
|
+
transitions :from => :st_verbatim, :to => :st_paragraph, :after => [:cb_verbatim_end, :cb_paragraph_begin, :cb_paragraph_add]
|
175
|
+
transitions :from => :st_paragraph, :to => :st_paragraph, :after => [:cb_paragraph_add]
|
176
|
+
transitions :from => :st_env, :to => :st_env, :after => [:cb_env_continues]
|
177
|
+
transitions :from => :st_equation, :to => :st_equation, :after => [:cb_equation_continues]
|
178
178
|
end
|
179
179
|
|
180
180
|
def cb_paragraph_begin(filename=nil, lnumber=nil, line=nil)
|
@@ -194,7 +194,7 @@ class Ulmul
|
|
194
194
|
end
|
195
195
|
|
196
196
|
def cb_verbatim_add(filename=nil, lnumber=nil, line=nil)
|
197
|
-
@body << line[1..-1].gsub(/</,'<').gsub(/>/,'>')
|
197
|
+
@body << line[1..-1].gsub(/&/,'&').gsub(/</,'<').gsub(/>/,'>')
|
198
198
|
end
|
199
199
|
|
200
200
|
def cb_verbatim_end(filename=nil, lnumber=nil, line=nil)
|
@@ -399,7 +399,7 @@ module HTML5
|
|
399
399
|
}
|
400
400
|
});
|
401
401
|
</script>
|
402
|
-
#{style_lines}#{javascript_lines} <link rel=\"
|
402
|
+
#{style_lines}#{javascript_lines} <link rel=\"icon\" href=\"favicon.ico\" />
|
403
403
|
</head>
|
404
404
|
<body onload=\"prettyPrint()\">
|
405
405
|
#{body()}
|
@@ -443,7 +443,7 @@ module XHTML
|
|
443
443
|
<title>#{@title}</title>
|
444
444
|
<meta name=\"author\" content=\"#{name}\" />
|
445
445
|
<meta name=\"copyright\" content=\"Copyright © #{Date.today.year} #{name}\" />
|
446
|
-
#{style_lines}#{javascript_lines} <link rel=\"
|
446
|
+
#{style_lines}#{javascript_lines} <link rel=\"icon\" href=\"favicon.ico\" />
|
447
447
|
</head>
|
448
448
|
<body onload=\"prettyPrint()\">
|
449
449
|
#{body()}
|
data/ulmul.gemspec
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
# ulmul.gemspec -*-ruby-*-
|
2
|
-
# Time-stamp: <
|
2
|
+
# Time-stamp: <2015-01-13 22:49:36 takeshi>
|
3
3
|
# Author: Takeshi Nishimatsu
|
4
4
|
##
|
5
5
|
Gem::Specification.new do |s|
|
6
|
-
s.autorequire = 'lib/ulmul.rb'
|
7
6
|
s.name = 'ulmul'
|
8
7
|
|
9
8
|
s.bindir = 'bin'
|
@@ -27,16 +26,16 @@ Gem::Specification.new do |s|
|
|
27
26
|
'ulmul-slidy.css']
|
28
27
|
s.author = 'Takeshi Nishimatsu'
|
29
28
|
s.email = 't_nissie@yahoo.co.jp'
|
30
|
-
s.
|
29
|
+
s.license = 'GPLv3'
|
31
30
|
s.homepage = 'http://ulmul.rubyforge.org/'
|
32
31
|
s.test_files = ['test/unit/ulmul_test.rb']
|
33
32
|
|
34
33
|
s.has_rdoc = true
|
35
34
|
# s.extra_rdoc_files = %w(README)
|
36
35
|
|
37
|
-
s.add_dependency('math_ml', '
|
38
|
-
s.add_dependency('aasm', '>=
|
39
|
-
s.add_dependency('exifr', '
|
36
|
+
s.add_dependency('math_ml', '~> 0.14')
|
37
|
+
s.add_dependency('aasm', '~> 4.0', '>= 4.0.8')
|
38
|
+
s.add_dependency('exifr', '~> 1.2', '>= 1.2.0')
|
40
39
|
|
41
40
|
s.description = <<-EOF
|
42
41
|
"ULMUL" is an original Ultra Lightweight MarkUp Language.
|
metadata
CHANGED
@@ -1,57 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ulmul
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takeshi Nishimatsu
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: math_ml
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.14'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.14'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aasm
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.0'
|
31
34
|
- - ">="
|
32
35
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
36
|
+
version: 4.0.8
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '4.0'
|
38
44
|
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
46
|
+
version: 4.0.8
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: exifr
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.2'
|
45
54
|
- - ">="
|
46
55
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
56
|
+
version: 1.2.0
|
48
57
|
type: :runtime
|
49
58
|
prerelease: false
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '1.2'
|
52
64
|
- - ">="
|
53
65
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
66
|
+
version: 1.2.0
|
55
67
|
description: |2
|
56
68
|
"ULMUL" is an original Ultra Lightweight MarkUp Language.
|
57
69
|
ULMUL texts can be converted into HTML5 with "ulmul2html5" command
|
@@ -98,7 +110,8 @@ files:
|
|
98
110
|
- ulmul2html5.css
|
99
111
|
- ulmul2xhtml.css
|
100
112
|
homepage: http://ulmul.rubyforge.org/
|
101
|
-
licenses:
|
113
|
+
licenses:
|
114
|
+
- GPLv3
|
102
115
|
metadata: {}
|
103
116
|
post_install_message:
|
104
117
|
rdoc_options: []
|
@@ -115,8 +128,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
128
|
- !ruby/object:Gem::Version
|
116
129
|
version: '0'
|
117
130
|
requirements: []
|
118
|
-
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
131
|
+
rubyforge_project:
|
132
|
+
rubygems_version: 2.4.5
|
120
133
|
signing_key:
|
121
134
|
specification_version: 4
|
122
135
|
summary: ULMUL is an Ultra Lightweight Mark-Up Language
|