dynarex 1.8.21 → 1.8.22
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/dynarex.rb +5 -2
- metadata +2 -2
- 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: 0154b77227c491f54d90c35a1d598d35ec9abb111a86cca1a55db3b893d9cfc5
|
|
4
|
+
data.tar.gz: e0eb1e28361308b5e8a37013160420ef0ae6d8bd61ca155a469382eb921e8041
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd313c5eb9a96c34b55ab33b9d372a19bed20fb3b8b12b05ff0a702145e5d7101285e0894251829f55c6cc7d5764a00bbbbadd4ffb7e999fa9db45569a1edbc1
|
|
7
|
+
data.tar.gz: 68b37852644dbeec04772e158ab6fe8e9316b870e7d954d07493f7e79b7a68684e8d15392c4b985d90d307dc28b8ea0882e50e4cd123b2a94e3c8c5de5214e23
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/dynarex.rb
CHANGED
|
@@ -90,13 +90,14 @@ class Dynarex
|
|
|
90
90
|
def initialize(rawx=nil, username: nil, password: nil, schema: nil,
|
|
91
91
|
default_key: nil, json_out: true, debug: false,
|
|
92
92
|
delimiter: ' # ', autosave: false, order: 'ascending',
|
|
93
|
-
unique: false)
|
|
93
|
+
unique: false, filepath: nil)
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
puts 'inside Dynarex::initialize' if debug
|
|
97
97
|
@username, @password, @schema, @default_key, @json_out, @debug = \
|
|
98
98
|
username, password, schema, default_key, json_out, debug
|
|
99
99
|
@autosave, @unique = autosave, unique
|
|
100
|
+
@local_filepath = filepath
|
|
100
101
|
|
|
101
102
|
puts ('@debug: ' + @debug.inspect).debug if debug
|
|
102
103
|
@delimiter = delimiter
|
|
@@ -397,6 +398,7 @@ EOF
|
|
|
397
398
|
if @debug then
|
|
398
399
|
File.write '/tmp/foo.xsl', xsl_buffer
|
|
399
400
|
File.write '/tmp/foo.xml', @doc.xml
|
|
401
|
+
puts 'xsl_buffer: ' + xsl_buffer.inspect
|
|
400
402
|
end
|
|
401
403
|
|
|
402
404
|
out = Rexslt.new(xsl_buffer, @doc).to_s
|
|
@@ -413,6 +415,7 @@ EOF
|
|
|
413
415
|
xslt_format = a.join
|
|
414
416
|
|
|
415
417
|
xsl_buffer.sub!(/\[!regex_values\]/, xslt_format)
|
|
418
|
+
puts 'xsl_buffer: ' + xsl_buffer.inspect if @debug
|
|
416
419
|
|
|
417
420
|
out = Rexslt.new(xsl_buffer, @doc).to_s
|
|
418
421
|
|
|
@@ -1059,7 +1062,7 @@ EOF
|
|
|
1059
1062
|
|
|
1060
1063
|
raw_lines.shift while raw_lines.first.strip.empty?
|
|
1061
1064
|
|
|
1062
|
-
lines = case raw_lines.first.
|
|
1065
|
+
lines = case raw_lines.first.rstrip
|
|
1063
1066
|
|
|
1064
1067
|
when '---'
|
|
1065
1068
|
|
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.8.
|
|
4
|
+
version: 1.8.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
3m/dAMW7lgXujFuiEWdIWXXpu+uf7b2FKdTmZ1gzaYUi8H0j0VraXT1jhzQYZH/1
|
|
36
36
|
zCi9HdW7AMP5hS692rfwJuEY
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date:
|
|
38
|
+
date: 2020-02-03 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: dynarex-import
|
metadata.gz.sig
CHANGED
|
Binary file
|