mdextab 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e016a0418703b435409b67011b11b5dd13764ca2670454359f3451656505f58d
4
- data.tar.gz: 8750236c9cf545d4f79b648ea58c36df20f2918eff410e7a019df25bc5ad17dd
3
+ metadata.gz: 409eda158bf955f5ae51fa53d5a087e00b642452d77610d5d9af13e57ff76758
4
+ data.tar.gz: 91765084458edf0fbe1042e926d4dc0b641c018ef020e7662661216771c5251f
5
5
  SHA512:
6
- metadata.gz: 29b682f4eb3c1cfd3a88d7c37d4ab0b794edf77d076af496bbf76fa87c5934cca0cec38acd7d6aaf337745c1c20281baa09cfeac23435020e4d40f8ee2d21bff
7
- data.tar.gz: 751592e3b58625fac6492ffb12fb284d2b01843ae00d0c9c6d69371816cd75a8b2278a287840725878ce054c061f88e431c487df6c01cff84578f47928d903a8
6
+ metadata.gz: b9d17b9cfc05a3ea645d723b049f83f26e80b8ca562ef6405bafc979b3b5afa8309f3e837b26e2f7d64fbe1d9d94404370fa28e1cb41ff082d2d592838a014e2
7
+ data.tar.gz: c1846f3aa1ee6bec4c3f5a2a6e78dfc2b1fd21d6b9dc1e45804e464d9f2317b2b7589ee405f8e08e0043b2b4b689892be91d255f52cc44c000d8fa6b0734e114
@@ -1,3 +1,3 @@
1
1
  module Mdextab
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-23 00:00:00.000000000 Z
11
+ date: 2019-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler