dynarex 1.9.4 → 1.9.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: c401a45ef4beaa3cbd24bbfdb27c9ea98ed97663c68258c0c4df22da5a93b4fe
4
- data.tar.gz: 106b7cf191a6ae68068c2dd7dca8459f9fdf87a5eaca6ff90f54409dc62a2861
3
+ metadata.gz: c46d4fcb9b14d12267b5ad08cafd81951384aeafcbe68953836b1e83769c836a
4
+ data.tar.gz: 5616c928edbf1e4ef7076ca5236e335009bc6b11f922b34a16c67fb10967709f
5
5
  SHA512:
6
- metadata.gz: 0da38d16db5aa75bf5fed6264cdcae8397a81e1bfb9a1dcb647e50c9e54074ca3685097e5a04a2ab9478febaec3bdb27bf6fa16de55b858edd6efdde57d88c36
7
- data.tar.gz: c67ed57227363ed2ca40e6478f1dc9c4a590e24bbb3ca02cb3cda7dc0828853ee1ec900db382c108d83c733325639aefbeba2a0cdb553d0ad081821dfb009470
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
- #require 'rxfhelper'
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 RXFHelperModule
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 = RXFHelper.read(domain + @xslt, h).first
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 = RXFHelper.read(x, auto: false)
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 = RXFHelper.read(line.chomp, auto: false).first
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 = RXFHelper.read s, {username: @username,
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
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-19 00:00:00.000000000 Z
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.0'
206
+ version: '1.1'
207
207
  - - ">="
208
208
  - !ruby/object:Gem::Version
209
- version: 1.0.1
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.0'
216
+ version: '1.1'
217
217
  - - ">="
218
218
  - !ruby/object:Gem::Version
219
- version: 1.0.1
219
+ version: 1.1.0
220
220
  description:
221
221
  email: digital.robertson@gmail.com
222
222
  executables: []
metadata.gz.sig CHANGED
Binary file