polyrex 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 88cb8e71bff63b0569512e98f4fa9019cbd41be1
4
- data.tar.gz: 9a2ec75e486de8da01a1a141b8f544f8953aa6e5
2
+ SHA256:
3
+ metadata.gz: c264e2e88c3059deaffd79c74aa0971353623d7285616f8f7d6e64c45cfca39b
4
+ data.tar.gz: 3ba76525681e146b56c924dc536cbed9f178956d092de121feefd373e66cae75
5
5
  SHA512:
6
- metadata.gz: 81e136370547e87c7f974ffcbcf48ccf53641901f0f4c41c6034855d3b6871ff1d075c1d9df96fc4b94ecfcfc93df9bc1737fe9285a915eba948bdcc15ce454a
7
- data.tar.gz: 492653c62b318392805f21d9d3fb870467f5e5f226f059f6b1a1a9f9f647759aa74f08013c4080a2ac98fed339298602f5153ad36aa712fde1e6bab4cd6a6755
6
+ metadata.gz: e53a7688df60fee78cc4086f724a823b383c98e9c41119d293d5e52d2af310d2a3c22ef8f405aef4bc73f33aa1b5ad76bd111cdd5f28a909d1d1cf4138b9f341
7
+ data.tar.gz: 1fdfd9af141302e4e5ad34f34f522fdf1b5cc31a2f6d9dc4d4224efd9c0436ba4856333bb6165742c5c4b9f360bbf33512965b790c7627753fa0e7a5fb049fdf
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -51,9 +51,14 @@ class Polyrex
51
51
 
52
52
  self.method(:schema=).call(schema) if schema
53
53
 
54
- if location then
54
+ if location then
55
55
 
56
- openx(location)
56
+ s, type = RXFHelper.read(location)
57
+ return import(s) if s =~ /^\<\?polyrex\b/
58
+
59
+ @local_filepath = location if type == :file or type == :dfs
60
+
61
+ openx(s)
57
62
 
58
63
  if schema then
59
64
 
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -30,7 +30,7 @@ cert_chain:
30
30
  hCr2pfiPoS3nhbgAf3XvP4D146WaQbEgU87QlxPJLhz3yXKi7lwa9XgHQzuifNDi
31
31
  OXU=
32
32
  -----END CERTIFICATE-----
33
- date: 2018-03-29 00:00:00.000000000 Z
33
+ date: 2018-09-03 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: polyrex-objects
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.6.13
142
+ rubygems_version: 2.7.6
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: A flavour of XML for storing and retrieveing records in a Polyrex hierarchy
metadata.gz.sig CHANGED
Binary file