pgsql 1.5 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conn.c +9 -0
- data/lib/conn_quote.c +0 -3
- data/lib/module.c +1 -1
- data/lib/result.c +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5224c8b4aff8e7d39e4ea3b4bf14ab733d88653caab96507376db480777aaa86
|
4
|
+
data.tar.gz: 717901a45ef2f837911f1aba2cd4ba716354b5a299be9f10bc0684ffd8cda75e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aedc9283cc1bf0179cfedc2f145403aff24fe4267286b4c31566df795d359109799df65010f978271546fa657508d8f3821133a295cf9f8345ce6e23414bbce7
|
7
|
+
data.tar.gz: 2aaf604cdaf9c72ada34eb0cb790235000b4b798d993536980855ffbfb62683aa499cfbaf7701bad8a5626ebd2749de05aa14159ead7ded3d2bb26eb54bfaa7f
|
data/lib/conn.c
CHANGED
@@ -845,6 +845,15 @@ notice_receiver( void *self, const PGresult *result)
|
|
845
845
|
void
|
846
846
|
Init_pgsql_conn( void)
|
847
847
|
{
|
848
|
+
{
|
849
|
+
ID id_require;
|
850
|
+
|
851
|
+
id_require = rb_intern( "require");
|
852
|
+
rb_funcall( Qnil, id_require, 1, rb_str_new2( "date"));
|
853
|
+
rb_funcall( Qnil, id_require, 1, rb_str_new2( "time"));
|
854
|
+
rb_funcall( Qnil, id_require, 1, rb_str_new2( "bigdecimal"));
|
855
|
+
}
|
856
|
+
|
848
857
|
rb_cPgConn = rb_define_class_under( rb_mPg, "Conn", rb_cObject);
|
849
858
|
|
850
859
|
rb_ePgConnFailed = rb_define_class_under( rb_cPgConn, "Failed", rb_ePgError);
|
data/lib/conn_quote.c
CHANGED
@@ -34,7 +34,6 @@ static void quote_all( VALUE self, VALUE ary, VALUE res);
|
|
34
34
|
static VALUE pgconn_quote_identifier( VALUE self, VALUE value);
|
35
35
|
|
36
36
|
|
37
|
-
|
38
37
|
VALUE rb_cDate;
|
39
38
|
VALUE rb_cDateTime;
|
40
39
|
|
@@ -652,8 +651,6 @@ pgconn_quote_identifier( VALUE self, VALUE str)
|
|
652
651
|
void
|
653
652
|
Init_pgsql_conn_quote( void)
|
654
653
|
{
|
655
|
-
rb_require( "date");
|
656
|
-
rb_require( "time");
|
657
654
|
rb_cDate = rb_const_get( rb_cObject, rb_intern( "Date"));
|
658
655
|
rb_cDateTime = rb_const_get( rb_cObject, rb_intern( "DateTime"));
|
659
656
|
rb_cMoney = Qnil;
|
data/lib/module.c
CHANGED
data/lib/result.c
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgsql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bertram Scharpf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autorake
|