dxsectionx 0.2.4 → 0.2.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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dxsectionx.rb +8 -2
- metadata +11 -11
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb49b1dcb67aedd2acb144844580cdac3f7e3d30b77c14a6564a07706e388333
|
|
4
|
+
data.tar.gz: 22dbfdd155adbdc10adb92785791c16e42aa6cf842b5bf0aac326da9ac3515d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3610aa64d53f59ef2a0d40a17a9c7347dc6c86cde06f16bffbb3caefb31378892af7fc67ad1be63c4f9eb36881ec51269a111fc003d71bfb46434952fcf2695b
|
|
7
|
+
data.tar.gz: 28b2e3905a00403541d42c998f51ea0a7e61a8bd2cafbc497180272f5c7e473d8c382238db93790d2d26f60c9ccc5bf67bfb0b175ae1db5bf4603128ea8e1e9a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/dxsectionx.rb
CHANGED
|
@@ -13,7 +13,7 @@ class DxSectionX
|
|
|
13
13
|
attr_writer :xsl_url, :domain
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
def initialize(x, domain: nil, xsl_url: nil, debug: false)
|
|
16
|
+
def initialize(x, domain: nil, xsl_url: nil, debug: false, autosave: false)
|
|
17
17
|
|
|
18
18
|
@domain, @xsl_url, @debug = domain, xsl_url, debug
|
|
19
19
|
|
|
@@ -22,7 +22,7 @@ class DxSectionX
|
|
|
22
22
|
transform()
|
|
23
23
|
else
|
|
24
24
|
|
|
25
|
-
@dx = Dynarex.new
|
|
25
|
+
@dx = Dynarex.new autosave: autosave, debug: debug
|
|
26
26
|
@dx.import x
|
|
27
27
|
puts '@dx.to_s : ' + @dx.to_s if @debug
|
|
28
28
|
|
|
@@ -33,8 +33,14 @@ class DxSectionX
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def create(h)
|
|
36
|
+
puts 'inside dxsection#create' if @debug
|
|
36
37
|
@dx.create h
|
|
37
38
|
end
|
|
39
|
+
|
|
40
|
+
def save(filename)
|
|
41
|
+
puts 'inside dxsection save ' + filename.inspect if @debug
|
|
42
|
+
@dx.save filename
|
|
43
|
+
end
|
|
38
44
|
|
|
39
45
|
def to_doc()
|
|
40
46
|
transform()
|
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.2.
|
|
4
|
+
version: 0.2.5
|
|
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: 2018-
|
|
38
|
+
date: 2018-11-01 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: dynarex
|
|
@@ -43,40 +43,40 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '1.
|
|
46
|
+
version: '1.8'
|
|
47
47
|
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 1.
|
|
49
|
+
version: 1.8.6
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
54
|
- - "~>"
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: '1.
|
|
56
|
+
version: '1.8'
|
|
57
57
|
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 1.
|
|
59
|
+
version: 1.8.6
|
|
60
60
|
- !ruby/object:Gem::Dependency
|
|
61
61
|
name: martile
|
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
64
|
- - "~>"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '0.
|
|
66
|
+
version: '0.9'
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 0.
|
|
69
|
+
version: 0.9.4
|
|
70
70
|
type: :runtime
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
|
74
74
|
- - "~>"
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: '0.
|
|
76
|
+
version: '0.9'
|
|
77
77
|
- - ">="
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
|
-
version: 0.
|
|
79
|
+
version: 0.9.4
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: kramdown
|
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,5 +128,5 @@ rubygems_version: 2.7.6
|
|
|
128
128
|
signing_key:
|
|
129
129
|
specification_version: 4
|
|
130
130
|
summary: Transforms entries containing Markdown within a Dynarex document into HTML
|
|
131
|
-
using the Martile gem
|
|
131
|
+
using the Martile gem.
|
|
132
132
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|