dynarex 1.5.38 → 1.5.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -1
- data/lib/dynarex.rb +10 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d9af8bd5c9163adf6ce97059457669022f5e620
|
4
|
+
data.tar.gz: 9b785fbeeff140221fc55060f9eceb347d1f6ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56ea68d4f45b8b1bb618da0fb40f71106cde6d4d8f093865040a9e13f2f50944556731434a59b7ac0a41f9fde7ba29c4d4cefe94223f0791e2301e2fd4042795
|
7
|
+
data.tar.gz: 102d1ef6db87b485e00f1a682041bb8eefdaa10d942fd622f43cae0d7af23c64711d3c83c0c376c1ca4f16a6820ac90ba05cb0beefc54ebdd187834d3cbf34a5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
HVS2�u��2�i�B���ȴS��c*�F1�P1����@ĺq�}��.��6��[�n=�V@�G*��7X�<h��a�i�c�`�����Iy�t:W���d�)�Nqv2�tt-�}D$V8X����|�%��RR�BQp�=��xȋ�Nni�Җ��!��#=mf�����n���-��d�~T��Ǻ�PvQA!�u�)�S��+�.C��֢t=�̈%�T��S�b;%�;�ҙ���-�=�B�s��i�:,~��
|
data/lib/dynarex.rb
CHANGED
@@ -217,6 +217,12 @@ class Dynarex
|
|
217
217
|
@doc
|
218
218
|
end
|
219
219
|
|
220
|
+
def to_html(domain: '')
|
221
|
+
xsl_buffer = RXFHelper.read(domain + @xslt).first
|
222
|
+
xslt = Nokogiri::XSLT(xsl_buffer)
|
223
|
+
xslt.transform(Nokogiri::XML(@doc.to_s)).to_s
|
224
|
+
end
|
225
|
+
|
220
226
|
def to_s
|
221
227
|
|
222
228
|
xsl_buffer =<<EOF
|
@@ -622,7 +628,9 @@ EOF
|
|
622
628
|
|
623
629
|
#Rexle.new("<rss version='2.0'>%s</rss>" % xml).xml(pretty: true)
|
624
630
|
|
625
|
-
|
631
|
+
doc = Rexle.new("<rss version='2.0'>%s</rss>" % out.to_s)
|
632
|
+
yield( doc ) if block_given?
|
633
|
+
xml = doc.xml(pretty: true)
|
626
634
|
xml
|
627
635
|
end
|
628
636
|
|
@@ -1244,4 +1252,4 @@ XSL
|
|
1244
1252
|
end
|
1245
1253
|
end
|
1246
1254
|
|
1247
|
-
end
|
1255
|
+
end
|
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.
|
4
|
+
version: 1.5.40
|
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-10-
|
34
|
+
date: 2015-10-26 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
|