dynarex 1.8.3 → 1.8.4
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 +6 -3
- metadata +4 -4
- 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: 7bd1d16bcce0b6a80e25930b6d55b75bf96a7b9bda61e69c15bf82567839c298
|
|
4
|
+
data.tar.gz: 40c5f54a4a6badf5622e240a9501f8e3233f7055f2efddbd83944edecd2a8095
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11bc9d27b9d5ea334f78a4647a402b35ede9fdb3e84f715215a402996352d9dba2c4254b9375c76fbfdead34de0b324c3cf5dbe1b6bef1f5025d5ca11118a22c
|
|
7
|
+
data.tar.gz: 420c08fd2fa0eecdcb9ab69863dd417adf7964eff41a0684ca8ba1d9ff03df524d866a9404459d19f90042b2d8e6bcb0f58e62a11f8b629c0f9f2e18a2ecc90e
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/dynarex.rb
CHANGED
|
@@ -127,6 +127,11 @@ class Dynarex
|
|
|
127
127
|
@format_mask = @format_mask.to_s.gsub(/\s/, separator)
|
|
128
128
|
@summary[:format_mask] = @format_mask
|
|
129
129
|
end
|
|
130
|
+
|
|
131
|
+
def doc
|
|
132
|
+
(load_records; rebuild_doc) if @dirty_flag == true
|
|
133
|
+
@doc
|
|
134
|
+
end
|
|
130
135
|
|
|
131
136
|
def foreign_import(options={})
|
|
132
137
|
o = {xml: '', schema: ''}.merge(options)
|
|
@@ -244,11 +249,9 @@ class Dynarex
|
|
|
244
249
|
flat_records.map {|record| OpenStruct.new record }
|
|
245
250
|
end
|
|
246
251
|
|
|
247
|
-
# Returns all records as a string format specified by the summary format_mask field.
|
|
248
252
|
|
|
249
253
|
def to_doc
|
|
250
|
-
(
|
|
251
|
-
@doc
|
|
254
|
+
self.doc().clone
|
|
252
255
|
end
|
|
253
256
|
|
|
254
257
|
# Typically uses the 1st field as a key and the remaining fields as the value
|
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.4
|
|
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-
|
|
33
|
+
date: 2018-09-15 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: dynarex-import
|
|
@@ -201,7 +201,7 @@ dependencies:
|
|
|
201
201
|
version: '0.7'
|
|
202
202
|
- - ">="
|
|
203
203
|
- !ruby/object:Gem::Version
|
|
204
|
-
version: 0.7.
|
|
204
|
+
version: 0.7.2
|
|
205
205
|
type: :runtime
|
|
206
206
|
prerelease: false
|
|
207
207
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -211,7 +211,7 @@ dependencies:
|
|
|
211
211
|
version: '0.7'
|
|
212
212
|
- - ">="
|
|
213
213
|
- !ruby/object:Gem::Version
|
|
214
|
-
version: 0.7.
|
|
214
|
+
version: 0.7.2
|
|
215
215
|
description:
|
|
216
216
|
email: james@jamesrobertson.eu
|
|
217
217
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|