pg 1.1.4 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  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 +137 -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/Gemfile +14 -0
  15. data/History.md +876 -0
  16. data/Manifest.txt +3 -3
  17. data/README-Windows.rdoc +4 -4
  18. data/README.ja.md +276 -0
  19. data/README.md +286 -0
  20. data/Rakefile +37 -137
  21. data/Rakefile.cross +62 -62
  22. data/certs/ged.pem +24 -0
  23. data/certs/larskanis-2022.pem +26 -0
  24. data/certs/larskanis-2023.pem +24 -0
  25. data/ext/errorcodes.def +76 -0
  26. data/ext/errorcodes.rb +0 -0
  27. data/ext/errorcodes.txt +21 -2
  28. data/ext/extconf.rb +101 -26
  29. data/ext/gvl_wrappers.c +4 -0
  30. data/ext/gvl_wrappers.h +23 -0
  31. data/ext/pg.c +203 -151
  32. data/ext/pg.h +48 -21
  33. data/ext/pg_binary_decoder.c +89 -10
  34. data/ext/pg_binary_encoder.c +238 -13
  35. data/ext/pg_coder.c +109 -34
  36. data/ext/pg_connection.c +1365 -976
  37. data/ext/pg_copy_coder.c +356 -35
  38. data/ext/pg_errors.c +1 -1
  39. data/ext/pg_record_coder.c +522 -0
  40. data/ext/pg_result.c +436 -171
  41. data/ext/pg_text_decoder.c +42 -18
  42. data/ext/pg_text_encoder.c +201 -56
  43. data/ext/pg_tuple.c +97 -66
  44. data/ext/pg_type_map.c +45 -11
  45. data/ext/pg_type_map_all_strings.c +21 -7
  46. data/ext/pg_type_map_by_class.c +59 -27
  47. data/ext/pg_type_map_by_column.c +80 -37
  48. data/ext/pg_type_map_by_mri_type.c +49 -20
  49. data/ext/pg_type_map_by_oid.c +62 -29
  50. data/ext/pg_type_map_in_ruby.c +56 -22
  51. data/ext/{util.c → pg_util.c} +7 -7
  52. data/lib/pg/basic_type_map_based_on_result.rb +67 -0
  53. data/lib/pg/basic_type_map_for_queries.rb +198 -0
  54. data/lib/pg/basic_type_map_for_results.rb +104 -0
  55. data/lib/pg/basic_type_registry.rb +299 -0
  56. data/lib/pg/binary_decoder/date.rb +9 -0
  57. data/lib/pg/binary_decoder/timestamp.rb +26 -0
  58. data/lib/pg/binary_encoder/timestamp.rb +20 -0
  59. data/lib/pg/coder.rb +35 -12
  60. data/lib/pg/connection.rb +744 -84
  61. data/lib/pg/exceptions.rb +15 -1
  62. data/lib/pg/result.rb +13 -1
  63. data/lib/pg/text_decoder/date.rb +18 -0
  64. data/lib/pg/text_decoder/inet.rb +9 -0
  65. data/lib/pg/text_decoder/json.rb +14 -0
  66. data/lib/pg/text_decoder/numeric.rb +9 -0
  67. data/lib/pg/text_decoder/timestamp.rb +30 -0
  68. data/lib/pg/text_encoder/date.rb +12 -0
  69. data/lib/pg/text_encoder/inet.rb +28 -0
  70. data/lib/pg/text_encoder/json.rb +14 -0
  71. data/lib/pg/text_encoder/numeric.rb +9 -0
  72. data/lib/pg/text_encoder/timestamp.rb +24 -0
  73. data/lib/pg/type_map_by_column.rb +2 -1
  74. data/lib/pg/version.rb +4 -0
  75. data/lib/pg.rb +94 -39
  76. data/misc/openssl-pg-segfault.rb +31 -0
  77. data/misc/postgres/History.txt +9 -0
  78. data/misc/postgres/Manifest.txt +5 -0
  79. data/misc/postgres/README.txt +21 -0
  80. data/misc/postgres/Rakefile +21 -0
  81. data/misc/postgres/lib/postgres.rb +16 -0
  82. data/misc/ruby-pg/History.txt +9 -0
  83. data/misc/ruby-pg/Manifest.txt +5 -0
  84. data/misc/ruby-pg/README.txt +21 -0
  85. data/misc/ruby-pg/Rakefile +21 -0
  86. data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
  87. data/pg.gemspec +34 -0
  88. data/rakelib/task_extension.rb +46 -0
  89. data/sample/array_insert.rb +20 -0
  90. data/sample/async_api.rb +102 -0
  91. data/sample/async_copyto.rb +39 -0
  92. data/sample/async_mixed.rb +56 -0
  93. data/sample/check_conn.rb +21 -0
  94. data/sample/copydata.rb +71 -0
  95. data/sample/copyfrom.rb +81 -0
  96. data/sample/copyto.rb +19 -0
  97. data/sample/cursor.rb +21 -0
  98. data/sample/disk_usage_report.rb +177 -0
  99. data/sample/issue-119.rb +94 -0
  100. data/sample/losample.rb +69 -0
  101. data/sample/minimal-testcase.rb +17 -0
  102. data/sample/notify_wait.rb +72 -0
  103. data/sample/pg_statistics.rb +285 -0
  104. data/sample/replication_monitor.rb +222 -0
  105. data/sample/test_binary_values.rb +33 -0
  106. data/sample/wal_shipper.rb +434 -0
  107. data/sample/warehouse_partitions.rb +311 -0
  108. data/translation/.po4a-version +7 -0
  109. data/translation/po/all.pot +910 -0
  110. data/translation/po/ja.po +1047 -0
  111. data/translation/po4a.cfg +12 -0
  112. data.tar.gz.sig +0 -0
  113. metadata +151 -218
  114. metadata.gz.sig +0 -0
  115. data/ChangeLog +0 -6595
  116. data/History.rdoc +0 -492
  117. data/README.ja.rdoc +0 -14
  118. data/README.rdoc +0 -178
  119. data/lib/pg/basic_type_mapping.rb +0 -459
  120. data/lib/pg/binary_decoder.rb +0 -22
  121. data/lib/pg/constants.rb +0 -11
  122. data/lib/pg/text_decoder.rb +0 -47
  123. data/lib/pg/text_encoder.rb +0 -69
  124. data/spec/data/expected_trace.out +0 -26
  125. data/spec/data/random_binary_data +0 -0
  126. data/spec/helpers.rb +0 -380
  127. data/spec/pg/basic_type_mapping_spec.rb +0 -508
  128. data/spec/pg/connection_spec.rb +0 -1872
  129. data/spec/pg/connection_sync_spec.rb +0 -41
  130. data/spec/pg/result_spec.rb +0 -491
  131. data/spec/pg/tuple_spec.rb +0 -280
  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 -949
  139. data/spec/pg_spec.rb +0 -50
  140. /data/ext/{util.h → pg_util.h} +0 -0
@@ -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,188 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
8
8
  - Lars Kanis
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
15
- REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xODExMjAxODI5NTlaFw0xOTExMjAxODI5
16
- NTlaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
17
- hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
18
- L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
19
- M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7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b3cw3LY2TNQRPlnZxE994mgjBscN4fbjXqO
29
+ T0JbVpeszRZa5k1goggbnWT7CO7yU7WcHh13DaSubY7HUpAJn2xz9w2stxQfN/EE
30
+ VMlnDJ1P7mUHAvpK8X9j9h7Xlc1niViT18MYwux8mboVTryrLr+clATUkkM3yBF0
31
+ RV+c34ReW5eXO9Tr6aKTxh/pFC9ggDT6jOxuJgSvG8HWJzVf4NDvMavIas4KYjiI
32
+ BU6CpWaG5NxicqL3BERi52U43HV08br+LNVpb7Rekgve/PJuSFnAR015bhSRXe5U
33
+ vBioD1qW2ZW9tXg8Ww2IfDaO5a1So5Xby51rhNlyo6ATj2NkuLWZUKPKHhAz0TKm
34
+ Dzx/gFSOrRoCt2mXNgrmcAfr386AfaMvCh7cXqdxZwmVo7ILZCYXck0pajvubsDd
35
+ NUIIFkVXvd1odFyK9LF1RFAtxn/iAmpx
37
36
  -----END CERTIFICATE-----
38
- date: 2019-01-09 00:00:00.000000000 Z
39
- dependencies:
40
- - !ruby/object:Gem::Dependency
41
- name: hoe-mercurial
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1.4'
47
- type: :development
48
- prerelease: false
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '1.4'
54
- - !ruby/object:Gem::Dependency
55
- name: hoe-deveiate
56
- requirement: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '0.10'
61
- type: :development
62
- prerelease: false
63
- version_requirements: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '0.10'
68
- - !ruby/object:Gem::Dependency
69
- name: hoe-highline
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '0.2'
75
- type: :development
76
- prerelease: false
77
- version_requirements: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '0.2'
82
- - !ruby/object:Gem::Dependency
83
- name: rake-compiler
84
- requirement: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.0'
89
- type: :development
90
- prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '1.0'
96
- - !ruby/object:Gem::Dependency
97
- name: rake-compiler-dock
98
- requirement: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: 0.7.0
103
- type: :development
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: 0.7.0
110
- - !ruby/object:Gem::Dependency
111
- name: hoe-bundler
112
- requirement: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '1.0'
117
- type: :development
118
- prerelease: false
119
- version_requirements: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '1.0'
124
- - !ruby/object:Gem::Dependency
125
- name: rspec
126
- requirement: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.5'
131
- type: :development
132
- prerelease: false
133
- version_requirements: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '3.5'
138
- - !ruby/object:Gem::Dependency
139
- name: rdoc
140
- requirement: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '5.1'
145
- type: :development
146
- prerelease: false
147
- version_requirements: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '5.1'
152
- - !ruby/object:Gem::Dependency
153
- name: hoe
154
- requirement: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '3.16'
159
- type: :development
160
- prerelease: false
161
- version_requirements: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '3.16'
166
- description: |-
167
- Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
168
-
169
- It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/].
170
-
171
- A small example usage:
172
-
173
- #!/usr/bin/env ruby
174
-
175
- require 'pg'
176
-
177
- # Output a table of current connections to the DB
178
- conn = PG.connect( dbname: 'sales' )
179
- conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
180
- puts " PID | User | Query"
181
- result.each do |row|
182
- puts " %7d | %-16s | %s " %
183
- row.values_at('procpid', 'usename', 'current_query')
184
- end
185
- end
37
+ date: 2023-04-28 00:00:00.000000000 Z
38
+ dependencies: []
39
+ description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
40
+ 9.3 and later.
186
41
  email:
187
42
  - ged@FaerieMUD.org
188
43
  - lars@greiz-reinsdorf.de
@@ -191,23 +46,22 @@ extensions:
191
46
  - ext/extconf.rb
192
47
  extra_rdoc_files:
193
48
  - Contributors.rdoc
194
- - History.rdoc
195
- - Manifest.txt
49
+ - History.md
196
50
  - README-OS_X.rdoc
197
51
  - README-Windows.rdoc
198
- - README.ja.rdoc
199
- - README.rdoc
200
- - ext/errorcodes.txt
201
- - POSTGRES
202
- - LICENSE
52
+ - README.ja.md
53
+ - README.md
203
54
  - ext/gvl_wrappers.c
55
+ - ext/gvl_wrappers.h
204
56
  - ext/pg.c
57
+ - ext/pg.h
205
58
  - ext/pg_binary_decoder.c
206
59
  - ext/pg_binary_encoder.c
207
60
  - ext/pg_coder.c
208
61
  - ext/pg_connection.c
209
62
  - ext/pg_copy_coder.c
210
63
  - ext/pg_errors.c
64
+ - ext/pg_record_coder.c
211
65
  - ext/pg_result.c
212
66
  - ext/pg_text_decoder.c
213
67
  - ext/pg_text_encoder.c
@@ -219,22 +73,62 @@ extra_rdoc_files:
219
73
  - ext/pg_type_map_by_mri_type.c
220
74
  - ext/pg_type_map_by_oid.c
221
75
  - ext/pg_type_map_in_ruby.c
222
- - ext/util.c
76
+ - ext/pg_util.c
77
+ - ext/pg_util.h
78
+ - lib/pg.rb
79
+ - lib/pg/basic_type_map_based_on_result.rb
80
+ - lib/pg/basic_type_map_for_queries.rb
81
+ - lib/pg/basic_type_map_for_results.rb
82
+ - lib/pg/basic_type_registry.rb
83
+ - lib/pg/binary_decoder/date.rb
84
+ - lib/pg/binary_decoder/timestamp.rb
85
+ - lib/pg/binary_encoder/timestamp.rb
86
+ - lib/pg/coder.rb
87
+ - lib/pg/connection.rb
88
+ - lib/pg/exceptions.rb
89
+ - lib/pg/result.rb
90
+ - lib/pg/text_decoder/date.rb
91
+ - lib/pg/text_decoder/inet.rb
92
+ - lib/pg/text_decoder/json.rb
93
+ - lib/pg/text_decoder/numeric.rb
94
+ - lib/pg/text_decoder/timestamp.rb
95
+ - lib/pg/text_encoder/date.rb
96
+ - lib/pg/text_encoder/inet.rb
97
+ - lib/pg/text_encoder/json.rb
98
+ - lib/pg/text_encoder/numeric.rb
99
+ - lib/pg/text_encoder/timestamp.rb
100
+ - lib/pg/tuple.rb
101
+ - lib/pg/type_map_by_column.rb
102
+ - lib/pg/version.rb
223
103
  files:
104
+ - ".appveyor.yml"
105
+ - ".gems"
224
106
  - ".gemtest"
107
+ - ".github/workflows/binary-gems.yml"
108
+ - ".github/workflows/source-gem.yml"
109
+ - ".gitignore"
110
+ - ".hgsigs"
111
+ - ".hgtags"
112
+ - ".irbrc"
113
+ - ".pryrc"
114
+ - ".tm_properties"
115
+ - ".travis.yml"
225
116
  - BSDL
226
- - ChangeLog
227
117
  - Contributors.rdoc
228
- - History.rdoc
118
+ - Gemfile
119
+ - History.md
229
120
  - LICENSE
230
121
  - Manifest.txt
231
122
  - POSTGRES
232
123
  - README-OS_X.rdoc
233
124
  - README-Windows.rdoc
234
- - README.ja.rdoc
235
- - README.rdoc
125
+ - README.ja.md
126
+ - README.md
236
127
  - Rakefile
237
128
  - Rakefile.cross
129
+ - certs/ged.pem
130
+ - certs/larskanis-2022.pem
131
+ - certs/larskanis-2023.pem
238
132
  - ext/errorcodes.def
239
133
  - ext/errorcodes.rb
240
134
  - ext/errorcodes.txt
@@ -249,6 +143,7 @@ files:
249
143
  - ext/pg_connection.c
250
144
  - ext/pg_copy_coder.c
251
145
  - ext/pg_errors.c
146
+ - ext/pg_record_coder.c
252
147
  - ext/pg_result.c
253
148
  - ext/pg_text_decoder.c
254
149
  - ext/pg_text_encoder.c
@@ -260,63 +155,101 @@ files:
260
155
  - ext/pg_type_map_by_mri_type.c
261
156
  - ext/pg_type_map_by_oid.c
262
157
  - ext/pg_type_map_in_ruby.c
263
- - ext/util.c
264
- - ext/util.h
158
+ - ext/pg_util.c
159
+ - ext/pg_util.h
265
160
  - ext/vc/pg.sln
266
161
  - ext/vc/pg_18/pg.vcproj
267
162
  - ext/vc/pg_19/pg_19.vcproj
268
163
  - lib/pg.rb
269
- - lib/pg/basic_type_mapping.rb
270
- - lib/pg/binary_decoder.rb
164
+ - lib/pg/basic_type_map_based_on_result.rb
165
+ - lib/pg/basic_type_map_for_queries.rb
166
+ - lib/pg/basic_type_map_for_results.rb
167
+ - lib/pg/basic_type_registry.rb
168
+ - lib/pg/binary_decoder/date.rb
169
+ - lib/pg/binary_decoder/timestamp.rb
170
+ - lib/pg/binary_encoder/timestamp.rb
271
171
  - lib/pg/coder.rb
272
172
  - lib/pg/connection.rb
273
- - lib/pg/constants.rb
274
173
  - lib/pg/exceptions.rb
275
174
  - lib/pg/result.rb
276
- - lib/pg/text_decoder.rb
277
- - lib/pg/text_encoder.rb
175
+ - lib/pg/text_decoder/date.rb
176
+ - lib/pg/text_decoder/inet.rb
177
+ - lib/pg/text_decoder/json.rb
178
+ - lib/pg/text_decoder/numeric.rb
179
+ - lib/pg/text_decoder/timestamp.rb
180
+ - lib/pg/text_encoder/date.rb
181
+ - lib/pg/text_encoder/inet.rb
182
+ - lib/pg/text_encoder/json.rb
183
+ - lib/pg/text_encoder/numeric.rb
184
+ - lib/pg/text_encoder/timestamp.rb
278
185
  - lib/pg/tuple.rb
279
186
  - lib/pg/type_map_by_column.rb
280
- - spec/data/expected_trace.out
281
- - spec/data/random_binary_data
282
- - spec/helpers.rb
283
- - spec/pg/basic_type_mapping_spec.rb
284
- - spec/pg/connection_spec.rb
285
- - spec/pg/connection_sync_spec.rb
286
- - spec/pg/result_spec.rb
287
- - spec/pg/tuple_spec.rb
288
- - spec/pg/type_map_by_class_spec.rb
289
- - spec/pg/type_map_by_column_spec.rb
290
- - spec/pg/type_map_by_mri_type_spec.rb
291
- - spec/pg/type_map_by_oid_spec.rb
292
- - spec/pg/type_map_in_ruby_spec.rb
293
- - spec/pg/type_map_spec.rb
294
- - spec/pg/type_spec.rb
295
- - spec/pg_spec.rb
296
- homepage: https://bitbucket.org/ged/ruby-pg
187
+ - lib/pg/version.rb
188
+ - misc/openssl-pg-segfault.rb
189
+ - misc/postgres/History.txt
190
+ - misc/postgres/Manifest.txt
191
+ - misc/postgres/README.txt
192
+ - misc/postgres/Rakefile
193
+ - misc/postgres/lib/postgres.rb
194
+ - misc/ruby-pg/History.txt
195
+ - misc/ruby-pg/Manifest.txt
196
+ - misc/ruby-pg/README.txt
197
+ - misc/ruby-pg/Rakefile
198
+ - misc/ruby-pg/lib/ruby/pg.rb
199
+ - pg.gemspec
200
+ - rakelib/task_extension.rb
201
+ - sample/array_insert.rb
202
+ - sample/async_api.rb
203
+ - sample/async_copyto.rb
204
+ - sample/async_mixed.rb
205
+ - sample/check_conn.rb
206
+ - sample/copydata.rb
207
+ - sample/copyfrom.rb
208
+ - sample/copyto.rb
209
+ - sample/cursor.rb
210
+ - sample/disk_usage_report.rb
211
+ - sample/issue-119.rb
212
+ - sample/losample.rb
213
+ - sample/minimal-testcase.rb
214
+ - sample/notify_wait.rb
215
+ - sample/pg_statistics.rb
216
+ - sample/replication_monitor.rb
217
+ - sample/test_binary_values.rb
218
+ - sample/wal_shipper.rb
219
+ - sample/warehouse_partitions.rb
220
+ - translation/.po4a-version
221
+ - translation/po/all.pot
222
+ - translation/po/ja.po
223
+ - translation/po4a.cfg
224
+ homepage: https://github.com/ged/ruby-pg
297
225
  licenses:
298
- - BSD-3-Clause
299
- metadata: {}
300
- post_install_message:
226
+ - BSD-2-Clause
227
+ metadata:
228
+ homepage_uri: https://github.com/ged/ruby-pg
229
+ source_code_uri: https://github.com/ged/ruby-pg
230
+ changelog_uri: https://github.com/ged/ruby-pg/blob/master/History.md
231
+ documentation_uri: http://deveiate.org/code/pg
232
+ post_install_message:
301
233
  rdoc_options:
302
234
  - "--main"
303
- - README.rdoc
235
+ - README.md
236
+ - "--title"
237
+ - 'PG: The Ruby PostgreSQL Driver'
304
238
  require_paths:
305
239
  - lib
306
240
  required_ruby_version: !ruby/object:Gem::Requirement
307
241
  requirements:
308
242
  - - ">="
309
243
  - !ruby/object:Gem::Version
310
- version: 2.0.0
244
+ version: '2.5'
311
245
  required_rubygems_version: !ruby/object:Gem::Requirement
312
246
  requirements:
313
247
  - - ">="
314
248
  - !ruby/object:Gem::Version
315
249
  version: '0'
316
250
  requirements: []
317
- rubyforge_project:
318
- rubygems_version: 2.7.8
319
- signing_key:
251
+ rubygems_version: 3.4.6
252
+ signing_key:
320
253
  specification_version: 4
321
- summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
254
+ summary: Pg is the Ruby interface to the PostgreSQL RDBMS
322
255
  test_files: []
metadata.gz.sig CHANGED
Binary file