dynarex 1.8.22 → 1.8.23

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: 0154b77227c491f54d90c35a1d598d35ec9abb111a86cca1a55db3b893d9cfc5
4
- data.tar.gz: e0eb1e28361308b5e8a37013160420ef0ae6d8bd61ca155a469382eb921e8041
3
+ metadata.gz: 1b1eaca067ecfd80d6efe1278132fac0e520cb273745de36930a0eb433228b81
4
+ data.tar.gz: d43d8ef54b1b83796db60ab2cabca5de6cdf994393ab2c17571c84928b98071e
5
5
  SHA512:
6
- metadata.gz: fd313c5eb9a96c34b55ab33b9d372a19bed20fb3b8b12b05ff0a702145e5d7101285e0894251829f55c6cc7d5764a00bbbbadd4ffb7e999fa9db45569a1edbc1
7
- data.tar.gz: 68b37852644dbeec04772e158ab6fe8e9316b870e7d954d07493f7e79b7a68684e8d15392c4b985d90d307dc28b8ea0882e50e4cd123b2a94e3c8c5de5214e23
6
+ metadata.gz: 520736c8cb042023b2955da4666c65de88233c465ce8fe9f3e7288b9f8f37d64a4011eafab550904b157ae65c914d3c28ce63441c470f83ae8e619fcabc95f32
7
+ data.tar.gz: d3fd2fac641b19cb24db03e68bc392854eec7dfd2a2ea0460cd4361dcb3e184a869e50a6ac608ba0088ea9332d775063102a651cba72ef2a5a40bdeaa996d267
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.22
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-03 00:00:00.000000000 Z
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.8.1
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.8.1
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