pg 1.2.0-x64-mingw32 → 1.2.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.rdoc +7 -0
- data/README.rdoc +1 -1
- data/Rakefile.cross +1 -1
- data/ext/pg_result.c +10 -4
- data/lib/2.2/pg_ext.so +0 -0
- data/lib/2.3/pg_ext.so +0 -0
- data/lib/2.4/pg_ext.so +0 -0
- data/lib/2.5/pg_ext.so +0 -0
- data/lib/2.6/pg_ext.so +0 -0
- data/lib/libpq.dll +0 -0
- data/lib/pg.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e949ed3aa19f653070f03c7787a21932604a19a329711ccd1d80f736c8ceb848
|
4
|
+
data.tar.gz: 11c9009c3d6015dd3bc0fdf353cfbc1f92a9f0d18cfab6a60778b037d77c0c56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a29e80d2bff55dac683ef68c36e57f9c34a28b1a0fd92c7c8ee2e98c03afe934874c1b74d2c4970978329c9f9adbaa8034fde4b8fda3a4909c8927fb2d058477
|
7
|
+
data.tar.gz: f91f279215bab7bafb38f050ee4a4491394924ee1d6630cf84018922af3575624ff282d7e841f27297a591f227890fa96f9cbe9dea6a9730e262230cdf56af85
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -118,7 +118,7 @@ PG::Coder objects can be used to set up a PG::TypeMap or alternatively
|
|
118
118
|
to convert single values to/from their string representation.
|
119
119
|
|
120
120
|
The following PostgreSQL column types are supported by ruby-pg (TE = Text Encoder, TD = Text Decoder, BE = Binary Encoder, BD = Binary Decoder):
|
121
|
-
* Integer: {TE}[rdoc-ref:PG::TextEncoder::Integer], {TD}[rdoc-ref:PG::TextDecoder::Integer], {BD}[rdoc-ref:PG::BinaryDecoder::Integer]
|
121
|
+
* Integer: {TE}[rdoc-ref:PG::TextEncoder::Integer], {TD}[rdoc-ref:PG::TextDecoder::Integer], {BD}[rdoc-ref:PG::BinaryDecoder::Integer] 💡 No links? Switch to {here}[https://deveiate.org/code/pg/README_rdoc.html#label-Type+Casts] 💡
|
122
122
|
* BE: {Int2}[rdoc-ref:PG::BinaryEncoder::Int2], {Int4}[rdoc-ref:PG::BinaryEncoder::Int4], {Int8}[rdoc-ref:PG::BinaryEncoder::Int8]
|
123
123
|
* Float: {TE}[rdoc-ref:PG::TextEncoder::Float], {TD}[rdoc-ref:PG::TextDecoder::Float], {BD}[rdoc-ref:PG::BinaryDecoder::Float]
|
124
124
|
* Numeric: {TE}[rdoc-ref:PG::TextEncoder::Numeric], {TD}[rdoc-ref:PG::TextDecoder::Numeric]
|
data/Rakefile.cross
CHANGED
@@ -295,7 +295,7 @@ task 'gem:windows' => ['ChangeLog'] do
|
|
295
295
|
RakeCompilerDock.sh <<-EOT
|
296
296
|
mkdir ~/.gem &&
|
297
297
|
(cp build/gem/gem-*.pem ~/.gem/ || true) &&
|
298
|
-
|
298
|
+
bundle install --local &&
|
299
299
|
rake cross native gem MAKE="make -j`nproc`"
|
300
300
|
EOT
|
301
301
|
end
|
data/ext/pg_result.c
CHANGED
@@ -167,6 +167,11 @@ static const rb_data_type_t pgresult_type = {
|
|
167
167
|
#endif
|
168
168
|
};
|
169
169
|
|
170
|
+
/* Needed by sequel_pg gem, do not delete */
|
171
|
+
int pg_get_result_enc_idx(VALUE self)
|
172
|
+
{
|
173
|
+
return pgresult_get_this(self)->enc_idx;
|
174
|
+
}
|
170
175
|
|
171
176
|
/*
|
172
177
|
* Global functions
|
@@ -333,8 +338,7 @@ pg_result_check( VALUE self )
|
|
333
338
|
* Special care must be taken when PG::Tuple objects are used.
|
334
339
|
* In this case #clear must not be called unless all PG::Tuple objects of this result are fully materialized.
|
335
340
|
*
|
336
|
-
* If PG::Result#autoclear? is true then the result is marked as cleared
|
337
|
-
* and the underlying C struct will be cleared automatically by libpq.
|
341
|
+
* If PG::Result#autoclear? is +true+ then the result is only marked as cleared but clearing the underlying C struct will happen when the callback returns.
|
338
342
|
*
|
339
343
|
*/
|
340
344
|
VALUE
|
@@ -362,8 +366,10 @@ pgresult_cleared_p( VALUE self )
|
|
362
366
|
* call-seq:
|
363
367
|
* res.autoclear? -> boolean
|
364
368
|
*
|
365
|
-
* Returns +true+ if the underlying C struct will be cleared
|
366
|
-
*
|
369
|
+
* Returns +true+ if the underlying C struct will be cleared at the end of a callback.
|
370
|
+
* This applies only to Result objects received by the block to PG::Cinnection#set_notice_receiver .
|
371
|
+
*
|
372
|
+
* All other Result objects are automatically cleared by the GC when the object is no longer in use or manually by PG::Result#clear .
|
367
373
|
*
|
368
374
|
*/
|
369
375
|
VALUE
|
data/lib/2.2/pg_ext.so
CHANGED
Binary file
|
data/lib/2.3/pg_ext.so
CHANGED
Binary file
|
data/lib/2.4/pg_ext.so
CHANGED
Binary file
|
data/lib/2.5/pg_ext.so
CHANGED
Binary file
|
data/lib/2.6/pg_ext.so
CHANGED
Binary file
|
data/lib/libpq.dll
CHANGED
Binary file
|
data/lib/pg.rb
CHANGED
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.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
83uuAYSy65yXDGXXPVBeKPVnYrqp91pqpS5Nh7wfuiCrE8lgU8PATh7K4BV1UhAT
|
35
35
|
0MHbAT42wTYkfUj3
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2020-01-02 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: hoe-mercurial
|
metadata.gz.sig
CHANGED
Binary file
|