sequel_pg 1.1.0-x86-mingw32 → 1.1.1-x86-mingw32

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 CHANGED
@@ -1,4 +1,8 @@
1
- === 1.0.2
1
+ === 1.1.0 (2011-06-01)
2
+
3
+ * Work with new Database#conversion_procs method in Sequel 3.24.0 (jeremyevans)
4
+
5
+ === 1.0.2 (2011-03-16)
2
6
 
3
7
  * Build the Windows gem against PostgreSQL 9.0.1 to support the new default bytea serialization format (jeremyevans)
4
8
 
@@ -6,10 +10,10 @@
6
10
 
7
11
  * Fix handling of timestamps with fractional seconds and offsets (funny-falcon)
8
12
 
9
- === 1.0.1
13
+ === 1.0.1 (2010-09-12)
10
14
 
11
15
  * Correctly handle timestamps with negative offsets and fractional hours (jeremyevans)
12
16
 
13
- === 1.0.0
17
+ === 1.0.0 (2010-08-31)
14
18
 
15
19
  * Initial Public Release
data/README.rdoc CHANGED
@@ -51,7 +51,7 @@ and 1.9.
51
51
 
52
52
  sequel_pg doesn't ship with it's own specs. It's designed to
53
53
  replace a part of Sequel, so it just uses Sequel's specs.
54
- Specifically, the spec_postgres spec from Sequel.
54
+ Specifically, the spec_postgres rake task from Sequel.
55
55
 
56
56
  == Reporting issues/bugs
57
57
 
@@ -125,8 +125,8 @@ above, please test and send me a report including:
125
125
  date format to ISO by default, so unless you are overriding that
126
126
  setting (via Sequel::Postgres.use_iso_date_format = false), you
127
127
  should be OK.
128
- * Adding your own type conversion procs to Sequel::Postgres::PG_TYPES
129
- only has an effect if those types are not handled by default.
128
+ * Adding your own type conversion procs only has an effect if those
129
+ types are not handled by default.
130
130
  * The named_timezones plugin does not integrate with sequel_pg, since
131
131
  sequel_pg does it's own timestamp conversions. The :local and :utc
132
132
  settings for database_timestamp and application_timestamp do work,
@@ -26,6 +26,7 @@ static VALUE spg_Sequel;
26
26
  static VALUE spg_Blob;
27
27
  static VALUE spg_BigDecimal;
28
28
  static VALUE spg_Date;
29
+ static VALUE spg_SQLTime;
29
30
 
30
31
  static VALUE spg_sym_utc;
31
32
  static VALUE spg_sym_local;
@@ -79,8 +80,8 @@ static VALUE spg_time(const char *s) {
79
80
  rb_raise(rb_eArgError, "unexpected time format");
80
81
  }
81
82
 
82
- now = rb_funcall(rb_cTime, spg_id_new, 0);
83
- return rb_funcall(rb_cTime, spg_id_local, 6, rb_funcall(now, spg_id_year, 0), rb_funcall(now, spg_id_month, 0), rb_funcall(now, spg_id_day, 0), INT2NUM(hour), INT2NUM(minute), INT2NUM(second), INT2NUM(usec));
83
+ now = rb_funcall(spg_SQLTime, spg_id_new, 0);
84
+ return rb_funcall(spg_SQLTime, spg_id_local, 7, rb_funcall(now, spg_id_year, 0), rb_funcall(now, spg_id_month, 0), rb_funcall(now, spg_id_day, 0), INT2NUM(hour), INT2NUM(minute), INT2NUM(second), INT2NUM(usec));
84
85
  }
85
86
 
86
87
  static VALUE spg_date(const char *s) {
@@ -395,6 +396,7 @@ void Init_sequel_pg(void) {
395
396
 
396
397
  spg_Sequel = rb_funcall(rb_cObject, cg, 1, rb_str_new2("Sequel"));
397
398
  spg_Blob = rb_funcall(rb_funcall(spg_Sequel, cg, 1, rb_str_new2("SQL")), cg, 1, rb_str_new2("Blob"));
399
+ spg_SQLTime= rb_funcall(spg_Sequel, cg, 1, rb_str_new2("SQLTime"));
398
400
  spg_BigDecimal = rb_funcall(rb_cObject, cg, 1, rb_str_new2("BigDecimal"));
399
401
  spg_Date = rb_funcall(rb_cObject, cg, 1, rb_str_new2("Date"));
400
402
  spg_Postgres = rb_funcall(spg_Sequel, cg, 1, rb_str_new2("Postgres"));
data/lib/1.8/sequel_pg.so CHANGED
Binary file
data/lib/1.9/sequel_pg.so CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_pg
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Jeremy Evans
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-18 00:00:00 -07:00
18
+ date: 2011-09-01 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -42,12 +42,12 @@ dependencies:
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- hash: 103
45
+ hash: 107
46
46
  segments:
47
47
  - 3
48
- - 24
48
+ - 27
49
49
  - 0
50
- version: 3.24.0
50
+ version: 3.27.0
51
51
  type: :runtime
52
52
  version_requirements: *id002
53
53
  description: |