recordx 0.1.12 → 0.1.13

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: 08840ccca0115e97ae5a24986c59a20406df5448
4
- data.tar.gz: 890b29debbca652ecfe1221cd3a514a8b6e62b01
3
+ metadata.gz: bfe19ac4d26beb461a10062453687f6a1efb576b
4
+ data.tar.gz: 921b6e6cea60f343e326f765e4304dcbfb437d2e
5
5
  SHA512:
6
- metadata.gz: 537c8d906ab726002481c63dc4339d3f86c349f91eb7186ab745df9e3c19a06a41fa81916da5cddad6f3fec74e722691531c60c5221996b79f8866d82d6ae2da
7
- data.tar.gz: a442fd2276ffe11e8aa363ed55c8cbc37fe6805e97ea8e7ca9bb8f4ed79d6f8550cd68238e45f0823a859d606c629c71957ac6a773590c69ae217aef50c92376
6
+ metadata.gz: e2e998f728e1bb8256f5ae4e4e9c7d76dcd4f52dcc96cdb0ee0bea88f93c5aac60338d6df6966fa611a717fdf9879bc28d6f31b5a2b6686798ae154e85c3a4da
7
+ data.tar.gz: d8f7f97193cf1eae9efc09d54faff6c5891e765d5886e3d07bcb061e83fc76fd0dd6468c092845fe68b0b402aa0f260c0de6461e78bfc4ae3b729971b54e6578
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/recordx.rb CHANGED
@@ -60,8 +60,9 @@ class RecordX
60
60
  Kernel.public_methods | \
61
61
  public_methods + [:method_missing]
62
62
  )
63
+ exceptions = [:name]
63
64
 
64
- if reserved_keywords.include? name.to_sym then
65
+ if (reserved_keywords - exceptions).include? name.to_sym then
65
66
  raise "recordx: reserved keyword *#{name}* can't be used as a field name"
66
67
  end
67
68
 
@@ -81,4 +82,4 @@ class RecordX
81
82
  @#{name} = %{#{val}}}
82
83
  end
83
84
 
84
- end
85
+ 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.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  g/vV/A8D1m4ZGF1z7lQzfOsK5R3XRIJ6zJRYEtb1xhRDDpaYlAPTZloddBDAGxec
32
32
  p6U4INBFsda75Q==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-06-07 00:00:00.000000000 Z
34
+ date: 2015-01-19 00:00:00.000000000 Z
35
35
  dependencies: []
36
36
  description:
37
37
  email: james@r0bertson.co.uk
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- /z��[ramp�Jpc��&�2��x
2
- �U��'K.��n,T
3
- o�I��� C�cD��`��,��6+�l�s4qѿ�Ю!W�[y��mQ�;Љ��E�<��p8�����)x�@�
1
+ }K���V�B�>�7pO�� s��|�3�R5���v�W2fX�O�@�l�1�MX�Lc�����6�r����S�rJ�-3Wȏ�B>+�j]�?\�O!����`,M