dynarex 1.8.22 → 1.8.23
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 +7 -0
- metadata +10 -10
- 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: 1b1eaca067ecfd80d6efe1278132fac0e520cb273745de36930a0eb433228b81
|
4
|
+
data.tar.gz: d43d8ef54b1b83796db60ab2cabca5de6cdf994393ab2c17571c84928b98071e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 520736c8cb042023b2955da4666c65de88233c465ce8fe9f3e7288b9f8f37d64a4011eafab550904b157ae65c914d3c28ce63441c470f83ae8e619fcabc95f32
|
7
|
+
data.tar.gz: d3fd2fac641b19cb24db03e68bc392854eec7dfd2a2ea0460cd4361dcb3e184a869e50a6ac608ba0088ea9332d775063102a651cba72ef2a5a40bdeaa996d267
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -125,8 +125,11 @@ class Dynarex
|
|
125
125
|
end
|
126
126
|
|
127
127
|
def all()
|
128
|
+
|
129
|
+
refresh! if @dirty_flag
|
128
130
|
a = @doc.root.xpath("records/*").map {|x| recordx_to_record x}
|
129
131
|
DynarexRecordset.new(a, self)
|
132
|
+
|
130
133
|
end
|
131
134
|
|
132
135
|
def clone()
|
@@ -656,6 +659,10 @@ EOF
|
|
656
659
|
@dirty_flag = true
|
657
660
|
end
|
658
661
|
|
662
|
+
def refresh!()
|
663
|
+
(load_records; rebuild_doc) if @dirty_flag == true
|
664
|
+
end
|
665
|
+
|
659
666
|
# used internally by to_rss()
|
660
667
|
#
|
661
668
|
def rss_xslt(opt={})
|
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.23
|
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: 2020-02-
|
38
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dynarex-import
|
@@ -201,22 +201,22 @@ dependencies:
|
|
201
201
|
name: kvx
|
202
202
|
requirement: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
|
-
- - "~>"
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '0.8'
|
207
204
|
- - ">="
|
208
205
|
- !ruby/object:Gem::Version
|
209
|
-
version: 0.
|
206
|
+
version: 0.9.0
|
207
|
+
- - "~>"
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0.9'
|
210
210
|
type: :runtime
|
211
211
|
prerelease: false
|
212
212
|
version_requirements: !ruby/object:Gem::Requirement
|
213
213
|
requirements:
|
214
|
-
- - "~>"
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: '0.8'
|
217
214
|
- - ">="
|
218
215
|
- !ruby/object:Gem::Version
|
219
|
-
version: 0.
|
216
|
+
version: 0.9.0
|
217
|
+
- - "~>"
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0.9'
|
220
220
|
description:
|
221
221
|
email: james@jamesrobertson.eu
|
222
222
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|