rxfhelper 1.5.0 → 1.6.0

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: 060d6a3577835a6a55a136dc720ee33c47cf31fa77a7861648e8e04ce8c3a121
4
- data.tar.gz: 812266284826603f59cd99d752967ec8fa4ff8e418f41bd29c28b44b46d50056
3
+ metadata.gz: 361d64a667bda288b0b3dbefce5ddfcb4604280fd399b2477e9c3f63018bf337
4
+ data.tar.gz: 4f712866457384b867c2b48b9b65f5156fba106091557b241fe9f589c78dfa73
5
5
  SHA512:
6
- metadata.gz: '07890adc15380038c077c2b5f19a9800d6e8ef0d3cbd4be82cd6c614e12a70a970d164a5a1f0ab74c5904fa92606f89d713e01a429ad0d3746da6d0336f20f99'
7
- data.tar.gz: aa32bbf3d5946ecb10569c08dae1eba84fd62f6691bd9100c5489325a4e9969f19de56e83d9230da8c199ca791f568e6b4942a60054b24cfdf6f0ab0c95140bd
6
+ metadata.gz: 7624a6d82def32cfb528f17792db4816f16684b76c843e3d5b372696b03906b6bc7115a4374b924843dee50c6af125bf01812298e9b83f6cd54a75af6fe53b7b
7
+ data.tar.gz: ea005061d9cbb6dea08b30a382b138e2e3ba4318cef2fd5f9dab38b76d77f93f239b114c743f385223c8bfd878ee6c5d0c601a09202034827f7ac2c96727a610
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfhelper.rb CHANGED
@@ -7,6 +7,7 @@ require 'sps-pub'
7
7
  require 'drb_reg_client'
8
8
  require 'remote_dwsregistry'
9
9
  require 'rxfileio'
10
+ require 'onedrb'
10
11
 
11
12
 
12
13
 
@@ -17,7 +18,8 @@ module RXFHelperModule
17
18
  include RXFileIOModule
18
19
 
19
20
  def FileX.exists?(s) RXFHelper.exists?(s) end
20
- def FileX.filetype(x) RXFHelper.filetype(s) end
21
+ def FileX.filetype(s) RXFHelper.filetype(s) end
22
+ def FileX.read(s) RXFHelper.read(s)[0] end
21
23
 
22
24
  end
23
25
 
@@ -41,7 +43,17 @@ class RXFHelper < RXFileIO
41
43
  using ColouredText
42
44
 
43
45
 
44
- def self.call(s, val)
46
+ def self.call(s, val=nil)
47
+
48
+ if s.start_with? 'odrb' then
49
+
50
+ if s =~ /^odrb:\/\/[^:]+:\d+/ then
51
+ return OneDrb::Client.call(s)
52
+ else
53
+ return OneDrb::Client.call(s, port: '57844')
54
+ end
55
+
56
+ end
45
57
 
46
58
  if val then
47
59
 
@@ -53,8 +65,6 @@ class RXFHelper < RXFileIO
53
65
  uri, val = s.split(/=/)
54
66
  self.set uri, val
55
67
 
56
- els
57
-
58
68
  else
59
69
 
60
70
  self.get s
data.tar.gz.sig CHANGED
@@ -1,7 +1,2 @@
1
- uRLQ}�;�*װ�>ت�sa ~�:s�5% �󥜘�_DN�f������T�P������S�3���,��.��^֚w����Ȓ�
2
- �����݂���CU���;��{����dm0��]���]�_\�\N
3
- ��T,�0=z�����+�����gV܁*Ͱ���,k��4�%������|iC7���/�@�@\����V�`�L��Y%�%��X��7��/����:6�u����3z��I�D�7�I�P�N�W) 7���Ҟk8 g�K�� �Sk
4
- ( 4WL�xU�,��Z�X�
5
- V)C8ʀ�CD��
6
- 鍁����v�O.�p�|����N��WR
7
- ��><H�%R�=_���8����֙��zv�p
1
+ J`�a{�ٺF�-�Y��7'���B+��"��m$@Ś�R<���ϱ���8ta�$7h �
2
+ x��Z���B!y���K���������2 Ov����V�E|��U,�Q��f��3�E=����ky����J_��p��O�.�N��t(����.�H�,.�50[����w��Fa^>5(B�⑳���.���Qu ����NM���$K�B0�X�My��*���� �J&B!��rvN�E€4N���!B�A�›�l��7�Z�B\��b6Y ���6ɂs:C�A#�f��6YK{�w�����t��z��Mݷ�H�]C祖��^z�8��38v��Yvj�S:H��~��F?J@�k��4�w���HwyvV �n��v�^$�Mn��8#
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rxfhelper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  MrrH8cS6bqJRPQqEL1FsPmXfQpp86RvPSr0WqNSRnYEUCmqL0l2pYrXdPAyBLcji
36
36
  X1jPyhH0sl/QdPdaUnsigze+
37
37
  -----END CERTIFICATE-----
38
- date: 2022-03-03 00:00:00.000000000 Z
38
+ date: 2022-04-23 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rsc
@@ -137,6 +137,26 @@ dependencies:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: 0.5.5
140
+ - !ruby/object:Gem::Dependency
141
+ name: onedrb
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '0.3'
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: 0.3.0
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: '0.3'
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: 0.3.0
140
160
  description:
141
161
  email: digital.robertson@gmail.com
142
162
  executables: []
metadata.gz.sig CHANGED
Binary file