recordx 0.4.1 → 0.5.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
  SHA1:
3
- metadata.gz: 3da1ee904c5e41588891e75de5ac4291d02c4abc
4
- data.tar.gz: 7e013040c055e6ea006421c9bc2c0d8db6eaf689
3
+ metadata.gz: '087e38cc61f8edad801d9dadc2e279f921e452d1'
4
+ data.tar.gz: efb8b9054d197a7694d8dbda31f6142cb396144a
5
5
  SHA512:
6
- metadata.gz: 76e18495b8d3a76f9d8050e6f9b3752b4b6321b943a91db318a8bef6449cd51c95f3346785d4ffab4383876f245de2cb721e5d233d5a7dc19fc731ef4e5e3242
7
- data.tar.gz: e8f622ca7bdbb09ba5d9b9d204147ac1b475a5d9bd5053ead96fea83049d248281b1526b38f4f8cfcd3211d4af5fd4509b06e28b66a9813cfaac04d8e50d4255
6
+ metadata.gz: ecdf1230d80f8199f44469241044bf24d1434c2c9f0c0997cbadd853a7c11c48ad9715fd4fe021ffe6b5cfaca1799a334f475a761d36a84e6f8c47af9ae566d2
7
+ data.tar.gz: b3adb439ae15547ce0473be5e395e9c951745e8a8994d88451b317cc5de473d6d92cdff3aca897ce18abd44cb1f0311f222c18dc8c70064e5f6dd91b59e21ffa
checksums.yaml.gz.sig CHANGED
@@ -1 +1 @@
1
- B=��������\SFسJ ��[>4k��\�#� V��orhw��?��*��%ߺ��Rñ��B b�,��!Q� �����he��,LdO��t�(���IY6O��&��;.�<# 4͋��g�Ks�ĿxX����+�(_��?�k�b>��Qwb����~�&�����T�݆��3��I�?U��Z+f�h�#P��)N�}�` deR ��w����I�%�E�����Fy�H2fT^s���Zi.�
1
+  ��"'9��G��*8`���J&n���P�#~�@Cq�Ǹ�+���`%���Ԅ;� %��6�]�(CSP��BꙆ������br��_ ���X]`z�;N6�lRA�h����R| ��%��6��okJ �s��������
data/lib/recordx.rb CHANGED
@@ -24,6 +24,10 @@ class RecordX
24
24
  end
25
25
  super(name, val)
26
26
  end
27
+
28
+ def clone()
29
+ self.to_h.clone
30
+ end
27
31
  end
28
32
 
29
33
  def initialize(x=nil, callerx=nil, id=nil, created=nil, last_modified=nil)
@@ -71,7 +75,9 @@ class RecordX
71
75
  "#<RecordX:%s @h=%s>" % [self.object_id, @h]
72
76
  end
73
77
 
74
- alias to_h h
78
+ def to_h()
79
+ @h.clone
80
+ end
75
81
 
76
82
  def to_html(xslt: '')
77
83
 
@@ -160,4 +166,4 @@ class RecordX
160
166
 
161
167
  end
162
168
 
163
- end
169
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recordx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  bXo83lS7MLEbUiv1/KEkh2Mod/KaIQk1LpBtZeQjdIct61KOrmm3PkwFTiDDwsck
32
32
  KUOKoGhzHfhCZw==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-07-22 00:00:00.000000000 Z
34
+ date: 2016-07-23 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
@@ -42,7 +42,7 @@ dependencies:
42
42
  version: '1.3'
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 1.3.11
45
+ version: 1.3.36
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,7 +52,7 @@ dependencies:
52
52
  version: '1.3'
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 1.3.11
55
+ version: 1.3.36
56
56
  description:
57
57
  email: james@r0bertson.co.uk
58
58
  executables: []
metadata.gz.sig CHANGED
Binary file