dynarex 1.8.12 → 1.8.13

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: e190bb819e928a82ee758b9c01a07fd06168088dd9b8d7ab6c0f60d6586d3809
4
- data.tar.gz: 3da35d504531ddd6436821e129473b122645b5cc3bf928aebe67e23877472d62
3
+ metadata.gz: 0d350a78873ffe9e82236f9af9f20e83d90b26b800027d4c77d0058a9a9b0f5f
4
+ data.tar.gz: 53236835ad1754d1a0ac9d67e8a51911789be664e2da8ead7c0d098a3be0b06e
5
5
  SHA512:
6
- metadata.gz: 43042f3593485b6991af830cc98fddc44f283789d30e7365af132a7737f3548bb876564606536ee2b5aa4e0463d3dd50dd92c3559356ec942047f97d3af9e6c3
7
- data.tar.gz: daf6d0081f699a528d7290078ebfeaa6ae6af391e9dd6e99e620e9c00b2e9ac608be2eb3eee99e0fd20a4c8fcf29cd6d4efe04e23bfc4af2f256f79f96fbf215
6
+ metadata.gz: a0ad316618307054e5d6e14cff110ba5ffcf1d1cc3a2db5175eb30190e69d69b13864acd098b0049d57b6803a1ff6a9877230161c7d92ecc1184ebe4979dbab0
7
+ data.tar.gz: 83056323d5dff558c8ecede4b7bb6e547fb1c7b210b7edb1f542aa6e716f11bcfd702bbf4e942583c5a1dcfc22b3a19f4dbdf2c2f60359fcbd32c3cb9215bd23
@@ -1 +1,5 @@
1
- �=��]��h4]����EuE r
1
+ #!����(
2
+ ��g
3
+ 4�uՌ0�2�|�Cbp�c1:�^} ��aa�q;
4
+ ����3�����k�d���A��sh���Q-��t h�o��^�煓^To���q|��,��o��� ��c{���
5
+ p�Ùf��qĿ�n�lo"���w�X�� Hߔv�T@����wjNmV>�V�:
data.tar.gz.sig CHANGED
Binary file
@@ -685,6 +685,8 @@ EOF
685
685
 
686
686
  def to_rss(opt={}, xslt=nil)
687
687
 
688
+ puts 'inside to_rss'.info if @debug
689
+
688
690
  unless xslt then
689
691
 
690
692
  h = {limit: 11}.merge(opt)
@@ -698,10 +700,12 @@ EOF
698
700
 
699
701
  pubdate = @xslt_schema[/pubDate:/]
700
702
  xslif = Rexle.new("<xsl:if test='position() &lt; #{h[:limit]}'/>").root
703
+
704
+
701
705
 
702
706
  if pubdate.nil? then
703
- pubdate = Rexle.new("<pubDate><xsl:value-of select='pubDate'></xsl:value-of></pubDate>").root
704
- new_item.add pubdate
707
+ pubdate2 = Rexle.new("<pubDate><xsl:value-of select='pubDate'></xsl:value-of></pubDate>").root
708
+ new_item.add pubdate2
705
709
  end
706
710
 
707
711
  xslif.add new_item
@@ -712,7 +716,9 @@ EOF
712
716
  end
713
717
 
714
718
  doc = Rexle.new(self.to_xml)
715
-
719
+
720
+ puts ('pubdate: ' + pubdate.inspect).debug if @debug
721
+
716
722
  if pubdate.nil? then
717
723
  doc.root.xpath('records/*').each do |x|
718
724
  raw_dt = DateTime.parse x.attributes[:created]
@@ -721,8 +727,12 @@ EOF
721
727
  end
722
728
  end
723
729
 
724
-
725
- out = Rexslt.new(xslt, @doc).to_s(declaration: false)
730
+ puts ('doc: ' + doc.root.xml)if @debug
731
+ #File.write '/tmp/blog.xml', doc.root.xml
732
+ puts ('xslt:' + xslt.inspect) if @debug
733
+ #File.write '/tmp/blog.xslt', xslt
734
+
735
+ out = Rexslt.new(xslt, doc).to_s(declaration: false)
726
736
 
727
737
  #Rexle.new("<rss version='2.0'>%s</rss>" % xml).xml(pretty: true)
728
738
 
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.12
4
+ version: 1.8.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -30,7 +30,7 @@ cert_chain:
30
30
  +2pKHQJfU1lEmVoo4afsLMvmq/CZPJba1LR3Z1QJXYCWt9IEZTECStKlK7H6RiIx
31
31
  gRA=
32
32
  -----END CERTIFICATE-----
33
- date: 2019-01-07 00:00:00.000000000 Z
33
+ date: 2019-01-08 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: dynarex-import
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- $O�p��{;�jx ��e�4 ��@Q�G��uJ����D �`S�R�`�S���s^�D!�U&�PZ&H��慅�SOL1�{ 'L7W�&�r��sN��U�h��'���z�>$WT������.`�l���L�/+Mu��:��e1C�[H�`��\"���`�8�y��}*���彑d�5��o!˸ay��o��TqF�e*0 ��� ��9��$:�:�g��<�G �f!�GVM ���-�����j�͠l_
1
+ 8c=;�Z]:w��i��5B7�