pg 0.18.2 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data/.appveyor.yml +42 -0
  4. data/.gems +6 -0
  5. data/.github/workflows/binary-gems.yml +117 -0
  6. data/.github/workflows/source-gem.yml +141 -0
  7. data/.gitignore +22 -0
  8. data/.hgsigs +34 -0
  9. data/.hgtags +41 -0
  10. data/.irbrc +23 -0
  11. data/.pryrc +23 -0
  12. data/.tm_properties +21 -0
  13. data/.travis.yml +49 -0
  14. data/BSDL +2 -2
  15. data/Gemfile +14 -0
  16. data/History.md +884 -0
  17. data/Manifest.txt +8 -21
  18. data/README-Windows.rdoc +17 -28
  19. data/README.ja.md +300 -0
  20. data/README.md +286 -0
  21. data/Rakefile +40 -131
  22. data/Rakefile.cross +88 -70
  23. data/certs/ged.pem +24 -0
  24. data/certs/larskanis-2022.pem +26 -0
  25. data/certs/larskanis-2023.pem +24 -0
  26. data/ext/errorcodes.def +113 -0
  27. data/ext/errorcodes.rb +1 -1
  28. data/ext/errorcodes.txt +36 -2
  29. data/ext/extconf.rb +124 -54
  30. data/ext/gvl_wrappers.c +8 -0
  31. data/ext/gvl_wrappers.h +44 -33
  32. data/ext/pg.c +227 -201
  33. data/ext/pg.h +99 -100
  34. data/ext/pg_binary_decoder.c +164 -16
  35. data/ext/pg_binary_encoder.c +249 -22
  36. data/ext/pg_coder.c +189 -44
  37. data/ext/pg_connection.c +1874 -1174
  38. data/ext/pg_copy_coder.c +398 -42
  39. data/ext/pg_errors.c +1 -1
  40. data/ext/pg_record_coder.c +522 -0
  41. data/ext/pg_result.c +727 -232
  42. data/ext/pg_text_decoder.c +629 -43
  43. data/ext/pg_text_encoder.c +269 -102
  44. data/ext/pg_tuple.c +572 -0
  45. data/ext/pg_type_map.c +64 -23
  46. data/ext/pg_type_map_all_strings.c +21 -7
  47. data/ext/pg_type_map_by_class.c +59 -27
  48. data/ext/pg_type_map_by_column.c +86 -43
  49. data/ext/pg_type_map_by_mri_type.c +49 -20
  50. data/ext/pg_type_map_by_oid.c +62 -29
  51. data/ext/pg_type_map_in_ruby.c +56 -22
  52. data/ext/{util.c → pg_util.c} +12 -12
  53. data/ext/{util.h → pg_util.h} +2 -2
  54. data/lib/pg/basic_type_map_based_on_result.rb +67 -0
  55. data/lib/pg/basic_type_map_for_queries.rb +198 -0
  56. data/lib/pg/basic_type_map_for_results.rb +104 -0
  57. data/lib/pg/basic_type_registry.rb +299 -0
  58. data/lib/pg/binary_decoder/date.rb +9 -0
  59. data/lib/pg/binary_decoder/timestamp.rb +26 -0
  60. data/lib/pg/binary_encoder/timestamp.rb +20 -0
  61. data/lib/pg/coder.rb +36 -13
  62. data/lib/pg/connection.rb +797 -77
  63. data/lib/pg/exceptions.rb +16 -2
  64. data/lib/pg/result.rb +24 -7
  65. data/lib/pg/text_decoder/date.rb +18 -0
  66. data/lib/pg/text_decoder/inet.rb +9 -0
  67. data/lib/pg/text_decoder/json.rb +14 -0
  68. data/lib/pg/text_decoder/numeric.rb +9 -0
  69. data/lib/pg/text_decoder/timestamp.rb +30 -0
  70. data/lib/pg/text_encoder/date.rb +12 -0
  71. data/lib/pg/text_encoder/inet.rb +28 -0
  72. data/lib/pg/text_encoder/json.rb +14 -0
  73. data/lib/pg/text_encoder/numeric.rb +9 -0
  74. data/lib/pg/text_encoder/timestamp.rb +24 -0
  75. data/lib/pg/tuple.rb +30 -0
  76. data/lib/pg/type_map_by_column.rb +3 -2
  77. data/lib/pg/version.rb +4 -0
  78. data/lib/pg.rb +106 -41
  79. data/misc/openssl-pg-segfault.rb +31 -0
  80. data/misc/postgres/History.txt +9 -0
  81. data/misc/postgres/Manifest.txt +5 -0
  82. data/misc/postgres/README.txt +21 -0
  83. data/misc/postgres/Rakefile +21 -0
  84. data/misc/postgres/lib/postgres.rb +16 -0
  85. data/misc/ruby-pg/History.txt +9 -0
  86. data/misc/ruby-pg/Manifest.txt +5 -0
  87. data/misc/ruby-pg/README.txt +21 -0
  88. data/misc/ruby-pg/Rakefile +21 -0
  89. data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
  90. data/pg.gemspec +34 -0
  91. data/rakelib/task_extension.rb +46 -0
  92. data/sample/array_insert.rb +1 -1
  93. data/sample/async_api.rb +4 -8
  94. data/sample/async_copyto.rb +1 -1
  95. data/sample/async_mixed.rb +1 -1
  96. data/sample/check_conn.rb +1 -1
  97. data/sample/copydata.rb +71 -0
  98. data/sample/copyfrom.rb +1 -1
  99. data/sample/copyto.rb +1 -1
  100. data/sample/cursor.rb +1 -1
  101. data/sample/disk_usage_report.rb +6 -15
  102. data/sample/issue-119.rb +2 -2
  103. data/sample/losample.rb +1 -1
  104. data/sample/minimal-testcase.rb +2 -2
  105. data/sample/notify_wait.rb +1 -1
  106. data/sample/pg_statistics.rb +6 -15
  107. data/sample/replication_monitor.rb +9 -18
  108. data/sample/test_binary_values.rb +1 -1
  109. data/sample/wal_shipper.rb +2 -2
  110. data/sample/warehouse_partitions.rb +8 -17
  111. data/translation/.po4a-version +7 -0
  112. data/translation/po/all.pot +936 -0
  113. data/translation/po/ja.po +1036 -0
  114. data/translation/po4a.cfg +12 -0
  115. data.tar.gz.sig +0 -0
  116. metadata +130 -201
  117. metadata.gz.sig +0 -0
  118. data/ChangeLog +0 -5545
  119. data/History.rdoc +0 -313
  120. data/README.ja.rdoc +0 -14
  121. data/README.rdoc +0 -161
  122. data/lib/pg/basic_type_mapping.rb +0 -399
  123. data/lib/pg/constants.rb +0 -11
  124. data/lib/pg/text_decoder.rb +0 -42
  125. data/lib/pg/text_encoder.rb +0 -27
  126. data/spec/data/expected_trace.out +0 -26
  127. data/spec/data/random_binary_data +0 -0
  128. data/spec/helpers.rb +0 -355
  129. data/spec/pg/basic_type_mapping_spec.rb +0 -251
  130. data/spec/pg/connection_spec.rb +0 -1535
  131. data/spec/pg/result_spec.rb +0 -449
  132. data/spec/pg/type_map_by_class_spec.rb +0 -138
  133. data/spec/pg/type_map_by_column_spec.rb +0 -222
  134. data/spec/pg/type_map_by_mri_type_spec.rb +0 -136
  135. data/spec/pg/type_map_by_oid_spec.rb +0 -149
  136. data/spec/pg/type_map_in_ruby_spec.rb +0 -164
  137. data/spec/pg/type_map_spec.rb +0 -22
  138. data/spec/pg/type_spec.rb +0 -688
  139. data/spec/pg_spec.rb +0 -50
@@ -0,0 +1,12 @@
1
+ [po_directory] po
2
+
3
+ [options] --master-charset UTF-8 \
4
+ --localized-charset UTF-8 \
5
+ --master-language en \
6
+ --option markdown \
7
+ --keep 0 \
8
+ --package-name Pg \
9
+ --package-version 1.4.6 \
10
+ --copyright-holder 'Pg authors'
11
+
12
+ [type:text] ../README.md ja:../README.ja.md
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: 0.18.2
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -11,160 +11,29 @@ bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
15
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
16
- HhcNMTUwNDAxMjEyNDEzWhcNMTYwMzMxMjEyNDEzWjA+MQwwCgYDVQQDDANnZWQx
17
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
18
- ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDb92mkyYwuGBg1oRxt2tkH
19
- +Uo3LAsaL/APBfSLzy8o3+B3AUHKCjMUaVeBoZdWtMHB75X3VQlvXfZMyBxj59Vo
20
- cDthr3zdao4HnyrzAIQf7BO5Y8KBwVD+yyXCD/N65TTwqsQnO3ie7U5/9ut1rnNr
21
- OkOzAscMwkfQxBkXDzjvAWa6UF4c5c9kR/T79iA21kDx9+bUMentU59aCJtUcbxa
22
- 7kcKJhPEYsk4OdxR9q2dphNMFDQsIdRO8rywX5FRHvcb+qnXC17RvxLHtOjysPtp
23
- EWsYoZMxyCDJpUqbwoeiM+tAHoz2ABMv3Ahie3Qeb6+MZNAtMmaWfBx3dg2u+/WN
24
- AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSZ0hCV
25
- qoHr122fGKelqffzEQBhszAcBgNVHREEFTATgRFnZWRARmFlcmllTVVELm9yZzAc
26
- BgNVHRIEFTATgRFnZWRARmFlcmllTVVELm9yZzANBgkqhkiG9w0BAQUFAAOCAQEA
27
- lUKo3NXePpuvN3QGsOLJ6QhNd4+Q9Rz75GipuMrCl296V8QFkd2gg9EG44Pqtk+9
28
- Zac8TkKc9bCSR0snakp+cCPplVvZF0/gMzkSTUJkDBHlNV16z73CyWpbQQa+iLJ4
29
- uisI6gF2ZXK919MYLn2bFJfb7OsCvVfyTPqq8afPY+rq9vlf9ZPwU49AlD8bPRic
30
- 0LX0gO5ykvETIOv+WgGcqp96ceNi9XVuJMh20uWuw6pmv/Ub2RqAf82jQSbpz09G
31
- G8LHR7EjtPPmqCCunfyecJ6MmCNaiJCBxq2NYzyNmluPyHT8+0fuB5kccUVZm6CD
32
- xn3DzOkDE6NYbk8gC9rTsA==
14
+ MIIDLjCCAhagAwIBAgIBCzANBgkqhkiG9w0BAQsFADA9MQ4wDAYDVQQDDAVrYW5p
15
+ czEXMBUGCgmSJomT8ixkARkWB2NvbWNhcmQxEjAQBgoJkiaJk/IsZAEZFgJkZTAe
16
+ Fw0yMzA0MjgwOTI0NDhaFw0yNDA0MjcwOTI0NDhaMD0xDjAMBgNVBAMMBWthbmlz
17
+ MRcwFQYKCZImiZPyLGQBGRYHY29tY2FyZDESMBAGCgmSJomT8ixkARkWAmRlMIIB
18
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApop+rNmg35bzRugZ21VMGqI6
19
+ HGzPLO4VHYncWn/xmgPU/ZMcZdfj6MzIaZJ/czXyt4eHpBk1r8QOV3gBXnRXEjVW
20
+ 9xi+EdVOkTV2/AVFKThcbTAQGiF/bT1n2M+B1GTybRzMg6hyhOJeGPqIhLfJEpxn
21
+ lJi4+ENAVT4MpqHEAGB8yFoPC0GqiOHQsdHxQV3P3c2OZqG+yJey74QtwA2tLcLn
22
+ Q53c63+VLGsOjODl1yPn/2ejyq8qWu6ahfTxiIlSar2UbwtaQGBDFdb2CXgEufXT
23
+ L7oaPxlmj+Q2oLOfOnInd2Oxop59HoJCQPsg8f921J43NCQGA8VHK6paxIRDLQID
24
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUvgTdT7fe
25
+ x17ugO3IOsjEJwW7KP4wDQYJKoZIhvcNAQELBQADggEBACAxNXwfMGG7paZjnG/c
26
+ smdi/ocW2GmCNtILaSzDZqlD5LoA68MiO7u5vwWyBaDJ6giUB330VJoGRbWMxvxN
27
+ JU6Bnwa4yYp9YtF91wYIi7FXwIrCPKd9bk3bf4M5wECdsv+zvVceq2zRXqD7fci8
28
+ 1LRG8ort/f4TgaT7B4aNwOaabA2UT6u0FGeglqxLkhir86MY3QQyBfJZUoTKWGkz
29
+ S9a7GXsYpe+8HMOaE4+SZp8SORKPgATND5m/4VdzuO59VXjE5UP7QpXigbxAt7H7
30
+ ciK5Du2ZDhowmWzZwNzR7VvVmfAK6RQJlRB03VkkQRWGld5yApOrYDne6WbD8kE0
31
+ uM8=
33
32
  -----END CERTIFICATE-----
34
- date: 2015-05-14 00:00:00.000000000 Z
35
- dependencies:
36
- - !ruby/object:Gem::Dependency
37
- name: hoe-mercurial
38
- requirement: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '1.4'
43
- type: :development
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '1.4'
50
- - !ruby/object:Gem::Dependency
51
- name: hoe-deveiate
52
- requirement: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - "~>"
55
- - !ruby/object:Gem::Version
56
- version: '0.6'
57
- type: :development
58
- prerelease: false
59
- version_requirements: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: '0.6'
64
- - !ruby/object:Gem::Dependency
65
- name: hoe-highline
66
- requirement: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - "~>"
69
- - !ruby/object:Gem::Version
70
- version: '0.2'
71
- type: :development
72
- prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - "~>"
76
- - !ruby/object:Gem::Version
77
- version: '0.2'
78
- - !ruby/object:Gem::Dependency
79
- name: rdoc
80
- requirement: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - "~>"
83
- - !ruby/object:Gem::Version
84
- version: '4.0'
85
- type: :development
86
- prerelease: false
87
- version_requirements: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - "~>"
90
- - !ruby/object:Gem::Version
91
- version: '4.0'
92
- - !ruby/object:Gem::Dependency
93
- name: rake-compiler
94
- requirement: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - "~>"
97
- - !ruby/object:Gem::Version
98
- version: '0.9'
99
- type: :development
100
- prerelease: false
101
- version_requirements: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - "~>"
104
- - !ruby/object:Gem::Version
105
- version: '0.9'
106
- - !ruby/object:Gem::Dependency
107
- name: hoe
108
- requirement: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - "~>"
111
- - !ruby/object:Gem::Version
112
- version: '3.12'
113
- type: :development
114
- prerelease: false
115
- version_requirements: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: '3.12'
120
- - !ruby/object:Gem::Dependency
121
- name: hoe-bundler
122
- requirement: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - "~>"
125
- - !ruby/object:Gem::Version
126
- version: '1.0'
127
- type: :development
128
- prerelease: false
129
- version_requirements: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - "~>"
132
- - !ruby/object:Gem::Version
133
- version: '1.0'
134
- - !ruby/object:Gem::Dependency
135
- name: rspec
136
- requirement: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - "~>"
139
- - !ruby/object:Gem::Version
140
- version: '3.0'
141
- type: :development
142
- prerelease: false
143
- version_requirements: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - "~>"
146
- - !ruby/object:Gem::Version
147
- version: '3.0'
148
- description: |-
149
- Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
150
-
151
- It works with {PostgreSQL 8.4 and later}[http://www.postgresql.org/support/versioning/].
152
-
153
- A small example usage:
154
-
155
- #!/usr/bin/env ruby
156
-
157
- require 'pg'
158
-
159
- # Output a table of current connections to the DB
160
- conn = PG.connect( dbname: 'sales' )
161
- conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
162
- puts " PID | User | Query"
163
- result.each do |row|
164
- puts " %7d | %-16s | %s " %
165
- row.values_at('procpid', 'usename', 'current_query')
166
- end
167
- end
33
+ date: 2023-09-01 00:00:00.000000000 Z
34
+ dependencies: []
35
+ description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
36
+ 9.3 and later.
168
37
  email:
169
38
  - ged@FaerieMUD.org
170
39
  - lars@greiz-reinsdorf.de
@@ -173,26 +42,26 @@ extensions:
173
42
  - ext/extconf.rb
174
43
  extra_rdoc_files:
175
44
  - Contributors.rdoc
176
- - History.rdoc
177
- - Manifest.txt
45
+ - History.md
178
46
  - README-OS_X.rdoc
179
47
  - README-Windows.rdoc
180
- - README.ja.rdoc
181
- - README.rdoc
182
- - ext/errorcodes.txt
183
- - POSTGRES
184
- - LICENSE
48
+ - README.ja.md
49
+ - README.md
185
50
  - ext/gvl_wrappers.c
51
+ - ext/gvl_wrappers.h
186
52
  - ext/pg.c
53
+ - ext/pg.h
187
54
  - ext/pg_binary_decoder.c
188
55
  - ext/pg_binary_encoder.c
189
56
  - ext/pg_coder.c
190
57
  - ext/pg_connection.c
191
58
  - ext/pg_copy_coder.c
192
59
  - ext/pg_errors.c
60
+ - ext/pg_record_coder.c
193
61
  - ext/pg_result.c
194
62
  - ext/pg_text_decoder.c
195
63
  - ext/pg_text_encoder.c
64
+ - ext/pg_tuple.c
196
65
  - ext/pg_type_map.c
197
66
  - ext/pg_type_map_all_strings.c
198
67
  - ext/pg_type_map_by_class.c
@@ -200,22 +69,62 @@ extra_rdoc_files:
200
69
  - ext/pg_type_map_by_mri_type.c
201
70
  - ext/pg_type_map_by_oid.c
202
71
  - ext/pg_type_map_in_ruby.c
203
- - ext/util.c
72
+ - ext/pg_util.c
73
+ - ext/pg_util.h
74
+ - lib/pg.rb
75
+ - lib/pg/basic_type_map_based_on_result.rb
76
+ - lib/pg/basic_type_map_for_queries.rb
77
+ - lib/pg/basic_type_map_for_results.rb
78
+ - lib/pg/basic_type_registry.rb
79
+ - lib/pg/binary_decoder/date.rb
80
+ - lib/pg/binary_decoder/timestamp.rb
81
+ - lib/pg/binary_encoder/timestamp.rb
82
+ - lib/pg/coder.rb
83
+ - lib/pg/connection.rb
84
+ - lib/pg/exceptions.rb
85
+ - lib/pg/result.rb
86
+ - lib/pg/text_decoder/date.rb
87
+ - lib/pg/text_decoder/inet.rb
88
+ - lib/pg/text_decoder/json.rb
89
+ - lib/pg/text_decoder/numeric.rb
90
+ - lib/pg/text_decoder/timestamp.rb
91
+ - lib/pg/text_encoder/date.rb
92
+ - lib/pg/text_encoder/inet.rb
93
+ - lib/pg/text_encoder/json.rb
94
+ - lib/pg/text_encoder/numeric.rb
95
+ - lib/pg/text_encoder/timestamp.rb
96
+ - lib/pg/tuple.rb
97
+ - lib/pg/type_map_by_column.rb
98
+ - lib/pg/version.rb
204
99
  files:
100
+ - ".appveyor.yml"
101
+ - ".gems"
205
102
  - ".gemtest"
103
+ - ".github/workflows/binary-gems.yml"
104
+ - ".github/workflows/source-gem.yml"
105
+ - ".gitignore"
106
+ - ".hgsigs"
107
+ - ".hgtags"
108
+ - ".irbrc"
109
+ - ".pryrc"
110
+ - ".tm_properties"
111
+ - ".travis.yml"
206
112
  - BSDL
207
- - ChangeLog
208
113
  - Contributors.rdoc
209
- - History.rdoc
114
+ - Gemfile
115
+ - History.md
210
116
  - LICENSE
211
117
  - Manifest.txt
212
118
  - POSTGRES
213
119
  - README-OS_X.rdoc
214
120
  - README-Windows.rdoc
215
- - README.ja.rdoc
216
- - README.rdoc
121
+ - README.ja.md
122
+ - README.md
217
123
  - Rakefile
218
124
  - Rakefile.cross
125
+ - certs/ged.pem
126
+ - certs/larskanis-2022.pem
127
+ - certs/larskanis-2023.pem
219
128
  - ext/errorcodes.def
220
129
  - ext/errorcodes.rb
221
130
  - ext/errorcodes.txt
@@ -230,9 +139,11 @@ files:
230
139
  - ext/pg_connection.c
231
140
  - ext/pg_copy_coder.c
232
141
  - ext/pg_errors.c
142
+ - ext/pg_record_coder.c
233
143
  - ext/pg_result.c
234
144
  - ext/pg_text_decoder.c
235
145
  - ext/pg_text_encoder.c
146
+ - ext/pg_tuple.c
236
147
  - ext/pg_type_map.c
237
148
  - ext/pg_type_map_all_strings.c
238
149
  - ext/pg_type_map_by_class.c
@@ -240,26 +151,55 @@ files:
240
151
  - ext/pg_type_map_by_mri_type.c
241
152
  - ext/pg_type_map_by_oid.c
242
153
  - ext/pg_type_map_in_ruby.c
243
- - ext/util.c
244
- - ext/util.h
154
+ - ext/pg_util.c
155
+ - ext/pg_util.h
245
156
  - ext/vc/pg.sln
246
157
  - ext/vc/pg_18/pg.vcproj
247
158
  - ext/vc/pg_19/pg_19.vcproj
248
159
  - lib/pg.rb
249
- - lib/pg/basic_type_mapping.rb
160
+ - lib/pg/basic_type_map_based_on_result.rb
161
+ - lib/pg/basic_type_map_for_queries.rb
162
+ - lib/pg/basic_type_map_for_results.rb
163
+ - lib/pg/basic_type_registry.rb
164
+ - lib/pg/binary_decoder/date.rb
165
+ - lib/pg/binary_decoder/timestamp.rb
166
+ - lib/pg/binary_encoder/timestamp.rb
250
167
  - lib/pg/coder.rb
251
168
  - lib/pg/connection.rb
252
- - lib/pg/constants.rb
253
169
  - lib/pg/exceptions.rb
254
170
  - lib/pg/result.rb
255
- - lib/pg/text_decoder.rb
256
- - lib/pg/text_encoder.rb
171
+ - lib/pg/text_decoder/date.rb
172
+ - lib/pg/text_decoder/inet.rb
173
+ - lib/pg/text_decoder/json.rb
174
+ - lib/pg/text_decoder/numeric.rb
175
+ - lib/pg/text_decoder/timestamp.rb
176
+ - lib/pg/text_encoder/date.rb
177
+ - lib/pg/text_encoder/inet.rb
178
+ - lib/pg/text_encoder/json.rb
179
+ - lib/pg/text_encoder/numeric.rb
180
+ - lib/pg/text_encoder/timestamp.rb
181
+ - lib/pg/tuple.rb
257
182
  - lib/pg/type_map_by_column.rb
183
+ - lib/pg/version.rb
184
+ - misc/openssl-pg-segfault.rb
185
+ - misc/postgres/History.txt
186
+ - misc/postgres/Manifest.txt
187
+ - misc/postgres/README.txt
188
+ - misc/postgres/Rakefile
189
+ - misc/postgres/lib/postgres.rb
190
+ - misc/ruby-pg/History.txt
191
+ - misc/ruby-pg/Manifest.txt
192
+ - misc/ruby-pg/README.txt
193
+ - misc/ruby-pg/Rakefile
194
+ - misc/ruby-pg/lib/ruby/pg.rb
195
+ - pg.gemspec
196
+ - rakelib/task_extension.rb
258
197
  - sample/array_insert.rb
259
198
  - sample/async_api.rb
260
199
  - sample/async_copyto.rb
261
200
  - sample/async_mixed.rb
262
201
  - sample/check_conn.rb
202
+ - sample/copydata.rb
263
203
  - sample/copyfrom.rb
264
204
  - sample/copyto.rb
265
205
  - sample/cursor.rb
@@ -273,50 +213,39 @@ files:
273
213
  - sample/test_binary_values.rb
274
214
  - sample/wal_shipper.rb
275
215
  - sample/warehouse_partitions.rb
276
- - spec/data/expected_trace.out
277
- - spec/data/random_binary_data
278
- - spec/helpers.rb
279
- - spec/pg/basic_type_mapping_spec.rb
280
- - spec/pg/connection_spec.rb
281
- - spec/pg/result_spec.rb
282
- - spec/pg/type_map_by_class_spec.rb
283
- - spec/pg/type_map_by_column_spec.rb
284
- - spec/pg/type_map_by_mri_type_spec.rb
285
- - spec/pg/type_map_by_oid_spec.rb
286
- - spec/pg/type_map_in_ruby_spec.rb
287
- - spec/pg/type_map_spec.rb
288
- - spec/pg/type_spec.rb
289
- - spec/pg_spec.rb
290
- homepage: https://bitbucket.org/ged/ruby-pg
216
+ - translation/.po4a-version
217
+ - translation/po/all.pot
218
+ - translation/po/ja.po
219
+ - translation/po4a.cfg
220
+ homepage: https://github.com/ged/ruby-pg
291
221
  licenses:
292
- - BSD
293
- - Ruby
294
- - GPL
295
- metadata: {}
222
+ - BSD-2-Clause
223
+ metadata:
224
+ homepage_uri: https://github.com/ged/ruby-pg
225
+ source_code_uri: https://github.com/ged/ruby-pg
226
+ changelog_uri: https://github.com/ged/ruby-pg/blob/master/History.md
227
+ documentation_uri: http://deveiate.org/code/pg
296
228
  post_install_message:
297
229
  rdoc_options:
298
- - "-f"
299
- - fivefish
300
- - "-t"
301
- - 'pg: The Ruby Interface to PostgreSQL'
302
- - "-m"
303
- - README.rdoc
230
+ - "--main"
231
+ - README.md
232
+ - "--title"
233
+ - 'PG: The Ruby PostgreSQL Driver'
304
234
  require_paths:
305
235
  - lib
306
236
  required_ruby_version: !ruby/object:Gem::Requirement
307
237
  requirements:
308
238
  - - ">="
309
239
  - !ruby/object:Gem::Version
310
- version: 1.9.3
240
+ version: '2.5'
311
241
  required_rubygems_version: !ruby/object:Gem::Requirement
312
242
  requirements:
313
243
  - - ">="
314
244
  - !ruby/object:Gem::Version
315
245
  version: '0'
316
246
  requirements: []
317
- rubyforge_project:
318
- rubygems_version: 2.4.6
247
+ rubygems_version: 3.4.15
319
248
  signing_key:
320
249
  specification_version: 4
321
- summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
250
+ summary: Pg is the Ruby interface to the PostgreSQL RDBMS
322
251
  test_files: []
metadata.gz.sig CHANGED
Binary file