trac-wiki 0.3.40 → 0.3.41

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2cc59b201d74034ccd7a22ddbadcc73f4463c897d0d5089511eed575e7f7f3c
4
- data.tar.gz: 7159e56186fe4bb58e851c1d113b349b517e9902afe1e3e2229c929887c55b31
3
+ metadata.gz: d6a9b2012dc7878dd0159e6e4e41390ba93ebd7f63f882c4f852f1242638bcd5
4
+ data.tar.gz: f742a4c5854c60e4c1a35021a98a0dc8e736666e58c21edf5f0135dec299c8ba
5
5
  SHA512:
6
- metadata.gz: 0b9f8005e113c147a8e1a8783f708168dc10cd69884381954342a9e3e6e9d710bce5a5253b80924790ff1974e858eb4c5aa60a33715a4fa3dca2a80462693dd1
7
- data.tar.gz: 3ec1447013b053b389e49d8b9b0b3879b7ddab02fc6ea9e777ac0cbaedd0639fa40f627bdcbd62786affe08e1df7afd0b86782de943f4c53017d598f27bca15c
6
+ metadata.gz: 5460fd31064a07823a966a4ef565515c03dfc3b3009ea81329f58152169bf8ea50c2c1cd721de610326a262fef0407080ad1c4f7d2c9ebb128c5eba692f7ee65
7
+ data.tar.gz: 61d2faf5433f03f02e4f3508fc5b58936a42ffbfce1bee592b70dfe649ac8040eacfd053607947c75e3bfa49782420f113086cb958e7ba23d2ae42fac2a8bf41
@@ -771,7 +771,9 @@ module TracWiki
771
771
 
772
772
  def do_wikimedia_table(text)
773
773
  end_paragraph
774
- start_tag('div', class: 'table-div') if div_around_table?
774
+ if div_around_table?
775
+ start_tag('div', class: 'table-div', 'data-line' => @line_no, 'data-lines' => text.count("\n"))
776
+ end
775
777
  start_tag(:table)
776
778
  start_tag(:tr)
777
779
  offset = 0
@@ -782,6 +784,7 @@ module TracWiki
782
784
  start_tag(:tr)
783
785
  elsif line =~ /^([!\|])(.*)/
784
786
  end_to_tag :td
787
+ end_to_tag :th
785
788
  fst, rest = $1, $2
786
789
  start_tag($1 == '|' ? :td : :th)
787
790
  parse_inline(rest.strip, offset)
@@ -1,3 +1,3 @@
1
1
  module TracWiki
2
- VERSION = '0.3.40'
2
+ VERSION = '0.3.41'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trac-wiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.40
4
+ version: 0.3.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitas Stradal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-08 00:00:00.000000000 Z
11
+ date: 2021-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bacon
@@ -81,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubyforge_project: trac-wiki
85
- rubygems_version: 2.7.6
84
+ rubygems_version: 3.2.5
86
85
  signing_key:
87
86
  specification_version: 4
88
87
  summary: Trac Wiki markup language