classx 0.0.6 → 0.0.7

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