polyrex-objects 0.6.16 → 0.7.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 +1 -2
- data/lib/polyrex-objects.rb +4 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8be9a175fce448a0b97e1f693d91bc7739359edc
|
4
|
+
data.tar.gz: 2f0217b94fdca1e5bd9f4e18a0c2df2a4dd05185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 035124e87728dd5ed2b61d052726944eddc8e6dad8a5eaa4da5e3b5bb72e51021ff788831fc85e45e79f0ca2587135f592f3be3afa49c1bfbb8cf5c55e388912
|
7
|
+
data.tar.gz: 739723976ef69b1a58a10a62acfb8c1e74f1d48adfa8cf0fa30fd497d5dfeca495715d341a5f93634a7ee3facc3700cff82691a0ea02ab15e7e7931d0f5913ab
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
�Bg�E�ꟶ+Hp�D�0�%E]L�n��-���v�G/^�����H�cYyf��� ����IW7�
|
1
|
+
��8��4�z�RF7JË9�Ո}���Ax�VL�M��Z4��������Z�!�Re��<w�y���OSٕr&�j�=X��R�ˏ�H��=x�J��H�c� y����qh���
|
data/lib/polyrex-objects.rb
CHANGED
@@ -9,7 +9,9 @@ require 'rexle'
|
|
9
9
|
|
10
10
|
class PolyrexObjects
|
11
11
|
|
12
|
-
class PolyrexObject
|
12
|
+
class PolyrexObject
|
13
|
+
|
14
|
+
attr_reader :node
|
13
15
|
|
14
16
|
def initialize(node, id='0')
|
15
17
|
@@id = id
|
@@ -18,7 +20,7 @@ class PolyrexObjects
|
|
18
20
|
end
|
19
21
|
|
20
22
|
def add(pxobj)
|
21
|
-
|
23
|
+
@node.element('records').add pxobj.node
|
22
24
|
end
|
23
25
|
|
24
26
|
def create(id=nil)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|