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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa864a9b8413673f784d9ac667c8204642f3b3efc213afe2f40260f567db2aab
4
- data.tar.gz: aff2d0ffa8a8db8bbf8880ef62dae6b0389a7329c3f2e0cb55153c0f9f00e60f
3
+ metadata.gz: 5224c8b4aff8e7d39e4ea3b4bf14ab733d88653caab96507376db480777aaa86
4
+ data.tar.gz: 717901a45ef2f837911f1aba2cd4ba716354b5a299be9f10bc0684ffd8cda75e
5
5
  SHA512:
6
- metadata.gz: 640b0dc2721468bd7734d21d4dcfb696719450f484d3be61a9c2aa190074487b3fd32d56a821320ef047a358287f1de272bb87507180dd38625f6ff90ecee690
7
- data.tar.gz: 0f40813ca8581653da842afe6beb8da87f486005b22b3719af5324440504b40c4b3bfee3deace4ac55145d612835ce9966cae596c7be2170ec6bd79a4bbd672d
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);
@@ -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;
@@ -8,7 +8,7 @@
8
8
  #include "result.h"
9
9
 
10
10
 
11
- #define PGSQL_VERSION "1.5"
11
+ #define PGSQL_VERSION "1.5.1"
12
12
 
13
13
 
14
14
  VALUE rb_mPg;
@@ -810,8 +810,6 @@ pgresult_oid( VALUE self)
810
810
  void
811
811
  Init_pgsql_result( void)
812
812
  {
813
- rb_require( "bigdecimal");
814
-
815
813
  rb_cPgResult = rb_define_class_under( rb_mPg, "Result", rb_cObject);
816
814
 
817
815
 
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: '1.5'
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-12 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autorake