pg 1.4.0-x64-mingw32 → 1.4.1-x64-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: 83b37ca50e2504612bd3949dc5a8f4a09561282652ded110e7c0a83056a4209d
4
- data.tar.gz: 02f1b2fd8686b454964d742b9b23d392726866c7f3b569aa8cb06d3a8b044d84
3
+ metadata.gz: 53591e7eff2af988bca30a629944504c176431e4793aa6e7d04c31afc441facc
4
+ data.tar.gz: 771624705d601ed2c6927ae834c9725b14bfaa6773e7ec003489abeeea159760
5
5
  SHA512:
6
- metadata.gz: f3d288d0865f663ce3433c4cb516c2f60162f2485b7f2f97cf9435c2cf3a46bb45cf4e1d52af89291d1c6f2340f1780d1074e97add4d78dc8d072c984cfbfc22
7
- data.tar.gz: c25f6b288d8132619438a596b0046457a7cdcedc27710b0d3c4e1830639e5925687a38f51d4848c25b057d1cca97cf621022750c4057046295e9de1c1f3910a5
6
+ metadata.gz: 780a790e32e3da27e9f451b0cda237a7f0c7d301e8e9cc0ded5baef29c0fac8a794c01d1ab8625c8c33292208d3edb26694f6592b256daef014340da8a32d901
7
+ data.tar.gz: 9330ace97fa532633a798c26f907c58de63098b4d9dc8eceab5a22d160fa8e7ce1d24b89f9ec24e786352b73dc9fc3f032343d3b5b2c1479fa72117d78769798
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/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/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-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