classx 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +555 -5
- data/README +1 -1
- data/Rakefile +1 -1
- data/doc/output/coverage/index.html +414 -0
- data/doc/output/coverage/lib-classx-attribute_rb.html +925 -0
- data/doc/output/coverage/lib-classx-attributes_rb.html +771 -0
- data/doc/output/coverage/lib-classx-bracketable_rb.html +671 -0
- data/doc/output/coverage/lib-classx-class_attributes_rb.html +775 -0
- data/doc/output/coverage/lib-classx-commandable_rb.html +727 -0
- data/doc/output/coverage/lib-classx-declare_rb.html +659 -0
- data/doc/output/coverage/lib-classx-validate_rb.html +663 -0
- data/doc/output/coverage/lib-classx_rb.html +820 -0
- data/lib/classx.rb +1 -1
- data/lib/classx/attribute.rb +1 -1
- data/lib/classx/attributes.rb +6 -4
- data/lib/classx/class_attributes.rb +1 -1
- data/lib/classx/validate.rb +21 -8
- data/spec/classx/with_coerce_spec.rb +7 -1
- data/spec/classx/without_anyoption_spec.rb +4 -2
- data/spec/classx_class_attributes/without_anyoption_spec.rb +3 -2
- data/spec/classx_class_attributes/writable_option_spec.rb +1 -1
- data/spec/classx_validate_spec.rb +39 -13
- data/tasks/basic_config.rake +1 -1
- data/tasks/basic_tasks.rake +18 -13
- metadata +15 -4
data/ChangeLog
CHANGED
@@ -1,698 +1,1121 @@
|
|
1
|
+
commit 1bc6ca2722a0bfe96ae3f7f9af76a5e30f1872ac
|
2
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
3
|
+
Date: Fri Dec 26 09:15:08 2008 +0900
|
4
|
+
|
5
|
+
add some doc.
|
6
|
+
|
7
|
+
:100644 100644 4a8c5ee... 6d9329a... M README
|
8
|
+
:100644 100644 5b0f41b... c5e2e23... M lib/classx.rb
|
9
|
+
:100644 100644 5e23b0a... d29aaf3... M lib/classx/attributes.rb
|
10
|
+
|
11
|
+
commit 2a1f45c859f24ab2757fdb2746d7e7a0cb8b6a5c
|
12
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
13
|
+
Date: Fri Dec 26 08:53:42 2008 +0900
|
14
|
+
|
15
|
+
CAVEAT: change default option to :writable is true.
|
16
|
+
|
17
|
+
If you want to non-rewritable attribute, you should declare :writable option
|
18
|
+
explicitly.
|
19
|
+
|
20
|
+
:100644 100644 6561a05... 5e23b0a... M lib/classx/attributes.rb
|
21
|
+
:100644 100644 14d21c6... 8cf2c87... M lib/classx/class_attributes.rb
|
22
|
+
:100644 100644 2527e8c... 80a23aa... M spec/classx/without_anyoption_spec.rb
|
23
|
+
:100644 100644 8fadef1... e1fc1b1... M spec/classx_class_attributes/without_anyoption_spec.rb
|
24
|
+
:100644 100644 2d79c1f... 6e4863d... M spec/classx_class_attributes/writable_option_spec.rb
|
25
|
+
|
26
|
+
commit be536d9561443f9fdb2cfa360f244d6ff0746b89
|
27
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
28
|
+
Date: Fri Dec 26 00:52:37 2008 +0900
|
29
|
+
|
30
|
+
FIXED: :coerce feature not work when you rewrite attribute data. thanks niku!!
|
31
|
+
|
32
|
+
:100644 100644 86d0692... 6561a05... M lib/classx/attributes.rb
|
33
|
+
:100644 100644 89dc884... cc0a65e... M spec/classx/with_coerce_spec.rb
|
34
|
+
|
35
|
+
commit 73745a8ef87eed4be130602c78c8407688c8076b
|
36
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
37
|
+
Date: Sat Dec 20 12:04:32 2008 +0900
|
38
|
+
|
39
|
+
change web site url to github rdoc page.
|
40
|
+
|
41
|
+
:100644 100644 eaff159... cd4b0b5... M tasks/basic_config.rake
|
42
|
+
|
43
|
+
commit 44c6ff607e67c6ff52670f0d15eb84fa200b1a90
|
44
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
45
|
+
Date: Sat Dec 20 11:52:42 2008 +0900
|
46
|
+
|
47
|
+
using rdoc template allison.
|
48
|
+
|
49
|
+
:100644 100644 38d91e1... dc4cabc... M tasks/basic_tasks.rake
|
50
|
+
|
51
|
+
commit 21d52770eefaf66d7599dde2389bb12b6108357d
|
52
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
53
|
+
Date: Tue Nov 4 00:47:37 2008 +0900
|
54
|
+
|
55
|
+
tweaked error message.
|
56
|
+
|
57
|
+
:100644 100644 47b0fdc... ff23c61... M lib/classx/attribute.rb
|
58
|
+
|
59
|
+
commit e01d94a5070de17b012b26d10b08f3b24ad23c59
|
60
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
61
|
+
Date: Tue Nov 4 00:02:46 2008 +0900
|
62
|
+
|
63
|
+
added :options :cache_key to ClassX::Validate. So you can turn off caching anonymous validate class feature.
|
64
|
+
|
65
|
+
:100644 100644 3169742... 982fb1e... M lib/classx/validate.rb
|
66
|
+
:100644 100644 a980025... 10d3045... M spec/classx_validate_spec.rb
|
67
|
+
|
68
|
+
commit 17a7717af41d9c55ff3b43a21bab445c3f78d2eb
|
69
|
+
Author: Keiji, Yoshimi <walf443@gmail.com>
|
70
|
+
Date: Mon Oct 27 00:03:47 2008 +0900
|
71
|
+
|
72
|
+
release 0.0.5
|
73
|
+
|
74
|
+
:100644 100644 1fb8859... c354860... M ChangeLog
|
75
|
+
:100644 100644 c885e09... 800b90d... M Rakefile
|
76
|
+
|
1
77
|
commit de3b716466a8c30e31f75483977bfcd9f19f871a
|
2
78
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
3
79
|
Date: Mon Oct 27 00:00:14 2008 +0900
|
4
80
|
|
5
81
|
oops. spec message fixed.
|
6
82
|
|
83
|
+
:100644 100644 791ebec... 5de79cf... M spec/classx/handles_spec.rb
|
84
|
+
|
7
85
|
commit 8c892fc051bba7175cbaa02dd9d29cdd3bab7d51
|
8
86
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
9
87
|
Date: Sun Oct 26 23:00:20 2008 +0900
|
10
88
|
|
11
89
|
update benchmark result.
|
12
90
|
|
91
|
+
:100644 100644 f9ed509... 0368af8... M bench/define_attribute.rb
|
92
|
+
|
13
93
|
commit ad6a1e8be27e44d38b2a357f060086053572ecb2
|
14
94
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
15
95
|
Date: Sun Oct 26 18:53:28 2008 +0900
|
16
96
|
|
17
97
|
fixed bug. when you handle some methods that use with block, it not worked.
|
18
98
|
|
99
|
+
:100644 100644 3a3408d... 86d0692... M lib/classx/attributes.rb
|
100
|
+
:100644 100644 82d5340... 791ebec... M spec/classx/handles_spec.rb
|
101
|
+
|
19
102
|
commit ad34cf6a7f3d119379a2bc78b4060504b404db9e
|
20
103
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
21
104
|
Date: Fri Sep 19 08:59:34 2008 +0900
|
22
105
|
|
23
106
|
added coerce to log_rotate.
|
24
107
|
|
108
|
+
:100644 100644 8920081... c946b7c... M lib/classx/role/logger.rb
|
109
|
+
|
25
110
|
commit 8b4cc50e9395bb801beafd60afc579e279e7604d
|
26
111
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
27
112
|
Date: Fri Sep 19 08:52:38 2008 +0900
|
28
113
|
|
29
114
|
added CoerceWithProc.
|
30
115
|
|
116
|
+
:100644 100644 30c927c... 47b0fdc... M lib/classx/attribute.rb
|
117
|
+
:100644 100644 73dbf6f... 89dc884... M spec/classx/with_coerce_spec.rb
|
118
|
+
:100644 100644 a9068e9... ec597fe... M spec/classx_class_attributes/with_coerce_spec.rb
|
119
|
+
|
31
120
|
commit cc2917b5b7f1088428936f9065932c7d630ae356
|
32
121
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
33
122
|
Date: Fri Sep 19 08:37:39 2008 +0900
|
34
123
|
|
35
124
|
added validate to log_rotate.
|
36
125
|
|
126
|
+
:100644 100644 15b6f5f... 8920081... M lib/classx/role/logger.rb
|
127
|
+
|
37
128
|
commit ef422314b28c741950a04e4a9d75a532c4f4a0ab
|
38
129
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
39
130
|
Date: Fri Sep 19 08:29:22 2008 +0900
|
40
131
|
|
41
132
|
fixed bug: ClassX::Commandable with none kind_of specified attribute does not output :desc to help.
|
42
133
|
|
134
|
+
:100644 100644 886b8f0... 6a4a889... M lib/classx/commandable.rb
|
135
|
+
:100644 100644 3f5ed25... 15b6f5f... M lib/classx/role/logger.rb
|
136
|
+
|
43
137
|
commit 62217b9347f6470db829ef66de116a9bdab04c7c
|
44
138
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
45
139
|
Date: Fri Sep 19 08:20:01 2008 +0900
|
46
140
|
|
47
141
|
added more shortcut.
|
48
142
|
|
143
|
+
:100644 100644 cb4699e... d68afcd... M example/commandable.rb
|
144
|
+
:100644 100644 39bfda7... 3f5ed25... M lib/classx/role/logger.rb
|
145
|
+
|
49
146
|
commit 497ac5c854faa719a90eabcabeb5fbecdd25997f
|
50
147
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
51
148
|
Date: Fri Sep 19 08:11:18 2008 +0900
|
52
149
|
|
53
150
|
added log_rotate attribute.
|
54
151
|
|
152
|
+
:100644 100644 0efd94a... 39bfda7... M lib/classx/role/logger.rb
|
153
|
+
|
55
154
|
commit b06e8dac0d7084623426f37568369ca251cf6550
|
56
155
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
57
156
|
Date: Fri Sep 19 08:01:23 2008 +0900
|
58
157
|
|
59
158
|
trigger is not neeed.
|
60
159
|
|
160
|
+
:100644 100644 1f87165... 0efd94a... M lib/classx/role/logger.rb
|
161
|
+
|
61
162
|
commit 343c1efcb9c8fe4c6ccb7674edefeeacf64740e9
|
62
163
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
63
164
|
Date: Fri Sep 19 07:55:14 2008 +0900
|
64
165
|
|
65
166
|
tweak for rdoc.
|
66
167
|
|
168
|
+
:100644 100644 01a4985... c885e09... M Rakefile
|
169
|
+
:100644 100644 55fc731... 1f87165... M lib/classx/role/logger.rb
|
170
|
+
:100644 100644 de24fbc... eaff159... M tasks/basic_config.rake
|
171
|
+
|
67
172
|
commit 51dcdd598cfac6d432494dede4427589dcefb665
|
68
173
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
69
174
|
Date: Wed Sep 17 08:59:48 2008 +0900
|
70
175
|
|
71
176
|
change #before_init to class method and change name process_init_args.
|
72
177
|
|
178
|
+
:100644 100644 018b411... 5b0f41b... M lib/classx.rb
|
179
|
+
|
73
180
|
commit 6437f8ca6ef3cb443d3e1ced0a7a7d2b61062edb
|
74
181
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
75
182
|
Date: Wed Sep 17 08:42:13 2008 +0900
|
76
183
|
|
77
184
|
adding document.
|
78
185
|
|
186
|
+
:000000 100644 0000000... 4834caa... A doc/OverViewFeatureOfClassX.pdf
|
187
|
+
|
79
188
|
commit b9bdffc8f2146ef793a0c03e63182d5a4388ad07
|
80
189
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
81
190
|
Date: Tue Sep 16 09:00:40 2008 +0900
|
82
191
|
|
83
192
|
added document.
|
84
193
|
|
194
|
+
:100644 100644 cdb1b32... 30c927c... M lib/classx/attribute.rb
|
195
|
+
|
85
196
|
commit 4a2807b839fe7c9e4d2989e025cf94d415c92e69
|
86
197
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
87
198
|
Date: Tue Sep 16 08:52:28 2008 +0900
|
88
199
|
|
89
200
|
trigger should take array as default.
|
90
201
|
|
202
|
+
:100644 100644 c08bd27... 8e38471... M bench/attribute_set.rb
|
203
|
+
:100644 100644 9babe24... d76b8db... M bench/initialize.rb
|
204
|
+
:100644 100644 d18c182... cdb1b32... M lib/classx/attribute.rb
|
205
|
+
:100644 100644 c01ab79... 5356d46... M spec/classx/with_trigger_spec.rb
|
206
|
+
:100644 100644 6f810ea... e646b85... M spec/classx_class_attributes/with_trigger_spec.rb
|
207
|
+
|
91
208
|
commit 0171feab3293523d26f70220d8501de1ac6f518d
|
92
209
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
93
210
|
Date: Tue Sep 16 08:14:18 2008 +0900
|
94
211
|
|
95
212
|
update benchmark.
|
96
213
|
|
214
|
+
:100644 100644 dffa0b0... c08bd27... M bench/attribute_set.rb
|
215
|
+
:100644 100644 5bfbf66... 9babe24... M bench/initialize.rb
|
216
|
+
|
97
217
|
commit d85fa7ded08434e5300e434996eb63686a5753bf
|
98
218
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
99
219
|
Date: Tue Sep 16 08:07:34 2008 +0900
|
100
220
|
|
101
221
|
trigger option support.
|
102
222
|
|
223
|
+
:100644 100644 7adab38... d18c182... M lib/classx/attribute.rb
|
224
|
+
:000000 100644 0000000... c01ab79... A spec/classx/with_trigger_spec.rb
|
225
|
+
:000000 100644 0000000... 6f810ea... A spec/classx_class_attributes/with_trigger_spec.rb
|
226
|
+
|
103
227
|
commit 355ede71dc0b98f78ebb40b616945f2e192abdc8
|
104
228
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
105
229
|
Date: Mon Sep 15 15:54:03 2008 +0900
|
106
230
|
|
107
231
|
refactering
|
108
232
|
|
233
|
+
:100644 100644 ee56c98... 7adab38... M lib/classx/attribute.rb
|
234
|
+
|
109
235
|
commit 723cffd4439723f9533c8e681a9202ca5836d3c5
|
110
236
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
111
237
|
Date: Sat Sep 13 00:38:06 2008 +0900
|
112
238
|
|
113
239
|
released 0.0.4
|
114
240
|
|
241
|
+
:100644 100644 b1395f7... 1fb8859... M ChangeLog
|
242
|
+
:100644 100644 67cce91... 01a4985... M Rakefile
|
243
|
+
|
115
244
|
commit c27d76a9e41d7f1d6f02160c6c0b555c6cd68206
|
116
245
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
117
246
|
Date: Sat Sep 13 00:28:06 2008 +0900
|
118
247
|
|
119
248
|
adding doc for methods.
|
120
249
|
|
250
|
+
:100644 100644 35acdcc... 4a8c5ee... M README
|
251
|
+
:100644 100644 bf82579... 67cce91... M Rakefile
|
252
|
+
:100644 100644 0183f72... 018b411... M lib/classx.rb
|
253
|
+
:100644 100644 a961717... ee56c98... M lib/classx/attribute.rb
|
254
|
+
:100644 100644 611a28a... 3a3408d... M lib/classx/attributes.rb
|
255
|
+
|
121
256
|
commit 55c86d08d2a6a6acfd19a0d986a38e7b90e268b3
|
122
257
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
123
258
|
Date: Fri Sep 12 23:46:38 2008 +0900
|
124
259
|
|
125
260
|
update benchmark script.
|
126
261
|
|
262
|
+
:100644 100644 14e3f83... 126ac78... M bench/attribute_get.rb
|
263
|
+
:100644 100644 ff10ee8... dffa0b0... M bench/attribute_set.rb
|
264
|
+
:100644 100644 a6292ca... f9ed509... M bench/define_attribute.rb
|
265
|
+
:100644 100644 6b88314... 5bfbf66... M bench/initialize.rb
|
266
|
+
|
127
267
|
commit 92ed088b66fdbf04c3c9bff6439b6f98dbf66a03
|
128
268
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
129
269
|
Date: Fri Sep 12 23:36:17 2008 +0900
|
130
270
|
|
131
271
|
fixed warnings.
|
132
272
|
|
273
|
+
:100644 100644 d5b0f43... 28731fc... M lib/classx/declare.rb
|
274
|
+
|
133
275
|
commit 212fd510001ffac66d8c318bc8aee645566cc81f
|
134
276
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
135
277
|
Date: Fri Sep 12 09:23:48 2008 +0900
|
136
278
|
|
137
279
|
added rdoc.
|
138
280
|
|
281
|
+
:100644 100644 ac7a4b1... 0183f72... M lib/classx.rb
|
282
|
+
:100644 100644 a85412b... a961717... M lib/classx/attribute.rb
|
283
|
+
:100644 100644 d566506... 611a28a... M lib/classx/attributes.rb
|
284
|
+
:100644 100644 1020e59... 886b8f0... M lib/classx/commandable.rb
|
285
|
+
:100644 100644 ff49db0... d5b0f43... M lib/classx/declare.rb
|
286
|
+
:100644 100644 24fd469... 55fc731... M lib/classx/role/logger.rb
|
287
|
+
:100644 100644 1aec0e8... 3169742... M lib/classx/validate.rb
|
288
|
+
|
139
289
|
commit 29129de8ad1f740df7a812547b734c530e4bd26e
|
140
290
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
141
291
|
Date: Fri Sep 12 08:36:48 2008 +0900
|
142
292
|
|
143
293
|
fixed fail test in Ruby 1.9.0
|
144
294
|
|
295
|
+
:100644 100644 f6e3fea... dc7fec3... M spec/classx_declare_spec.rb
|
296
|
+
|
145
297
|
commit 058d0588e6626403bcaef9464ef40c50d52b516d
|
146
298
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
147
299
|
Date: Fri Sep 12 08:28:43 2008 +0900
|
148
300
|
|
149
301
|
added test for #dup
|
150
302
|
|
303
|
+
:100644 100644 3d8455b... b277112... M spec/classx/serialize_spec.rb
|
304
|
+
|
151
305
|
commit 1d591c1b8f78e3892b7fb010b62063da142dae16
|
152
306
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
153
307
|
Date: Fri Sep 12 08:25:32 2008 +0900
|
154
308
|
|
155
309
|
change to use ClassX::Bracketable in ClassX::Validate class
|
156
310
|
|
311
|
+
:100644 100644 4b20844... 1aec0e8... M lib/classx/validate.rb
|
312
|
+
|
157
313
|
commit 57e61cf163f351e05bf6cdedcc519e2aa32cdc67
|
158
314
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
159
315
|
Date: Fri Sep 12 08:24:21 2008 +0900
|
160
316
|
|
161
317
|
added spec to ClassX::Declare and fixed bug about autoload ClassX::Bracketable
|
162
318
|
|
319
|
+
:100644 100644 217a483... ac7a4b1... M lib/classx.rb
|
320
|
+
:100644 100644 7e2f47a... ff49db0... M lib/classx/declare.rb
|
321
|
+
:000000 100644 0000000... f6e3fea... A spec/classx_declare_spec.rb
|
322
|
+
|
163
323
|
commit 0e3b72eb7d63a4bf84f121ce3a08b8d535b16d91
|
164
324
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
165
325
|
Date: Fri Sep 12 02:47:11 2008 +0900
|
166
326
|
|
167
327
|
fixed bug of test in Ruby 1.9.0
|
168
328
|
|
329
|
+
:100644 100644 fa459df... bd2b0bb... M spec/classx_class_attributes/dsl_accessor_spec.rb
|
330
|
+
|
169
331
|
commit 72d4a1e60a6bbcf53d976508724c4d4948d1c744
|
170
332
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
171
333
|
Date: Fri Sep 12 02:36:06 2008 +0900
|
172
334
|
|
173
335
|
added test.
|
174
336
|
|
337
|
+
:100644 100644 136313f... b843206... M spec/classx_bracketable_spec.rb
|
338
|
+
|
175
339
|
commit d8285a1c6f86ecb1de78f0ba61557591aca38e34
|
176
340
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
177
341
|
Date: Fri Sep 12 02:33:22 2008 +0900
|
178
342
|
|
179
343
|
file name is wrong in convention.
|
180
344
|
|
345
|
+
:100644 000000 136313f... 0000000... D spec/classx_bracketable.rb
|
346
|
+
:000000 100644 0000000... 136313f... A spec/classx_bracketable_spec.rb
|
347
|
+
|
181
348
|
commit 0c97f016b63fb7853fcc058709ff631be13e2e5e
|
182
349
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
183
350
|
Date: Fri Sep 12 02:27:43 2008 +0900
|
184
351
|
|
185
352
|
It may be caching is wrong.
|
186
353
|
|
354
|
+
:100644 100644 ec975ee... 14d21c6... M lib/classx/class_attributes.rb
|
355
|
+
|
187
356
|
commit 6306fc00771d955deede79c20e68b5d2706738e8
|
188
357
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
189
358
|
Date: Fri Sep 12 02:19:25 2008 +0900
|
190
359
|
|
191
360
|
not commited.
|
192
361
|
|
362
|
+
:100644 100644 bc3c004... 01282b7... M lib/classx/bracketable.rb
|
363
|
+
|
193
364
|
commit 1883e78a6b032740350c87a5d083b959b61d04c1
|
194
365
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
195
366
|
Date: Fri Sep 12 01:52:15 2008 +0900
|
196
367
|
|
197
368
|
added test for ClassX::Brancketable
|
198
369
|
|
370
|
+
:100644 000000 8a16a3c... 0000000... D lib/classx/blanketable.rb
|
371
|
+
:000000 100644 0000000... bc3c004... A lib/classx/bracketable.rb
|
372
|
+
:000000 100644 0000000... 136313f... A spec/classx_bracketable.rb
|
373
|
+
|
199
374
|
commit 72d8a64cc065b191a8399db1fa05abbed7b8e955
|
200
375
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
201
376
|
Date: Fri Sep 12 01:51:45 2008 +0900
|
202
377
|
|
203
378
|
no need to include ClassX::Validate
|
204
379
|
|
380
|
+
:100644 100644 2453d59... a980025... M spec/classx_validate_spec.rb
|
381
|
+
|
205
382
|
commit 9b437319d3a681d413dc511876e6d4146daf964f
|
206
383
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
207
384
|
Date: Wed Sep 10 09:11:18 2008 +0900
|
208
385
|
|
209
386
|
added ClassX::Blanketable
|
210
387
|
|
388
|
+
:100644 100644 a3a7946... 217a483... M lib/classx.rb
|
389
|
+
:000000 100644 0000000... 8a16a3c... A lib/classx/blanketable.rb
|
390
|
+
|
211
391
|
commit b899ce53177852463ad184f166ad8e6ce6359f8d
|
212
392
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
213
393
|
Date: Wed Sep 10 07:55:07 2008 +0900
|
214
394
|
|
215
395
|
added doc. make alias CAttrs as ClassX::ClassAttributes, Attrs as ClassX::Attributes
|
216
396
|
|
397
|
+
:100644 100644 757f99a... a3a7946... M lib/classx.rb
|
398
|
+
:100644 100644 40b520c... d566506... M lib/classx/attributes.rb
|
399
|
+
:100644 100644 f39550f... ec975ee... M lib/classx/class_attributes.rb
|
400
|
+
|
217
401
|
commit e08c704466dd4af37e8ab2b92ba984d03af42db6
|
218
402
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
219
403
|
Date: Wed Sep 10 01:20:08 2008 +0900
|
220
404
|
|
221
405
|
remove garbage.
|
222
406
|
|
407
|
+
:100644 100644 eaf17cf... fa459df... M spec/classx_class_attributes/dsl_accessor_spec.rb
|
408
|
+
|
223
409
|
commit cbcd811ff3fb88212f4dad175064bb1d05692275
|
224
410
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
225
411
|
Date: Wed Sep 10 00:20:57 2008 +0900
|
226
412
|
|
227
413
|
added comment.
|
228
414
|
|
415
|
+
:100644 100644 a0fb25d... f39550f... M lib/classx/class_attributes.rb
|
416
|
+
|
229
417
|
commit 55775bed9ee0e686da52b2c649f7c40a6b5758f5
|
230
418
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
231
419
|
Date: Wed Sep 10 00:08:35 2008 +0900
|
232
420
|
|
233
421
|
added dsl_accessor compatible tests.
|
234
422
|
|
423
|
+
:100644 100644 a0e8a6d... a0fb25d... M lib/classx/class_attributes.rb
|
424
|
+
:000000 100644 0000000... eaf17cf... A spec/classx_class_attributes/dsl_accessor_spec.rb
|
425
|
+
:100644 100644 f9b2404... 2d79c1f... M spec/classx_class_attributes/writable_option_spec.rb
|
426
|
+
|
235
427
|
commit 691562a088b1a7b7ab2ff659a214aa9656212df6
|
236
428
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
237
429
|
Date: Tue Sep 9 08:09:30 2008 +0900
|
238
430
|
|
239
431
|
ruby1.9 return each items in instance_variables with Symbol.
|
240
432
|
|
433
|
+
:100644 100644 bdd72b0... 757f99a... M lib/classx.rb
|
434
|
+
:100644 100644 86e2cb8... 3d8455b... M spec/classx/serialize_spec.rb
|
435
|
+
|
241
436
|
commit 72a128ae5b80636799c3466a303c3caba3e2f919
|
242
437
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
243
438
|
Date: Tue Sep 9 02:03:07 2008 +0900
|
244
439
|
|
245
440
|
fixed spec docs.
|
246
441
|
|
442
|
+
:100644 100644 533721e... 8fadef1... M spec/classx_class_attributes/without_anyoption_spec.rb
|
443
|
+
:100644 100644 62bcc6f... f9b2404... M spec/classx_class_attributes/writable_option_spec.rb
|
444
|
+
|
247
445
|
commit e6f03314479f1692e9a04739c2395006ad9cf871
|
248
446
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
249
447
|
Date: Tue Sep 9 01:50:15 2008 +0900
|
250
448
|
|
251
449
|
added test about inheritance.
|
252
450
|
|
451
|
+
:100644 100644 f7823f7... 264c29d... M spec/classx_class_attributes/with_multiple_class_spec.rb
|
452
|
+
|
253
453
|
commit 6cfd2852d3dd4d461ab06ae983585558d576b360
|
254
454
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
255
455
|
Date: Tue Sep 9 01:06:14 2008 +0900
|
256
456
|
|
257
457
|
ClassX::ClassAttributes should be extend. So self.include is not need.
|
258
458
|
|
459
|
+
:100644 100644 b817b23... a0e8a6d... M lib/classx/class_attributes.rb
|
460
|
+
|
259
461
|
commit 580936730fffd5ded27ae0b47a9937ada48174e1
|
260
462
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
261
463
|
Date: Tue Sep 9 01:03:01 2008 +0900
|
262
464
|
|
263
465
|
added class attribute feature. you can define class attributes with a same interface of attribute.
|
264
466
|
|
467
|
+
:100644 100644 5e61158... bdd72b0... M lib/classx.rb
|
468
|
+
:000000 100644 0000000... b817b23... A lib/classx/class_attributes.rb
|
469
|
+
:000000 100644 0000000... a13436c... A spec/classx_class_attributes/default_option_spec.rb
|
470
|
+
:000000 100644 0000000... 96df6f4... A spec/classx_class_attributes/handles_spec.rb
|
471
|
+
:000000 100644 0000000... a9068e9... A spec/classx_class_attributes/with_coerce_spec.rb
|
472
|
+
:000000 100644 0000000... 17f6191... A spec/classx_class_attributes/with_extend_spec.rb
|
473
|
+
:000000 100644 0000000... fab52f3... A spec/classx_class_attributes/with_include_spec.rb
|
474
|
+
:000000 100644 0000000... f7823f7... A spec/classx_class_attributes/with_multiple_class_spec.rb
|
475
|
+
:000000 100644 0000000... 743932b... A spec/classx_class_attributes/with_validate_spec.rb
|
476
|
+
:000000 100644 0000000... 2b78e9d... A spec/classx_class_attributes/without_accessor_spec.rb
|
477
|
+
:000000 100644 0000000... 533721e... A spec/classx_class_attributes/without_anyoption_spec.rb
|
478
|
+
:000000 100644 0000000... 62bcc6f... A spec/classx_class_attributes/writable_option_spec.rb
|
479
|
+
|
265
480
|
commit 413edbea25cbc3991dd546fb0af21e82008853b7
|
266
481
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
267
482
|
Date: Mon Sep 8 22:35:37 2008 +0900
|
268
483
|
|
269
484
|
Serialization should support restoring instance_variables except for classx's attribute_class caching.
|
270
485
|
|
486
|
+
:100644 100644 1820af4... 5e61158... M lib/classx.rb
|
487
|
+
:100644 100644 355a61e... 86e2cb8... M spec/classx/serialize_spec.rb
|
488
|
+
|
271
489
|
commit 967bb8ef27de37ea951ff2199a1d1df8d7ba3cae
|
272
490
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
273
491
|
Date: Mon Sep 8 08:34:58 2008 +0900
|
274
492
|
|
275
493
|
oops.
|
276
494
|
|
495
|
+
:100644 100644 c78c9fd... 1820af4... M lib/classx.rb
|
496
|
+
|
277
497
|
commit 3713b743286bc3076f6ef5a190dba31aebfef3a4
|
278
498
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
279
499
|
Date: Mon Sep 8 08:33:02 2008 +0900
|
280
500
|
|
281
501
|
added serialization support using Marshl, YAML.
|
282
502
|
|
503
|
+
:000000 100644 0000000... 355a61e... A spec/classx/serialize_spec.rb
|
504
|
+
|
283
505
|
commit 07a290cd3f9befefbd2987c78f889a67b81f89c8
|
284
506
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
285
507
|
Date: Sun Sep 7 19:24:20 2008 +0900
|
286
508
|
|
287
509
|
Become caching value when you use getter method.
|
288
510
|
|
511
|
+
:100644 100644 9b82f8d... 14e3f83... M bench/attribute_get.rb
|
512
|
+
:100644 100644 48f796c... ff10ee8... M bench/attribute_set.rb
|
513
|
+
:100644 100644 fba0d09... a85412b... M lib/classx/attribute.rb
|
514
|
+
:100644 100644 67305a7... 40b520c... M lib/classx/attributes.rb
|
515
|
+
|
289
516
|
commit 3e97a758c8f421b5089d44abe399ab328174afbb
|
290
517
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
291
518
|
Date: Sun Sep 7 18:35:08 2008 +0900
|
292
519
|
|
293
520
|
fixed revision.
|
294
521
|
|
522
|
+
:100644 100644 250fa7b... a6292ca... M bench/define_attribute.rb
|
523
|
+
|
295
524
|
commit dd1bb608dd23ebf8e569c62784778aca56917044
|
296
525
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
297
526
|
Date: Sun Sep 7 18:34:03 2008 +0900
|
298
527
|
|
299
528
|
refactoring code. not using attribute_of as possible.
|
300
529
|
|
530
|
+
:100644 100644 9bff68b... 250fa7b... M bench/define_attribute.rb
|
531
|
+
:100644 100644 6efa6a6... 67305a7... M lib/classx/attributes.rb
|
532
|
+
|
301
533
|
commit 8e6541a01a49a032f59c9f6b238e0f5ccb37ddbc
|
302
534
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
303
535
|
Date: Sun Sep 7 18:12:54 2008 +0900
|
304
536
|
|
305
537
|
attr_get became slower a little than before.
|
306
538
|
|
539
|
+
:100644 100644 62b4a60... 9b82f8d... M bench/attribute_get.rb
|
540
|
+
|
307
541
|
commit 83519953e9f7140ccd10324670d37cfec3cceb16
|
308
542
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
309
543
|
Date: Sun Sep 7 18:06:23 2008 +0900
|
310
544
|
|
311
545
|
Allow another setter style. you can use #attr_name(val) alternate #attr_name= val
|
312
546
|
|
547
|
+
:100644 100644 83938d5... 48f796c... M bench/attribute_set.rb
|
548
|
+
:100644 100644 33a909b... 6efa6a6... M lib/classx/attributes.rb
|
549
|
+
:100644 100644 5917e66... aa822d8... M spec/classx/writable_option_spec.rb
|
550
|
+
|
313
551
|
commit dd1555988fe38e3fc53e780e7b0922e8802feca1
|
314
552
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
315
553
|
Date: Fri Aug 29 09:09:33 2008 +0900
|
316
554
|
|
317
555
|
ruby19 can use =~ between Symbol and Regexp.
|
318
556
|
|
557
|
+
:100644 100644 46f6a99... d70377d... M spec/classx/with_validate_spec.rb
|
558
|
+
|
319
559
|
commit a48eb7c03bcee64d285eda4bd24a537f5cede81f
|
320
560
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
321
561
|
Date: Fri Aug 29 09:05:11 2008 +0900
|
322
562
|
|
323
563
|
support mspec because it's easy to run test as ruby 1.9. (rspec is not worked in ruby 1.9 !! )
|
324
564
|
|
565
|
+
:100644 100644 79e3f62... 82d5340... M spec/classx/handles_spec.rb
|
566
|
+
:100644 100644 b74ffb2... 2527e8c... M spec/classx/without_anyoption_spec.rb
|
567
|
+
:100644 100644 f9d78c2... 5917e66... M spec/classx/writable_option_spec.rb
|
568
|
+
|
325
569
|
commit 2340039002a3ff315fad5028bf2c7931ac1d1c91
|
326
570
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
327
571
|
Date: Thu Aug 28 00:40:51 2008 +0900
|
328
572
|
|
329
573
|
no define_method if it doesn't need.
|
330
574
|
|
575
|
+
:100644 100644 b28016b... 9bff68b... M bench/define_attribute.rb
|
576
|
+
:100644 100644 bddab81... fba0d09... M lib/classx/attribute.rb
|
577
|
+
|
331
578
|
commit 29a8e3293d07ca8dd0b4a3305d615b2968b13c55
|
332
579
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
333
580
|
Date: Wed Aug 27 08:28:56 2008 +0900
|
334
581
|
|
335
582
|
added :validate_each option. It's useful to validate complex structure ( for example nested Array ).
|
336
583
|
|
584
|
+
:100644 100644 dc1f35b... bddab81... M lib/classx/attribute.rb
|
585
|
+
:100644 100644 7bd06a8... 46f6a99... M spec/classx/with_validate_spec.rb
|
586
|
+
|
337
587
|
commit 36fd5a4e2320b0a68c38640ab86a1bc5cda0da2d
|
338
588
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
339
589
|
Date: Tue Aug 26 08:24:26 2008 +0900
|
340
590
|
|
341
591
|
don't measure GC time.
|
342
592
|
|
593
|
+
:100644 100644 7bbff44... 62b4a60... M bench/attribute_get.rb
|
594
|
+
:100644 100644 f0e88b6... 83938d5... M bench/attribute_set.rb
|
595
|
+
:100644 100644 a104f0f... b28016b... M bench/define_attribute.rb
|
596
|
+
:100644 100644 e900cfa... 6b88314... M bench/initialize.rb
|
597
|
+
|
343
598
|
commit 1f4c448bcbc74d744be2a6e3805b461b798a7f91
|
344
599
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
345
600
|
Date: Mon Aug 25 09:34:28 2008 +0900
|
346
601
|
|
347
602
|
added benchmark for taking time of defining attributes.
|
348
603
|
|
604
|
+
:000000 100644 0000000... a104f0f... A bench/define_attribute.rb
|
605
|
+
|
349
606
|
commit 066787b4d379bdf1a83700b5fe5e629e6a423d74
|
350
607
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
351
608
|
Date: Sun Aug 24 23:20:09 2008 +0900
|
352
609
|
|
353
610
|
:handle option should be able to delegate method with arguments.
|
354
611
|
|
612
|
+
:100644 100644 623b559... 33a909b... M lib/classx/attributes.rb
|
613
|
+
:100644 100644 70fe5a6... 79e3f62... M spec/classx/handles_spec.rb
|
614
|
+
|
355
615
|
commit d08d8f5cc87e1a7979dc11cc0abc914a2a4c61a3
|
356
616
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
357
617
|
Date: Sun Aug 24 22:39:43 2008 +0900
|
358
618
|
|
359
619
|
insert line break to too long line to read.
|
360
620
|
|
621
|
+
:100644 100644 3cd4185... 1020e59... M lib/classx/commandable.rb
|
622
|
+
|
361
623
|
commit 2120fafb35ee33048130b6c23c9c009e3c47f629
|
362
624
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
363
625
|
Date: Sun Aug 24 21:01:59 2008 +0900
|
364
626
|
|
365
627
|
fixed.BUG: when it specify invalid attribute as option, commandable would not show help message.
|
366
628
|
|
629
|
+
:100644 100644 402e07e... 3cd4185... M lib/classx/commandable.rb
|
630
|
+
:100644 100644 119ff6a... 24fd469... M lib/classx/role/logger.rb
|
631
|
+
|
367
632
|
commit f23eb5c82c644dc45cd83568a9270153b422f8a3
|
368
633
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
369
634
|
Date: Sun Aug 24 17:59:26 2008 +0900
|
370
635
|
|
371
636
|
It should use Class.const_defined?
|
372
637
|
|
638
|
+
:100644 100644 f01b23d... 623b559... M lib/classx/attributes.rb
|
639
|
+
|
373
640
|
commit dd0d8b4ab4610d39b2f81361ad0b85e87bdb6847
|
374
641
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
375
642
|
Date: Sun Aug 24 17:52:23 2008 +0900
|
376
643
|
|
377
644
|
When attribute's config freezed. ClassX::Commandable is not worked.
|
378
645
|
|
646
|
+
:100644 100644 b61e947... dc1f35b... M lib/classx/attribute.rb
|
647
|
+
|
379
648
|
commit ada4424c9d8bd443eebc0c661040ccfdebca12e4
|
380
649
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
381
650
|
Date: Sun Aug 24 17:43:41 2008 +0900
|
382
651
|
|
383
652
|
change not using args[key] in define_method but using via config method.
|
384
653
|
|
654
|
+
:100644 100644 df87301... b61e947... M lib/classx/attribute.rb
|
655
|
+
|
385
656
|
commit d0c318b1e45cdd134ca47bf48a4aae06cfcd215c
|
386
657
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
387
658
|
Date: Sun Aug 24 16:53:23 2008 +0900
|
388
659
|
|
389
660
|
added tests.
|
390
661
|
|
662
|
+
:100644 100644 8a088df... df87301... M lib/classx/attribute.rb
|
663
|
+
:100644 100644 8228968... 1b7103c... M spec/classx/with_extend_spec.rb
|
664
|
+
:100644 100644 f65b11d... 0fac31d... M spec/classx/with_include_spec.rb
|
665
|
+
:000000 100644 0000000... 7bd06a8... A spec/classx/with_validate_spec.rb
|
666
|
+
:100644 100644 285557e... f9d78c2... M spec/classx/writable_option_spec.rb
|
667
|
+
|
391
668
|
commit 588d9b3643ad12cfcc7b8c85a0a71834f83de24f
|
392
669
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
393
670
|
Date: Sun Aug 24 16:34:38 2008 +0900
|
394
671
|
|
395
672
|
test file name should be /_spec.rb$/.
|
396
673
|
|
674
|
+
:100644 000000 73dbf6f... 0000000... D spec/classx/with_coerce.rb
|
675
|
+
:000000 100644 0000000... 73dbf6f... A spec/classx/with_coerce_spec.rb
|
676
|
+
:100644 000000 8228968... 0000000... D spec/classx/with_extend.rb
|
677
|
+
:000000 100644 0000000... 8228968... A spec/classx/with_extend_spec.rb
|
678
|
+
:100644 000000 f65b11d... 0000000... D spec/classx/with_include.rb
|
679
|
+
:000000 100644 0000000... f65b11d... A spec/classx/with_include_spec.rb
|
680
|
+
|
397
681
|
commit 9a5c6802a1de610c6f93b614cbca56e10721965d
|
398
682
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
399
683
|
Date: Sun Aug 24 15:57:33 2008 +0900
|
400
684
|
|
401
685
|
/Libraray should not use as rcov coverage.
|
402
686
|
|
687
|
+
:100644 100644 903762e... 38d91e1... M tasks/basic_tasks.rake
|
688
|
+
|
403
689
|
commit d37368e32770e14a6242bf7eb5e8390a8577e4e0
|
404
690
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
405
691
|
Date: Sun Aug 24 12:20:07 2008 +0900
|
406
692
|
|
407
693
|
supported defining nested name space.
|
408
694
|
|
695
|
+
:100644 100644 7d54ceb... 7e2f47a... M lib/classx/declare.rb
|
696
|
+
|
409
697
|
commit 32ed48c6ae8a470acb3a12151102174fedccfc58
|
410
698
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
411
699
|
Date: Sat Aug 23 23:25:31 2008 +0900
|
412
700
|
|
413
701
|
classx/util is not merged.
|
414
702
|
|
703
|
+
:100644 100644 7ecc8e2... c78c9fd... M lib/classx.rb
|
704
|
+
|
415
705
|
commit 8e81180a717458b53fa09ec6ac4f9852f7175e8b
|
416
706
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
417
707
|
Date: Sat Aug 23 22:35:59 2008 +0900
|
418
708
|
|
419
709
|
added benchmark for attribute_get.
|
420
710
|
|
711
|
+
:000000 100644 0000000... 7bbff44... A bench/attribute_get.rb
|
712
|
+
|
421
713
|
commit 115d1bcfb9cb3964c14da851259dc5bb2a6f2784
|
422
714
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
423
715
|
Date: Sat Aug 23 22:29:07 2008 +0900
|
424
716
|
|
425
717
|
change to cache ClassX#attribute_of. And fixed warnings.
|
426
718
|
|
719
|
+
:100644 100644 9660667... f0e88b6... M bench/attribute_set.rb
|
720
|
+
:100644 100644 a96afb3... e900cfa... M bench/initialize.rb
|
721
|
+
:100644 100644 21b0f2d... 7ecc8e2... M lib/classx.rb
|
722
|
+
:100644 100644 0c7ffeb... f01b23d... M lib/classx/attributes.rb
|
723
|
+
|
427
724
|
commit a23be1ac7760fea83e4b80fdc6f06fb2839b8883
|
428
725
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
429
726
|
Date: Sat Aug 23 21:35:05 2008 +0900
|
430
727
|
|
431
728
|
It may be better to show attibute's parent at inspect for debugging.
|
432
729
|
|
730
|
+
:100644 100644 fc52185... cb4699e... M example/commandable.rb
|
731
|
+
:100644 100644 2adb601... 8a088df... M lib/classx/attribute.rb
|
732
|
+
|
433
733
|
commit 3593145aeb05ebba55719405232b40af903e0882
|
434
734
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
435
735
|
Date: Sat Aug 23 21:26:04 2008 +0900
|
436
736
|
|
437
737
|
tweaked define order.
|
438
738
|
|
739
|
+
:100644 100644 4cd0b8d... 119ff6a... M lib/classx/role/logger.rb
|
740
|
+
|
439
741
|
commit daf1861b1507ea6ad87fc2be109461fd070a6b6b
|
440
742
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
441
743
|
Date: Sat Aug 23 20:52:11 2008 +0900
|
442
744
|
|
443
745
|
added ClassX::Validate.validate. It's good to write explicity code.
|
444
746
|
|
747
|
+
:100644 100644 4f0cda6... 4b20844... M lib/classx/validate.rb
|
748
|
+
:100644 100644 ee2d22b... 2453d59... M spec/classx_validate_spec.rb
|
749
|
+
|
445
750
|
commit 508f568535cdac3319cd80b812de1fb4175c17cf
|
446
751
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
447
752
|
Date: Sat Aug 23 19:00:48 2008 +0900
|
448
753
|
|
449
754
|
fixed doc.
|
450
755
|
|
756
|
+
:100644 100644 eac30e2... 4cd0b8d... M lib/classx/role/logger.rb
|
757
|
+
|
451
758
|
commit 6fc2c5dbbc4ed8cbd6ef62f9aaad0e3ffc7be498
|
452
759
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
453
760
|
Date: Sat Aug 23 15:19:20 2008 +0900
|
454
761
|
|
455
762
|
it's faster than calling from attribute_of
|
456
763
|
|
764
|
+
:100644 100644 a032cb4... 9660667... M bench/attribute_set.rb
|
765
|
+
:100644 100644 c92fea1... 0c7ffeb... M lib/classx/attributes.rb
|
766
|
+
|
457
767
|
commit 458848fded3eeb55a7fc9048bada7c825dfb73ad
|
458
768
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
459
769
|
Date: Sat Aug 23 14:53:37 2008 +0900
|
460
770
|
|
461
771
|
added bench dir to gem.
|
462
772
|
|
773
|
+
:100644 100644 bb268de... de24fbc... M tasks/basic_config.rake
|
774
|
+
|
463
775
|
commit 52afdcbfbc105d93defbf6513bc89a6827f0f386
|
464
776
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
465
777
|
Date: Sat Aug 23 14:27:39 2008 +0900
|
466
778
|
|
467
779
|
release 0.0.3
|
468
780
|
|
781
|
+
:100644 100644 ae95471... b1395f7... M ChangeLog
|
782
|
+
:100644 100644 be871c8... bf82579... M Rakefile
|
783
|
+
:100644 100644 16b16c9... 21b0f2d... M lib/classx.rb
|
784
|
+
|
469
785
|
commit 106a6048c9dd61009a54bd35081e849461785560
|
470
786
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
471
787
|
Date: Sat Aug 23 14:22:09 2008 +0900
|
472
788
|
|
473
789
|
update pdf new version.
|
474
790
|
|
791
|
+
:100644 100644 4a6c349... 64535da... M doc/TokyoRubyKaigi01_classX.pdf
|
792
|
+
|
475
793
|
commit b12c2f6af136152941acff3e24cc7bb2e0d7bec2
|
476
794
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
477
795
|
Date: Sat Aug 23 14:05:15 2008 +0900
|
478
796
|
|
479
797
|
fixed.
|
480
798
|
|
799
|
+
:100644 100644 4945ebd... a032cb4... M bench/attribute_set.rb
|
800
|
+
:100644 100644 53c9474... a96afb3... M bench/initialize.rb
|
801
|
+
:100644 100644 c8ded5d... fc52185... M example/commandable.rb
|
802
|
+
|
481
803
|
commit 7655a1b8a2e719ab6aef5e4239333c2271974fec
|
482
804
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
483
805
|
Date: Sat Aug 23 13:57:31 2008 +0900
|
484
806
|
|
485
807
|
CAVEAT: change ClassX class to module!!!
|
486
808
|
|
809
|
+
:100644 100644 2fb190e... 35acdcc... M README
|
810
|
+
:100644 100644 d7453dc... 16b16c9... M lib/classx.rb
|
811
|
+
:100644 100644 9f23156... 2adb601... M lib/classx/attribute.rb
|
812
|
+
:100644 100644 0100fb9... c92fea1... M lib/classx/attributes.rb
|
813
|
+
:100644 100644 fa988b2... 402e07e... M lib/classx/commandable.rb
|
814
|
+
:100644 100644 fd12281... 7d54ceb... M lib/classx/declare.rb
|
815
|
+
:100644 100644 f9f3d05... eac30e2... M lib/classx/role/logger.rb
|
816
|
+
:100644 100644 04a407c... 4f0cda6... M lib/classx/validate.rb
|
817
|
+
:100644 100644 14e6b9f... 57fad87... M spec/classx/default_option_spec.rb
|
818
|
+
:100644 100644 68527f1... 70fe5a6... M spec/classx/handles_spec.rb
|
819
|
+
:100644 100644 3c91656... 73dbf6f... M spec/classx/with_coerce.rb
|
820
|
+
:100644 100644 90ee919... 8228968... M spec/classx/with_extend.rb
|
821
|
+
:100644 100644 8ed554a... f65b11d... M spec/classx/with_include.rb
|
822
|
+
:100644 100644 54c182a... 1ce9c86... M spec/classx/with_multiple_class_spec.rb
|
823
|
+
:100644 100644 04e80b7... 61e1211... M spec/classx/without_accessor_spec.rb
|
824
|
+
:100644 100644 a4b1fae... b74ffb2... M spec/classx/without_anyoption_spec.rb
|
825
|
+
:100644 100644 3ffc3ca... 285557e... M spec/classx/writable_option_spec.rb
|
826
|
+
:100644 100644 8ce47ee... 7d9b45a... M spec/classx_attributes_spec.rb
|
827
|
+
|
487
828
|
commit a92bcb221eb44b7e699c23dcbd85ca6b8124f74b
|
488
829
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
489
830
|
Date: Sat Aug 23 13:04:51 2008 +0900
|
490
831
|
|
491
832
|
tweaked inspect for easy debugging.
|
492
833
|
|
834
|
+
:100644 100644 807c172... 9f23156... M lib/classx/attribute.rb
|
835
|
+
|
493
836
|
commit 75b464c029eb075381eac6c3901766838f8ae935
|
494
837
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
495
838
|
Date: Sat Aug 23 12:41:29 2008 +0900
|
496
839
|
|
497
840
|
added ClassX::Role::Logger. and ignore as commandline option if :no_cmd_option specified to define attribute.
|
498
841
|
|
842
|
+
:100644 100644 38ec63c... c8ded5d... M example/commandable.rb
|
843
|
+
:100644 100644 46fdf9b... fa988b2... M lib/classx/commandable.rb
|
844
|
+
:000000 100644 0000000... f9f3d05... A lib/classx/role/logger.rb
|
845
|
+
|
499
846
|
commit c0b5ab6ff524a3a085cd85ef9300fd4900cfcb1c
|
500
847
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
501
848
|
Date: Sat Aug 23 12:09:15 2008 +0900
|
502
849
|
|
503
850
|
FATAL: fixed BUG: when mixin module that has attribute to ClassX based class, attribute_something wrong.
|
504
851
|
|
852
|
+
:100644 100644 19f41fa... 0100fb9... M lib/classx/attributes.rb
|
853
|
+
:100644 100644 1fde37e... 8ce47ee... M spec/classx_attributes_spec.rb
|
854
|
+
|
505
855
|
commit 367d3faf52f20adacd73a63616600bcd254ae9fe
|
506
856
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
507
857
|
Date: Sat Aug 23 09:15:57 2008 +0900
|
508
858
|
|
509
859
|
fix document.
|
510
860
|
|
861
|
+
:100644 100644 7dc5ac7... 2fb190e... M README
|
862
|
+
|
511
863
|
commit 6a13669476240c944c34ead40e5785f523992a16
|
512
864
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
513
865
|
Date: Sat Aug 23 09:13:49 2008 +0900
|
514
866
|
|
515
867
|
change to autoload optional class.
|
516
868
|
|
869
|
+
:100644 100644 df75d15... d7453dc... M lib/classx.rb
|
870
|
+
|
517
871
|
commit 57afc39197a4ebb149fde046bc4a5feca85b10ac
|
518
872
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
519
873
|
Date: Sat Aug 23 08:12:57 2008 +0900
|
520
874
|
|
521
875
|
help should show type specify from command line.
|
522
876
|
|
877
|
+
:100644 100644 31cb656... 46fdf9b... M lib/classx/commandable.rb
|
878
|
+
|
523
879
|
commit 3af7753e0a64434ce8e02f820da7d096355873f9
|
524
880
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
525
881
|
Date: Fri Aug 22 07:03:09 2008 +0900
|
526
882
|
|
527
883
|
change to dup as possible when you take :default option.as not Proc object.
|
528
884
|
|
885
|
+
:100644 100644 bbaf43f... 807c172... M lib/classx/attribute.rb
|
886
|
+
:100644 100644 3a0dd41... 14e6b9f... M spec/classx/default_option_spec.rb
|
887
|
+
|
529
888
|
commit b8770a895f674f7eb2eb100c016385377d01bf22
|
530
889
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
531
890
|
Date: Fri Aug 22 06:47:44 2008 +0900
|
532
891
|
|
533
892
|
tweak help message.
|
534
893
|
|
894
|
+
:100644 100644 be49ff3... 31cb656... M lib/classx/commandable.rb
|
895
|
+
|
535
896
|
commit d204b63f683aad7bf25cdba19ac941113f5f395f
|
536
897
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
537
898
|
Date: Fri Aug 22 03:19:55 2008 +0900
|
538
899
|
|
539
900
|
support short option. thanks advice for Shintaro, Kakutani.
|
540
901
|
|
902
|
+
:100644 100644 e7c65fc... be49ff3... M lib/classx/commandable.rb
|
903
|
+
|
541
904
|
commit 28f1694a54968cb56c674fe62a6f2b6ad35a46b9
|
542
905
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
543
906
|
Date: Thu Aug 21 20:30:33 2008 +0900
|
544
907
|
|
545
908
|
added ClassX::Declare. thanks Naoto, Takai !!
|
546
909
|
|
910
|
+
:000000 100644 0000000... fd12281... A lib/classx/declare.rb
|
911
|
+
|
547
912
|
commit c3fb1968643ff195258d027012a2a3dab1c4c7f2
|
548
913
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
549
914
|
Date: Thu Aug 21 17:21:48 2008 +0900
|
550
915
|
|
551
916
|
release 0.0.2
|
552
917
|
|
918
|
+
:100644 100644 a2f3c84... ae95471... M ChangeLog
|
919
|
+
|
553
920
|
commit 08727ad7905c9f16a95d2b788b9c5e51288d1580
|
554
921
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
555
922
|
Date: Thu Aug 21 17:20:16 2008 +0900
|
556
923
|
|
557
924
|
tweak rake tasks.
|
558
925
|
|
926
|
+
:100644 100644 5c0849f... be871c8... M Rakefile
|
927
|
+
:100644 100644 7a64797... bb268de... M tasks/basic_config.rake
|
928
|
+
|
559
929
|
commit 6540c8afadedf7f72cfacea7d67efadba38f8e5a
|
560
930
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
561
931
|
Date: Thu Aug 21 16:42:15 2008 +0900
|
562
932
|
|
563
933
|
added presentation slide for TokyoRubyKaigi01.
|
564
934
|
|
935
|
+
:000000 100644 0000000... 4a6c349... A doc/TokyoRubyKaigi01_classX.pdf
|
936
|
+
|
565
937
|
commit 84f215407ea6bcb76022ef41ecf4e55088d73b9b
|
566
938
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
567
939
|
Date: Thu Aug 21 13:23:48 2008 +0900
|
568
940
|
|
569
941
|
included should private
|
570
942
|
|
943
|
+
:100644 100644 8e8cfd4... 19f41fa... M lib/classx/attributes.rb
|
944
|
+
|
571
945
|
commit 7bf3db95eff3205a8c7dd05a7d0e34dd658d2ac2
|
572
946
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
573
947
|
Date: Thu Aug 21 13:04:56 2008 +0900
|
574
948
|
|
575
949
|
fixed bug when extending classX based class.
|
576
950
|
|
951
|
+
:100644 100644 d870b63... 4945ebd... M bench/attribute_set.rb
|
952
|
+
:100644 100644 8c171c5... 53c9474... M bench/initialize.rb
|
953
|
+
:100644 100644 3edc3a7... df75d15... M lib/classx.rb
|
954
|
+
:100644 100644 e052d71... 8e8cfd4... M lib/classx/attributes.rb
|
955
|
+
|
577
956
|
commit 633f7e88b16f94fc4fb64dd84cd68cf8a4b5d3a2
|
578
957
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
579
958
|
Date: Thu Aug 21 11:46:31 2008 +0900
|
580
959
|
|
581
960
|
typo fixed.
|
582
961
|
|
962
|
+
:100644 100644 e8f661d... 3ffc3ca... M spec/classx/writable_option_spec.rb
|
963
|
+
|
583
964
|
commit 93347e055db4f132356f990be82efc332dba3962
|
584
965
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
585
966
|
Date: Wed Aug 20 23:23:13 2008 +0900
|
586
967
|
|
587
968
|
added benchmark for attribute_set.
|
588
969
|
|
970
|
+
:000000 100644 0000000... d870b63... A bench/attribute_set.rb
|
971
|
+
|
589
972
|
commit 283903a6b88fe5a6bdb453b13e10d6427e4a7113
|
590
973
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
591
974
|
Date: Wed Aug 20 22:52:02 2008 +0900
|
592
975
|
|
593
976
|
It seems that it is facter [ select => convert ] than [ convert => select ].
|
594
977
|
|
978
|
+
:100644 100644 d775f86... 8c171c5... M bench/initialize.rb
|
979
|
+
:100644 100644 4717817... 3edc3a7... M lib/classx.rb
|
980
|
+
|
595
981
|
commit 7d345a994d585e7ef9fdae97b84169e0fec71ddf
|
596
982
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
597
983
|
Date: Wed Aug 20 22:32:37 2008 +0900
|
598
984
|
|
599
985
|
#attribute_of is too slow. So, change caching the result in the same method.
|
600
986
|
|
987
|
+
:100644 100644 78be849... d775f86... M bench/initialize.rb
|
988
|
+
:100644 100644 d0e5d9b... 4717817... M lib/classx.rb
|
989
|
+
:100644 100644 05003bc... e052d71... M lib/classx/attributes.rb
|
990
|
+
|
601
991
|
commit 28f399333add1d80b76dd3c91a44cb2938d55772
|
602
992
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
603
993
|
Date: Wed Aug 20 21:58:10 2008 +0900
|
604
994
|
|
605
995
|
added initialize benchmark. classX is TOOOOOOOOOOOOOOOOOOOOOOOOOOO SLOOOOOW now!!!
|
606
996
|
|
997
|
+
:000000 100644 0000000... 78be849... A bench/initialize.rb
|
998
|
+
|
607
999
|
commit d5619b6533955eb46367103119bc7cff5d3d35e7
|
608
1000
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
609
1001
|
Date: Wed Aug 20 21:13:44 2008 +0900
|
610
1002
|
|
611
1003
|
fixed typo.
|
612
1004
|
|
1005
|
+
:100644 100644 84fd142... 3a0dd41... M spec/classx/default_option_spec.rb
|
1006
|
+
|
613
1007
|
commit ea6fd14775f58b800b64468af9c08a0c4a4acc28
|
614
1008
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
615
1009
|
Date: Wed Aug 20 21:03:56 2008 +0900
|
616
1010
|
|
617
1011
|
tweak line break.
|
618
1012
|
|
1013
|
+
:100644 100644 57cee05... d0e5d9b... M lib/classx.rb
|
1014
|
+
|
619
1015
|
commit a3323a233f031cdbc774c88b786241f260a22a24
|
620
1016
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
621
1017
|
Date: Wed Aug 20 21:02:23 2008 +0900
|
622
1018
|
|
623
1019
|
allow user changing argument with overriding #before_init .
|
624
1020
|
|
1021
|
+
:100644 100644 f085489... 57cee05... M lib/classx.rb
|
1022
|
+
:100644 100644 ff23ae3... 04e80b7... M spec/classx/without_accessor_spec.rb
|
1023
|
+
|
625
1024
|
commit dfa9fe29791bae22fd91d0b7edcf9b4ec9d8d9e2
|
626
1025
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
627
1026
|
Date: Wed Aug 20 20:55:59 2008 +0900
|
628
1027
|
|
629
1028
|
tweak.
|
630
1029
|
|
1030
|
+
:100644 100644 026308b... 38ec63c... M example/commandable.rb
|
1031
|
+
|
631
1032
|
commit aff7bea9fa71a98c6e7fc23ae6a8f78b93554599
|
632
1033
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
633
1034
|
Date: Wed Aug 20 20:40:12 2008 +0900
|
634
1035
|
|
635
1036
|
added ClassX::Commandable.
|
636
1037
|
|
1038
|
+
:000000 100644 0000000... 026308b... A example/commandable.rb
|
1039
|
+
:000000 100644 0000000... e7c65fc... A lib/classx/commandable.rb
|
1040
|
+
|
637
1041
|
commit e3a2f7ea88f980c1dd701bb17c934347bc52841b
|
638
1042
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
639
1043
|
Date: Wed Aug 20 08:47:53 2008 +0900
|
640
1044
|
|
641
1045
|
change many method to class method.
|
642
1046
|
|
1047
|
+
:100644 100644 739bd3f... f085489... M lib/classx.rb
|
1048
|
+
:100644 100644 fb299ab... bbaf43f... M lib/classx/attribute.rb
|
1049
|
+
|
643
1050
|
commit f34fd672c66e9ba91157e594032933d0170d7264
|
644
1051
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
645
1052
|
Date: Wed Aug 20 08:20:53 2008 +0900
|
646
1053
|
|
647
1054
|
variable name is worse.
|
648
1055
|
|
1056
|
+
:100644 100644 61c0ab8... fb299ab... M lib/classx/attribute.rb
|
1057
|
+
|
649
1058
|
commit 0b58fc18a0ea81803c284df6243d0086f15809ba
|
650
1059
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
651
1060
|
Date: Wed Aug 20 08:03:11 2008 +0900
|
652
1061
|
|
653
1062
|
change to private many method and tweak method define order.
|
654
1063
|
|
1064
|
+
:100644 100644 ed20e97... 61c0ab8... M lib/classx/attribute.rb
|
1065
|
+
:100644 100644 f4dff62... 05003bc... M lib/classx/attributes.rb
|
1066
|
+
|
655
1067
|
commit 9f43a491609034a94d4df7954f5526225e3a7ce5
|
656
1068
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
657
1069
|
Date: Wed Aug 20 07:51:20 2008 +0900
|
658
1070
|
|
659
1071
|
output warn when attribute was overridden.
|
660
1072
|
|
1073
|
+
:100644 100644 43ccfe7... f4dff62... M lib/classx/attributes.rb
|
1074
|
+
|
661
1075
|
commit ff20fbc16efff13b367d473c0c033373a2c2f51c
|
662
1076
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
663
1077
|
Date: Wed Aug 20 02:57:57 2008 +0900
|
664
1078
|
|
665
1079
|
added coerce option.
|
666
1080
|
|
1081
|
+
:100644 100644 6f58c2e... ed20e97... M lib/classx/attribute.rb
|
1082
|
+
:000000 100644 0000000... 3c91656... A spec/classx/with_coerce.rb
|
1083
|
+
|
667
1084
|
commit b4a5afc74037bd14d1d9204de76723c4c7b876ff
|
668
1085
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
669
1086
|
Date: Wed Aug 20 02:11:02 2008 +0900
|
670
1087
|
|
671
1088
|
added :desc option to attribute and added doc.
|
672
1089
|
|
1090
|
+
:100644 100644 b61b3aa... 6f58c2e... M lib/classx/attribute.rb
|
1091
|
+
|
673
1092
|
commit bd06dccff2f367a0ea4d1d107f45620a61574314
|
674
1093
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
675
1094
|
Date: Wed Aug 20 01:54:10 2008 +0900
|
676
1095
|
|
677
1096
|
It may be something wrong.
|
678
1097
|
|
1098
|
+
:100644 100644 6ca3169... 739bd3f... M lib/classx.rb
|
1099
|
+
:100644 100644 32e19e7... 43ccfe7... M lib/classx/attributes.rb
|
1100
|
+
|
679
1101
|
commit 5122329bf074239b6c7ea872d3740c79056bd083
|
680
1102
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
681
1103
|
Date: Wed Aug 20 01:50:24 2008 +0900
|
682
1104
|
|
683
1105
|
support :include and :extend option for extending attrubte.
|
684
1106
|
|
1107
|
+
:100644 100644 0e9f391... b61b3aa... M lib/classx/attribute.rb
|
1108
|
+
:000000 100644 0000000... 90ee919... A spec/classx/with_extend.rb
|
1109
|
+
:000000 100644 0000000... 8ed554a... A spec/classx/with_include.rb
|
1110
|
+
|
685
1111
|
commit 0c22d5655c4a8e76b9eb0ef58ac179b2325138be
|
686
1112
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
687
1113
|
Date: Wed Aug 20 01:24:02 2008 +0900
|
688
1114
|
|
689
1115
|
added classx/attrubte. lazy support.
|
690
1116
|
|
691
|
-
|
692
|
-
|
693
|
-
Date: Wed Aug 20 01:16:20 2008 +0900
|
694
|
-
|
695
|
-
Merge branches 'master' and 'with_classx_attribute'
|
1117
|
+
:100644 100644 f2283ac... 6ca3169... M lib/classx.rb
|
1118
|
+
:000000 100644 0000000... 0e9f391... A lib/classx/attribute.rb
|
696
1119
|
|
697
1120
|
commit bc9924c17b1cb45a73b033172979a4a288c12b1d
|
698
1121
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
@@ -700,120 +1123,177 @@ Date: Wed Aug 20 01:15:46 2008 +0900
|
|
700
1123
|
|
701
1124
|
change to use ClassX::AttributeFactory class that generate Attribute class.
|
702
1125
|
|
1126
|
+
:100644 100644 d597ea2... f2283ac... M lib/classx.rb
|
1127
|
+
:100644 100644 cb9eb2e... 32e19e7... M lib/classx/attributes.rb
|
1128
|
+
:100644 100644 13d4e63... 84fd142... M spec/classx/default_option_spec.rb
|
1129
|
+
:100644 100644 84d38c8... ff23ae3... M spec/classx/without_accessor_spec.rb
|
1130
|
+
:100644 100644 e69724a... e8f661d... M spec/classx/writable_option_spec.rb
|
1131
|
+
|
703
1132
|
commit 221548d16464e00180e38045976b93da05d63bdc
|
704
1133
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
705
1134
|
Date: Tue Jul 15 07:14:39 2008 +0900
|
706
1135
|
|
707
1136
|
added code for Ruby1.8.5
|
708
1137
|
|
1138
|
+
:100644 100644 672fcdd... cb9eb2e... M lib/classx/attributes.rb
|
1139
|
+
|
709
1140
|
commit 1b53e64aa57af2b14031cdc4780ce036032d411b
|
710
1141
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
711
1142
|
Date: Mon Jul 14 08:55:33 2008 +0900
|
712
1143
|
|
713
1144
|
fied bug: when second access using lazy option was return nil.
|
714
1145
|
|
1146
|
+
:100644 100644 49bf35e... 672fcdd... M lib/classx/attributes.rb
|
1147
|
+
|
715
1148
|
commit a7093b487c699ee18e91c2f86c83ca94e5687bb6
|
716
1149
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
717
1150
|
Date: Sun Jun 22 03:19:10 2008 +0900
|
718
1151
|
|
719
1152
|
added test.
|
720
1153
|
|
1154
|
+
:000000 100644 0000000... 1fde37e... A spec/classx_attributes_spec.rb
|
1155
|
+
|
721
1156
|
commit 9c43ef589df6ae5b3e41b646e03f51c011004123
|
722
1157
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
723
1158
|
Date: Sun Jun 22 03:04:06 2008 +0900
|
724
1159
|
|
725
1160
|
you can use attribute defenition in module
|
726
1161
|
|
1162
|
+
:100644 100644 8541dc9... d597ea2... M lib/classx.rb
|
1163
|
+
:000000 100644 0000000... 49bf35e... A lib/classx/attributes.rb
|
1164
|
+
|
727
1165
|
commit fc3c7329036576c0c44428d014b0de7dc9f20763
|
728
1166
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
729
1167
|
Date: Sun Jun 22 02:44:22 2008 +0900
|
730
1168
|
|
731
1169
|
added :handles option.
|
732
1170
|
|
1171
|
+
:100644 100644 befa92e... 8541dc9... M lib/classx.rb
|
1172
|
+
:000000 100644 0000000... 68527f1... A spec/classx/handles_spec.rb
|
1173
|
+
|
733
1174
|
commit 1b6cc210418a4f1b3e772bdd6979f043924637cc
|
734
1175
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
735
1176
|
Date: Sun Jun 22 02:20:21 2008 +0900
|
736
1177
|
|
737
1178
|
split test code for maintenancibirity.
|
738
1179
|
|
1180
|
+
:000000 100644 0000000... 13d4e63... A spec/classx/default_option_spec.rb
|
1181
|
+
:000000 100644 0000000... 54c182a... A spec/classx/with_multiple_class_spec.rb
|
1182
|
+
:000000 100644 0000000... 84d38c8... A spec/classx/without_accessor_spec.rb
|
1183
|
+
:000000 100644 0000000... a4b1fae... A spec/classx/without_anyoption_spec.rb
|
1184
|
+
:000000 100644 0000000... e69724a... A spec/classx/writable_option_spec.rb
|
1185
|
+
:100644 000000 3804f25... 0000000... D spec/classx_spec.rb
|
1186
|
+
|
739
1187
|
commit 801f39272c57f19a40449a455b3eacaf0b535e7d
|
740
1188
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
741
1189
|
Date: Sun Jun 22 00:03:36 2008 +0900
|
742
1190
|
|
743
1191
|
bug fixed.
|
744
1192
|
|
1193
|
+
:100644 100644 3f7480d... befa92e... M lib/classx.rb
|
1194
|
+
|
745
1195
|
commit c309461c56487d9f722720b36385128bbd50df03
|
746
1196
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
747
1197
|
Date: Sat Jun 21 23:49:33 2008 +0900
|
748
1198
|
|
749
1199
|
support :lazy option
|
750
1200
|
|
1201
|
+
:100644 100644 7e264b6... 3f7480d... M lib/classx.rb
|
1202
|
+
:100644 100644 5197090... 3804f25... M spec/classx_spec.rb
|
1203
|
+
|
751
1204
|
commit 6ebdfce9cde0c596997348be4c4804fee7f4e6c2
|
752
1205
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
753
1206
|
Date: Thu Jun 5 07:55:06 2008 +0900
|
754
1207
|
|
755
1208
|
make InstanceException to rescue multiple exception of classx.
|
756
1209
|
|
1210
|
+
:100644 100644 b13797b... 7e264b6... M lib/classx.rb
|
1211
|
+
|
757
1212
|
commit cf1b0742dbded5a43cfec4b500ec0378bdc4b23c
|
758
1213
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
759
1214
|
Date: Thu Jun 5 00:33:34 2008 +0900
|
760
1215
|
|
761
1216
|
Fixed doc.
|
762
1217
|
|
1218
|
+
:100644 100644 b8c8628... 7dc5ac7... M README
|
1219
|
+
|
763
1220
|
commit 8f4ba237852a5166004e9fbd2530ee548c4394c5
|
764
1221
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
765
1222
|
Date: Sat May 31 16:32:22 2008 +0900
|
766
1223
|
|
767
1224
|
change to caching set_attr_default_value_of[] methods regex.
|
768
1225
|
|
1226
|
+
:100644 100644 62a21ec... b13797b... M lib/classx.rb
|
1227
|
+
|
769
1228
|
commit 87726f13ba5c1910c7c4c7537d01ec94f08d3586
|
770
1229
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
771
1230
|
Date: Sat May 31 16:31:27 2008 +0900
|
772
1231
|
|
773
1232
|
for warning.
|
774
1233
|
|
1234
|
+
:100644 100644 86fda77... 04a407c... M lib/classx/validate.rb
|
1235
|
+
|
775
1236
|
commit 95b2f4497af4cd5b0fc393d3276ec9f033fc0e00
|
776
1237
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
777
1238
|
Date: Sat May 31 15:59:04 2008 +0900
|
778
1239
|
|
779
1240
|
It may be conflict class method 'has'. So set 'add_attribute' as default name.
|
780
1241
|
|
1242
|
+
:100644 100644 cc395e9... 5c0849f... M Rakefile
|
1243
|
+
:100644 100644 adb0cbc... 62a21ec... M lib/classx.rb
|
1244
|
+
|
781
1245
|
commit 0f2d6aee6d8c21cf6e37721d6f25af9c3311a153
|
782
1246
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
783
1247
|
Date: Wed May 28 01:09:16 2008 +0900
|
784
1248
|
|
785
1249
|
Fixed doc. :required param was deprecated.
|
786
1250
|
|
1251
|
+
:100644 100644 07f7365... b8c8628... M README
|
1252
|
+
|
787
1253
|
commit 13a8d62c43bb2697e76ceb3f3913696efd17aef4
|
788
1254
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
789
1255
|
Date: Wed May 28 01:07:02 2008 +0900
|
790
1256
|
|
791
1257
|
When not attribute param exist in #initialize params, it should be ignored.
|
792
1258
|
|
1259
|
+
:100644 100644 18ea29d... adb0cbc... M lib/classx.rb
|
1260
|
+
:100644 100644 1baeba9... 5197090... M spec/classx_spec.rb
|
1261
|
+
|
793
1262
|
commit c1837234062d8570c776f7371424790dcd3cd656
|
794
1263
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
795
1264
|
Date: Tue May 27 23:44:30 2008 +0900
|
796
1265
|
|
797
1266
|
tweak spec.
|
798
1267
|
|
1268
|
+
:100644 100644 2be80cc... 1baeba9... M spec/classx_spec.rb
|
1269
|
+
|
799
1270
|
commit 158a33e5dff79dd03b7298b01ffec1cf9d12c74a
|
800
1271
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
801
1272
|
Date: Tue May 27 09:21:23 2008 +0900
|
802
1273
|
|
803
1274
|
Tweak error message for easy debuging with ClassX::Validate
|
804
1275
|
|
1276
|
+
:100644 100644 f14e959... 18ea29d... M lib/classx.rb
|
1277
|
+
|
805
1278
|
commit 2194a9f8ba7bb1a6141c2c28efd5c7257f38b7d3
|
806
1279
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
807
1280
|
Date: Tue May 27 09:13:25 2008 +0900
|
808
1281
|
|
809
1282
|
rename ClassX::InvalidSetterArgument to ClassX::InvalidAttrArgument
|
810
1283
|
|
1284
|
+
:100644 100644 bbf9c57... f14e959... M lib/classx.rb
|
1285
|
+
:100644 100644 b9244ef... ee2d22b... M spec/classx_validate_spec.rb
|
1286
|
+
|
811
1287
|
commit ca42b54f0300a709a3a950422e430b92523d1736
|
812
1288
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
813
1289
|
Date: Tue May 27 03:06:32 2008 +0900
|
814
1290
|
|
815
1291
|
Change to raise Exception when you specify :optional is true and :writable is false.
|
816
1292
|
|
1293
|
+
:100644 100644 dbb633c... 07f7365... M README
|
1294
|
+
:100644 100644 81fb0d9... bbf9c57... M lib/classx.rb
|
1295
|
+
:100644 100644 82e8024... 2be80cc... M spec/classx_spec.rb
|
1296
|
+
|
817
1297
|
commit d6652e91881ee21d1abd635230f19054bd388116
|
818
1298
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
819
1299
|
Date: Tue May 27 02:51:05 2008 +0900
|
@@ -822,132 +1302,190 @@ Date: Tue May 27 02:51:05 2008 +0900
|
|
822
1302
|
As :optional does not specify false, attribute should be required.
|
823
1303
|
If you specify :option and does not specify :optional, :optional is true.
|
824
1304
|
|
1305
|
+
:100644 100644 43130df... 81fb0d9... M lib/classx.rb
|
1306
|
+
:100644 100644 9c515bd... 86fda77... M lib/classx/validate.rb
|
1307
|
+
:100644 100644 852944a... 82e8024... M spec/classx_spec.rb
|
1308
|
+
:100644 100644 835b32d... b9244ef... M spec/classx_validate_spec.rb
|
1309
|
+
|
825
1310
|
commit 8f19213bbab485d5f95af9527e4ebe1d3c335e29
|
826
1311
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
827
1312
|
Date: Tue May 27 02:08:13 2008 +0900
|
828
1313
|
|
829
1314
|
XXX: compatible change. when you want to define setter as public, you should specify more expricitly.
|
830
1315
|
|
1316
|
+
:100644 100644 8bab5c1... dbb633c... M README
|
1317
|
+
:100644 100644 da9c8b5... 43130df... M lib/classx.rb
|
1318
|
+
:100644 100644 0790761... 852944a... M spec/classx_spec.rb
|
1319
|
+
|
831
1320
|
commit 39c5e6a2ba8bc550ab8168d88c9d46d6cf1876d9
|
832
1321
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
833
1322
|
Date: Tue May 27 01:57:26 2008 +0900
|
834
1323
|
|
835
1324
|
Moved hook point of before_init and change to take argument for tweaking constructor arguments
|
836
1325
|
|
1326
|
+
:100644 100644 f283a19... da9c8b5... M lib/classx.rb
|
1327
|
+
|
837
1328
|
commit 2fb2bfe2fdf2e1c3e66fa0180341b5a7a2cd5010
|
838
1329
|
Author: Keiji, Yoshimi <walf443@gmail.com>
|
839
1330
|
Date: Tue May 27 01:43:21 2008 +0900
|
840
1331
|
|
841
1332
|
If attribute is optional, it should declare expricitly.
|
842
1333
|
|
1334
|
+
:100644 100644 5b7fecb... f283a19... M lib/classx.rb
|
1335
|
+
:100644 100644 2311ec1... 0790761... M spec/classx_spec.rb
|
1336
|
+
|
843
1337
|
commit 2b6d048a469850308050e9d7188f834a76858657
|
844
1338
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
845
1339
|
Date: Tue May 27 01:26:48 2008 +0900
|
846
1340
|
|
847
1341
|
Added spec.
|
848
1342
|
|
1343
|
+
:100644 100644 a6fb5a3... 2311ec1... M spec/classx_spec.rb
|
1344
|
+
|
849
1345
|
commit 566f79d80c562b3c99b8744cc60411fbc3b525ff
|
850
1346
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
851
1347
|
Date: Tue May 27 01:17:46 2008 +0900
|
852
1348
|
|
853
1349
|
Oh my got! It's not worth caching without redifine.
|
854
1350
|
|
1351
|
+
:100644 100644 0541ce1... 9c515bd... M lib/classx/validate.rb
|
1352
|
+
|
855
1353
|
commit 53129fae5970eee849271e323ed8bd95ac560197
|
856
1354
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
857
1355
|
Date: Tue May 27 01:10:18 2008 +0900
|
858
1356
|
|
859
1357
|
required attribute should not have :default option.
|
860
1358
|
|
1359
|
+
:100644 100644 867d4ba... 5b7fecb... M lib/classx.rb
|
1360
|
+
:100644 100644 fcf8703... a6fb5a3... M spec/classx_spec.rb
|
1361
|
+
|
861
1362
|
commit f382e00c615ada6fdb77d81fa5c311800bae70f1
|
862
1363
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
863
1364
|
Date: Tue May 27 00:22:11 2008 +0900
|
864
1365
|
|
865
1366
|
Added experimental feature for caching autogenerated class to validate.Hash
|
866
1367
|
|
1368
|
+
:100644 100644 60ed41c... 0541ce1... M lib/classx/validate.rb
|
1369
|
+
:100644 100644 b498e5f... 835b32d... M spec/classx_validate_spec.rb
|
1370
|
+
|
867
1371
|
commit dd0790a8f03b465e506ec6cc6a7e4004e0dbb6f0
|
868
1372
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
869
1373
|
Date: Mon May 26 23:59:51 2008 +0900
|
870
1374
|
|
871
1375
|
Tweaked docs.
|
872
1376
|
|
1377
|
+
:100644 100644 990107b... 60ed41c... M lib/classx/validate.rb
|
1378
|
+
|
873
1379
|
commit e697f6e45c64827dfaebf5de839ccb34f2688fc5
|
874
1380
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
875
1381
|
Date: Mon May 26 23:53:18 2008 +0900
|
876
1382
|
|
877
1383
|
Added ClassX::Validate.
|
878
1384
|
|
1385
|
+
:000000 100644 0000000... 990107b... A lib/classx/validate.rb
|
1386
|
+
:000000 100644 0000000... b498e5f... A spec/classx_validate_spec.rb
|
1387
|
+
|
879
1388
|
commit 88e75d9b7ceb18e654df108827eb3aebac14039b
|
880
1389
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
881
1390
|
Date: Mon May 26 08:47:55 2008 +0900
|
882
1391
|
|
883
1392
|
Added attributes class method.
|
884
1393
|
|
1394
|
+
:100644 100644 1e3dc46... 867d4ba... M lib/classx.rb
|
1395
|
+
:100644 100644 88107e1... fcf8703... M spec/classx_spec.rb
|
1396
|
+
|
885
1397
|
commit 50981b2a813c215e987953e8ad6f4e5915a11be1
|
886
1398
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
887
1399
|
Date: Sun May 25 16:24:20 2008 +0900
|
888
1400
|
|
889
1401
|
\# required attributes should be public class methods
|
890
1402
|
|
1403
|
+
:100644 100644 98e394c... 1e3dc46... M lib/classx.rb
|
1404
|
+
|
891
1405
|
commit 65b3ab3a00e96dff9407acb62bdd29551734598d
|
892
1406
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
893
1407
|
Date: Sun May 25 03:10:14 2008 +0900
|
894
1408
|
|
895
1409
|
Change process order for warings
|
896
1410
|
|
1411
|
+
:100644 100644 deee30d... 98e394c... M lib/classx.rb
|
1412
|
+
|
897
1413
|
commit b27bce22642bfe6e83322aab5cc333add00f270d
|
898
1414
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
899
1415
|
Date: Sun May 25 01:11:44 2008 +0900
|
900
1416
|
|
901
1417
|
tweek RequeredAttributeError's error message
|
902
1418
|
|
1419
|
+
:100644 100644 2424284... deee30d... M lib/classx.rb
|
1420
|
+
|
903
1421
|
commit b33f3d0246ecc191564bb74b3ab3849e529c9a9f
|
904
1422
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
905
1423
|
Date: Sun May 25 00:51:22 2008 +0900
|
906
1424
|
|
907
1425
|
fixed bug that all classes that extend ClassX are affected when you change class variable
|
908
1426
|
|
1427
|
+
:100644 100644 2ad2638... 2424284... M lib/classx.rb
|
1428
|
+
:100644 100644 d960b19... 88107e1... M spec/classx_spec.rb
|
1429
|
+
|
909
1430
|
commit 868c6e981067a243c70937026feae6e77ac734ec
|
910
1431
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
911
1432
|
Date: Sun May 25 00:34:24 2008 +0900
|
912
1433
|
|
913
1434
|
delete garbage.
|
914
1435
|
|
1436
|
+
:100644 100644 c18e480... 2ad2638... M lib/classx.rb
|
1437
|
+
|
915
1438
|
commit 8178791b39199222df912cee95532bd501acf923
|
916
1439
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
917
1440
|
Date: Sun May 25 00:26:07 2008 +0900
|
918
1441
|
|
919
1442
|
delete debug print
|
920
1443
|
|
1444
|
+
:100644 100644 9540220... c18e480... M lib/classx.rb
|
1445
|
+
|
921
1446
|
commit 853bd274400e0a56f20b8ee2907952c9219a7519
|
922
1447
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
923
1448
|
Date: Sun May 25 00:24:00 2008 +0900
|
924
1449
|
|
925
1450
|
change to be able to use String as #initialize arguments
|
926
1451
|
|
1452
|
+
:100644 100644 be80575... 9540220... M lib/classx.rb
|
1453
|
+
:100644 100644 b0a6729... d960b19... M spec/classx_spec.rb
|
1454
|
+
|
927
1455
|
commit 89b0a251c270e804ee92e7be87417f1fcf0cafb5
|
928
1456
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
929
1457
|
Date: Sat May 24 23:59:49 2008 +0900
|
930
1458
|
|
931
1459
|
fixed bug that abort when you specify none kind_of Hash value to initialize argument.
|
932
1460
|
|
1461
|
+
:100644 100644 7c14bc6... be80575... M lib/classx.rb
|
1462
|
+
:100644 100644 1fa9e72... b0a6729... M spec/classx_spec.rb
|
1463
|
+
|
933
1464
|
commit d53494a4694ac7d5f3bc191d3deff011f03aad90
|
934
1465
|
Author: Keiji, Yoshimi <walf443@gmail dot com>
|
935
1466
|
Date: Sat May 24 19:37:46 2008 +0900
|
936
1467
|
|
937
1468
|
tweak error message
|
938
1469
|
|
1470
|
+
:100644 100644 36f8690... 7c14bc6... M lib/classx.rb
|
1471
|
+
|
939
1472
|
commit dbf90e3c3261ffc4b6b77260d9e9906b5bed01d1
|
940
1473
|
Author: Keiji, Yoshimi <walf443 at gmail dot com>
|
941
1474
|
Date: Wed May 21 01:16:37 2008 +0900
|
942
1475
|
|
943
1476
|
add test
|
944
1477
|
|
1478
|
+
:100644 100644 281d610... 36f8690... M lib/classx.rb
|
1479
|
+
:100644 100644 320822d... 1fa9e72... M spec/classx_spec.rb
|
1480
|
+
|
945
1481
|
commit cfc3043d481a9736df85ffc5118207c3ac4d0e76
|
946
1482
|
Author: Keiji, Yoshimi <walf443 at gmail dot com>
|
947
1483
|
Date: Tue May 20 23:58:20 2008 +0900
|
948
1484
|
|
949
1485
|
add simple document
|
950
1486
|
|
1487
|
+
:100644 100644 2573091... 8bab5c1... M README
|
1488
|
+
|
951
1489
|
commit 5571feb0934a05ca1789d4570f70ac67a9df4285
|
952
1490
|
Author: Keiji, Yoshimi <walf443 at gmail dot com>
|
953
1491
|
Date: Tue May 20 23:50:13 2008 +0900
|
@@ -955,8 +1493,20 @@ Date: Tue May 20 23:50:13 2008 +0900
|
|
955
1493
|
- fixed bug that can't specify any object except for literal object as :default values
|
956
1494
|
- set_attr_default_value shold private method
|
957
1495
|
|
1496
|
+
:100644 100644 447ff47... 281d610... M lib/classx.rb
|
1497
|
+
|
958
1498
|
commit 0856eadc3ff3e3bf0e26691a25c0267a4fab1ead
|
959
1499
|
Author: Keiji, Yoshimi <walf443 at gmail dot com>
|
960
1500
|
Date: Tue May 20 23:33:54 2008 +0900
|
961
1501
|
|
962
1502
|
start new project.
|
1503
|
+
|
1504
|
+
:000000 100644 0000000... a2f3c84... A ChangeLog
|
1505
|
+
:000000 100644 0000000... 2573091... A README
|
1506
|
+
:000000 100644 0000000... cc395e9... A Rakefile
|
1507
|
+
:000000 100644 0000000... 447ff47... A lib/classx.rb
|
1508
|
+
:000000 100644 0000000... 320822d... A spec/classx_spec.rb
|
1509
|
+
:000000 100644 0000000... 11175f8... A spec/spec.opts
|
1510
|
+
:000000 100644 0000000... 6158c15... A spec/spec_helper.rb
|
1511
|
+
:000000 100644 0000000... 7a64797... A tasks/basic_config.rake
|
1512
|
+
:000000 100644 0000000... 903762e... A tasks/basic_tasks.rake
|