pg 1.1.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +0 -6595
- data/History.rdoc +63 -0
- data/Manifest.txt +3 -2
- data/README-Windows.rdoc +4 -4
- data/README.ja.rdoc +1 -2
- data/README.rdoc +43 -8
- data/Rakefile +3 -3
- data/Rakefile.cross +6 -3
- data/ext/errorcodes.def +64 -0
- data/ext/errorcodes.txt +18 -2
- data/ext/extconf.rb +6 -6
- data/ext/pg.c +132 -95
- data/ext/pg.h +20 -18
- data/ext/pg_binary_decoder.c +9 -9
- data/ext/pg_binary_encoder.c +13 -12
- data/ext/pg_coder.c +5 -5
- data/ext/pg_connection.c +388 -298
- data/ext/pg_copy_coder.c +5 -3
- data/ext/pg_record_coder.c +490 -0
- data/ext/pg_result.c +269 -123
- data/ext/pg_text_decoder.c +14 -8
- data/ext/pg_text_encoder.c +180 -48
- data/ext/pg_tuple.c +14 -6
- data/ext/pg_type_map.c +1 -1
- data/ext/pg_type_map_all_strings.c +4 -4
- data/ext/pg_type_map_by_class.c +4 -3
- data/ext/pg_type_map_by_column.c +7 -6
- data/ext/pg_type_map_by_mri_type.c +1 -1
- data/ext/pg_type_map_by_oid.c +3 -2
- data/ext/pg_type_map_in_ruby.c +1 -1
- data/ext/{util.c → pg_util.c} +5 -5
- data/ext/{util.h → pg_util.h} +0 -0
- data/lib/pg.rb +2 -3
- data/lib/pg/basic_type_mapping.rb +79 -16
- data/lib/pg/binary_decoder.rb +1 -0
- data/lib/pg/coder.rb +22 -1
- data/lib/pg/connection.rb +2 -2
- data/lib/pg/constants.rb +1 -0
- data/lib/pg/exceptions.rb +1 -0
- data/lib/pg/result.rb +13 -1
- data/lib/pg/text_decoder.rb +2 -3
- data/lib/pg/text_encoder.rb +8 -18
- data/lib/pg/type_map_by_column.rb +2 -1
- data/spec/helpers.rb +10 -8
- data/spec/pg/basic_type_mapping_spec.rb +150 -13
- data/spec/pg/connection_spec.rb +89 -50
- data/spec/pg/result_spec.rb +193 -3
- data/spec/pg/tuple_spec.rb +55 -2
- data/spec/pg/type_map_by_column_spec.rb +5 -1
- data/spec/pg/type_spec.rb +180 -6
- metadata +17 -15
- metadata.gz.sig +0 -0
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
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
v4qqqa27Bs468d6SoPxjSm8a2mM9HZ4OdWhq4tFsbTeXDVquCfi64OTEaTt2xQdR
|
36
36
|
JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-
|
38
|
+
date: 2019-12-24 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: hoe-mercurial
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.9'
|
61
61
|
type: :development
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.9'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: hoe-highline
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,14 +155,14 @@ dependencies:
|
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '3.
|
158
|
+
version: '3.20'
|
159
159
|
type: :development
|
160
160
|
prerelease: false
|
161
161
|
version_requirements: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - "~>"
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '3.
|
165
|
+
version: '3.20'
|
166
166
|
description: |-
|
167
167
|
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
|
168
168
|
|
@@ -208,6 +208,7 @@ extra_rdoc_files:
|
|
208
208
|
- ext/pg_connection.c
|
209
209
|
- ext/pg_copy_coder.c
|
210
210
|
- ext/pg_errors.c
|
211
|
+
- ext/pg_record_coder.c
|
211
212
|
- ext/pg_result.c
|
212
213
|
- ext/pg_text_decoder.c
|
213
214
|
- ext/pg_text_encoder.c
|
@@ -219,7 +220,7 @@ extra_rdoc_files:
|
|
219
220
|
- ext/pg_type_map_by_mri_type.c
|
220
221
|
- ext/pg_type_map_by_oid.c
|
221
222
|
- ext/pg_type_map_in_ruby.c
|
222
|
-
- ext/
|
223
|
+
- ext/pg_util.c
|
223
224
|
files:
|
224
225
|
- ".gemtest"
|
225
226
|
- BSDL
|
@@ -249,6 +250,7 @@ files:
|
|
249
250
|
- ext/pg_connection.c
|
250
251
|
- ext/pg_copy_coder.c
|
251
252
|
- ext/pg_errors.c
|
253
|
+
- ext/pg_record_coder.c
|
252
254
|
- ext/pg_result.c
|
253
255
|
- ext/pg_text_decoder.c
|
254
256
|
- ext/pg_text_encoder.c
|
@@ -260,8 +262,8 @@ files:
|
|
260
262
|
- ext/pg_type_map_by_mri_type.c
|
261
263
|
- ext/pg_type_map_by_oid.c
|
262
264
|
- ext/pg_type_map_in_ruby.c
|
263
|
-
- ext/
|
264
|
-
- ext/
|
265
|
+
- ext/pg_util.c
|
266
|
+
- ext/pg_util.h
|
265
267
|
- ext/vc/pg.sln
|
266
268
|
- ext/vc/pg_18/pg.vcproj
|
267
269
|
- ext/vc/pg_19/pg_19.vcproj
|
@@ -293,10 +295,11 @@ files:
|
|
293
295
|
- spec/pg/type_map_spec.rb
|
294
296
|
- spec/pg/type_spec.rb
|
295
297
|
- spec/pg_spec.rb
|
296
|
-
homepage: https://
|
298
|
+
homepage: https://github.com/ged/ruby-pg
|
297
299
|
licenses:
|
298
|
-
- BSD-
|
299
|
-
metadata:
|
300
|
+
- BSD-2-Clause
|
301
|
+
metadata:
|
302
|
+
homepage_uri: https://github.com/ged/ruby-pg
|
300
303
|
post_install_message:
|
301
304
|
rdoc_options:
|
302
305
|
- "--main"
|
@@ -307,15 +310,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
307
310
|
requirements:
|
308
311
|
- - ">="
|
309
312
|
- !ruby/object:Gem::Version
|
310
|
-
version: 2.
|
313
|
+
version: '2.2'
|
311
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
315
|
requirements:
|
313
316
|
- - ">="
|
314
317
|
- !ruby/object:Gem::Version
|
315
318
|
version: '0'
|
316
319
|
requirements: []
|
317
|
-
|
318
|
-
rubygems_version: 2.7.8
|
320
|
+
rubygems_version: 3.0.6
|
319
321
|
signing_key:
|
320
322
|
specification_version: 4
|
321
323
|
summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
|
metadata.gz.sig
CHANGED
Binary file
|