dynarex 1.9.4 → 1.9.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/lib/dynarex.rb +6 -6
- data.tar.gz.sig +0 -0
- metadata +6 -6
- 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: c46d4fcb9b14d12267b5ad08cafd81951384aeafcbe68953836b1e83769c836a
|
4
|
+
data.tar.gz: 5616c928edbf1e4ef7076ca5236e335009bc6b11f922b34a16c67fb10967709f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51947520e02a33849f82ed868b95fccd70d5afd607f5d6b79c5acc0d27a2946b3bd42a1157179cdc476751d9d2623857d92a5a5495e3a646b76bf7f4f37720ab
|
7
|
+
data.tar.gz: 4012981e3cb950c54eba69cae53b809708be07c93748787f3b57368464547010be66183fb3d8a048c7786f52aa68f3b3f2543168dc34df3e0e8b09e955419a3f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -15,7 +15,7 @@ require 'yaml'
|
|
15
15
|
require 'rowx'
|
16
16
|
require 'ostruct'
|
17
17
|
require 'table-formatter'
|
18
|
-
|
18
|
+
require 'rxfreader'
|
19
19
|
require 'kvx'
|
20
20
|
require 'json'
|
21
21
|
|
@@ -72,7 +72,7 @@ end
|
|
72
72
|
|
73
73
|
|
74
74
|
class Dynarex
|
75
|
-
include
|
75
|
+
include RXFReadWriteModule
|
76
76
|
using ColouredText
|
77
77
|
|
78
78
|
attr_accessor :format_mask, :delimiter, :xslt_schema, :schema, :linked,
|
@@ -324,7 +324,7 @@ class Dynarex
|
|
324
324
|
def to_html(domain: '')
|
325
325
|
|
326
326
|
h = {username: @username, password: @password}
|
327
|
-
xsl_buffer =
|
327
|
+
xsl_buffer = RXFReader.read(domain + @xslt, h).first
|
328
328
|
Rexslt.new(xsl_buffer, self.to_doc).to_s
|
329
329
|
|
330
330
|
end
|
@@ -529,7 +529,7 @@ EOF
|
|
529
529
|
return self
|
530
530
|
|
531
531
|
end
|
532
|
-
raw_buffer, type =
|
532
|
+
raw_buffer, type = RXFReader.read(x, auto: false)
|
533
533
|
|
534
534
|
if raw_buffer.is_a? String then
|
535
535
|
|
@@ -930,7 +930,7 @@ EOF
|
|
930
930
|
|
931
931
|
raw_lines.map do |line|
|
932
932
|
|
933
|
-
buffer =
|
933
|
+
buffer = RXFReader.read(line.chomp, auto: false).first
|
934
934
|
|
935
935
|
doc = Rexle.new buffer
|
936
936
|
|
@@ -1304,7 +1304,7 @@ EOF
|
|
1304
1304
|
dynarex_new(s)
|
1305
1305
|
|
1306
1306
|
elsif s[/^https?:\/\//] then # url
|
1307
|
-
buffer, type =
|
1307
|
+
buffer, type = RXFReader.read s, {username: @username,
|
1308
1308
|
password: @password, auto: false}
|
1309
1309
|
elsif s[/^dfs?:\/\//] then
|
1310
1310
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynarex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
Wt/hg1iB0cnuzli8yHYtvBQovgFKUdQ7vGKM2IC9ZoWstmfIRwUAdI/Y2eHvUg3z
|
36
36
|
dRm4fWf/5CZ2qPKTB8vb2s4Q
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-02-
|
38
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dynarex-import
|
@@ -203,20 +203,20 @@ dependencies:
|
|
203
203
|
requirements:
|
204
204
|
- - "~>"
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: '1.
|
206
|
+
version: '1.1'
|
207
207
|
- - ">="
|
208
208
|
- !ruby/object:Gem::Version
|
209
|
-
version: 1.0
|
209
|
+
version: 1.1.0
|
210
210
|
type: :runtime
|
211
211
|
prerelease: false
|
212
212
|
version_requirements: !ruby/object:Gem::Requirement
|
213
213
|
requirements:
|
214
214
|
- - "~>"
|
215
215
|
- !ruby/object:Gem::Version
|
216
|
-
version: '1.
|
216
|
+
version: '1.1'
|
217
217
|
- - ">="
|
218
218
|
- !ruby/object:Gem::Version
|
219
|
-
version: 1.0
|
219
|
+
version: 1.1.0
|
220
220
|
description:
|
221
221
|
email: digital.robertson@gmail.com
|
222
222
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|