dynarex 1.8.4 → 1.8.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: 7bd1d16bcce0b6a80e25930b6d55b75bf96a7b9bda61e69c15bf82567839c298
4
- data.tar.gz: 40c5f54a4a6badf5622e240a9501f8e3233f7055f2efddbd83944edecd2a8095
3
+ metadata.gz: 9b490ec6437795cbd03aa1225879d2d71cb52fcf962fd85050ab455b27a16642
4
+ data.tar.gz: d58c100605804bc1fd0426330d64988997e93793614a24f7de6f123b1a159041
5
5
  SHA512:
6
- metadata.gz: 11bc9d27b9d5ea334f78a4647a402b35ede9fdb3e84f715215a402996352d9dba2c4254b9375c76fbfdead34de0b324c3cf5dbe1b6bef1f5025d5ca11118a22c
7
- data.tar.gz: 420c08fd2fa0eecdcb9ab69863dd417adf7964eff41a0684ca8ba1d9ff03df524d866a9404459d19f90042b2d8e6bcb0f58e62a11f8b629c0f9f2e18a2ecc90e
6
+ metadata.gz: 72e6e915b63d03cd0e27f6451f9ae840524565b1155306ed45273d392579a579ab6f9cf23653fbf698004132e04891d4c7961a26795485ec588f0e7acd44187e
7
+ data.tar.gz: 8378cd095e160cea18e196818229081e0906b675d1ceb24b9a295429d146aa8600ea21fd4e58846ab0bbee890b17963070533e99cb9cadff7cb34d53e56d157a
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -388,6 +388,7 @@ EOF
388
388
 
389
389
  xsl_buffer.sub!(/\[!regex_values\]/, xslt_format)
390
390
 
391
+ puts 'xsl_buffer: ' + xsl_buffer if @debug
391
392
  out = Rexslt.new(xsl_buffer, @doc).to_s
392
393
 
393
394
  header ? docheader + "\n" + out : out
@@ -1147,11 +1148,19 @@ EOF
1147
1148
  elsif s[/[\[\(]/] # schema
1148
1149
 
1149
1150
  dynarex_new(s)
1150
-
1151
- elsif s[/^(?:http|df)s?:\/\//] then # url
1152
- buffer, _ = RXFHelper.read s, {username: @username,
1153
- password: @password, auto: false}
1154
- @local_filepath = s if s =~ /^dfs:\/\/.*\.xml$/
1151
+
1152
+ elsif s[/^https?:\/\//] then # url
1153
+ buffer, type = RXFHelper.read s, {username: @username,
1154
+ password: @password, auto: false}
1155
+ elsif s[/^dfs?:\/\//] then
1156
+
1157
+ @local_filepath = s
1158
+
1159
+ if FileX.exists? s then
1160
+ buffer = FileX.read s
1161
+ elsif @schema
1162
+ dynarex_new @schema, default_key: @default_key
1163
+ end
1155
1164
 
1156
1165
  else # local file
1157
1166
 
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
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -30,7 +30,7 @@ cert_chain:
30
30
  +2pKHQJfU1lEmVoo4afsLMvmq/CZPJba1LR3Z1QJXYCWt9IEZTECStKlK7H6RiIx
31
31
  gRA=
32
32
  -----END CERTIFICATE-----
33
- date: 2018-09-15 00:00:00.000000000 Z
33
+ date: 2018-10-08 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: dynarex-import
@@ -121,7 +121,7 @@ dependencies:
121
121
  version: '0.5'
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 0.5.1
124
+ version: 0.5.3
125
125
  type: :runtime
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
@@ -131,7 +131,7 @@ dependencies:
131
131
  version: '0.5'
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: 0.5.1
134
+ version: 0.5.3
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rxraw-lineparser
137
137
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file