dynarex 1.9.5 → 1.9.8
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/dynarex.rb +10 -6
- data.tar.gz.sig +0 -0
- metadata +10 -10
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dce47c78f2153f679e45f8cf72b5edab3cbf57c59dca7ebd65655fa1cca32e5c
|
4
|
+
data.tar.gz: c9e91ffcb3a3e7392f5539c913eaf4474609adec314be00e916f66014a10f2fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2949b42e897cf75900cfaf1c8f1fea9b568ad4f1da30cad3171a9fbc54901b57248b181813a4e3426cb7ec2efd8dc8be31861b5deb2c853fffcf1941786825fc
|
7
|
+
data.tar.gz: 24e56463b7b310b1515ff07bbdf0aaf0dc5dfd20601210e590cd23288f544b8ccaecae745f15223a4c93505ef5d30b4c3fe687dddf2838b16d83f2aafc00ca90
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -760,6 +760,7 @@ EOF
|
|
760
760
|
xslt
|
761
761
|
end
|
762
762
|
|
763
|
+
puts 'before self.to_xml' if @debug
|
763
764
|
doc = Rexle.new(self.to_xml)
|
764
765
|
|
765
766
|
puts ('pubdate: ' + pubdate.inspect).debug if @debug
|
@@ -772,17 +773,20 @@ EOF
|
|
772
773
|
end
|
773
774
|
end
|
774
775
|
|
775
|
-
puts ('doc: ' + doc.root.xml) if @debug
|
776
|
-
File.write '/tmp/blog.xml', doc.root.xml
|
777
|
-
puts ('xslt:' + xslt.inspect) if @debug
|
778
|
-
File.write '/tmp/blog.xslt', xslt
|
776
|
+
#puts ('doc: ' + doc.root.xml) if @debug
|
777
|
+
#File.write '/tmp/blog.xml', doc.root.xml
|
778
|
+
#puts ('xslt:' + xslt.inspect) if @debug
|
779
|
+
#File.write '/tmp/blog.xslt', xslt
|
779
780
|
|
781
|
+
puts 'before Rexslt' if @debug
|
780
782
|
out = Rexslt.new(xslt, doc).to_s(declaration: false)
|
783
|
+
puts 'after Rexslt' if @debug
|
781
784
|
|
782
785
|
#Rexle.new("<rss version='2.0'>%s</rss>" % xml).xml(pretty: true)
|
783
786
|
|
784
787
|
doc = Rexle.new("<rss version='2.0'>%s</rss>" % out.to_s)
|
785
788
|
yield( doc ) if block_given?
|
789
|
+
puts 'before doc.xml' if @debug
|
786
790
|
xml = doc.xml(pretty: true)
|
787
791
|
xml
|
788
792
|
end
|
@@ -995,7 +999,7 @@ EOF
|
|
995
999
|
end
|
996
1000
|
|
997
1001
|
puts 'attributes: ' + attributes.inspect if @debug
|
998
|
-
puts '@record_name: ' + @record_name.inspect
|
1002
|
+
puts '@record_name: ' + @record_name.inspect if @debug
|
999
1003
|
|
1000
1004
|
xml.send(@record_name, attributes) do
|
1001
1005
|
item[:body].each do |name,value|
|
@@ -1306,7 +1310,7 @@ EOF
|
|
1306
1310
|
elsif s[/^https?:\/\//] then # url
|
1307
1311
|
buffer, type = RXFReader.read s, {username: @username,
|
1308
1312
|
password: @password, auto: false}
|
1309
|
-
elsif s[/^dfs?:\/\//] then
|
1313
|
+
elsif s[/^dfs?:\/\//] or RXFReadWrite.fs[0..2] == 'dfs' then
|
1310
1314
|
|
1311
1315
|
@local_filepath = s
|
1312
1316
|
|
data.tar.gz.sig
CHANGED
Binary file
|
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.9.
|
4
|
+
version: 1.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
Wt/hg1iB0cnuzli8yHYtvBQovgFKUdQ7vGKM2IC9ZoWstmfIRwUAdI/Y2eHvUg3z
|
36
36
|
dRm4fWf/5CZ2qPKTB8vb2s4Q
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-
|
38
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dynarex-import
|
@@ -83,20 +83,20 @@ dependencies:
|
|
83
83
|
requirements:
|
84
84
|
- - "~>"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '0.
|
86
|
+
version: '0.8'
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.8.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
96
|
+
version: '0.8'
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 0.
|
99
|
+
version: 0.8.0
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: dynarex-xslt
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,20 +123,20 @@ dependencies:
|
|
123
123
|
requirements:
|
124
124
|
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: '0.
|
126
|
+
version: '0.6'
|
127
127
|
- - ">="
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: 0.
|
129
|
+
version: 0.6.0
|
130
130
|
type: :runtime
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '0.
|
136
|
+
version: '0.6'
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.
|
139
|
+
version: 0.6.0
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: rxraw-lineparser
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|