pg 1.4.0-x64-mingw-ucrt → 1.4.1-x64-mingw-ucrt

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: 4e53577417ccc447cc55b257d57ced4c1031aed38f2949ddbc122153ee371cb1
4
- data.tar.gz: bd0c9be6c27085b63c00f9713f3872adbd31f7d30228176ebcaad36b80babadf
3
+ metadata.gz: 50d03a3602532733cb2fbf3fcd9dd9eb10b0e20b3426dac75a6f68f6463e57b7
4
+ data.tar.gz: 28131fd9891ef1b4080f2be3d33ece022dfd80ac6b6fe2e6e817909c8ed1a8a5
5
5
  SHA512:
6
- metadata.gz: c21870e59f961cfb2593b269977d59757493ac5cb59ef8c36d910848ae7554b60685f0abf661949c873059e6c04a0e9557e4b80f76773b393b18ecc788f49684
7
- data.tar.gz: 29cf29df5ebdba02c29c00b33e4ffdbc6f07c856e6478edeee613a165e5d15c8380f3300eb40cb9ede75fb655ad0fe0bc24d5feeedf859835608c727f2e86385
6
+ metadata.gz: 4c03963e7fe40f6bde3e206e0c1c4bc0f134888945bf059269298641962574ed3443700155f5a2dac0a540bc5263c22cdc0ec6301f2aa8c32cd5fdaa455c0684
7
+ data.tar.gz: e198b4992c8bb4ea293d9f403b9c7d0036cd0292deff481041f33257c2cdec9631e96d97f42186d2e65a6fb353d051dc7f38e5c190c2616b7550dcc158bcfed4
checksums.yaml.gz.sig CHANGED
Binary file
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/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: x64-mingw-ucrt
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