pg 1.4.0-x86-mingw32 → 1.4.1-x86-mingw32

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: e48597f89bac6918195fe9f16de48914f4d09be542566af50bdf13b73ed2d7dd
4
- data.tar.gz: 38840c47af75b24c981e8d015e91bec03df7a4b203c47da486b0eecf7056992a
3
+ metadata.gz: 76778e4d8d481861578ea02d5f722abda7f3f06d691efbc852616c0ecf1413cf
4
+ data.tar.gz: fde8ff4c2a14d46fcccb3307b6d1198757ed4f8b64bbf3ce8f5237e1c97c603b
5
5
  SHA512:
6
- metadata.gz: 7cf3fc469576ce2762ad8d964efa7d9b130a4aa7f6e111ee7491bc285aeb9869efdcfbada528c24e75f90adb8e49e82acdc746ab0d0f8a12814e2b70440e1628
7
- data.tar.gz: 3a1b732fe949585f4e5bcbda559432b09b85b46194186175dcdef44dba2e8c9521036f15780ba74712932bbabe2bca97a51dc9f94bbad66be2cecebb649a11c2
6
+ metadata.gz: a881f889485b205da00d4b15537b0311eff4a7394be049746c35065b3930b6fd10c8eb15a553e1d55851888fdf476fbe1691a9a3c56f28e83766ff1fa912adb9
7
+ data.tar.gz: ce0840b31f0f61c7e5c2ebf83ef988135006dd32c68295bc6e40e13fbfda899fa72133cda26651d9db608649c6c35d1a8d3f90203c21939f74f89872cd6b57fe
checksums.yaml.gz.sig CHANGED
@@ -1,5 +1,3 @@
1
- ��"�5g�`�;yO^߯`���C2q��V]��QoyF�3ݖkY�f�񿢖�����LZ�;Oi����Ć��,�
2
- ��x�� ,G���������Fф�L/
3
- L����p(���۫���$kR��&e��mC>�O`ʝjq�֠A�g��y��Z-�,j�Μ�{k�[ ���b�b���4��!-��l5Dw\BԔ���ɐ���Z�@��#&.s%��g��$v�|fYGB-�oW�cϛ�s��CL3D֡�@������!���j���
4
- |��5O4-ͩ��V�
5
- �K��67�����u��geX.��Cwۅ��V�{8I��[E���k����j�.;����`ز��ž���n���_�c�
1
+ |6��fGh��?S�.l�5F�nF���滆s�-�طԘǷfk�v���[� ��8��2�%� �n��q�"nxĂF&no�vo��c2Ǟ��'1k/��#���
2
+ o�ռ���!�M��Y�sI3�
3
+ �? D_ܓ����+�^d�&��-a�`v';�0���Wd���^� -���޲q���� x��H�g*;����,\Ņ��LR��+�.9Y��=}����gQ'�rb���:[Ttt��I?�,z��� y��]b�G��6 �% F��봜���7@�S8v��RpI.Y���
data/History.rdoc CHANGED
@@ -1,4 +1,12 @@
1
- == v1.4.0 [YYYY-MM-DD] Lars Kanis <lars@greiz-reinsdorf.de>
1
+ == v1.4.1 [2022-06-24] Lars Kanis <lars@greiz-reinsdorf.de>
2
+
3
+ Bugfixes:
4
+
5
+ - Fix another ruby-2.7 keyword warning. #465
6
+ - Allow PG::Error to be created without arguments. #466
7
+
8
+
9
+ == v1.4.0 [2022-06-20] Lars Kanis <lars@greiz-reinsdorf.de>
2
10
 
3
11
  Added:
4
12
 
data/ext/pg_result.c CHANGED
@@ -1476,10 +1476,10 @@ pgresult_stream_any(VALUE self, void (*yielder)(VALUE, int, int, void*), void* d
1476
1476
 
1477
1477
  pgresult = gvl_PQgetResult(pgconn);
1478
1478
  if( pgresult == NULL )
1479
- rb_raise( rb_eNoResultError, "no result received - possibly an intersection with another result retrieval");
1479
+ rb_raise( rb_eNoResultError, "no result received - possibly an intersection with another query");
1480
1480
 
1481
1481
  if( nfields != PQnfields(pgresult) )
1482
- rb_raise( rb_eInvalidChangeOfResultFields, "number of fields must not change in single row mode");
1482
+ rb_raise( rb_eInvalidChangeOfResultFields, "number of fields changed in single row mode from %d to %d - this is a sign for intersection with another query", nfields, PQnfields(pgresult));
1483
1483
 
1484
1484
  this->pgresult = pgresult;
1485
1485
  }
data/lib/2.5/pg_ext.so CHANGED
Binary file
data/lib/2.6/pg_ext.so CHANGED
Binary file
data/lib/2.7/pg_ext.so CHANGED
Binary file
data/lib/3.0/pg_ext.so CHANGED
Binary file
data/lib/3.1/pg_ext.so CHANGED
Binary file
data/lib/pg/connection.rb CHANGED
@@ -657,8 +657,8 @@ class PG::Connection
657
657
  # connection will have its +client_encoding+ set accordingly.
658
658
  #
659
659
  # Raises a PG::Error if the connection fails.
660
- def new(*args, **kwargs)
661
- conn = connect_to_hosts(*args, **kwargs)
660
+ def new(*args)
661
+ conn = connect_to_hosts(*args)
662
662
 
663
663
  if block_given?
664
664
  begin
data/lib/pg/exceptions.rb CHANGED
@@ -7,7 +7,7 @@ require 'pg' unless defined?( PG )
7
7
  module PG
8
8
 
9
9
  class Error < StandardError
10
- def initialize(msg, connection: nil, result: nil)
10
+ def initialize(msg=nil, connection: nil, result: nil)
11
11
  @connection = connection
12
12
  @result = result
13
13
  super(msg)
data/lib/pg/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module PG
2
2
  # Library version
3
- VERSION = '1.4.0'
3
+ VERSION = '1.4.1'
4
4
  end
Binary file
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Michael Granger
@@ -36,7 +36,7 @@ cert_chain:
36
36
  oL1mUdzB8KrZL4/WbG5YNX6UTtJbIOu9qEFbBAy4/jtIkJX+dlNoFwd4GXQW1YNO
37
37
  nA==
38
38
  -----END CERTIFICATE-----
39
- date: 2022-06-20 00:00:00.000000000 Z
39
+ date: 2022-06-24 00:00:00.000000000 Z
40
40
  dependencies: []
41
41
  description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
42
42
  9.3 and later.
metadata.gz.sig CHANGED
Binary file