flexirecord 1.0.6 → 1.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 +67 -68
- data/lib/flexirecord.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
|
@@ -1,95 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
---
|
|
1
|
+
CHANGELOG for FlexiRecord:
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 2007-02-10:
|
|
7
|
-
- >
|
|
8
|
-
Changed the order of arguments passed to FlexiRecord::Reference#combine
|
|
3
|
+
2007-02-10:
|
|
4
|
+
* Changed the order of arguments passed to FlexiRecord::Reference#combine
|
|
9
5
|
to match the documentation and renamed the method to
|
|
10
6
|
FlexiRecord::Reference#connect.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- >
|
|
14
|
-
Added FlexiRecord::BaseRecord.add_connected_references as a more simple
|
|
7
|
+
* Minor bugfix in FlexiRecord::Relationship#new
|
|
8
|
+
* Added FlexiRecord::BaseRecord.add_connected_references as a more simple
|
|
15
9
|
way to add many-to-many relations.
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Renamed the word 'column' to 'attr' or 'attribute' at several places in
|
|
11
|
+
2007-02-11:
|
|
12
|
+
* Renamed the word 'column' to 'attr' or 'attribute' at several places in
|
|
20
13
|
the code and documentation.
|
|
21
|
-
|
|
22
|
-
Freezed record arrays, which are fetched through attributes for
|
|
14
|
+
* Freezed record arrays, which are fetched through attributes for
|
|
23
15
|
many-to-one or many-to-many relations.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- >
|
|
33
|
-
Fixed a bug in the FlexiRecord::ListRecord module.
|
|
34
|
-
- >
|
|
35
|
-
'src_to_dst_attr' and 'dst_to_src_attr' arguments of
|
|
16
|
+
* Added a lock method, to lock tables in a nicier way.
|
|
17
|
+
|
|
18
|
+
Release of version 0.0.4
|
|
19
|
+
|
|
20
|
+
2007-02-11:
|
|
21
|
+
* Added FlexiRecord::BaseRecord#transaction method.
|
|
22
|
+
* Fixed a bug in the FlexiRecord::ListRecord module.
|
|
23
|
+
* 'src_to_dst_attr' and 'dst_to_src_attr' arguments of
|
|
36
24
|
FlexiRecord::Reference.new are now allowed to be nil.
|
|
37
25
|
|
|
38
|
-
|
|
26
|
+
Release of version 0.0.5
|
|
27
|
+
|
|
28
|
+
2007-02-16:
|
|
29
|
+
* SELECT DISTINCT has been replaced by SELECT (ALL).
|
|
30
|
+
|
|
31
|
+
Release of version 0.0.6
|
|
39
32
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
SELECT DISTINCT has been replaced by SELECT (ALL).
|
|
33
|
+
2007-02-16:
|
|
34
|
+
* Added two documentation comments.
|
|
43
35
|
|
|
44
|
-
-
|
|
36
|
+
2007-03-01:
|
|
37
|
+
* PostgreSQL's types 'date', 'timestamp' and 'timestamptz' now get
|
|
38
|
+
converted to a ruby Time object, when being read from the database.
|
|
39
|
+
Ruby Time objects get converted to the following string representation,
|
|
40
|
+
when being written to the database: 'YYYY-MM-DD HH:MM:SS.uuuuuu+/-hh',
|
|
41
|
+
where hh is the offset in hours from UTC. This string can be
|
|
42
|
+
(implicitly or explicitly) type casted by PostgreSQL to a Date/Time
|
|
43
|
+
type.
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
- >
|
|
48
|
-
Added two documentation comments.
|
|
45
|
+
Release of version 1.0.0
|
|
49
46
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
2007-03-02:
|
|
48
|
+
* Fixed a bug leading to wrong microseconds in timestamps read from the
|
|
49
|
+
database.
|
|
53
50
|
|
|
54
|
-
|
|
51
|
+
Release of version 1.0.1
|
|
55
52
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
2007-03-08:
|
|
54
|
+
* Fixed a bug, which caused a runtime error, when reading negative
|
|
55
|
+
numeric data from the database.
|
|
59
56
|
|
|
60
|
-
|
|
57
|
+
Release of version 1.0.2
|
|
61
58
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
2007-03-09:
|
|
60
|
+
* Bug in PostgreSQL 8.1 compatiblity patch, which occured when being used
|
|
61
|
+
with triggers, was fixed.
|
|
62
|
+
* Added support for floats in addition to rationals/numerics.
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
Release of version 1.0.3
|
|
67
65
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
- >
|
|
72
|
-
Added support for floats in addition to rationals/numerics.
|
|
66
|
+
2007-03-15:
|
|
67
|
+
* A bug in the preloader has been fixed, which caused trouble when a
|
|
68
|
+
record array contained duplicate objects (with the same primary key).
|
|
73
69
|
|
|
74
|
-
|
|
70
|
+
Release of version 1.0.4
|
|
75
71
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
2007-03-26:
|
|
73
|
+
* A serious bug was fixed, which caused negative numerics with a
|
|
74
|
+
fractional part to be read incorrectly from the database.
|
|
79
75
|
|
|
80
|
-
|
|
76
|
+
Release of version 1.0.5
|
|
81
77
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
2007-04-17:
|
|
79
|
+
* When a database error occurs, the corresponding connection is marked as
|
|
80
|
+
"spoiled" and will not be reused by the current or other threads. This
|
|
81
|
+
is neccessary to get rid of broken connections, as the ruby "postgres"
|
|
82
|
+
library doesn't pass PostgreSQL error codes, making it impossible to
|
|
83
|
+
cleanly detect bad connections.
|
|
84
|
+
* PGError's raised during opening of a connection are now catched and
|
|
85
|
+
transformed to FlexiRecord::DatabaseError exceptions.
|
|
85
86
|
|
|
86
|
-
|
|
87
|
+
Release of version 1.0.6
|
|
87
88
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
- >
|
|
92
|
-
PGError's raised during opening of a connection are now catched and transformed to FlexiRecord::DatabaseError exceptions.
|
|
89
|
+
2007-12-08:
|
|
90
|
+
* A bug, which caused dropped table columns to be treated like existing
|
|
91
|
+
table columns, was fixed.
|
|
93
92
|
|
|
94
|
-
|
|
93
|
+
Release of version 1.0.7
|
|
95
94
|
|
data/lib/flexirecord.rb
CHANGED
|
@@ -657,7 +657,7 @@ module FlexiRecord
|
|
|
657
657
|
'JOIN "pg_class" ON "pg_attribute"."attrelid" = "pg_class"."oid" ' <<
|
|
658
658
|
'JOIN "pg_namespace" ON "pg_class"."relnamespace" = "pg_namespace"."oid" ' <<
|
|
659
659
|
'LEFT JOIN "pg_constraint" ON "pg_class"."oid" = "pg_constraint"."conrelid" ' <<
|
|
660
|
-
'WHERE "pg_attribute"."attnum" > 0 ' <<
|
|
660
|
+
'WHERE "pg_attribute"."attnum" > 0 AND "pg_attribute"."attisdropped" = FALSE ' <<
|
|
661
661
|
'AND "pg_class"."relname" = $ ' <<
|
|
662
662
|
'AND "pg_namespace"."nspname" = $ ' <<
|
|
663
663
|
'AND "pg_constraint"."contype" = $ ' <<
|
metadata
CHANGED
|
@@ -3,12 +3,12 @@ rubygems_version: 0.9.0
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: flexirecord
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.0.
|
|
7
|
-
date: 2007-
|
|
6
|
+
version: 1.0.7
|
|
7
|
+
date: 2007-12-08 00:00:00 +00:00
|
|
8
8
|
summary: Object-Oriented Database Access Library (ORM layer)
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib/
|
|
11
|
-
email: jan.behrens@flexiguided.de
|
|
11
|
+
email: jan.behrens.n4272.expires-2008-06@flexiguided.de
|
|
12
12
|
homepage: http://www.flexiguided.de/publications.flexirecord.en.html
|
|
13
13
|
rubyforge_project:
|
|
14
14
|
description:
|