dxsectionx 0.3.0 → 0.3.1

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: 3e38a3e0f92e23c92924551c9cbcf17ce712f556a28cc3e5c14a9390df6c2c3f
4
- data.tar.gz: 8d3e96a1dcf5af8dcd759b0711de3bcf0aa36f9aefd0dbbc57956b2c8878021e
3
+ metadata.gz: 93390d5c50cbc19716cf1607810e9cc55087550f274aa9f680a4bc78b40a4468
4
+ data.tar.gz: 5888f54e6957c4898b39c36cd560dbc182de1552b8222dbfda79e0d63c8cec96
5
5
  SHA512:
6
- metadata.gz: f30268476a76ebe9828ec30626ab7595f4c02e1e96558ccad1c18500927e98a203cef8347d1e23b4189494db1ae455c7caf59716d4f5fdcaa655981c1c876855
7
- data.tar.gz: b07bca8d0b6dc6548dc86ca9ebf9c41eec72674226b079b284a2e9e47b30e7699e80bbbea002a62389bf152bd94858a98a10c447daf17667a2e717810c2af544
6
+ metadata.gz: 45f45161a7779b58ebb1fc3c5dc37eff73b3bdf3551cdd364fc08f7427da1591ed1910a10b6b566402a52549bdc9ba4076cef3b0cb91b82ae3a05f7b1b6950ed
7
+ data.tar.gz: '09ceaed5f922141989c673aee9b7a2dea9c645affdb3fc150ffcbef8caeaa6eb7f1c336b9750090a7250ec98089ba97c504ce0aff2ba4f9a5a4bc379f5acdcb8'
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/dxsectionx.rb CHANGED
@@ -8,6 +8,7 @@ require 'kramdown'
8
8
 
9
9
 
10
10
  class DxSectionX
11
+ using ColouredText
11
12
 
12
13
  attr_reader :dx
13
14
  attr_writer :xsl_url, :domain
@@ -59,7 +60,8 @@ class DxSectionX
59
60
  doc.root.xpath('records/section/x') do |x|
60
61
 
61
62
  s = "=%s\n%s\n=" % [x.text.lines.first[/#\w+$/], x.text.unescape]
62
-
63
+ puts ('s: ' + s.inspect).debug if @debug
64
+
63
65
  html = Kramdown::Document\
64
66
  .new(Martile.new(s, ignore_domainlabel: @domain).to_s).to_html
65
67
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dxsectionx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  mm/X1FQqr2wBloB+9CWHROsy0KQAs0ulCr1MfEOEijGDIHajgi3qJ3V/0YHWLKMz
36
36
  Odo+ftKrSCwVCcNU9n0Jn42S
37
37
  -----END CERTIFICATE-----
38
- date: 2019-01-04 00:00:00.000000000 Z
38
+ date: 2019-02-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: dynarex
@@ -81,22 +81,22 @@ dependencies:
81
81
  name: kramdown
82
82
  requirement: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - "~>"
85
- - !ruby/object:Gem::Version
86
- version: '1.17'
87
84
  - - ">="
88
85
  - !ruby/object:Gem::Version
89
86
  version: 1.17.0
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.17'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.17'
97
94
  - - ">="
98
95
  - !ruby/object:Gem::Version
99
96
  version: 1.17.0
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.17'
100
100
  description:
101
101
  email: james@jamesrobertson.eu
102
102
  executables: []
@@ -123,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubyforge_project:
127
- rubygems_version: 2.7.6
126
+ rubygems_version: 3.0.2
128
127
  signing_key:
129
128
  specification_version: 4
130
129
  summary: Transforms entries containing Markdown within a Dynarex document into HTML
metadata.gz.sig CHANGED
Binary file