mdextab 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mdextab/version.rb +1 -1
- data/lib/mdextab.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 409eda158bf955f5ae51fa53d5a087e00b642452d77610d5d9af13e57ff76758
|
|
4
|
+
data.tar.gz: 91765084458edf0fbe1042e926d4dc0b641c018ef020e7662661216771c5251f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9d17b9cfc05a3ea645d723b049f83f26e80b8ca562ef6405bafc979b3b5afa8309f3e837b26e2f7d64fbe1d9d94404370fa28e1cb41ff082d2d592838a014e2
|
|
7
|
+
data.tar.gz: c1846f3aa1ee6bec4c3f5a2a6e78dfc2b1fd21d6b9dc1e45804e464d9f2317b2b7589ee405f8e08e0043b2b4b689892be91d255f52cc44c000d8fa6b0734e114
|
data/lib/mdextab/version.rb
CHANGED
data/lib/mdextab.rb
CHANGED
|
@@ -287,7 +287,7 @@ module Mdextab
|
|
|
287
287
|
@layer.table.add_tbody(lineno)
|
|
288
288
|
@layer.table.add_th(lineno, token.opt[:content], token.opt[:nth], token.opt[:attr], @layer.star)
|
|
289
289
|
when :TABLE_START
|
|
290
|
-
@layer.process_nested_table_start(token, lineno)
|
|
290
|
+
@layer.process_nested_table_start(token, lineno, @fname)
|
|
291
291
|
when :STAR_START
|
|
292
292
|
@layer.star = true
|
|
293
293
|
output_in_else("*" + token.opt[:content])
|
|
@@ -316,7 +316,7 @@ module Mdextab
|
|
|
316
316
|
when :ELSE
|
|
317
317
|
output_in_else(token.opt[:content])
|
|
318
318
|
when :TABLE_START
|
|
319
|
-
@layer.process_nested_table_start(token, lineno)
|
|
319
|
+
@layer.process_nested_table_start(token, lineno, @fnam)
|
|
320
320
|
when :TBODY_END
|
|
321
321
|
true # don't call process_table_end(token)
|
|
322
322
|
when :TABLE_END
|
|
@@ -348,7 +348,7 @@ module Mdextab
|
|
|
348
348
|
when :TD
|
|
349
349
|
@layer.table.add_td(lineno, token.opt[:content], token.opt[:nth], token.opt[:attr], @layer.star)
|
|
350
350
|
when :TABLE_START
|
|
351
|
-
@layer.process_nested_table_start(token, lineno)
|
|
351
|
+
@layer.process_nested_table_start(token, lineno, @fname)
|
|
352
352
|
when :STAR_START
|
|
353
353
|
@layer.star = true
|
|
354
354
|
table_th_append_in_else("*" + token.opt[:content])
|
|
@@ -376,7 +376,7 @@ module Mdextab
|
|
|
376
376
|
when :TD
|
|
377
377
|
@layer.table.add_td(lineno, token.opt[:content], token.opt[:nth], token.opt[:attr], @layer.star)
|
|
378
378
|
when :TABLE_START
|
|
379
|
-
@layer.process_nested_table_start(token, lineno)
|
|
379
|
+
@layer.process_nested_table_start(token, lineno, @fname)
|
|
380
380
|
when :STAR_START
|
|
381
381
|
@layer.star = true
|
|
382
382
|
table_th_append_in_else("*" + token.opt[:content])
|
|
@@ -406,7 +406,7 @@ module Mdextab
|
|
|
406
406
|
when :TBODY_END
|
|
407
407
|
@layer.table.tbody_end
|
|
408
408
|
when :TABLE_START
|
|
409
|
-
@layer.process_nested_table_start(token, lineno)
|
|
409
|
+
@layer.process_nested_table_start(token, lineno, @fname)
|
|
410
410
|
when :STAR_START
|
|
411
411
|
@layer.star = true
|
|
412
412
|
table_td_append_in_else("*" + token.opt[:content])
|
|
@@ -434,7 +434,7 @@ module Mdextab
|
|
|
434
434
|
when :TD
|
|
435
435
|
@layer.table.add_td(lineno, token.opt[:content], token.opt[:nth], token.opt[:attr], @layer.star)
|
|
436
436
|
when :TABLE_START
|
|
437
|
-
@layer.process_nested_table_start(token, lineno)
|
|
437
|
+
@layer.process_nested_table_start(token, lineno, @fname)
|
|
438
438
|
when :TABLE_END
|
|
439
439
|
process_one_line_for_table_end(token)
|
|
440
440
|
when :TBODY_END
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yasuo kominami
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|