dynarex 1.2.88 → 1.2.89

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: fc7616ce082cbbe26fbaa1ad34c1819cd024aa4c
4
- data.tar.gz: de11da6b4ffd77b909a176a391356cac0cd7bb4d
3
+ metadata.gz: 2da203fcf87fac6486d9fa87a5290d1a51edc1af
4
+ data.tar.gz: 8f59a28aff6f3f84c80b1ac3f47c949c4fa7f101
5
5
  SHA512:
6
- metadata.gz: 8d00a9364f6a846680cfc9bc0076102b4cb92cd256903c7ed337684b6b0d361a01a46cfdce2ad6c80e30ec70251e020437dea6e0805a5cb05313a44a77e4d4d5
7
- data.tar.gz: 07022a55317dc0c4ba41a1ea5256e882feeb2653376deaee7ec4e542ad199f013bdd82a2e05f69d612b25dbfcdad2e6a278153a56d28154286828c355d07cb50
6
+ metadata.gz: 02cc14794beeb287eb6983669adbffc56149d888a2ca482ed88101c7cc48ab2ac1fecf2389844f29332a9d9e01da068ecec75cb7158a2a04ecce8a4b0c54ac61
7
+ data.tar.gz: 1c4ea72dcda8e1fcb83964c0d84c0063b6a9c25257a1cdb85b43eb0c078562d5ca9ff712e2c19003b9062734b175bb2a54b33b281264c74d6707746f690cde33
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -258,6 +258,7 @@ EOF
258
258
  end
259
259
 
260
260
  def to_xml(opt={})
261
+ opt = {pretty: true} if opt == :pretty
261
262
  display_xml(opt)
262
263
  end
263
264
 
@@ -511,6 +512,12 @@ EOF
511
512
 
512
513
  def xpath(x)
513
514
  @doc.root.xpath x
515
+ end
516
+
517
+ def xslt=(value)
518
+
519
+ self.summary.merge!({xslt: value})
520
+ @xslt = value
514
521
  end
515
522
 
516
523
  private
@@ -650,6 +657,9 @@ EOF
650
657
  label, val = raw_lines.shift.chomp.match(/(\w+):\s+([^$]+)$/).captures
651
658
  @summary[label.to_sym] = val
652
659
  end
660
+
661
+ self.xslt = @summary[:xslt] || @summary[:xsl] if @summary[:xslt]\
662
+ or @summary[:xsl]
653
663
  end
654
664
 
655
665
 
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.2.88
4
+ version: 1.2.89
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  SLshUY2PSjSnVYx3Gln9vzST8CSTQPZbVpDfzbTqqAZnzqhIe2UaLbzGCMoz8kbw
32
32
  jQ7NXbu03ZrsvQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-03-26 00:00:00.000000000 Z
34
+ date: 2014-04-01 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  requirements: []
216
216
  rubyforge_project:
217
- rubygems_version: 2.1.11
217
+ rubygems_version: 2.0.14
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: The Dynarex gem can create, read, update or delete rows of Dynarex flavoured
metadata.gz.sig CHANGED
Binary file