dynarex 1.5.22 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d116e73b21925fe71e030b0fd3b5a26115fd974b
4
- data.tar.gz: 12ef32e5671d38af1bbc083613e3f7e9bea72410
3
+ metadata.gz: d2a4f8cb51cbe13c21e47f2836b5abdca7f4c673
4
+ data.tar.gz: 6e58c34ef2b1897afbd058eafcded7895bc28b20
5
5
  SHA512:
6
- metadata.gz: 1c58554bcc266d88e68fb21e95da7db912ccdbe4e5aa70367e243b138f11dc49ed89146846f3deb04f72a935ab2889647754c1a9511a5d1fadb0aa55aa7a1dcc
7
- data.tar.gz: ee4f06afbd4de9716bf7163133cfc907b4dc4397b44ee040fdd73f835b1207849ac127a8c5ca43e8b680728d8ab2c3e81f81d5ad347603c15d911010d6483e45
6
+ metadata.gz: 4c2e8639d211787319ab3ae4e904f49f2ba92776a3dfd5cc11c8906b8349b637e5b513f8d3522f267a8fee1cf8e12cf1686a739aae403bca51e9ec8056974969
7
+ data.tar.gz: 8814cbc039a9eed2775a63ffcfed72fc47e19b2109e3a123c3a8f800a71a8a1cf95efa911645a6f44ba42686774472b96c574eec84bfb643d1fd0cab15b333cc
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -181,6 +181,7 @@ class Dynarex
181
181
  # Returns all records as a string format specified by the summary format_mask field.
182
182
 
183
183
  def to_doc
184
+ (load_records; rebuild_doc) if @dirty_flag == true
184
185
  @doc
185
186
  end
186
187
 
@@ -504,7 +505,7 @@ EOF
504
505
 
505
506
  h = {limit: -1}.merge(opt)
506
507
  @xslt_schema = @xslt_schema || self.summary[:xslt_schema]
507
- raise 'to_xsl(): xslt_schema nil' unless @xslt_schema
508
+ raise 'to_xslt(): xslt_schema nil' unless @xslt_schema
508
509
 
509
510
  xslt = DynarexXSLT.new(schema: @schema, xslt_schema: @xslt_schema ).to_xslt
510
511
 
@@ -575,6 +576,7 @@ EOF
575
576
  def xslt=(value)
576
577
 
577
578
  self.summary.merge!({xslt: value})
579
+ @dirty_flag = true
578
580
  @xslt = value
579
581
  end
580
582
 
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.5.22
4
+ version: 1.5.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  zafTuKRozNy5wCw7Z32VaDGcJ+yTPq73CrcPrNyaoxqGfU0qNsh6oGvwrq4Q1k4j
32
32
  Pz2GWE7KigXTBg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-05-21 00:00:00.000000000 Z
34
+ date: 2015-05-24 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-import
metadata.gz.sig CHANGED
Binary file