polyrex 1.3.6 → 1.4.0
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 +3 -3
- data/lib/polyrex.rb +6 -4
- data.tar.gz.sig +0 -0
- metadata +5 -6
- 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: 96b636287f31181cee8839e54a4daa4aaea2028d3f81905bdea129d716cf782d
|
4
|
+
data.tar.gz: 29dddede31989032bcd9736513556c76e4714303bf25f1a3005690403a940977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d49d8b6d854d265d95c260483beb1defc4d210db272e7a8fc6e57ed67bbc08f07ff461bcf96d81c41a248b1a3131f326251e752b01fefdf725b806f57b28403b
|
7
|
+
data.tar.gz: 8dfc539223f2c6b331e64086f0e320d6670bea3a3fb1a24ccb9a8963e723b206a7c3630e0628ec6345f5503fc5562509cbcbe7bf389d73deda0c4ece71c62e87
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
}2�x>ؠ-W%��o�p�{+��;ê��~c��Hl�S���r�G,m�q|P�t&�9��5;ԣ��ˮ�<f�7n3�Kj�i�@�_�1��]vA���N��*�
|
2
|
+
�깦5��[X�ل�T(�!�<I^�l:����0ckG��I�й�8�ƋhS�
|
3
|
+
���s�S��
|
data/lib/polyrex.rb
CHANGED
@@ -39,7 +39,7 @@ class PolyrexException < Exception
|
|
39
39
|
end
|
40
40
|
|
41
41
|
class Polyrex
|
42
|
-
include
|
42
|
+
include RXFReadWriteModule
|
43
43
|
|
44
44
|
attr_accessor :summary_fields, :xslt_schema, :id_counter,
|
45
45
|
:schema, :type, :delimiter, :xslt, :format_masks
|
@@ -54,13 +54,13 @@ class Polyrex
|
|
54
54
|
|
55
55
|
if location then
|
56
56
|
|
57
|
-
s, type =
|
57
|
+
s, type = RXFReader.read(location)
|
58
58
|
return import(s) if s =~ /^\<\?polyrex\b/
|
59
59
|
|
60
60
|
@local_filepath = location if type == :file or type == :dfs
|
61
61
|
|
62
62
|
openx(s)
|
63
|
-
|
63
|
+
puts 'before schema' if @debug
|
64
64
|
if schema then
|
65
65
|
|
66
66
|
fields = @schema[/\/.*/].scan(/\[([^\]]+)/).map \
|
@@ -173,7 +173,7 @@ class Polyrex
|
|
173
173
|
|
174
174
|
def parse(x=nil, options={})
|
175
175
|
|
176
|
-
buffer, type =
|
176
|
+
buffer, type = RXFReader.read(x)
|
177
177
|
|
178
178
|
if type == :unknown and buffer.lines.length <= 1 then
|
179
179
|
raise PolyrexException, 'File not found: ' + x.inspect
|
@@ -724,6 +724,8 @@ xsl_buffer = '
|
|
724
724
|
|
725
725
|
def openx(s)
|
726
726
|
|
727
|
+
puts 'inside openx' if @debug
|
728
|
+
|
727
729
|
if s[/</] # xml
|
728
730
|
buffer = s
|
729
731
|
elsif s[/\[/] then # schema
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
rivEdfkvT/8GV5Nip0lSS+cuk20UhOdJR9QIcCJp0QL4NUik9VYljGbQbQQS6Isc
|
36
36
|
iIwZ6uFJfcp9SWBRrSZmlI52
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-
|
38
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: polyrex-objects
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
version: '1.9'
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.9.
|
109
|
+
version: 1.9.5
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -116,7 +116,7 @@ dependencies:
|
|
116
116
|
version: '1.9'
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 1.9.
|
119
|
+
version: 1.9.5
|
120
120
|
description:
|
121
121
|
email: digital.robertson@gmail.com
|
122
122
|
executables: []
|
@@ -143,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
|
147
|
-
rubygems_version: 2.7.10
|
146
|
+
rubygems_version: 3.2.22
|
148
147
|
signing_key:
|
149
148
|
specification_version: 4
|
150
149
|
summary: A flavour of XML for storing and retrieving records in a Polyrex hierarchy
|
metadata.gz.sig
CHANGED
Binary file
|