og 0.9.3 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +64 -0
- data/README.og +2 -2
- data/examples/og/mock_example.rb +1 -4
- data/examples/og/mysql_to_psql.rb +2 -4
- data/lib/glue/cache.rb +32 -34
- data/lib/glue/number.rb +3 -9
- data/lib/glue/time.rb +14 -22
- data/lib/glue/validation.rb +2 -4
- data/lib/og/backend.rb +36 -40
- data/lib/og/backends/psql.rb +7 -7
- data/lib/og/backends/sqlite.rb +383 -0
- data/lib/og/connection.rb +34 -34
- data/lib/og/meta.rb +8 -0
- data/lib/og/version.rb +1 -1
- metadata +3 -2
data/lib/og/meta.rb
CHANGED
@@ -315,6 +315,14 @@ module MetaLanguage
|
|
315
315
|
}
|
316
316
|
end
|
317
317
|
|
318
|
+
# Declares that this class can join with another class.
|
319
|
+
# The join parameters are given so the join-compatible
|
320
|
+
# methods are generated.
|
321
|
+
|
322
|
+
def joins(klass, options = {})
|
323
|
+
meta :joins, [klass, options]
|
324
|
+
end
|
325
|
+
|
318
326
|
end
|
319
327
|
|
320
328
|
end
|
data/lib/og/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: og
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date: 2005-02-
|
6
|
+
version: 0.9.5
|
7
|
+
date: 2005-02-04
|
8
8
|
summary: Og (ObjectGraph)
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- lib/og/meta.rb
|
65
65
|
- lib/og/backend.rb
|
66
66
|
- lib/og/backends/mysql.rb
|
67
|
+
- lib/og/backends/sqlite.rb
|
67
68
|
- lib/og/backends/psql.rb
|
68
69
|
- lib/og.rb
|
69
70
|
- test/tc_og.rb
|