dynarex 1.8.21 → 1.8.22

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: 11494dcd4a9ab4d54cb9413b0d51f6fd79c745aa79200ceac3384ef18c346bad
4
- data.tar.gz: 11eb76e28e08ccada73cd4f121f313125de5fa88cfe408015119dcdad421f3cb
3
+ metadata.gz: 0154b77227c491f54d90c35a1d598d35ec9abb111a86cca1a55db3b893d9cfc5
4
+ data.tar.gz: e0eb1e28361308b5e8a37013160420ef0ae6d8bd61ca155a469382eb921e8041
5
5
  SHA512:
6
- metadata.gz: 0eff1b42cf89f8e8843caf76be2d4ab7c0ab0956adaf8343df84e9d74d263f91ead5bc134ee66580dc7900d92b8d161c80295e7d9e98eef7018b4b6e452a8ca2
7
- data.tar.gz: 8d503eeda7dc6b0ced20f553e532deb18551270088b6f83c4eb8e431ef8032209b8afd17066355a0102a242553c9d79d7d1ebe13c87b5e137bde56dd8a98e8c0
6
+ metadata.gz: fd313c5eb9a96c34b55ab33b9d372a19bed20fb3b8b12b05ff0a702145e5d7101285e0894251829f55c6cc7d5764a00bbbbadd4ffb7e999fa9db45569a1edbc1
7
+ data.tar.gz: 68b37852644dbeec04772e158ab6fe8e9316b870e7d954d07493f7e79b7a68684e8d15392c4b985d90d307dc28b8ea0882e50e4cd123b2a94e3c8c5de5214e23
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.chomp
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.21
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: 2019-11-05 00:00:00.000000000 Z
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