recordx 0.2.1 → 0.2.2
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 -1
- data.tar.gz.sig +0 -0
- data/lib/recordx.rb +7 -7
- 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: fdd155a6c9d5f0d57fb0eb706d6e9e7c2ed21c37
|
4
|
+
data.tar.gz: 5b45ac16de048507b45e149ef1e751d49e0c0f76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b5f2e988ac9832656c671d0b477402f2b641366afa7e02e68604eaf75e67708fa1a94d39014f51e7d477886fca3ca0866aa7379bde56b2ab81eb876d81f4894
|
7
|
+
data.tar.gz: 1ca87a2c099f9e9901269757791a9737ab8913ce589d33d231a0bd8ad2c9181730f10e0cbb0cd6ee923798047ce009f164803ee35f9224a30a8a3d832ea6c5b4
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
�Gq���F�8(��'D��ـ�V����TE�?�շ�����+2���<��c����]��V^������[�S���<�w�0���Ԟ�ww �t�<��U�*�!�8gl4wWǟ��(� z��[�Dvr'��� �����s��|ɨ܉Vyc%G��dA�:�S�����M錃����x-�-�@��ݻ�#�����%��Jap�;Y��]ѣ��h/�u=���@��w�HaoLY Vɛ�ka$4�����~�*ކ��?
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/recordx.rb
CHANGED
@@ -93,8 +93,9 @@ class RecordX
|
|
93
93
|
if (reserved_keywords - exceptions).include? name.to_sym then
|
94
94
|
raise "recordx: reserved keyword *#{name}* can't be used as a field name"
|
95
95
|
end
|
96
|
-
|
96
|
+
|
97
97
|
self.instance_eval %Q{
|
98
|
+
|
98
99
|
def #{name}=(s)
|
99
100
|
@#{name} = s.to_s
|
100
101
|
unless @h[:#{name}] == s.to_s then
|
@@ -107,11 +108,10 @@ class RecordX
|
|
107
108
|
@#{name}
|
108
109
|
end
|
109
110
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
111
|
+
}
|
112
|
+
|
113
|
+
self.method((name + '=').to_sym).call val
|
114
|
+
|
115
115
|
end
|
116
116
|
|
117
|
-
end
|
117
|
+
end
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|