dynarex 1.5.3 → 1.5.5

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: fed126f8cff64bc94808a7d935072d24fe7740b9
4
- data.tar.gz: fc5332241df7998a9401b4b9f3872d06ee2191e9
3
+ metadata.gz: 4182580c574e2147faa861950c6e2e8f2f19069f
4
+ data.tar.gz: 423ac22bc3afa3cb9066cee1d4335a8df0ff2db0
5
5
  SHA512:
6
- metadata.gz: f5d85136f5167762aa98eccbdc6476c385f098bcc79c011c79954f7f0f4bc15a938abfee5f58aa0a28c80fe2415176cfce3c535b78a1d4ed2b01d11265715bf2
7
- data.tar.gz: 8dae3fd55ad52ca730fba3078ba1f316d8b3595469f1e1bb74d3a8e0f033db7005a2611d04cff7ffcab4accdffd143acd44b4d0a41cc31ddad1a039d3477ab55
6
+ metadata.gz: 8407033dc61d2f80924fccdee7626f39b12730db664230e2ec33d5f11d8989842bb1be21a4f4fae3e2e00911c7f1b2de6e279ef1b97a590abb657674161f011c
7
+ data.tar.gz: a739c1e22ff8adead5f46e57359ba93e66af33d2e6b411727896824cb87409034fc60ff90abd3ed53063fb88b57167767cdd7654e400777d8482a73823036a62
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -61,6 +61,10 @@ class Dynarex
61
61
  def all()
62
62
  @doc.root.xpath("records/*").map {|x| recordx_to_record x}
63
63
  end
64
+
65
+ def clone()
66
+ Dynarex.new(self.to_xml)
67
+ end
64
68
 
65
69
  def delimiter=(separator)
66
70
 
@@ -247,7 +251,7 @@ EOF
247
251
  xslt_format = a.join
248
252
 
249
253
  xsl_buffer.sub!(/\[!regex_values\]/, xslt_format)
250
- File.write '/tmp/liveblog.xsl', xsl_buffer
254
+
251
255
  xslt = Nokogiri::XSLT(xsl_buffer)
252
256
  out = xslt.transform(Nokogiri::XML(@doc.to_s))
253
257
 
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.3
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- fӨtI� �8Q����Ͳ콠6�,5��涿dXH��r#-�����\M���� �=�Uч/BYZ་ڧba"=&�1������T�:M��'
1
+ ���ǂl���l��Ne ����_ �:��Y��F�����T��ic�Z�~GV�̨D,��U�Pd�>�TqN�A�SӖ:�X���ր9�Y�l)�׺�!��z�a>y�1�zƥ�!�ё�LgƲ�!s"�yLV `���.�@�i!�*�W�� SC�薎=���5�+���ha�@�pޚ��U��d��&T.$��#k
2
+ ���L:��ڱͭ�<��>�aV�N*��rS�*i��R���<\�}�����G�t����ۇ�