mdextab 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +29 -0
- data/.gitignore +6 -0
- data/.rubocop.yml +7 -142
- data/.rubocop_todo.yml +270 -20
- data/Gemfile +22 -2
- data/Gemfile.lock +98 -0
- data/Rakefile +27 -4
- data/bin/makemdtab +25 -25
- data/bin/mdextab +1 -1
- data/lib/mdextab/layer.rb +12 -13
- data/lib/mdextab/makemdtab.rb +29 -32
- data/lib/mdextab/table.rb +13 -13
- data/lib/mdextab/tbody.rb +1 -1
- data/lib/mdextab/td.rb +4 -4
- data/lib/mdextab/th.rb +2 -2
- data/lib/mdextab/token.rb +6 -19
- data/lib/mdextab/tr.rb +1 -1
- data/lib/mdextab/version.rb +1 -1
- data/lib/mdextab.rb +30 -33
- data/mdextab.gemspec +21 -16
- metadata +77 -32
data/lib/mdextab.rb
CHANGED
@@ -17,14 +17,13 @@ module Mdextab
|
|
17
17
|
require "mdextab/tbody"
|
18
18
|
require "mdextab/td"
|
19
19
|
require "mdextab/th"
|
20
|
-
require "mdextab/token"
|
21
20
|
require "mdextab/tr"
|
22
21
|
require "mdextab/makemdtab"
|
23
22
|
require "mdextab/layer"
|
24
23
|
require "messagex/loggerx"
|
25
24
|
require "filex"
|
26
25
|
|
27
|
-
require "
|
26
|
+
require "debug"
|
28
27
|
|
29
28
|
#
|
30
29
|
# 初期化
|
@@ -57,9 +56,7 @@ module Mdextab
|
|
57
56
|
end
|
58
57
|
|
59
58
|
dir = File.dirname(o_fname)
|
60
|
-
if dir != "."
|
61
|
-
@mes.exc_make_directory(dir) { FileUtils.mkdir_p(dir) }
|
62
|
-
end
|
59
|
+
@mes.exc_make_directory(dir) { FileUtils.mkdir_p(dir) } if dir != "."
|
63
60
|
@mes.exc_file_write(o_fname) { @output = File.open(o_fname, "w") }
|
64
61
|
|
65
62
|
@token_op = Token.new(@mes)
|
@@ -81,7 +78,7 @@ module Mdextab
|
|
81
78
|
IN_TH: { ELSE: :IN_TH, TH: :IN_TH, TD: :IN_TD, TABLE_START: :IN_TH, STAR_START: :IN_TH, STAR_END: :IN_TH },
|
82
79
|
IN_TH_NO_TBODY: { ELSE: :IN_TH_NO_TBODY, TH: :IN_TH_NO_TBODY, TD: :IN_TD_NO_TBODY, TABLE_START: :IN_TH_NO_TBODY, STAR_START: :IN_TH_NO_TBODY, STAR_END: :IN_TH_NO_TBODY },
|
83
80
|
IN_TD: { ELSE: :IN_TD, TH: :IN_TH, TD: :IN_TD, TBODY_END: :IN_TABLE, TABLE_START: :IN_TD, STAR_START: :IN_TD, START_END: :IN_TD },
|
84
|
-
IN_TD_NO_TBODY: { ELSE: :IN_TD_NO_TBODY, TH: :IN_TH_NO_TBODY, TD: :IN_TD_NO_TBODY, TABLE_START: :IN_TD_NO_TBODY, TABLE_END: :OUT_OF_TABLE, TBODY_END: :IN_TABLE, STAR_START: :IN_TD_NO_TBODY, STAR_END: :IN_TD_NO_TBODY }
|
81
|
+
IN_TD_NO_TBODY: { ELSE: :IN_TD_NO_TBODY, TH: :IN_TH_NO_TBODY, TD: :IN_TD_NO_TBODY, TABLE_START: :IN_TD_NO_TBODY, TABLE_END: :OUT_OF_TABLE, TBODY_END: :IN_TABLE, STAR_START: :IN_TD_NO_TBODY, STAR_END: :IN_TD_NO_TBODY }
|
85
82
|
}
|
86
83
|
end
|
87
84
|
|
@@ -100,7 +97,7 @@ module Mdextab
|
|
100
97
|
|
101
98
|
@mes.output_debug("layer.size=#{@layer.size}")
|
102
99
|
@mes.output_debug("token.kind=#{kind}")
|
103
|
-
@mes.output_debug(
|
100
|
+
@mes.output_debug(%!(source)#{lineno}:#{line}!)
|
104
101
|
if @layer.cur_state.nil?
|
105
102
|
@mes.output_error("(script)#{__LINE__}| @layer.cur_state=nil")
|
106
103
|
else
|
@@ -136,12 +133,12 @@ module Mdextab
|
|
136
133
|
# @param line [String] トークン出現行
|
137
134
|
# @param lineno [String] トークン出現行の行番号
|
138
135
|
# @return [Symbol] テーブル拡張向け構文解析での次の状態
|
139
|
-
def get_next_state(token,
|
136
|
+
def get_next_state(token, _line, lineno)
|
140
137
|
kind = token.kind
|
141
138
|
@mes.output_debug("#{__LINE__}|@layer.cur_state=#{@layer.cur_state} #{@layer.cur_state.class}")
|
142
139
|
state_level1 = @states[@layer.cur_state]
|
143
140
|
if state_level1.nil?
|
144
|
-
@mes.output_error(%
|
141
|
+
@mes.output_error(%(token.kind=#{kind} | cur_state=#{@layer.cur_state}))
|
145
142
|
@mes.output_error("=== state_level1 == nil")
|
146
143
|
@mes.output_fatal("Next State is nil")
|
147
144
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -222,7 +219,7 @@ module Mdextab
|
|
222
219
|
# @param line [String] トークン出現行
|
223
220
|
# @param lineno [String] トークン出現行の行番号
|
224
221
|
# @return [void]
|
225
|
-
def process_one_line_for_start(token,
|
222
|
+
def process_one_line_for_start(token, _line, lineno)
|
226
223
|
case token.kind
|
227
224
|
when :TABLE_START
|
228
225
|
@layer.table = Table.new(lineno, @mes, token.opt[:attr])
|
@@ -231,10 +228,10 @@ module Mdextab
|
|
231
228
|
output_in_else(token.opt[:content])
|
232
229
|
when :STAR_START
|
233
230
|
@layer.star = true
|
234
|
-
output_in_else("
|
231
|
+
output_in_else("*#{token.opt[:content]}")
|
235
232
|
when :STAR_END
|
236
233
|
@layer.star = false
|
237
|
-
output_in_else("
|
234
|
+
output_in_else("*#{token.opt[:content]}")
|
238
235
|
else
|
239
236
|
@mes.output_fatal("In :START unknown tag=(#{token.kind}) in process_one_line_for_start")
|
240
237
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -249,7 +246,7 @@ module Mdextab
|
|
249
246
|
# @param line [String] トークン出現行
|
250
247
|
# @param lineno [String] トークン出現行の行番号
|
251
248
|
# @return [void]
|
252
|
-
def process_one_line_for_out_of_table(token,
|
249
|
+
def process_one_line_for_out_of_table(token, _line, lineno)
|
253
250
|
case token.kind
|
254
251
|
when :TABLE_START
|
255
252
|
@layer.table = Table.new(lineno, @mes, token.opt[:attr])
|
@@ -257,13 +254,13 @@ module Mdextab
|
|
257
254
|
output_in_else(token.opt[:content])
|
258
255
|
when :STAR_START
|
259
256
|
@layer.star = true
|
260
|
-
output_in_else("
|
257
|
+
output_in_else("*#{token.opt[:content]}")
|
261
258
|
when :STAR_END
|
262
259
|
@layer.star = false
|
263
260
|
output_in_else(token.opt[:content])
|
264
261
|
when :TD
|
265
262
|
# treat as :ELSE
|
266
|
-
output_in_else("
|
263
|
+
output_in_else(":#{token.opt[:content]}")
|
267
264
|
else
|
268
265
|
@mes.output_fatal("In :OUT_OF_TABLE unknown tag=(#{token.kind}) in process_one_line_for_out_of_table")
|
269
266
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -291,7 +288,7 @@ module Mdextab
|
|
291
288
|
# @param line [String] トークン出現行
|
292
289
|
# @param lineno [String] トークン出現行の行番号
|
293
290
|
# @return [void]
|
294
|
-
def process_one_line_for_in_table(token,
|
291
|
+
def process_one_line_for_in_table(token, _line, lineno)
|
295
292
|
case token.kind
|
296
293
|
when :TBODY_START
|
297
294
|
@layer.table.add_tbody(lineno)
|
@@ -310,10 +307,10 @@ module Mdextab
|
|
310
307
|
@layer.process_nested_table_start(token, lineno, @fname)
|
311
308
|
when :STAR_START
|
312
309
|
@layer.star = true
|
313
|
-
output_in_else("
|
310
|
+
output_in_else("*#{token.opt[:content]}")
|
314
311
|
when :STAR_END
|
315
312
|
@layer.star = false
|
316
|
-
output_in_else("
|
313
|
+
output_in_else("*#{token.opt[:content]}")
|
317
314
|
else
|
318
315
|
@mes.output_fatal("In :IN_TABLE unknown tag=(#{token.kind}) in process_one_line_for_in_table")
|
319
316
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -328,7 +325,7 @@ module Mdextab
|
|
328
325
|
# @param line [String] トークン出現行
|
329
326
|
# @param lineno [String] トークン出現行の行番号
|
330
327
|
# @return [void]
|
331
|
-
def process_one_line_for_in_table_body(token,
|
328
|
+
def process_one_line_for_in_table_body(token, _line, lineno)
|
332
329
|
case token.kind
|
333
330
|
when :TH
|
334
331
|
@layer.table.add_th(lineno, token.opt[:content], token.opt[:nth], token.opt[:attr], @layer.star)
|
@@ -345,10 +342,10 @@ module Mdextab
|
|
345
342
|
process_one_line_for_table_end(token)
|
346
343
|
when :STAR_START
|
347
344
|
@layer.star = true
|
348
|
-
output_in_else("
|
345
|
+
output_in_else("*#{token.opt[:content]}")
|
349
346
|
when :STAR_END
|
350
347
|
@layer.star = false
|
351
|
-
output_in_else("
|
348
|
+
output_in_else("*#{token.opt[:content]}")
|
352
349
|
else
|
353
350
|
@mes.output_fatal("In :IN_TABLE_BODY unknown tag=(#{token.kind}) in process_one_line_for_in_table_body")
|
354
351
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -363,7 +360,7 @@ module Mdextab
|
|
363
360
|
# @param line [String] トークン出現行
|
364
361
|
# @param lineno [String] トークン出現行の行番号
|
365
362
|
# @return [void]
|
366
|
-
def process_one_line_for_in_th(token,
|
363
|
+
def process_one_line_for_in_th(token, _line, lineno)
|
367
364
|
case token.kind
|
368
365
|
when :ELSE
|
369
366
|
table_th_append_in_else(token.opt[:content])
|
@@ -375,10 +372,10 @@ module Mdextab
|
|
375
372
|
@layer.process_nested_table_start(token, lineno, @fname)
|
376
373
|
when :STAR_START
|
377
374
|
@layer.star = true
|
378
|
-
table_th_append_in_else("
|
375
|
+
table_th_append_in_else("*#{token.opt[:content]}")
|
379
376
|
when :STAR_END
|
380
377
|
@layer.star = false
|
381
|
-
table_th_append_in_else("
|
378
|
+
table_th_append_in_else("*#{token.opt[:content]}")
|
382
379
|
else
|
383
380
|
@mes.output_fatal("In :IN_TH unknown tag=(#{token.kind}) in process_one_line_for_in_th")
|
384
381
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -393,7 +390,7 @@ module Mdextab
|
|
393
390
|
# @param line [String] トークン出現行
|
394
391
|
# @param lineno [String] トークン出現行の行番号
|
395
392
|
# @return [void]
|
396
|
-
def process_one_line_for_in_th_no_tbody(token,
|
393
|
+
def process_one_line_for_in_th_no_tbody(token, _line, lineno)
|
397
394
|
case token.kind
|
398
395
|
when :ELSE
|
399
396
|
table_th_append_in_else(token.opt[:content])
|
@@ -405,10 +402,10 @@ module Mdextab
|
|
405
402
|
@layer.process_nested_table_start(token, lineno, @fname)
|
406
403
|
when :STAR_START
|
407
404
|
@layer.star = true
|
408
|
-
table_th_append_in_else("
|
405
|
+
table_th_append_in_else("*#{token.opt[:content]}")
|
409
406
|
when :STAR_END
|
410
407
|
@layer.star = false
|
411
|
-
table_th_append_in_else("
|
408
|
+
table_th_append_in_else("*#{token.opt[:content]}")
|
412
409
|
else
|
413
410
|
@mes.output_fatal("In :IN_TH_NO_TBODY unknown tag=(#{token.kind}) in process_one_line_for_in_th_no_tbody")
|
414
411
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -423,7 +420,7 @@ module Mdextab
|
|
423
420
|
# @param line [String] トークン出現行
|
424
421
|
# @param lineno [String] トークン出現行の行番号
|
425
422
|
# @return [void]
|
426
|
-
def process_one_line_for_in_td(token,
|
423
|
+
def process_one_line_for_in_td(token, _line, lineno)
|
427
424
|
case token.kind
|
428
425
|
when :ELSE
|
429
426
|
table_td_append_in_else(token.opt[:content])
|
@@ -437,10 +434,10 @@ module Mdextab
|
|
437
434
|
@layer.process_nested_table_start(token, lineno, @fname)
|
438
435
|
when :STAR_START
|
439
436
|
@layer.star = true
|
440
|
-
table_td_append_in_else("
|
437
|
+
table_td_append_in_else("*#{token.opt[:content]}")
|
441
438
|
when :STAR_END
|
442
439
|
@layer.star = false
|
443
|
-
table_td_append_in_else("
|
440
|
+
table_td_append_in_else("*#{token.opt[:content]}")
|
444
441
|
else
|
445
442
|
@mes.output_fatal("In :IN_TD unknown tag=(#{token.kind}) in process_one_line_for_in_td")
|
446
443
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
@@ -455,7 +452,7 @@ module Mdextab
|
|
455
452
|
# @param line [String] トークン出現行
|
456
453
|
# @param lineno [String] トークン出現行の行番号
|
457
454
|
# @return [void]
|
458
|
-
def process_one_line_for_in_td_no_tbody(token,
|
455
|
+
def process_one_line_for_in_td_no_tbody(token, _line, lineno)
|
459
456
|
case token.kind
|
460
457
|
when :ELSE
|
461
458
|
table_td_append_in_else(token.opt[:content])
|
@@ -471,10 +468,10 @@ module Mdextab
|
|
471
468
|
@layer.table.tbody_end
|
472
469
|
when :STAR_START
|
473
470
|
@layer.star = true
|
474
|
-
table_td_append_in_else("
|
471
|
+
table_td_append_in_else("*#{token.opt[:content]}")
|
475
472
|
when :STAR_END
|
476
473
|
@layer.star = false
|
477
|
-
table_td_append_in_else("
|
474
|
+
table_td_append_in_else("*#{token.opt[:content]}")
|
478
475
|
else
|
479
476
|
@mes.output_fatal("In :IN_TD_NO_TBODY unknown tag=(#{token.kind}) in process_one_line_for_in_td_no_tbody")
|
480
477
|
@mes.output_fatal("@fname=#{@fname} | lineno=#{lineno}")
|
data/mdextab.gemspec
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require "mdextab/version"
|
5
4
|
|
@@ -9,42 +8,48 @@ Gem::Specification.new do |spec|
|
|
9
8
|
spec.authors = ["yasuo kominami"]
|
10
9
|
spec.email = ["ykominami@gmail.com"]
|
11
10
|
|
12
|
-
spec.summary =
|
13
|
-
spec.description =
|
11
|
+
spec.summary = 'mainly extend table tag of HTML5 of Makrdown on Pandoc.'
|
12
|
+
spec.description = 'mainly extend table tag of HTML5 of Makrdown on Pandoc.'
|
14
13
|
spec.homepage = ""
|
15
14
|
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = '>= 2.7.0'
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
18
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
20
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
21
|
|
22
|
-
# spec.metadata["homepage_uri"] = spec.homepage
|
23
|
-
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
24
|
-
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
22
|
+
# spec.metadata["homepage_uri"] = spec.homepage
|
23
|
+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
24
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
25
25
|
else
|
26
26
|
raise "RubyGems 2.0 or newer is required to protect against " \
|
27
|
-
|
27
|
+
"public gem pushes."
|
28
28
|
end
|
29
29
|
|
30
30
|
# Specify which files should be added to the gem when it is released.
|
31
31
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
32
|
-
spec.files
|
32
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
33
33
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
34
34
|
end
|
35
35
|
spec.bindir = "exe"
|
36
36
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
37
|
spec.require_paths = ["lib"]
|
38
38
|
|
39
|
-
spec.
|
40
|
-
spec.
|
41
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
42
|
-
spec.add_development_dependency "byebug"
|
39
|
+
spec.add_runtime_dependency "bundler"
|
40
|
+
spec.add_runtime_dependency "rake", "~> 13.0"
|
43
41
|
|
44
|
-
spec.add_runtime_dependency "
|
42
|
+
spec.add_runtime_dependency "debug"
|
45
43
|
spec.add_runtime_dependency "erubis"
|
46
|
-
spec.add_runtime_dependency "messagex"
|
47
44
|
spec.add_runtime_dependency "filex"
|
45
|
+
spec.add_runtime_dependency "messagex"
|
46
|
+
spec.add_runtime_dependency "simpleoptparse"
|
47
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
48
48
|
spec.add_development_dependency "rubocop"
|
49
49
|
spec.add_development_dependency "rubocop-performance"
|
50
|
+
spec.add_development_dependency "rubocop-rake"
|
51
|
+
spec.add_development_dependency "rubocop-rspec"
|
52
|
+
spec.add_development_dependency 'yard'
|
53
|
+
|
54
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
50
55
|
end
|
metadata
CHANGED
@@ -1,65 +1,65 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdextab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yasuo kominami
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
19
|
+
version: '0'
|
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
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :
|
33
|
+
version: '13.0'
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: debug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
-
type: :
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: erubis
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
-
type: :
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: filex
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: messagex
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: simpleoptparse
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,13 +109,27 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
131
|
version: '0'
|
118
|
-
type: :
|
132
|
+
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
@@ -123,7 +137,7 @@ dependencies:
|
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: rubocop
|
140
|
+
name: rubocop-performance
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - ">="
|
@@ -137,7 +151,35 @@ dependencies:
|
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
|
-
name: rubocop-
|
154
|
+
name: rubocop-rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop-rspec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: yard
|
141
183
|
requirement: !ruby/object:Gem::Requirement
|
142
184
|
requirements:
|
143
185
|
- - ">="
|
@@ -158,12 +200,15 @@ executables:
|
|
158
200
|
extensions: []
|
159
201
|
extra_rdoc_files: []
|
160
202
|
files:
|
203
|
+
- ".github/workflows/main.yml"
|
204
|
+
- ".gitignore"
|
161
205
|
- ".gitmodules"
|
162
206
|
- ".rspec"
|
163
207
|
- ".rubocop.yml"
|
164
208
|
- ".rubocop_todo.yml"
|
165
209
|
- ".travis.yml"
|
166
210
|
- Gemfile
|
211
|
+
- Gemfile.lock
|
167
212
|
- LICENSE.txt
|
168
213
|
- README.md
|
169
214
|
- Rakefile
|
@@ -186,8 +231,9 @@ files:
|
|
186
231
|
homepage: ''
|
187
232
|
licenses:
|
188
233
|
- MIT
|
189
|
-
metadata:
|
190
|
-
|
234
|
+
metadata:
|
235
|
+
rubygems_mfa_required: 'true'
|
236
|
+
post_install_message:
|
191
237
|
rdoc_options: []
|
192
238
|
require_paths:
|
193
239
|
- lib
|
@@ -195,16 +241,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
241
|
requirements:
|
196
242
|
- - ">="
|
197
243
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
244
|
+
version: 2.7.0
|
199
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
246
|
requirements:
|
201
247
|
- - ">="
|
202
248
|
- !ruby/object:Gem::Version
|
203
249
|
version: '0'
|
204
250
|
requirements: []
|
205
|
-
|
206
|
-
|
207
|
-
signing_key:
|
251
|
+
rubygems_version: 3.3.7
|
252
|
+
signing_key:
|
208
253
|
specification_version: 4
|
209
254
|
summary: mainly extend table tag of HTML5 of Makrdown on Pandoc.
|
210
255
|
test_files: []
|