sequel_pg 1.6.3 → 1.6.4

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 (3) hide show
  1. data/CHANGELOG +7 -3
  2. data/ext/sequel_pg/sequel_pg.c +1 -3
  3. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,10 +1,14 @@
1
+ === 1.6.4 (2013-01-14)
2
+
3
+ * Remove type conversion of int2vector and money types on PostgreSQL, since previous conversions were wrong (jeremyevans) (#8)
4
+
1
5
  === 1.6.3 (2012-11-30)
2
6
 
3
7
  * Make streaming support not swallow errors when rows are not retrieved (jeremyevans)
4
8
 
5
9
  === 1.6.2 (2012-11-16)
6
10
 
7
- * Make sequel_pg runnable on rubinius by fixing bad rb_global_variable call (dbussink)
11
+ * Make sequel_pg runnable on rubinius by fixing bad rb_global_variable call (dbussink) (#7)
8
12
 
9
13
  === 1.6.1 (2012-10-25)
10
14
 
@@ -64,9 +68,9 @@
64
68
 
65
69
  * Build the Windows gem against PostgreSQL 9.0.1 to support the new default bytea serialization format (jeremyevans)
66
70
 
67
- * Allow use of Sequel::Postgres::PG_TYPES to add custom conversion support for types not handled by default (funny-falcon)
71
+ * Allow use of Sequel::Postgres::PG_TYPES to add custom conversion support for types not handled by default (funny-falcon) (#2)
68
72
 
69
- * Fix handling of timestamps with fractional seconds and offsets (funny-falcon)
73
+ * Fix handling of timestamps with fractional seconds and offsets (funny-falcon) (#1)
70
74
 
71
75
  === 1.0.1 (2010-09-12)
72
76
 
@@ -454,7 +454,6 @@ static VALUE spg__col_value(VALUE self, PGresult *res, long i, long j, VALUE* co
454
454
  break;
455
455
  case 20: /* integer */
456
456
  case 21:
457
- case 22:
458
457
  case 23:
459
458
  case 26:
460
459
  rv = rb_cstr2inum(v, 10);
@@ -471,8 +470,7 @@ static VALUE spg__col_value(VALUE self, PGresult *res, long i, long j, VALUE* co
471
470
  rv = rb_float_new(rb_cstr_to_dbl(v, Qfalse));
472
471
  }
473
472
  break;
474
- case 790: /* numeric */
475
- case 1700:
473
+ case 1700: /* numeric */
476
474
  rv = rb_funcall(spg_BigDecimal, spg_id_new, 1, rb_str_new(v, PQgetlength(res, i, j)));
477
475
  break;
478
476
  case 1082: /* date */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-30 00:00:00.000000000 Z
12
+ date: 2013-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg