dynarex 1.9.5 → 1.9.8

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: c46d4fcb9b14d12267b5ad08cafd81951384aeafcbe68953836b1e83769c836a
4
- data.tar.gz: 5616c928edbf1e4ef7076ca5236e335009bc6b11f922b34a16c67fb10967709f
3
+ metadata.gz: dce47c78f2153f679e45f8cf72b5edab3cbf57c59dca7ebd65655fa1cca32e5c
4
+ data.tar.gz: c9e91ffcb3a3e7392f5539c913eaf4474609adec314be00e916f66014a10f2fa
5
5
  SHA512:
6
- metadata.gz: 51947520e02a33849f82ed868b95fccd70d5afd607f5d6b79c5acc0d27a2946b3bd42a1157179cdc476751d9d2623857d92a5a5495e3a646b76bf7f4f37720ab
7
- data.tar.gz: 4012981e3cb950c54eba69cae53b809708be07c93748787f3b57368464547010be66183fb3d8a048c7786f52aa68f3b3f2543168dc34df3e0e8b09e955419a3f
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.5
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-02-21 00:00:00.000000000 Z
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.7'
86
+ version: '0.8'
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.7.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.7'
96
+ version: '0.8'
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
- version: 0.7.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.5'
126
+ version: '0.6'
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: 0.5.5
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.5'
136
+ version: '0.6'
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 0.5.5
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