og 0.20.0 → 0.21.0

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.
Files changed (53) hide show
  1. data/CHANGELOG +796 -664
  2. data/INSTALL +24 -24
  3. data/README +39 -32
  4. data/Rakefile +41 -42
  5. data/benchmark/bench.rb +36 -36
  6. data/doc/AUTHORS +15 -12
  7. data/doc/LICENSE +3 -3
  8. data/doc/RELEASES +311 -243
  9. data/doc/config.txt +1 -1
  10. data/examples/mysql_to_psql.rb +15 -15
  11. data/examples/run.rb +92 -92
  12. data/install.rb +7 -17
  13. data/lib/og.rb +76 -75
  14. data/lib/og/collection.rb +203 -160
  15. data/lib/og/entity.rb +168 -169
  16. data/lib/og/errors.rb +5 -5
  17. data/lib/og/manager.rb +179 -178
  18. data/lib/og/mixin/hierarchical.rb +107 -107
  19. data/lib/og/mixin/optimistic_locking.rb +36 -36
  20. data/lib/og/mixin/orderable.rb +148 -148
  21. data/lib/og/mixin/timestamped.rb +8 -8
  22. data/lib/og/mixin/tree.rb +124 -124
  23. data/lib/og/relation.rb +237 -213
  24. data/lib/og/relation/belongs_to.rb +5 -5
  25. data/lib/og/relation/has_many.rb +60 -58
  26. data/lib/og/relation/joins_many.rb +93 -47
  27. data/lib/og/relation/refers_to.rb +25 -21
  28. data/lib/og/store.rb +210 -207
  29. data/lib/og/store/filesys.rb +79 -79
  30. data/lib/og/store/kirby.rb +263 -258
  31. data/lib/og/store/memory.rb +261 -261
  32. data/lib/og/store/mysql.rb +288 -284
  33. data/lib/og/store/psql.rb +261 -244
  34. data/lib/og/store/sql.rb +873 -720
  35. data/lib/og/store/sqlite.rb +177 -175
  36. data/lib/og/store/sqlserver.rb +204 -214
  37. data/lib/og/types.rb +1 -1
  38. data/lib/og/validation.rb +57 -57
  39. data/lib/vendor/mysql.rb +376 -376
  40. data/lib/vendor/mysql411.rb +10 -10
  41. data/test/og/mixin/tc_hierarchical.rb +59 -59
  42. data/test/og/mixin/tc_optimistic_locking.rb +40 -40
  43. data/test/og/mixin/tc_orderable.rb +67 -67
  44. data/test/og/mixin/tc_timestamped.rb +19 -19
  45. data/test/og/store/tc_filesys.rb +46 -46
  46. data/test/og/tc_inheritance.rb +81 -81
  47. data/test/og/tc_join.rb +67 -0
  48. data/test/og/tc_polymorphic.rb +49 -49
  49. data/test/og/tc_relation.rb +57 -30
  50. data/test/og/tc_select.rb +49 -0
  51. data/test/og/tc_store.rb +345 -337
  52. data/test/og/tc_types.rb +11 -11
  53. metadata +11 -18
data/CHANGELOG CHANGED
@@ -1,1038 +1,1170 @@
1
+ 24-07-2005 George Moschovitis <gm@navel.gr>
2
+
3
+ * lib/og/relation/joins_many.rb: fixed the same bugs.
4
+
5
+ * lib/og/relation/has_many.rb: fixed find_options override
6
+ bug [guillaunne],
7
+ keep find_options in multiple calls.
8
+
9
+ * Rakefile: updated,
10
+ fixed gem RDOC generation problem [Markus].
11
+
12
+ 22-07-2005 George Moschovitis <gm@navel.gr>
13
+
14
+ * doc/RELEASES: updated.
15
+
16
+ * converted all code to use spaces instead of tab.
17
+
18
+ * lib/og/relation/refers_to: changes in Aleksi's patch.
19
+
20
+ 22-07-2005 Aleksi Niemela <Aleksi.Niemela@cs.helsinki.fi>
21
+
22
+ * lib/og/relation/refers_to: a small patch.
23
+
24
+ 21-07-2005 George Moschovitis <gm@navel.gr>
25
+
26
+ * lib/og/relation/joins_many.rb: honour the :through option
27
+ to allow for customized join tables,
28
+ yeah, I got the intermediate table used,
29
+ pass field values for the custom join table!
30
+ (xxx_join): auto generate join metadata method!
31
+
32
+ * lib/og/relation.rb (#resolve_symbol): implemented,
33
+ (#resolve_target): use resolve_symbol.
34
+
35
+ * lib/og/store/sql.rb (eval_og_create_schema): added to allow
36
+ for interception [ysabel],
37
+ (#join): accepts fields for custom join tables!
38
+
39
+ 20-07-2005 George Moschovitis <gm@navel.gr>
40
+
41
+ * test/og/tc_join.rb: introduced.
42
+
43
+ * lib/og/store/mysql.rb: use custom join create index.
44
+
45
+ * lib/og/store/sql.rb (#tableize): implemented,
46
+ (#resolve_limit_options): improved,
47
+ after *a lot* of changes the patch works :)
48
+ (#create_join_table_sql): returns an array.
49
+
50
+ * manualy applied and improved ysabel's patch.
51
+
52
+ 20-07-2005 Ysabel <gm@navel.gr>
53
+
54
+ * lib/og/store/sql.rb (#join_object_ordering): implemented,
55
+ (#join_class_ordering): implemented,
56
+ (#join_*): added many helper methods,
57
+ (#build_join*): added many helpers,
58
+ (#create_join*): added helpers,
59
+ (#resolve_limit_options): added.
60
+
61
+ * lib/og/mysql.rb: refactored.
62
+
63
+ * lib/og/store/kirby.rb: refactored.
64
+
65
+ * lib/og/relation/joins_many.rb: refactored, cleaned up.
66
+
67
+ 19-07-2005 George Moschovitis <gm@navel.gr>
68
+
69
+ * lib/og/store/mysql.rb (Result#fields): added.
70
+
71
+ * lib/og/store/psql.rb (#read_row): added.
72
+
73
+ * lib/og/store/sqlite.rb (ResultSet#fields): added.
74
+
75
+ * lib/og/store/sql.rb (#read_all): reimplemented to get options
76
+ and use read_row,
77
+ (#resolve_options): handles :select,
78
+ (#read_all): reimplemented.
79
+ (#read_all): implemented.
80
+
81
+ * test/og/tc_query.rb: implemented.
82
+
83
+ 19-07-2005 Michael Neumann <mneumann@ntecs.de>
84
+
85
+ * install.rb: fixes.
86
+
87
+ 18-07-2005 Michael Neumann <mneumann@ntecs.de>
88
+
89
+ * lib/og/collection.rb (#delete_if): implemented.
90
+
91
+ * lib/og/relation/refers_to.rb: nil fix.
92
+
93
+ * lib/og/store/psql.rb (#start): use BEGIN TRANSACTION, more
94
+ compatible with older versions.
95
+
96
+ 17-07-2005 George Moschovitis <gm@navel.gr>
97
+
98
+ * lib/og/manager.rb (Og##options=): added.
99
+
100
+ 16-07-2005 George Moschovitis <gm@navel.gr>
101
+
102
+ * lib/og/relation/joins_many.rb: pass options in collection,
103
+ implemented count_proc [SOS: placeholder!!]
104
+
105
+ * lib/og/store/sql.rb: find_by_sql_one alias.
106
+
107
+ * lib/og/relation/has_many.rb: implemented count_proc.
108
+
109
+ * lib/og/collection.rb (#size): implemented [mneumann],
110
+ (#count): size alias,
111
+ (#unload): implemented.
112
+
113
+ 13-07-2005 Michael Neumann <mneumann@ntecs.de>
114
+
115
+ * lib/og/store/sql.rb (#aggregate): implemented,
116
+ (#count): #aggregate alias.
117
+
118
+ 13-07-2005 bizilan <bizilan@laposte.net>
119
+
120
+ * lib/og/store/sql.rb (#resolve_options): change the order of
121
+ offset/limit to be more compatible with sqlite.
122
+
123
+ 13-07-2005 George Moschovitis <gm@navel.gr>
124
+
125
+ * lib/og/store/psql.rb (#initialize): Og::Blob mapping [menumann].
126
+
127
+ * lib/og/relation/has_many.rb: check for nil [menumann].
128
+
129
+ * lib/og/relation/refers_to.rb: check for nil [menumann].
130
+
1
131
  11-07-2005 George Moschovitis <gm@navel.gr>
2
132
 
3
- * doc/RELEASES: updated.
4
-
5
- * lib/og/store/sql.rb: escape all condition interpolations [miika].
6
-
7
- * vendor/kirbybase.rb: copied here, cleaned up store dir.
8
-
9
- * lib/og/store/mysql.rb: check if reconnect exists,
10
- verified that the fallback adapter works.
11
-
133
+ * --- VERSION 0.20.0 ---
134
+
135
+ * doc/RELEASES: updated.
136
+
137
+ * lib/og/store/sql.rb: escape all condition interpolations [miika].
138
+
139
+ * vendor/kirbybase.rb: copied here, cleaned up store dir.
140
+
141
+ * lib/og/store/mysql.rb: check if reconnect exists,
142
+ verified that the fallback adapter works.
143
+
12
144
  11-07-2005 Aleksi Niemela <Aleksi.Niemela@cs.helsinki.fi>
13
145
 
14
- * lib/og/mixin/hierarchical.rb (#parent): added.
146
+ * lib/og/mixin/hierarchical.rb (#parent): added.
15
147
 
16
148
  07-07-2005 George Moschovitis <gm@navel.gr>
17
149
 
18
- * lib/vendor/mysql.rb: added as a fallback [james_b].
150
+ * lib/vendor/mysql.rb: added as a fallback [james_b].
19
151
 
20
152
  05-07-2005 George Moschovitis <gm@navel.gr>
21
153
 
22
- * lib/og/entity.rb (##find): fixed NASTY bug!
23
-
24
- * lib/og/store.rb: introduced :uniq keyword.
154
+ * lib/og/entity.rb (##find): fixed NASTY bug!
155
+
156
+ * lib/og/store.rb: introduced :uniq keyword.
25
157
 
26
158
  03-07-2005 George Moschovitis <gm@navel.gr>
27
159
 
28
- * lib/og/store/sql.rb (#find_one): should not limit by default.
29
-
30
- * added more comments to various classes.
160
+ * lib/og/store/sql.rb (#find_one): should not limit by default.
161
+
162
+ * added more comments to various classes.
31
163
 
32
164
  01-07-2005 George Moschovitis <gm@navel.gr>
33
165
 
34
- * lib/og/store/sql.rb (#join_table): fix for self join case [petr].
166
+ * lib/og/store/sql.rb (#join_table): fix for self join case [petr].
35
167
 
36
168
  30-06-2005 George Moschovitis <gm@navel.gr>
37
169
 
38
- * lib/og/relations/has_many.rb (#resolve_polymorphic): made
39
- more fault tolerant.
170
+ * lib/og/relations/has_many.rb (#resolve_polymorphic): made
171
+ more fault tolerant.
40
172
 
41
173
  24-06-2005 George Moschovitis <gm@navel.gr>
42
174
 
43
- * lib/og.rb: added various settings.
175
+ * lib/og.rb: added various settings.
44
176
 
45
- * doc/AUTHORS: updated.
177
+ * doc/AUTHORS: updated.
46
178
 
47
179
  21-06-2005 Aleksi Niemela <Aleksi.Niemela@cs.helsinki.fi>
48
180
 
49
- * lib/og/relation.rb (#resolve_target): fixed infinite loop
50
- bug.
51
-
181
+ * lib/og/relation.rb (#resolve_target): fixed infinite loop
182
+ bug.
183
+
52
184
  20-06-2005 George Moschovitis <gm@navel.gr>
53
185
 
54
- * README: facet/redcloth pointers [bcandler]
55
-
56
- * INSTALL: facet/redcloth pointers [bcandler]
186
+ * README: facet/redcloth pointers [bcandler]
187
+
188
+ * INSTALL: facet/redcloth pointers [bcandler]
57
189
 
58
190
  18-06-2005 George Moschovitis <gm@navel.gr>
59
-
60
- * lib/og/store/sql.rb (#find_by_sql): alias for select.
191
+
192
+ * lib/og/store/sql.rb (#find_by_sql): alias for select.
61
193
 
62
194
  17-06-2005 George Moschovitis <gm@navel.gr>
63
195
 
64
- * --- VERSION 0.19.0 ---
196
+ * --- VERSION 0.19.0 ---
65
197
 
66
- * examples/run.rb: fixes to make it run again.
67
-
68
- * README: updated.
198
+ * examples/run.rb: fixes to make it run again.
199
+
200
+ * README: updated.
69
201
 
70
202
  15-06-2005 George Moschovitis <gm@navel.gr>
71
203
 
72
- * lib/og/store/psql.rb: minor changes while applying michael's
73
- patch.
74
-
75
- * yeah, the new code passes tc_store.rb
76
-
77
- * lib/og/sql.rb: don't create tables for polymorphic parents.
204
+ * lib/og/store/psql.rb: minor changes while applying michael's
205
+ patch.
206
+
207
+ * yeah, the new code passes tc_store.rb
208
+
209
+ * lib/og/sql.rb: don't create tables for polymorphic parents.
78
210
 
79
- * lib/og/entity.rb (#polymorphic_parent?): implemented
211
+ * lib/og/entity.rb (#polymorphic_parent?): implemented
80
212
 
81
- * lib/og/relation/has_many.rb: (#initialize): imply belongs_to
82
- relation if missing!,
83
- (#resolve): gets symbol for resolve method.
84
-
85
- * lib/og/relation.rb: fixes for polymorphic relations,
86
- (#initialize): fix for non polymorphic.
213
+ * lib/og/relation/has_many.rb: (#initialize): imply belongs_to
214
+ relation if missing!,
215
+ (#resolve): gets symbol for resolve method.
216
+
217
+ * lib/og/relation.rb: fixes for polymorphic relations,
218
+ (#initialize): fix for non polymorphic.
87
219
 
88
220
  15-06-2005 Michael Neumann <mneumann@ntecs.de>
89
221
 
90
- * lib/og.rb (Blob): introduced.
222
+ * lib/og.rb (Blob): introduced.
91
223
 
92
224
  14-06-2005 George Moschovitis <gm@navel.gr>
93
225
 
94
- * lib/og/relation.rb: added support for polymorphic relations,
95
- (#polymorphic?): added.
96
-
97
- * back from vacations, lets rock!
226
+ * lib/og/relation.rb: added support for polymorphic relations,
227
+ (#polymorphic?): added.
228
+
229
+ * back from vacations, lets rock!
98
230
 
99
231
  09-06-2005 George Moschovitis <gm@navel.gr>
100
232
 
101
- * test/og/tc_polymorphic.rb: introduced.
233
+ * test/og/tc_polymorphic.rb: introduced.
102
234
 
103
235
  08-06-2005 George Moschovitis <gm@navel.gr>
104
236
 
105
- * doc/AUTHORS: updated.
106
-
107
- * lib/og/store/mysql.rb: added :table_type options so you can
108
- use InnoDB tables.
237
+ * doc/AUTHORS: updated.
238
+
239
+ * lib/og/store/mysql.rb: added :table_type options so you can
240
+ use InnoDB tables.
109
241
 
110
242
  07-06-2005 George Moschovitis <gm@navel.gr>
111
243
 
112
- * lib/og/manager.rb (#manage): call specialized enchanting
113
- code.
114
-
115
- * lib/og/mixin/optimistic_locking.rb: after some fixes it kinda
116
- works,
117
- correclty overloads #update.
118
- overload #save.
244
+ * lib/og/manager.rb (#manage): call specialized enchanting
245
+ code.
246
+
247
+ * lib/og/mixin/optimistic_locking.rb: after some fixes it kinda
248
+ works,
249
+ correclty overloads #update.
250
+ overload #save.
119
251
 
120
252
  06-06-2005 George Moschovitis <gm@navel.gr>
121
253
 
122
- * lib/og/store/*: implemented sql_update for psql, mysql, sqlite3.
123
-
124
- * lib/og/mixin/optimistic_locking.rb: introduced,
125
- (#update_with_lock): implemented.
126
-
127
- * test/og/tc_store.rb: added extra tests for extra functionality,
128
- updated ...update tests.
129
-
130
- * lib/og/entity.rb (#select/#select_one): added,
131
- added exist? alias.
132
-
133
- * lib/og/store/sql.rb: (#read_one): use ensure res.close [ghislain]
134
- (#read_all): ditto,
135
- (#select): implemented,
136
- (#select_one): implemented.
137
- Auto add SELECT * FROM table if missing for extra convienience,
138
- (#find): handle :sql option.
139
- added exist? alias,
140
- (#sql_update): introduced.
141
- (#update, #update_properties): use sql_update.
142
- (#update_condition): implemented.
143
- use update_condition to simplify the code.
144
- (#update): new more flexible interface.
254
+ * lib/og/store/*: implemented sql_update for psql, mysql, sqlite3.
255
+
256
+ * lib/og/mixin/optimistic_locking.rb: introduced,
257
+ (#update_with_lock): implemented.
258
+
259
+ * test/og/tc_store.rb: added extra tests for extra functionality,
260
+ updated ...update tests.
261
+
262
+ * lib/og/entity.rb (#select/#select_one): added,
263
+ added exist? alias.
264
+
265
+ * lib/og/store/sql.rb: (#read_one): use ensure res.close [ghislain]
266
+ (#read_all): ditto,
267
+ (#select): implemented,
268
+ (#select_one): implemented.
269
+ Auto add SELECT * FROM table if missing for extra convienience,
270
+ (#find): handle :sql option.
271
+ added exist? alias,
272
+ (#sql_update): introduced.
273
+ (#update, #update_properties): use sql_update.
274
+ (#update_condition): implemented.
275
+ use update_condition to simplify the code.
276
+ (#update): new more flexible interface.
145
277
 
146
278
  05-06-2005 George Moschovitis <gm@navel.gr>
147
279
 
148
- * lib/og/store/*: adapted og insert in all stores.
149
-
150
- * COOL: SuperClass.all returns an array of subclasses,
151
- correctly typed.
152
-
153
- * lib/og/store/sql.rb: added more comments, cleaned up,
154
- sanitized usage of res, row and res_row,
155
- (#og_allocate): implemented.
280
+ * lib/og/store/*: adapted og insert in all stores.
281
+
282
+ * COOL: SuperClass.all returns an array of subclasses,
283
+ correctly typed.
284
+
285
+ * lib/og/store/sql.rb: added more comments, cleaned up,
286
+ sanitized usage of res, row and res_row,
287
+ (#og_allocate): implemented.
156
288
 
157
289
  04-06-2005 George Moschovitis <gm@navel.gr>
158
290
 
159
- * lib/og/entity.rb (#all): correctly passes :type find option
160
- for STI classes.
161
-
162
- * lib/og/store/mysql.rb (#eval_og_insert): handle STI.
163
-
164
- * lib/og/store/sql.rb (#fields_for_class): calculates extra
165
- fields for STI tables,
166
- (#find): added support for type in finders.
167
-
168
- * doc/AUTHORS: updated.
169
-
170
- * lib/og/entity.rb (#schema_inheritance): added.
171
-
172
- * lib/og/manager.rb (#manageable?): introduced,
173
- (#manage): keep inheritance metadata,
174
- first resolve inheritance.
291
+ * lib/og/entity.rb (#all): correctly passes :type find option
292
+ for STI classes.
293
+
294
+ * lib/og/store/mysql.rb (#eval_og_insert): handle STI.
295
+
296
+ * lib/og/store/sql.rb (#fields_for_class): calculates extra
297
+ fields for STI tables,
298
+ (#find): added support for type in finders.
299
+
300
+ * doc/AUTHORS: updated.
301
+
302
+ * lib/og/entity.rb (#schema_inheritance): added.
303
+
304
+ * lib/og/manager.rb (#manageable?): introduced,
305
+ (#manage): keep inheritance metadata,
306
+ first resolve inheritance.
175
307
 
176
308
  03-06-2005 George Moschovitis <gm@navel.gr>
177
309
 
178
- * test/og/tc_inheritance.rb: introduced.
310
+ * test/og/tc_inheritance.rb: introduced.
179
311
 
180
312
  02-06-2005 Ghislain Mary <gmary@lunacymaze.org>
181
313
 
182
- * lib/og/store/sqlite.rb: fixed typo.
183
- (#og_insert): fixet last_insert_rowid calculation.
314
+ * lib/og/store/sqlite.rb: fixed typo.
315
+ (#og_insert): fixet last_insert_rowid calculation.
184
316
 
185
317
  29-05-2005 George Moschovitis <gm@navel.gr>
186
318
 
187
- * --- VERSION 0.18.0 ---
188
-
189
- * lib/og/relation/has_many.rb: takes :order into account.
190
-
191
- * lib/og/entity.rb (#find/#all): take find_options into account,
192
- (#find_options): implemented.
193
- (#order): implemented.
319
+ * --- VERSION 0.18.0 ---
320
+
321
+ * lib/og/relation/has_many.rb: takes :order into account.
322
+
323
+ * lib/og/entity.rb (#find/#all): take find_options into account,
324
+ (#find_options): implemented.
325
+ (#order): implemented.
194
326
 
195
327
  24-05-2005 George Moschovitis <gm@navel.gr>
196
328
 
197
- * lib/og/store/kirby.rb (#og_insert): implemented,
198
- (#destroy): implemented,
199
- save files in a custom directory.
200
-
201
- * test/*: some changes to make them pass again.
329
+ * lib/og/store/kirby.rb (#og_insert): implemented,
330
+ (#destroy): implemented,
331
+ save files in a custom directory.
332
+
333
+ * test/*: some changes to make them pass again.
202
334
 
203
- * lib/og/mixin/orderable.rb: use facet/macro instead of dinclude.
335
+ * lib/og/mixin/orderable.rb: use facet/macro instead of dinclude.
204
336
 
205
- * lib/og/mixin/hierarchical.rb: use facet/macro instead of dinclude.
206
-
337
+ * lib/og/mixin/hierarchical.rb: use facet/macro instead of dinclude.
338
+
207
339
  23-05-2005 George Moschovitis <gm@navel.gr>
208
340
 
209
- * lib/og.rb: added thread_safe mode.
210
-
211
- * lib/og/manager.rb: re-added support for threads,
212
- use thread code only in thread safe mode.
341
+ * lib/og.rb: added thread_safe mode.
342
+
343
+ * lib/og/manager.rb: re-added support for threads,
344
+ use thread code only in thread safe mode.
213
345
 
214
346
  20-05-2005 George Moschovitis <gm@navel.gr>
215
347
 
216
- * lib/og/store/psql.rb (#initialize) min_messages, encoding,
217
- schema_order options.
218
-
219
- * lib/og/store/kirbybase/*: copied files from kirby distribution.
220
-
221
- * lib/og/store/kirby.rb: introduced,
222
- (#create_table): works.
223
- (#create_column_map): implemented.
224
-
225
- * lib/og/store/*: converted all stores to better handle nil
226
- values [mneumann],
227
- don't use the term 'column', use 'field' instead to make
228
- more SQL agnostic.
229
-
230
- * lib/og/store/sql.rb (#parse_float): added,
231
- (#parse_int): added,
232
- (#read_prop): handle nil values. [mneumann]
233
-
234
- * lib/og/store/sqlite.rb (#blank?): alias eof? [jperrot]
235
-
236
- --- THE REVENGE OF SITH ---
348
+ * lib/og/store/psql.rb (#initialize) min_messages, encoding,
349
+ schema_order options.
350
+
351
+ * lib/og/store/kirbybase/*: copied files from kirby distribution.
352
+
353
+ * lib/og/store/kirby.rb: introduced,
354
+ (#create_table): works.
355
+ (#create_column_map): implemented.
356
+
357
+ * lib/og/store/*: converted all stores to better handle nil
358
+ values [mneumann],
359
+ don't use the term 'column', use 'field' instead to make
360
+ more SQL agnostic.
361
+
362
+ * lib/og/store/sql.rb (#parse_float): added,
363
+ (#parse_int): added,
364
+ (#read_prop): handle nil values. [mneumann]
365
+
366
+ * lib/og/store/sqlite.rb (#blank?): alias eof? [jperrot]
367
+
368
+ --- THE REVENGE OF SITH ---
237
369
 
238
370
  19-05-2005 George Moschovitis <gm@navel.gr>
239
371
 
240
- * resolved a posted bug [mneumann].
241
-
242
- * lib/og/relation/has_many.rb: added 'dummy' remove support.
243
-
244
- * lib/og/collection.rb: improved Julien's patch.
245
-
246
- 18-05-2005 Julien Perrot <jperrot@exosec.fr>
247
-
248
- * lib/og/collection.rb (#remove): implemented.
249
-
250
- * lib/og/relation/joins_many.rb (#remove_xxx): implemented.
251
-
252
- * lib/og/store/sql.rb (#unjoin): implemented.
253
-
254
- * lib/og/manager.rb (#==): fixed when other == nil.
255
-
372
+ * resolved a posted bug [mneumann].
373
+
374
+ * lib/og/relation/has_many.rb: added 'dummy' remove support.
375
+
376
+ * lib/og/collection.rb: improved Julien's patch.
377
+
378
+ 18-05-2005 Julien Perrot <jperrot@exosec.fr>
379
+
380
+ * lib/og/collection.rb (#remove): implemented.
381
+
382
+ * lib/og/relation/joins_many.rb (#remove_xxx): implemented.
383
+
384
+ * lib/og/store/sql.rb (#unjoin): implemented.
385
+
386
+ * lib/og/manager.rb (#==): fixed when other == nil.
387
+
256
388
  18-05-2005 George Moschovitis <gm@navel.gr>
257
389
 
258
- * lib/og/store/sqlite.rb (#db_filename): overridable db file name [slewis].
259
-
260
- * README: added warning about sqlite3 version [slewis].
390
+ * lib/og/store/sqlite.rb (#db_filename): overridable db file name [slewis].
391
+
392
+ * README: added warning about sqlite3 version [slewis].
261
393
 
262
394
  17-05-2005 George Moschovitis <gm@navel.gr>
263
395
 
264
- * lib/og.rb: keep active manager.
396
+ * lib/og.rb: keep active manager.
265
397
 
266
398
  16-05-2005 George Moschovitis <gm@navel.gr>
267
399
 
268
- * --- VERSION 0.17.0 ---
400
+ * --- VERSION 0.17.0 ---
269
401
 
270
- * doc/RELEASES: updated.
402
+ * doc/RELEASES: updated.
271
403
 
272
- * README: updated.
273
-
404
+ * README: updated.
405
+
274
406
  15-05-2005 George Moschovitis <gm@navel.gr>
275
407
 
276
- * lib/og/store/sql.rb (#enchant): check for create_schema.
277
-
278
- * lib/og.rb: updated RDoc.
279
-
280
- * doc/RELEASES: updated.
281
-
408
+ * lib/og/store/sql.rb (#enchant): check for create_schema.
409
+
410
+ * lib/og.rb: updated RDoc.
411
+
412
+ * doc/RELEASES: updated.
413
+
282
414
  15-05-2005 George Moschovitis <gm@navel.gr>
283
415
 
284
- * examples/run.rb: after some changes it runs.
285
-
286
- * lib/og/store.rb (#delete): improved obj_or_pk detection.
416
+ * examples/run.rb: after some changes it runs.
417
+
418
+ * lib/og/store.rb (#delete): improved obj_or_pk detection.
287
419
 
288
420
  14-05-2005 George Moschovitis <gm@navel.gr>
289
421
 
290
- * doc/tutorial.txt: added warning.
291
-
292
- * doc/RELEASES: updated.
293
-
294
- * lib/og/store/*: improved error messages.
295
-
296
- * lib/og/store/sqlite.rb (#create_table): create join table,
297
- rescue Object to catch the exception.
298
-
299
- * lib/og/store/mysql.rb (#create_table): create join table.
300
-
301
- * lib/og/store/psql.rb (#create_table): create join table.
302
-
303
- * lib/og/relation/many_to_many.rb: alias to joins_many.
304
-
305
- * test/og/tc_store.rb: updated with join tests.
306
-
307
- * lib/og/manager.rb (#manage): add the ogmanager attribute here,
308
- relation enchant after store enchant.
309
- (#manage_classes): multipass enchanting to be more flexible.
310
-
311
- * lib/og/relation/joins_many: introduced,
312
- implemented,
313
- yeah it passes the test!
314
-
315
- * lib/og/relation.rb (#joins_many): introduced,
422
+ * doc/tutorial.txt: added warning.
423
+
424
+ * doc/RELEASES: updated.
425
+
426
+ * lib/og/store/*: improved error messages.
427
+
428
+ * lib/og/store/sqlite.rb (#create_table): create join table,
429
+ rescue Object to catch the exception.
430
+
431
+ * lib/og/store/mysql.rb (#create_table): create join table.
432
+
433
+ * lib/og/store/psql.rb (#create_table): create join table.
434
+
435
+ * lib/og/relation/many_to_many.rb: alias to joins_many.
436
+
437
+ * test/og/tc_store.rb: updated with join tests.
438
+
439
+ * lib/og/manager.rb (#manage): add the ogmanager attribute here,
440
+ relation enchant after store enchant.
441
+ (#manage_classes): multipass enchanting to be more flexible.
442
+
443
+ * lib/og/relation/joins_many: introduced,
444
+ implemented,
445
+ yeah it passes the test!
446
+
447
+ * lib/og/relation.rb (#joins_many): introduced,
316
448
 
317
449
  13-05-2005 George Moschovitis <gm@navel.gr>
318
450
 
319
- * lib/og/mixin/hierarchical.rb: converted to new code.
451
+ * lib/og/mixin/hierarchical.rb: converted to new code.
320
452
 
321
- * test/og/mixin/hierarchical.rb: converted to new code,
322
- mostly works.
323
-
324
- * doc/RELEASES: updated.
453
+ * test/og/mixin/hierarchical.rb: converted to new code,
454
+ mostly works.
455
+
456
+ * doc/RELEASES: updated.
325
457
 
326
458
  12-05-2005 George Moschovitis <gm@navel.gr>
327
459
 
328
- * lib/og/store/sqlserver.rb (#initialize): small fix.
460
+ * lib/og/store/sqlserver.rb (#initialize): small fix.
329
461
 
330
- * test/og/tc_store.rb: refactored to run all tests.
462
+ * test/og/tc_store.rb: refactored to run all tests.
331
463
 
332
464
  11-05-2005 George Moschovitis <gm@navel.gr>
333
465
 
334
- * lib/og/store/memory.rb (MemoryUtils): added to stay compatible
335
- with the other backends.
336
-
337
- * lib/og/store/sql.rb (#reload): close the resultset.
466
+ * lib/og/store/memory.rb (MemoryUtils): added to stay compatible
467
+ with the other backends.
468
+
469
+ * lib/og/store/sql.rb (#reload): close the resultset.
338
470
 
339
- * lib/og/entity.rb (#delete): fix.
471
+ * lib/og/entity.rb (#delete): fix.
340
472
 
341
- * lib/og/store/sqlite.rb: passes tests,
342
- added transaction_nesting support.
343
-
344
- * lib/og/store/sqlserver.rb: introduced,
345
- reimplemented the minimum set of features needed for a project of mine.
473
+ * lib/og/store/sqlite.rb: passes tests,
474
+ added transaction_nesting support.
475
+
476
+ * lib/og/store/sqlserver.rb: introduced,
477
+ reimplemented the minimum set of features needed for a project of mine.
346
478
 
347
- * lib/og/store/mysql.rb (#create_table): fixed,
348
- no transactions (nop).
479
+ * lib/og/store/mysql.rb (#create_table): fixed,
480
+ no transactions (nop).
349
481
 
350
- * lib/og/store.rb (#delete): made more flexible,
351
- added transaction_nesting support.
352
-
353
- * examples/run.rb: changes to make this pass.
354
-
355
- * lib/og/relation.rb (#resolve_target): handle no-namespace
356
- case.
357
-
358
- * test/og/tc_relation.rb: implemented.
482
+ * lib/og/store.rb (#delete): made more flexible,
483
+ added transaction_nesting support.
484
+
485
+ * examples/run.rb: changes to make this pass.
486
+
487
+ * lib/og/relation.rb (#resolve_target): handle no-namespace
488
+ case.
489
+
490
+ * test/og/tc_relation.rb: implemented.
359
491
 
360
492
  10-05-2005 George Moschovitis <gm@navel.gr>
361
493
 
362
- * lib/og/collection.rb: totaly recoded to support lazyer synchronization
363
- with the data-store,
364
- don't extend from array,
365
- use method missing to catch more methods.
366
-
367
- * README: added link for pure ruby mysql interface. [jbritt]
368
-
494
+ * lib/og/collection.rb: totaly recoded to support lazyer synchronization
495
+ with the data-store,
496
+ don't extend from array,
497
+ use method missing to catch more methods.
498
+
499
+ * README: added link for pure ruby mysql interface. [jbritt]
500
+
369
501
  09-05-2005 George Moschovitis <gm@navel.gr>
370
502
 
371
- * lib/og/store/sqlite.rb: kinda works :)
503
+ * lib/og/store/sqlite.rb: kinda works :)
372
504
 
373
- * lib/og/store/psql.rb (#read_all): fixed stupid and nasty bug.
505
+ * lib/og/store/psql.rb (#read_all): fixed stupid and nasty bug.
374
506
 
375
- * lib/og/relation/has_many.rb: fixed collection update.
376
-
507
+ * lib/og/relation/has_many.rb: fixed collection update.
508
+
377
509
  08-05-2005 George Moschovitis <gm@navel.gr>
378
510
 
379
- * examples/mysql_to_psql.rb: updated!
380
- YEAH, it works.
381
-
382
- * lib/og/store.rb: :<< alias for save.
383
-
384
- * examples/*: copied from old og.
385
-
386
- * lib/og/store/psql.rb (#create_table): generate join tables.
387
-
388
- * lib/og/relation/many_to_many.rb (#enchant): implemented,
389
- worked a LOT on the join table generation.
390
-
391
- * lib/og/store/sql.rb (#resolve_options): cleaned up,
392
- handle join/join_condition options.
393
- (#join): introduced.
394
- (#join_table..): use key1, key2,
395
- require yaml, needed.
396
-
397
- * replaced some OGTABLE's.
511
+ * examples/mysql_to_psql.rb: updated!
512
+ YEAH, it works.
513
+
514
+ * lib/og/store.rb: :<< alias for save.
515
+
516
+ * examples/*: copied from old og.
517
+
518
+ * lib/og/store/psql.rb (#create_table): generate join tables.
519
+
520
+ * lib/og/relation/many_to_many.rb (#enchant): implemented,
521
+ worked a LOT on the join table generation.
522
+
523
+ * lib/og/store/sql.rb (#resolve_options): cleaned up,
524
+ handle join/join_condition options.
525
+ (#join): introduced.
526
+ (#join_table..): use key1, key2,
527
+ require yaml, needed.
528
+
529
+ * replaced some OGTABLE's.
398
530
 
399
531
  07-05-2005 George Moschovitis <gm@navel.gr>
400
532
 
401
- * lib/og/store/sql.rb (#read_all): (SqlUtils#table): implemented
402
- (SqlUtils#join): nice implementation.
403
- (#resolve_options): renamed from resolve_from, handles
404
- all options.
405
- (#find/#find_one): refactored.
406
-
533
+ * lib/og/store/sql.rb (#read_all): (SqlUtils#table): implemented
534
+ (SqlUtils#join): nice implementation.
535
+ (#resolve_options): renamed from resolve_from, handles
536
+ all options.
537
+ (#find/#find_one): refactored.
538
+
407
539
  06-05-2005 George Moschovitis <gm@navel.gr>
408
-
409
- * lib/og/typemacro.rb (##VarChar): fixed.
410
-
411
- * lib/og/store.rb (#enchant): create finders for properties.
412
-
413
- * test/og/store/tc_psql.rb: use reload,
414
- test generated finders.
415
-
416
- * lib/og/store/sql.rb (#read_all): small fix to make compatible
417
- with mysql,
418
- (#reload): generalized and added here,
419
- fixed stupid bug.
420
-
421
- * lib/og/store/psql.rb: small updates.
422
-
423
- * lib/og/store/mysql.rb: introduced and started the
424
- implementation,
425
- (Mysql::Result): adapted,
426
- yeah, this store passes the tests.
427
-
540
+
541
+ * lib/og/typemacro.rb (##VarChar): fixed.
542
+
543
+ * lib/og/store.rb (#enchant): create finders for properties.
544
+
545
+ * test/og/store/tc_psql.rb: use reload,
546
+ test generated finders.
547
+
548
+ * lib/og/store/sql.rb (#read_all): small fix to make compatible
549
+ with mysql,
550
+ (#reload): generalized and added here,
551
+ fixed stupid bug.
552
+
553
+ * lib/og/store/psql.rb: small updates.
554
+
555
+ * lib/og/store/mysql.rb: introduced and started the
556
+ implementation,
557
+ (Mysql::Result): adapted,
558
+ yeah, this store passes the tests.
559
+
428
560
  05-05-2005 George Moschovitis <gm@navel.gr>
429
561
 
430
- * lib/og/store/sql.rb (#find_one): parse all options,
431
- set limit = 1 if not defined,
432
- fixed limit,
433
- (#find): parse :extra option,
434
- fixed limit.
435
-
436
- * lib/og/mixin/orderable.rb: converted to latest code,
437
- no stupid 1 = 1 scope.
438
-
439
- * test/og/mixin/tc_timestamped.rb: implemented.
440
-
441
- * lib/og/store/memory.rb (ObjectHash): use string keys.
442
- (#initialize): read from the yaml file.
443
- (#close): dump to the yaml file.
444
- YEAH, serialization works,
445
- (#query): added support for order.
446
-
447
- * lib/og/entity.rb (#update): added support for selective
448
- update.
449
-
450
- * lib/og/store/sql.rb (#update): handle case of updating
451
- selected properties,
452
- (#enable_logging): implemented.
562
+ * lib/og/store/sql.rb (#find_one): parse all options,
563
+ set limit = 1 if not defined,
564
+ fixed limit,
565
+ (#find): parse :extra option,
566
+ fixed limit.
567
+
568
+ * lib/og/mixin/orderable.rb: converted to latest code,
569
+ no stupid 1 = 1 scope.
570
+
571
+ * test/og/mixin/tc_timestamped.rb: implemented.
572
+
573
+ * lib/og/store/memory.rb (ObjectHash): use string keys.
574
+ (#initialize): read from the yaml file.
575
+ (#close): dump to the yaml file.
576
+ YEAH, serialization works,
577
+ (#query): added support for order.
578
+
579
+ * lib/og/entity.rb (#update): added support for selective
580
+ update.
581
+
582
+ * lib/og/store/sql.rb (#update): handle case of updating
583
+ selected properties,
584
+ (#enable_logging): implemented.
453
585
 
454
586
  04-05-2005 George Moschovitis <gm@navel.gr>
455
587
 
456
- * lib/og/store/memory.rb (#update_properties): implemented.
588
+ * lib/og/store/memory.rb (#update_properties): implemented.
457
589
 
458
- * :where as :condition alias.
459
-
460
- * lib/og/entity.rb (#enchant): evaluate aliases for the
461
- primary key,
462
- (#update): added
463
- (##update_properties): added.
464
-
465
- * lib/og/store/sql.rb (#update_properties): implemented,
466
- use @ in variables.
590
+ * :where as :condition alias.
591
+
592
+ * lib/og/entity.rb (#enchant): evaluate aliases for the
593
+ primary key,
594
+ (#update): added
595
+ (##update_properties): added.
596
+
597
+ * lib/og/store/sql.rb (#update_properties): implemented,
598
+ use @ in variables.
467
599
 
468
- * lib/og/store.rb (#update_properties): introduced.
469
-
470
- * converted many files to make compatible with facets 0.7.1
600
+ * lib/og/store.rb (#update_properties): introduced.
601
+
602
+ * converted many files to make compatible with facets 0.7.1
471
603
 
472
604
  03-05-2005 George Moschovitis <gm@navel.gr>
473
605
 
474
- * lib/og/store.rb: factored out code from sql.rb, memory.rb
475
-
476
- * lib/og/mixin/orderable.rb: use aspects for callbacks.
477
-
478
- * test/og/mixin/*: copied tests from old version.
479
-
480
- * lib/og/manager.rb (#manage_classes): improved.
481
-
482
- * lib/og.rb: cleaned up, removed older code.
483
-
484
- * lib/og/relation/belongs_to: set descendants, only here needed.
485
-
486
- * lib/og/relation/*: use RefersTo as the basis relation.
487
-
488
- * lib/og/entity.rb (#count): implemented.
489
- (##transaction): implemented,
490
- (##delete): implemented.
491
-
492
- * pass the class as an option to many methods.
493
-
494
- * lib/og/store/memory.rb (#count): implemented,
495
- improved condition handling in count and query,
496
- (#delete): works with descendants,
497
- use og_delete.
498
-
499
- * lib/og/store/psql.rb (#first_value): implemented.
500
-
501
- * lib/og/store/sql.rb (#count): implemented,
502
- fixed signature of methods,
503
- (#og_delete): implemented.
504
- (#delete): use og_delete.
505
-
606
+ * lib/og/store.rb: factored out code from sql.rb, memory.rb
607
+
608
+ * lib/og/mixin/orderable.rb: use aspects for callbacks.
609
+
610
+ * test/og/mixin/*: copied tests from old version.
611
+
612
+ * lib/og/manager.rb (#manage_classes): improved.
613
+
614
+ * lib/og.rb: cleaned up, removed older code.
615
+
616
+ * lib/og/relation/belongs_to: set descendants, only here needed.
617
+
618
+ * lib/og/relation/*: use RefersTo as the basis relation.
619
+
620
+ * lib/og/entity.rb (#count): implemented.
621
+ (##transaction): implemented,
622
+ (##delete): implemented.
623
+
624
+ * pass the class as an option to many methods.
625
+
626
+ * lib/og/store/memory.rb (#count): implemented,
627
+ improved condition handling in count and query,
628
+ (#delete): works with descendants,
629
+ use og_delete.
630
+
631
+ * lib/og/store/psql.rb (#first_value): implemented.
632
+
633
+ * lib/og/store/sql.rb (#count): implemented,
634
+ fixed signature of methods,
635
+ (#og_delete): implemented.
636
+ (#delete): use og_delete.
637
+
506
638
  02-05-2005 George Moschovitis <gm@navel.gr>
507
639
 
508
- * lib/og/store/memory.rb: introduced,
509
- (#og_insert): implemtented,
510
- (#og_update): implemented,
511
- I got insertions working,
512
- (#query): implemented!
513
- Incredible, the memory store passes all tests.
514
-
640
+ * lib/og/store/memory.rb: introduced,
641
+ (#og_insert): implemtented,
642
+ (#og_update): implemented,
643
+ I got insertions working,
644
+ (#query): implemented!
645
+ Incredible, the memory store passes all tests.
646
+
515
647
  01-05-2005 George Moschovitis <gm@navel.gr>
516
648
 
517
- * lib/og/store/sqlite.rb: implemented the rest of the
518
- functionality,
519
- (#eval_og_insert): implemented.
520
-
521
- * lib/og/store/psql.rb: override PGresult,
522
- (#each_row): implemented.
649
+ * lib/og/store/sqlite.rb: implemented the rest of the
650
+ functionality,
651
+ (#eval_og_insert): implemented.
652
+
653
+ * lib/og/store/psql.rb: override PGresult,
654
+ (#each_row): implemented.
523
655
 
524
- * lib/og/store/sql.rb: removed resultset methods,
525
- (#read_all): use each_row.
526
- (#find_one/all): use new read methods.
656
+ * lib/og/store/sql.rb: removed resultset methods,
657
+ (#read_all): use each_row.
658
+ (#find_one/all): use new read methods.
527
659
 
528
660
  30-04-2005 George Moschovitis <gm@navel.gr>
529
661
 
530
- * lib/og/store/psql.rb: shorter query/select.
662
+ * lib/og/store/psql.rb: shorter query/select.
531
663
 
532
- * lib/og/store/sql.rb (SqlUtils): renamed from SqlStoreUtils.
533
- (#result_blank?): implemented,
534
- (#result_get): implemented,
535
- (#result_close): implemented,
536
- (#read_one): implemented, also handles join,
537
- (#read_join_relations): implemented.
664
+ * lib/og/store/sql.rb (SqlUtils): renamed from SqlStoreUtils.
665
+ (#result_blank?): implemented,
666
+ (#result_get): implemented,
667
+ (#result_close): implemented,
668
+ (#read_one): implemented, also handles join,
669
+ (#read_join_relations): implemented.
538
670
 
539
- * lib/og/relation.rb (#resolve_target): supports the no
540
- forward declaration trick.
541
-
542
- * lib/og/entity.rb (#const_missing): added trick, no need for
543
- forward declarations [mneumann].
671
+ * lib/og/relation.rb (#resolve_target): supports the no
672
+ forward declaration trick.
673
+
674
+ * lib/og/entity.rb (#const_missing): added trick, no need for
675
+ forward declarations [mneumann].
544
676
 
545
677
  29-04-2005 George Moschovitis <gm@navel.gr>
546
678
 
547
- * lib/og/store/sqlite.rb (#create_table): implemented,
548
- (#create_column_map): implemented.
549
-
550
- * lib/og/relation/many_to_many.rb: introduced.
551
-
552
- * lib/og/relation/refers_to.rb: implemented as extension of
553
- has_one.
554
-
555
- * lib/og/relation/belongs_to.rb: reimplemented as extension of
556
- has_one.
557
-
558
- * lib/og/relation/has_one.rb: implemented.
559
-
560
- * lib/og/relation.rb (#init_options): handle plural/singular,
561
- further cleanup of the relation code,
562
- even more cleanup, moved init_options code to the Relation
563
- constructor,
564
- totaly removed RelationMacros::Utils.
679
+ * lib/og/store/sqlite.rb (#create_table): implemented,
680
+ (#create_column_map): implemented.
681
+
682
+ * lib/og/relation/many_to_many.rb: introduced.
683
+
684
+ * lib/og/relation/refers_to.rb: implemented as extension of
685
+ has_one.
686
+
687
+ * lib/og/relation/belongs_to.rb: reimplemented as extension of
688
+ has_one.
689
+
690
+ * lib/og/relation/has_one.rb: implemented.
691
+
692
+ * lib/og/relation.rb (#init_options): handle plural/singular,
693
+ further cleanup of the relation code,
694
+ even more cleanup, moved init_options code to the Relation
695
+ constructor,
696
+ totaly removed RelationMacros::Utils.
565
697
 
566
698
  28-04-2005 George Moschovitis <gm@navel.gr>
567
699
 
568
- * lib/og/relation/has_many.rb: some refactoring.
700
+ * lib/og/relation/has_many.rb: some refactoring.
569
701
 
570
- * lib/og/relation.rb (Relation::Utils): introduced,
571
- (#init_options): implemented.
572
- (#method_missing): access the options as methods.
702
+ * lib/og/relation.rb (Relation::Utils): introduced,
703
+ (#init_options): implemented.
704
+ (#method_missing): access the options as methods.
573
705
 
574
- * lib/og/typemacros.rb: copied from old.
706
+ * lib/og/typemacros.rb: copied from old.
575
707
 
576
- * test/og/store/psql.rb (#test_conversions): added.
708
+ * test/og/store/psql.rb (#test_conversions): added.
577
709
 
578
- * lib/og/store/sql.rb (SqlStoreUtils): refactored.
579
- (#quote): ultraclean implementation.
710
+ * lib/og/store/sql.rb (SqlStoreUtils): refactored.
711
+ (#quote): ultraclean implementation.
580
712
 
581
- * lib/og/store/psql.rb: no custom transaction methods.
582
-
713
+ * lib/og/store/psql.rb: no custom transaction methods.
714
+
583
715
  26-04-2005 George Moschovitis <gm@navel.gr>
584
716
 
585
- * lib/og/store/sql.rb: added some escape/parsing methods.
717
+ * lib/og/store/sql.rb: added some escape/parsing methods.
586
718
 
587
- * lib/og/store/sqlite.rb: introduced.
719
+ * lib/og/store/sqlite.rb: introduced.
588
720
 
589
- * lib/og/psql.rb (#join_all): implemented.
590
- (#reload): implemented.
721
+ * lib/og/psql.rb (#join_all): implemented.
722
+ (#reload): implemented.
591
723
 
592
- * copied various support files from old Og.
724
+ * copied various support files from old Og.
593
725
 
594
726
  25-04-2005 George Moschovitis <gm@navel.gr>
595
727
 
596
- * yeah I got a simple eager relation working.
728
+ * yeah I got a simple eager relation working.
597
729
 
598
- * lib/og/psql.rb (#join_one): implemented.
730
+ * lib/og/psql.rb (#join_one): implemented.
599
731
 
600
- * lib/og/sql.rb (#find): join clause calculation.
601
- (#read_prop): use offset.
732
+ * lib/og/sql.rb (#find): join clause calculation.
733
+ (#read_prop): use offset.
602
734
 
603
- * lib/og/relation/belongs_to.rb: updated to latest code.
604
- precalculate stuff.
735
+ * lib/og/relation/belongs_to.rb: updated to latest code.
736
+ precalculate stuff.
605
737
 
606
- * lib/og/relation.rb (#relations): implemented,
607
- (#inspect_relation): implemented.
608
- extend from Hash, not Flexob.
609
- set setter.
610
- use inflector to inflect relation names.
738
+ * lib/og/relation.rb (#relations): implemented,
739
+ (#inspect_relation): implemented.
740
+ extend from Hash, not Flexob.
741
+ set setter.
742
+ use inflector to inflect relation names.
611
743
 
612
- * yeah i got my blog up using the new Og.
744
+ * yeah i got my blog up using the new Og.
613
745
 
614
- * lib/og/mixin/*: copied from old.
746
+ * lib/og/mixin/*: copied from old.
615
747
 
616
- * replaced the original implementation.
748
+ * replaced the original implementation.
617
749
 
618
- * lib/og/manager.rb (#manage): def ==,
619
- (#manageable_classes): improved detection.
750
+ * lib/og/manager.rb (#manage): def ==,
751
+ (#manageable_classes): improved detection.
620
752
 
621
- * lib/og/collection.rb (#clear): added.
622
- (#delete): added.
753
+ * lib/og/collection.rb (#clear): added.
754
+ (#delete): added.
623
755
 
624
- * lib/og/entity.rb (#transaction): added.
625
- (#find, #find_one): made options optional
626
- cleaned up.
756
+ * lib/og/entity.rb (#transaction): added.
757
+ (#find, #find_one): made options optional
758
+ cleaned up.
627
759
 
628
760
  24-04-2005 George Moschovitis <gm@navel.gr>
629
761
 
630
- * relation caching also works.
762
+ * relation caching also works.
631
763
 
632
- * yeah I got an 'active' collection working.
764
+ * yeah I got an 'active' collection working.
633
765
 
634
- * lib/og/relation/has_many.rb (#add_entity): implemented.
635
- reloading option works.
766
+ * lib/og/relation/has_many.rb (#add_entity): implemented.
767
+ reloading option works.
636
768
 
637
- * lib/og/collection.rb: overload array methods.
638
- (#initialize): pass adder method.
769
+ * lib/og/collection.rb: overload array methods.
770
+ (#initialize): pass adder method.
639
771
 
640
- * lib/og/store.rb (#unsaved?): implemented.
772
+ * lib/og/store.rb (#unsaved?): implemented.
641
773
 
642
- * lib/og/store/sql.rb (#find_one): fixed duplicate query.
774
+ * lib/og/store/sql.rb (#find_one): fixed duplicate query.
643
775
 
644
- * lib/og/entity.rb (#create): added, takes block.
645
- (#primary_key): more fault tolerant.
776
+ * lib/og/entity.rb (#create): added, takes block.
777
+ (#primary_key): more fault tolerant.
646
778
 
647
779
  23-04-2005 George Moschovitis <gm@navel.gr>
648
780
 
649
- * lib/og/entity.rb: add [] in class,
650
- load, find, find_first and aliases.
781
+ * lib/og/entity.rb: add [] in class,
782
+ load, find, find_first and aliases.
651
783
 
652
- * lib/og/relation/has_many.rb (#enchant): implemented,
653
- (HasManyCollection): introduced.
784
+ * lib/og/relation/has_many.rb (#enchant): implemented,
785
+ (HasManyCollection): introduced.
654
786
 
655
- * don't use property.name.
787
+ * don't use property.name.
656
788
 
657
- * test/og/store/tc_psql.rb: implemented.
789
+ * test/og/store/tc_psql.rb: implemented.
658
790
 
659
- * lib/og/store/sql.rb (#og_read): greatly simplified.
660
- (#find): implemented,
661
- (#find_one): implemented.
791
+ * lib/og/store/sql.rb (#og_read): greatly simplified.
792
+ (#find): implemented,
793
+ (#find_one): implemented.
662
794
 
663
- * lib/og/manager.rb (#setup): honour :destroy.
795
+ * lib/og/manager.rb (#setup): honour :destroy.
664
796
 
665
- * lib/og/store/psql.rb: added many methods from the old
666
- adapter.
667
- (og_insert): works!
668
- (#create_column_map): introduced.
669
- (og_read): yeah, it works!
670
- (#close): added,
671
- (#read_all): added.
797
+ * lib/og/store/psql.rb: added many methods from the old
798
+ adapter.
799
+ (og_insert): works!
800
+ (#create_column_map): introduced.
801
+ (og_read): yeah, it works!
802
+ (#close): added,
803
+ (#read_all): added.
672
804
 
673
- * lib/og/store.rb (#enchant): call lifecycle method compilers.
674
- (#close): added.
805
+ * lib/og/store.rb (#enchant): call lifecycle method compilers.
806
+ (#close): added.
675
807
 
676
808
  22-04-2005 George Moschovitis <gm@navel.gr>
677
809
 
678
- * lib/og/store/filesys.rb (#enchant): use less evals.
810
+ * lib/og/store/filesys.rb (#enchant): use less evals.
679
811
 
680
- * lib/og/store/sql.rb: started implementing,
681
- (#create_table/#drop_table): introduced.
682
- added typmap support.
812
+ * lib/og/store/sql.rb: started implementing,
813
+ (#create_table/#drop_table): introduced.
814
+ added typmap support.
683
815
 
684
- * lib/og/store/psql.rb: started implementing.
685
- (#create_table): implemented.
686
- (#enchant): no evals,
687
- add saved?
816
+ * lib/og/store/psql.rb: started implementing.
817
+ (#create_table): implemented.
818
+ (#enchant): no evals,
819
+ add saved?
688
820
 
689
- * I got enchanting working.
821
+ * I got enchanting working.
690
822
 
691
- * lib/og/store.rb (#reload): introduced,
692
- (#enchant): set og_store,
693
- add index macro.
694
-
823
+ * lib/og/store.rb (#reload): introduced,
824
+ (#enchant): set og_store,
825
+ add index macro.
826
+
695
827
  21-04-2005 George Moschovitis <gm@navel.gr>
696
828
 
697
- * lib/og/store/filesys.rb: introduced,
698
- (#create, #destroy): implemented.
699
- after many changes, got something working.
700
- (#destroy): use rm_rf.
701
- use OGNAME,
702
- dont remove leading module from OGNAME.
703
- (#path): helper.
704
- (#delete): implemented.
829
+ * lib/og/store/filesys.rb: introduced,
830
+ (#create, #destroy): implemented.
831
+ after many changes, got something working.
832
+ (#destroy): use rm_rf.
833
+ use OGNAME,
834
+ dont remove leading module from OGNAME.
835
+ (#path): helper.
836
+ (#delete): implemented.
705
837
 
706
- * lib/og/store/psql.rb: introduced.
838
+ * lib/og/store/psql.rb: introduced.
707
839
 
708
- * lib/og/store/sql.rb: introduced.
840
+ * lib/og/store/sql.rb: introduced.
709
841
 
710
- * lib/og/relation/belongs_to (#enchant): full.
842
+ * lib/og/relation/belongs_to (#enchant): full.
711
843
 
712
- * YEAH, added support for different primary keys.
844
+ * YEAH, added support for different primary keys.
713
845
 
714
- * lib/og/collection.rb: introduced.
846
+ * lib/og/collection.rb: introduced.
715
847
 
716
- * lib/og/errors.rb: introduced,
717
- (StoreException): introduced.
848
+ * lib/og/errors.rb: introduced,
849
+ (StoreException): introduced.
718
850
 
719
- * lib/og/manager.rb: introduced.
720
- (#managable_classes): implemented.
721
- (EntityInfo): introduced.
851
+ * lib/og/manager.rb: introduced.
852
+ (#managable_classes): implemented.
853
+ (EntityInfo): introduced.
722
854
 
723
- * test/tc_og.rb: reintroduced.
855
+ * test/tc_og.rb: reintroduced.
724
856
 
725
- * lib/og/relation: introduced.
857
+ * lib/og/relation: introduced.
726
858
 
727
- * lib/og/store.rb: introduced,
728
- unified store/connection.
859
+ * lib/og/store.rb: introduced,
860
+ unified store/connection.
729
861
 
730
- * lib/og/mixin: introduced.
862
+ * lib/og/mixin: introduced.
731
863
 
732
- * lib/og/entity.rb: introduced.
733
- (EntityMixin): introduced.
734
- (Entity): introduced.
735
- (InstanceMethods): introduced.
736
- (ClassMethods): introduced.
737
- (#resolve_primary_key): implemented.
864
+ * lib/og/entity.rb: introduced.
865
+ (EntityMixin): introduced.
866
+ (Entity): introduced.
867
+ (InstanceMethods): introduced.
868
+ (ClassMethods): introduced.
869
+ (#resolve_primary_key): implemented.
738
870
 
739
- * started working on new implementation.
871
+ * started working on new implementation.
740
872
 
741
873
  20-04-2005 George Moschovitis <gm@navel.gr>
742
874
 
743
- * lib/og/enchant.rb (#self.update): gets oid argument.
875
+ * lib/og/enchant.rb (#self.update): gets oid argument.
744
876
 
745
877
  19-04-2005 George Moschovitis <gm@navel.gr>
746
878
 
747
- * lib/og/meta.rb: started using facets :)
879
+ * lib/og/meta.rb: started using facets :)
748
880
 
749
- * Rakefile: added facets dependency.
881
+ * Rakefile: added facets dependency.
750
882
 
751
883
  16-04-2005 George Moschovitis <gm@navel.gr>
752
884
 
753
- * --- VERSION 0.16.0 ---
885
+ * --- VERSION 0.16.0 ---
754
886
 
755
- * lib/og/mixins/timestamped.rb: implemented with aspects.
887
+ * lib/og/mixins/timestamped.rb: implemented with aspects.
756
888
 
757
889
  15-04-2005 George Moschovitis <gm@navel.gr>
758
890
 
759
- * test/og/observer.rb: removed, use Aspects instead.
891
+ * test/og/observer.rb: removed, use Aspects instead.
760
892
 
761
- * lib/og/observer.rb: removed, use Aspects instead.
893
+ * lib/og/observer.rb: removed, use Aspects instead.
762
894
 
763
895
  14-04-2005 George Moschovitis <gm@navel.gr>
764
896
 
765
- * lb/og/adapters/*: converted to the latest adapter interface.
897
+ * lb/og/adapters/*: converted to the latest adapter interface.
766
898
 
767
- * lib/og/adapters/base.rb (#eval_og_update): use aspects instead of
768
- callbacks/observers,
769
- (#eval_og_insert): use aspects,
770
- set aspects in the base adapter code,
771
- (#eval_og_read): use aspects.
899
+ * lib/og/adapters/base.rb (#eval_og_update): use aspects instead of
900
+ callbacks/observers,
901
+ (#eval_og_insert): use aspects,
902
+ set aspects in the base adapter code,
903
+ (#eval_og_read): use aspects.
772
904
 
773
905
  13-04-2005 George Moschovitis <gm@navel.gr>
774
906
 
775
- * lib/og/adapters/*: use klass.allocate instead of klass.new to avoid
776
- restrictions on initialize methods. [jamesb]
907
+ * lib/og/adapters/*: use klass.allocate instead of klass.new to avoid
908
+ restrictions on initialize methods. [jamesb]
777
909
 
778
- * test/og/*: moved adapter test code to the adapters dir.
910
+ * test/og/*: moved adapter test code to the adapters dir.
779
911
 
780
912
  12-04-2005 George Moschovitis <gm@navel.gr>
781
913
 
782
- * Rakefile: updated to support autoupload to Rubyforge. [flgr]
914
+ * Rakefile: updated to support autoupload to Rubyforge. [flgr]
783
915
 
784
916
  11-04-2005 George Moschovitis <gm@navel.gr>
785
917
 
786
- * created new public SVN repository, to allow for easier
787
- patching by the community.
918
+ * created new public SVN repository, to allow for easier
919
+ patching by the community.
788
920
 
789
- * lib/og/mixins/timestamped.rb: introduced.
921
+ * lib/og/mixins/timestamped.rb: introduced.
790
922
 
791
- * lib/og/database.rb: set default connection_count > 1 to avoid
792
- deadlocks.
923
+ * lib/og/database.rb: set default connection_count > 1 to avoid
924
+ deadlocks.
793
925
 
794
926
  10-04-2005 George Moschovitis <gm@navel.gr>
795
927
 
796
- * test/*: many changes to make all run again.
928
+ * test/*: many changes to make all run again.
797
929
 
798
- * lib/og/adapters/sqlserver.rb: fix.
930
+ * lib/og/adapters/sqlserver.rb: fix.
799
931
 
800
- * lib/og/database.rb (Og##connect): added helper.
932
+ * lib/og/database.rb (Og##connect): added helper.
801
933
 
802
- * lib/og/meta.rb: small fix.
934
+ * lib/og/meta.rb: small fix.
803
935
 
804
936
  08-04-2005 George Moschovitis <gm@navel.gr>
805
937
 
806
- * hack-fixed dynamic require bug that used to fuckup RDoc.
938
+ * hack-fixed dynamic require bug that used to fuckup RDoc.
807
939
 
808
- * Rakefile: bumped required ruby version,
809
- VERSION fix.
940
+ * Rakefile: bumped required ruby version,
941
+ VERSION fix.
810
942
 
811
- * code cleanup.
943
+ * code cleanup.
812
944
 
813
- * MAJOR: fixed refs to N.
945
+ * MAJOR: fixed refs to N.
814
946
 
815
947
  06-04-2005 George Moschovitis <gm@navel.gr>
816
948
 
817
- * lib/og/adapters/*: all reuse the base now.
949
+ * lib/og/adapters/*: all reuse the base now.
818
950
 
819
- * lib/og/connection.rb: removed.
951
+ * lib/og/connection.rb: removed.
820
952
 
821
- * lib/og/adapter.rb: removed.
953
+ * lib/og/adapter.rb: removed.
822
954
 
823
- * lib/og/adapters/base.rb: introduced,
824
- copied code from adapter.rb and connection.rb
955
+ * lib/og/adapters/base.rb: introduced,
956
+ copied code from adapter.rb and connection.rb
825
957
 
826
- * lib/og/errors.rb: introduced, moved SqlException here.
958
+ * lib/og/errors.rb: introduced, moved SqlException here.
827
959
 
828
960
  04-04-2005 George Moschovitis <gm@navel.gr>
829
961
 
830
- * --- VERSION 0.15.0 ---
962
+ * --- VERSION 0.15.0 ---
831
963
 
832
- * examples/run.rb: small fix.
964
+ * examples/run.rb: small fix.
833
965
 
834
- * test/og/mixins/tc_tree.rb: removed.
966
+ * test/og/mixins/tc_tree.rb: removed.
835
967
 
836
- * test/og/mixins/tc_list.rb: removed.
968
+ * test/og/mixins/tc_list.rb: removed.
837
969
 
838
970
  03-04-2005 George Moschovitis <gm@navel.gr>
839
971
 
840
- * doc/RELEASES: updated.
972
+ * doc/RELEASES: updated.
841
973
 
842
- * lib/og/backend.rb: removed.
974
+ * lib/og/backend.rb: removed.
843
975
 
844
- * test/og/mixins/tc_hierarchical: implemented,
845
- dont use article.
976
+ * test/og/mixins/tc_hierarchical: implemented,
977
+ dont use article.
846
978
 
847
- * lib/og/mixins/orderable.rb: fixed 1=1 scope.
979
+ * lib/og/mixins/orderable.rb: fixed 1=1 scope.
848
980
 
849
- * lib/og/mixins/hierarchical.rb (Hierarchical): implemented,
850
- (#add_child): implemented.
851
- after some fixes, it works!!
852
- fixed 1=1 scope.
853
- added :root.
854
-
981
+ * lib/og/mixins/hierarchical.rb (Hierarchical): implemented,
982
+ (#add_child): implemented.
983
+ after some fixes, it works!!
984
+ fixed 1=1 scope.
985
+ added :root.
986
+
855
987
  02-04-2005 George Moschovitis <gm@navel.gr>
856
-
857
- * lib/og/typemacros.rb: small update.
988
+
989
+ * lib/og/typemacros.rb: small update.
858
990
 
859
- * test/og/mixins/tc_hierarchical: introduced.
991
+ * test/og/mixins/tc_hierarchical: introduced.
860
992
 
861
- * lib/og/mixins/hierarchical.rb: introduced,
862
- (Hierarchical): introduced,
863
- (NestedSets): introduced,
864
- added enchant methods for nested sets.
993
+ * lib/og/mixins/hierarchical.rb: introduced,
994
+ (Hierarchical): introduced,
995
+ (NestedSets): introduced,
996
+ added enchant methods for nested sets.
865
997
 
866
- * lib/og/mixins/tree.rb: deprecated.
998
+ * lib/og/mixins/tree.rb: deprecated.
867
999
 
868
1000
  01-04-2005 George Moschovitis <gm@navel.gr>
869
1001
 
870
- * lib/og/adapters/sqlserver.rb: small fixes.
1002
+ * lib/og/adapters/sqlserver.rb: small fixes.
871
1003
 
872
- * doc/README: updated.
1004
+ * doc/README: updated.
873
1005
 
874
- * doc/RELEASES: updated.
1006
+ * doc/RELEASES: updated.
875
1007
 
876
- * doc/AUTHORS: updated.
1008
+ * doc/AUTHORS: updated.
877
1009
 
878
1010
  01-04-2005 Anastasios Koutoumanos <drak@navel.gr>
879
1011
 
880
- * lib/og/adapters/sqlserver.rb: implemented.
1012
+ * lib/og/adapters/sqlserver.rb: implemented.
881
1013
 
882
- * test/og/tc_sqlserver.rb: implemented.
1014
+ * test/og/tc_sqlserver.rb: implemented.
883
1015
 
884
1016
  31-03-2005 George Moschovitis <gm@navel.gr>
885
1017
 
886
- * lib/og/mixins/orderable.rb: implemented using dynamic_include.
1018
+ * lib/og/mixins/orderable.rb: implemented using dynamic_include.
887
1019
 
888
- * lib/og/meta.rb: removed inclusion of Og::List.
1020
+ * lib/og/meta.rb: removed inclusion of Og::List.
889
1021
 
890
- * lib/og/mixins/list.rb: deprecated in favour of the superior implementation.
1022
+ * lib/og/mixins/list.rb: deprecated in favour of the superior implementation.
891
1023
 
892
1024
  31-03-2005 Anastasios Koutoumanos <drak@navel.gr>
893
1025
 
894
- * lib/og/adapters/oracle.rb: removed duplicate eval_og_oid.
1026
+ * lib/og/adapters/oracle.rb: removed duplicate eval_og_oid.
895
1027
 
896
1028
  28-03-2005 George Moschovitis <gm@navel.gr>
897
1029
 
898
- * --- VERSION 0.14.0 ---
1030
+ * --- VERSION 0.14.0 ---
899
1031
 
900
- * test/og/mixins/tc_list.rb: implemented tests.
1032
+ * test/og/mixins/tc_list.rb: implemented tests.
901
1033
 
902
- * lib/og/connection.rb (#delete): passs obj_or_oid to the callback.
1034
+ * lib/og/connection.rb (#delete): passs obj_or_oid to the callback.
903
1035
 
904
- * lib/og/enchant.rb (#update/#update_all): fixed stupid bug.
905
- (#delete!): pass self.
1036
+ * lib/og/enchant.rb (#update/#update_all): fixed stupid bug.
1037
+ (#delete!): pass self.
906
1038
 
907
- * lib/og/mixins/list.rb: set the position property for the
908
- enchanted object,
909
- (#move_to_top): fixed.
910
- (#increment_position_of*/dec*): fixed,
911
- fixed scope interpolation.
912
-
1039
+ * lib/og/mixins/list.rb: set the position property for the
1040
+ enchanted object,
1041
+ (#move_to_top): fixed.
1042
+ (#increment_position_of*/dec*): fixed,
1043
+ fixed scope interpolation.
1044
+
913
1045
  27-03-2005 George Moschovitis <gm@navel.gr>
914
1046
 
915
- * lib/og/database.rb: wrap transaction.
1047
+ * lib/og/database.rb: wrap transaction.
916
1048
 
917
- * lib/og/enchant.rb (#each): fixed.
1049
+ * lib/og/enchant.rb (#each): fixed.
918
1050
 
919
- * lib/og/meta.rb (#has_many): added :order and :sql options.
920
- include Og::List by default to Module.
1051
+ * lib/og/meta.rb (#has_many): added :order and :sql options.
1052
+ include Og::List by default to Module.
921
1053
 
922
- * lib/og/mixins/list.rb: added some code,
923
- (#decrement_position_of..): added,
924
- add callbacks to enchanted object,
925
- made compatible with meta,
926
- use pre_insert,
927
- many, many small fixes to make this work.
928
-
929
- * test/og/mixins/tc_list.rb: introduced.
1054
+ * lib/og/mixins/list.rb: added some code,
1055
+ (#decrement_position_of..): added,
1056
+ add callbacks to enchanted object,
1057
+ made compatible with meta,
1058
+ use pre_insert,
1059
+ many, many small fixes to make this work.
1060
+
1061
+ * test/og/mixins/tc_list.rb: introduced.
930
1062
 
931
1063
  24-03-2005 George Moschovitis <gm@navel.gr>
932
1064
 
933
- * lib/og/adapters/*: rescue binding require. [drak]
1065
+ * lib/og/adapters/*: rescue binding require. [drak]
934
1066
 
935
- * lib/og/enchant.rb: fixed many bugs to make this run again.
1067
+ * lib/og/enchant.rb: fixed many bugs to make this run again.
936
1068
 
937
1069
  23-03-2005 George Moschovitis <gm@navel.gr>
938
1070
 
939
- * lib/og/testing: introduced.
1071
+ * lib/og/testing: introduced.
940
1072
 
941
- * test/mixins/tc_list.rb: introduced.
1073
+ * test/mixins/tc_list.rb: introduced.
942
1074
 
943
- * test/mixins: introduced.
1075
+ * test/mixins: introduced.
944
1076
 
945
- * lib/og/mixins/list.rb: introduced.
946
- (#move_higher/lower): implemented.
947
- (#increment/decrement_position): implemented.
948
- implemented many methods.
1077
+ * lib/og/mixins/list.rb: introduced.
1078
+ (#move_higher/lower): implemented.
1079
+ (#increment/decrement_position): implemented.
1080
+ implemented many methods.
949
1081
 
950
- * INSTALL: updated, added ref to required libs. [dyoder]
1082
+ * INSTALL: updated, added ref to required libs. [dyoder]
951
1083
 
952
- * lib/og/adapter.rb (SqlException): introduced.
1084
+ * lib/og/adapter.rb (SqlException): introduced.
953
1085
 
954
- * lib/og/connection.rb (#handle_db_exception): factored out,
955
- update_property alias.
1086
+ * lib/og/connection.rb (#handle_db_exception): factored out,
1087
+ update_property alias.
956
1088
 
957
- * lib/og/adapters/* (#exec/query): return :error on error
958
- and add support for raising exceptions,
959
- use handle_db_exception,
960
- added get_row helper method.
1089
+ * lib/og/adapters/* (#exec/query): return :error on error
1090
+ and add support for raising exceptions,
1091
+ use handle_db_exception,
1092
+ added get_row helper method.
961
1093
 
962
- * lib/og.rb: added raise_db_exceptions flag. [mneumann]
1094
+ * lib/og.rb: added raise_db_exceptions flag. [mneumann]
963
1095
 
964
- * test/tc_og.rb: added tests.
1096
+ * test/tc_og.rb: added tests.
965
1097
 
966
- * lib/og/enchant.rb (#reload): implemented [mneumann],
967
- update_property alias.
968
- (#set_property): introduced.
969
- (#update_all): implemented.
970
- (#transaction): implemented.
1098
+ * lib/og/enchant.rb (#reload): implemented [mneumann],
1099
+ update_property alias.
1100
+ (#set_property): introduced.
1101
+ (#update_all): implemented.
1102
+ (#transaction): implemented.
971
1103
 
972
- * lib/og/adapter.rb (#og_read): tupple defualt is 0.
1104
+ * lib/og/adapter.rb (#og_read): tupple defualt is 0.
973
1105
 
974
1106
  22-03-2005 George Moschovitis <gm@navel.gr>
975
1107
 
976
- * lib/og/adapter.rb (#create_db): set create_schema = true. [danjover]
1108
+ * lib/og/adapter.rb (#create_db): set create_schema = true. [danjover]
977
1109
 
978
- * lib/og/meta.rb (#has_many): accepts tree option.
1110
+ * lib/og/meta.rb (#has_many): accepts tree option.
979
1111
 
980
- * lib/og/tree.rb (TreeTraversal): introduced.
1112
+ * lib/og/tree.rb (TreeTraversal): introduced.
981
1113
 
982
- * test/og/tc_tree.rb: introduced.
1114
+ * test/og/tc_tree.rb: introduced.
983
1115
 
984
1116
  21-03-2005 George Moschovitis <gm@navel.gr>
985
1117
 
986
- * lib/og/tree.rb: Introduced Tree mixin.
1118
+ * lib/og/tree.rb: Introduced Tree mixin.
987
1119
 
988
1120
  20-03-2005 George Moschovitis <gm@navel.gr>
989
1121
 
990
- * lib/og/meta.rb: experimented with const_missing hack.
1122
+ * lib/og/meta.rb: experimented with const_missing hack.
991
1123
 
992
- * test/og/tc_automanage.rb: implemented.
1124
+ * test/og/tc_automanage.rb: implemented.
993
1125
 
994
- * lib/og/database.rb (#auto_manage_classes): added, to automanage
995
- classes defined after Database definition. [james_b]
1126
+ * lib/og/database.rb (#auto_manage_classes): added, to automanage
1127
+ classes defined after Database definition. [james_b]
996
1128
 
997
1129
  19-03-2005 George Moschovitis <gm@navel.gr>
998
1130
 
999
- * lib/og/database.rb (#initialize): handle drop_db config parameter.
1131
+ * lib/og/database.rb (#initialize): handle drop_db config parameter.
1000
1132
 
1001
- * lib/og/tree.rb: implemented nested intervals tree traversal
1002
- helper methods,
1003
- fix in parent,
1004
- yeah! the hierarchy is stored.
1133
+ * lib/og/tree.rb: implemented nested intervals tree traversal
1134
+ helper methods,
1135
+ fix in parent,
1136
+ yeah! the hierarchy is stored.
1005
1137
 
1006
1138
  18-03-2005 George Moschovitis <gm@navel.gr>
1007
1139
 
1008
- * Research about nested interval sql tree traversal.
1140
+ * Research about nested interval sql tree traversal.
1009
1141
 
1010
1142
  17-03-2005 George Moschovitis <gm@navel.gr>
1011
1143
 
1012
- * --- VERSION 0.13.0 ---
1144
+ * --- VERSION 0.13.0 ---
1013
1145
 
1014
- * Rakefile: updated.
1146
+ * Rakefile: updated.
1015
1147
 
1016
- * test/*: changes to make the tests pass again.
1148
+ * test/*: changes to make the tests pass again.
1017
1149
 
1018
1150
  15-03-2005 George Moschovitis <gm@navel.gr>
1019
1151
 
1020
- * README: updated.
1152
+ * README: updated.
1021
1153
 
1022
1154
  12-03-2005 George Moschovitis <gm@navel.gr>
1023
1155
 
1024
- * lib/og/validation.rb: introduced,
1025
- (#validate_unique): implemented,
1026
- (#validate_related): implemented.
1156
+ * lib/og/validation.rb: introduced,
1157
+ (#validate_unique): implemented,
1158
+ (#validate_related): implemented.
1027
1159
 
1028
1160
  10-03-2005 George Moschovitis <gm@navel.gr>
1029
1161
 
1030
- * lib/og.rb: removed Name.
1162
+ * lib/og.rb: removed Name.
1031
1163
 
1032
- * install.rb: updated for Og.
1164
+ * install.rb: updated for Og.
1033
1165
 
1034
- * INSTALL: updated for Og.
1166
+ * INSTALL: updated for Og.
1035
1167
 
1036
- * Rakefile: updated, removed nitro dependencies.
1168
+ * Rakefile: updated, removed nitro dependencies.
1037
1169
 
1038
- * CHANGELOG: splitted from the Nitro ChangeLog.
1170
+ * CHANGELOG: splitted from the Nitro ChangeLog.