dynarex 1.7.17 → 1.7.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dynarex.rb +5 -3
- metadata +14 -14
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c29d4650bcd04c39d05b758bfc895ece4648b91f
|
4
|
+
data.tar.gz: 4849e8bba22acde156140023e11c9f3c367b8906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c31ed98ef72f12f2872b1efac73ef46a8c30b399bd6347263afec68efd8b0bfd76ecbf10585ab4d2ac375d6afb341bae284c0df0165f9b326baecec844c737
|
7
|
+
data.tar.gz: 9251db275750768910974780c9604858028ec22984e6beb6e17210134855f24c882950363cd64a5af243fef8add56dc1ebaea9a530168b1f765f6514f7719bf4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -246,7 +246,7 @@ class Dynarex
|
|
246
246
|
end
|
247
247
|
|
248
248
|
def to_s(header: true, delimiter: @delimiter)
|
249
|
-
|
249
|
+
|
250
250
|
xsl_buffer =<<EOF
|
251
251
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
252
252
|
<xsl:output encoding="UTF-8"
|
@@ -332,8 +332,10 @@ EOF
|
|
332
332
|
|
333
333
|
format_mask = self.format_mask
|
334
334
|
format_mask.gsub!(/\[[^!\]]+\]/) {|x| x[1] }
|
335
|
-
|
336
|
-
|
335
|
+
|
336
|
+
s1, s2 = '<xsl:text>', '</xsl:text>'
|
337
|
+
xslt_format = s1 + format_mask\
|
338
|
+
.gsub(/(?:\[!(\w+)\])/, s2 + '<xsl:value-of select="\1"/>' + s1) + s2
|
337
339
|
|
338
340
|
xsl_buffer.sub!(/\[!regex_values\]/, xslt_format)
|
339
341
|
|
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.7.
|
4
|
+
version: 1.7.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
nP4bxzo6o8Qw40KPcv/n3Vcx8tV8hUOOe4XkImYbeWst9hbbHfbg8daipgkn9NEu
|
32
32
|
YXuVi+EfN14P6g==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-01-04 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dynarex-import
|
@@ -59,20 +59,20 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.3'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.
|
65
|
+
version: 0.3.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
72
|
+
version: '0.3'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.3.0
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: rexslt
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
version: '0.5'
|
123
123
|
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.5.
|
125
|
+
version: 0.5.1
|
126
126
|
type: :runtime
|
127
127
|
prerelease: false
|
128
128
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -132,7 +132,7 @@ dependencies:
|
|
132
132
|
version: '0.5'
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version: 0.5.
|
135
|
+
version: 0.5.1
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: rxraw-lineparser
|
138
138
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,20 +179,20 @@ dependencies:
|
|
179
179
|
requirements:
|
180
180
|
- - "~>"
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: '0.
|
182
|
+
version: '0.4'
|
183
183
|
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: 0.
|
185
|
+
version: 0.4.1
|
186
186
|
type: :runtime
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '0.
|
192
|
+
version: '0.4'
|
193
193
|
- - ">="
|
194
194
|
- !ruby/object:Gem::Version
|
195
|
-
version: 0.
|
195
|
+
version: 0.4.1
|
196
196
|
- !ruby/object:Gem::Dependency
|
197
197
|
name: kvx
|
198
198
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,7 +214,7 @@ dependencies:
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: 0.6.1
|
216
216
|
description:
|
217
|
-
email: james@
|
217
|
+
email: james@jamesrobertson.eu
|
218
218
|
executables: []
|
219
219
|
extensions: []
|
220
220
|
extra_rdoc_files: []
|
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
242
|
rubyforge_project:
|
243
|
-
rubygems_version: 2.
|
243
|
+
rubygems_version: 2.6.8
|
244
244
|
signing_key:
|
245
245
|
specification_version: 4
|
246
246
|
summary: The Dynarex gem creates, reads, updates or delete rows of Dynarex flavoured
|
metadata.gz.sig
CHANGED
Binary file
|