flexirecord 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -3
- data/lib/flexirecord.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/flexirecord.rb
CHANGED
@@ -1328,7 +1328,7 @@ module FlexiRecord
|
|
1328
1328
|
raise "Unexpected format for numeric data from database."
|
1329
1329
|
end
|
1330
1330
|
if $3
|
1331
|
-
$1.to_i + Rational($3.to_i, 10**($3.length))
|
1331
|
+
$1.to_i + Rational($3.to_i, 10**($3.length)) * (($1[0, 1] == '-') ? -1 : 1)
|
1332
1332
|
else
|
1333
1333
|
$1.to_i
|
1334
1334
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ 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-03-
|
6
|
+
version: 1.0.5
|
7
|
+
date: 2007-03-25 00:00:00 +00:00
|
8
8
|
summary: Object-Oriented Database Access Library (ORM layer)
|
9
9
|
require_paths:
|
10
10
|
- lib/
|